1 2014-12-30 Joseph Myers <joseph@codesourcery.com>
4 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7 __feraiseexcept and define as weak alias of __feraiseexcept. Use
9 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
13 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14 __feraiseexcept and define as weak alias of __feraiseexcept. Use
16 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
18 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
19 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20 __feraiseexcept and define as weak alias of __feraiseexcept. Use
22 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26 (__feraiseexcept): Likewise.
27 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28 __feraiseexcept and define as weak alias of __feraiseexcept. Use
30 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
33 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
36 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
38 (feraiseexcept): Define as weak not strong alias. Use
40 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41 New inline function. Factored out of ...
42 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
43 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
44 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
46 * math/w_acos.c (__acos): Likewise.
47 * math/w_asin.c (__asin): Likewise.
48 * math/w_ilogb.c (__ilogb): Likewise.
49 * math/w_j0.c (y0): Likewise.
50 * math/w_j1.c (y1): Likewise.
51 * math/w_jn.c (yn): Likewise.
52 * math/w_log.c (__log): Likewise.
53 * math/w_log10.c (__log10): Likewise.
54 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
55 * sysdeps/aarch64/fpu/math_private.h
56 (libc_feupdateenv_test_aarch64): Likewise.
57 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
58 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
59 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
60 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
61 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
62 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
63 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
64 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
66 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
68 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
71 * io/test-utime.c (main): Replace %ld with %jd and cast to
73 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
74 * nptl/tst-mutex5.c: Include <stdint.h>.
75 (do_test): Replace %ld with %jd and cast to intmax_t.
76 * posix/tst-regex.c (run_test): Likewise.
77 (run_test_backwards): Likewise.
78 * rt/tst-clock.c: Include <stdint.h>.
79 (clock_test): Replace %ld with %jd and cast to intmax_t.
80 * rt/tst-cpuclock1.c: Include <stdint.h>.
81 (do_test): Replace %lu with %ju and cast to uintmax_t.
82 * rt/tst-cpuclock2.c: Include <stdint.h>.
83 (do_test): Replace %lu with %ju and cast to uintmax_t.
84 * rt/tst-mqueue1.c: Include <stdint.h>.
85 (check_attrs): Replace %ld with %jd and cast to intmax_t.
86 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
88 * rt/tst-mqueue4.c (do_test): Likewise.
89 * rt/tst-timer4.c: Include <stdint.h>.
90 (check_ts): Replace %ld with %jd and cast to intmax_t.
92 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
94 * sysdeps/pthread/tst-timer.c (main): Likewise.
95 * time/clocktest.c (main): Likewise.
96 * time/tst-posixtz.c (do_test): Likewise.
97 * timezone/tst-timezone.c (main): Likewise.
99 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
100 H.J. Lu <hongjiu.lu@intel.com>
102 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
103 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
104 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
105 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
106 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
107 version if bit_Fast_Unaligned_Load is set.
108 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
109 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
110 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
111 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
112 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
113 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
114 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
115 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
116 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
117 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
119 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
120 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
121 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
122 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
124 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
126 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
127 instead of #if to avoid a Wundef warning.
128 * stdlib/tst-limits.c (do_test): Likewise.
130 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
131 parallel other exception macros.
132 (fegetenv): Convert from macro to extern inline so that it applies
133 retroactively to inline functions already seen by the compiler.
134 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
136 * posix/Makefile (before-compile): Use $(objpfx) for
137 posix-conf-vars-def.h.
139 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
141 * posix/getconf.c (main): Use size_t for type of I.
142 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
145 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
146 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
147 * posix/posix-envs.def: Likewise.
148 * sysdeps/posix/sysconf.c: Likewise.
149 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
150 (specs): Remove array.
151 * scripts/gen-posix-conf-vars.awk: Support generation of specs
154 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
155 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
156 (__sysconf): Use CONF_IS_* macros.
158 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
159 ($(objpfx)posix-conf-vars-def.h): New target.
160 * posix/posix-conf-vars.list: New file.
161 * posix/posix-conf-vars.h: New file.
162 * posix/confstr.c: Include posix-conf-vars.h.
163 (confstr): Use CONF_IS_* macros.
164 * posix/posix-envs.def: Include posix-conf-vars.h. Use
166 * scripts/gen-posix-conf-vars.awk: New file.
168 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
170 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
171 fegetround): Add no-op macros to avoid linknamespace issues.
173 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
174 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
176 * sysdeps/unix/sysv/linux/tile/sysdep.h
177 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
178 assembly-specific section to avoid a redefinition warning.
180 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
181 long before casting to pointer to avoid a cast warning.
183 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
185 * sysdeps/tile/tilegx/Implies: New file.
187 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
189 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
191 2014-12-23 Florian Weimer <fweimer@redhat.com>
193 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
195 2014-12-22 Joseph Myers <joseph@codesourcery.com>
197 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
199 * sysdeps/unix/sysv/linux/utimes.c: Do not include
201 (__utimes) [__NR_utimes]: Make code unconditional.
202 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
203 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
204 (__ASSUME_UTIMES): Do not undefine.
205 * sysdeps/unix/sysv/linux/tile/kernel-features.h
206 (__ASSUME_UTIMES): Likewise.
207 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
208 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
209 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
210 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
212 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
214 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
216 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
219 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
220 alias to weak alias for j0l, y0l.
221 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
222 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
225 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
228 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
230 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
231 to zero if not already defined.
233 2014-12-22 Joseph Myers <joseph@codesourcery.com>
236 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
237 (__kernel_standard_f): Remove. Moved to k_standardf.c.
238 (__kernel_standard_l): Remove. Moved to k_standardl.c with
239 (char *) casts added.
240 * sysdeps/ieee754/k_standardf.c: New file.
241 * sysdeps/ieee754/k_standardl.c: Likewise.
242 * math/Makefile (libm-support): Remove k_standard.
243 (libm-calls): Add k_standard.
245 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
247 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
248 Optimize to avoid an unnecessary FPCR read.
250 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
252 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
253 Optimize to reduce FPCR/FPSR accesses.
255 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
257 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
258 Call libc_fetestexcept_aarch64.
260 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
262 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
263 Call libc_fesetround_aarch64.
265 2014-12-22 Joseph Myers <joseph@codesourcery.com>
268 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
269 (__bind): Do not define as weak alias.
270 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
272 (__getsockname): Do not define as weak alias.
274 2014-12-22 Will Newton <will.newton@linaro.org>
276 * manual/install.texi: Document that we require bison 2.7
278 * INSTALL: Regenerate.
279 * configure.ac: Use AC_CHECK_PROG_VER instead of
280 AC_PATH_PROG when checking for bison and check for
281 version 2.7 or above.
282 * configure: Regenerate.
284 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
287 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
288 * sysdeps/tile/ffsll.c (ffsll): To here.
290 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
292 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
294 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
296 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
298 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
299 hidden ___tls_get_addr.
300 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
301 hidden __tls_get_addr.
302 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
303 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
306 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
308 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
311 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
313 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
314 from "call _dl_init@PLT".
315 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
317 2014-12-21 Anders Kaseorg <andersk@mit.edu>
319 * manual/search.texi: (Array Sort Function): Clarify stable sorting
322 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
324 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
326 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
329 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
332 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
334 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
336 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
337 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
338 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
339 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
340 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
342 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
344 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
345 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
346 (PTR_SUBU): Use subu for mips32r6/mips64r6.
347 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
348 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
350 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
352 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
354 * string/strncat.c (STRNCAT): Simplify implementation.
356 2014-12-19 David S. Miller <davem@davemloft.net>
358 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
359 access the quad as both a long double and as a series of 4 words.
361 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
362 link_map->l_info array access.
364 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
366 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
368 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
369 * math/atest-exp2.c (TIMEOUT): Likewise.
370 * math/atest-sincos.c (TIMEOUT): Likewise.
372 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
374 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
375 -Wno-error with -fno-builtin-lround.
377 2014-12-19 Torvald Riegel <triegel@redhat.com>
379 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
380 Contains futex constants and functions moved over from ...
381 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
382 <lowlevellock-futex.h>.
383 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
384 (lll_timedwait_tid): Add comments and parentheses around macro
387 2014-12-19 Torvald Riegel <triegel@redhat.com>
389 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
390 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
391 (__lll_private_flag): Remove.
392 (lll_futex_wait): Likewise.
393 (lll_futex_timed_wait): Likewise.
394 (lll_futex_wake): Likewise.
395 (lll_futex_requeue): Likewise.
396 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
397 (__lll_timedwait_tid): Spell out argument names.
398 (lll_timedwait_tid): Add comments and parentheses around macro
400 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
401 LLL_SHARED and LLL_PRIVATE usable from assembly code.
403 2014-12-19 Torvald Riegel <triegel@redhat.com>
405 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
406 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
407 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
408 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
409 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
410 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
411 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
412 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
413 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
414 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
415 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
416 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
417 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
418 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
419 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
420 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
421 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
422 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
423 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
425 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
427 * sysdeps/x86_64/x32/Makefile: New file.
429 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
431 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
432 1L with (mp_limb_t) 1.
434 2014-12-17 Roland McGrath <roland@hack.frob.com>
436 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
437 * nptl/libc_pthread_init.c: ... here.
438 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
439 * nptl/register-atfork.c: ... here.
441 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
442 Use pthread_sigmask rather than INTERNAL_SYSCALL.
443 Use assert_perror to check its return value.
444 (__gai_create_helper_thread): Likewise.
446 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
448 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
450 2014-12-17 Joseph Myers <joseph@codesourcery.com>
453 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
455 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
457 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
459 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
461 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
462 (profil_counter): Likewise.
463 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
464 (profil_counter): Likewise.
465 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
467 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
469 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
470 (profil_counter): Likewise.
471 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
473 [!__profil_counter] (profil_counter): Define as weak alias of
475 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
476 (profil_counter): Rename to __profil_counter.
477 [!__profil_counter] (profil_counter): Define as weak alias of
479 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
480 (profil_counter): Rename to __profil_counter.
481 [!__profil_counter] (profil_counter): Define as weak alias of
483 * sysdeps/posix/profil.c: Update comment referring to
485 (__profil): Use __profil_counter instead of profil_counter.
486 * sysdeps/posix/sprofil.c (profil_counter): Rename to
487 __profil_counter. Use __profil_counter_ushort and
488 __profil_counter_uint in definitions.
489 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
490 instead of profil_counter_uint and profil_counter_ushort.
493 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
494 define as weak alias of __inet_makeaddr.
495 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
496 as weak alias of __inet_addr.
497 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
498 as weak alias of __inet_pton. Use libc_hidden_weak.
499 * include/arpa/inet.h (__inet_pton): Declare. Use
501 (inet_makeaddr): Don't use libc_hidden_proto.
502 (__inet_makeaddr): Declare. Use libc_hidden_proto.
503 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
504 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
505 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
507 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
508 (test-xfail-POSIX/time.h/linknamespace): Likewise.
510 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
512 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
514 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
516 * stdio-common/bug-vfprintf-nargs.c (do_test):
517 Cast value to intptr_t to avoid format warning
518 for usage with PRIdPTR printing macro.
520 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
522 * libio/tst-widetext.c (do_test):
523 Use format type %td instead of %Zd for ptrdiff_t
524 in order to avoid format warning.
526 2014-12-17 Andreas Schwab <schwab@suse.de>
528 * nscd/mem.c (gc): Add size_t cast to match printf format.
530 2014-12-16 Roland McGrath <roland@hack.frob.com>
532 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
533 (init): Apply PTR_MANGLE to pointers before storing them.
534 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
537 2014-12-16 Joseph Myers <joseph@codesourcery.com>
540 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
541 define as weak alias of __memrchr.
542 (__memrchr): Do not define as strong alias of memrchr.
543 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
545 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
546 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
547 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
550 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
551 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
552 (if_indextoname): Rename to __if_indextoname and define as weak
553 alias of __if_indextoname. Use libc_hidden_weak.
554 (if_freenameindex): Rename to __if_freenameindex and define as
555 weak alias of __if_freenameindex.
556 (if_nameindex): Rename to __if_nameindex and define as weak alias
558 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
559 __if_nametoindex and define as weak alias of __if_nametoindex.
560 Use libc_hidden_weak.
561 (if_freenameindex): Rename to __if_freenameindex and define as
562 weak alias of __if_freenameindex.
563 (if_nameindex): Rename to __if_nameindex and define as weak alias
565 (if_indextoname): Rename to __if_indextoname and define as weak
566 alias of __if_indextoname. Use libc_hidden_weak.
567 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
568 __if_nametoindex and define as weak alias of __if_nametoindex.
569 Use libc_hidden_weak.
570 (if_freenameindex): Rename to __if_freenameindex and define as
571 weak alias of __if_freenameindex. Use libc_hidden_weak.
572 (if_nameindex_netlink): Use __if_freenameindex instead of
574 (if_nameindex): Rename to __if_nameindex and define as weak alias
575 of __if_nameindex. Use libc_hidden_weak.
576 (if_indextoname): Rename to __if_indextoname and define as weak
577 alias of __if_indextoname. Use libc_hidden_weak.
578 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
580 [!_ISOMAC] (__if_freenameindex): Likewise.
581 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
583 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
585 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
586 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
587 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
588 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
589 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
590 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
591 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
593 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
595 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
596 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
598 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
600 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
601 subscript above bounds'
603 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
606 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
608 * libio/tst-fopenloc.c: Use test-skeleton.c.
610 * stdlib/tst-bsearch.c: Use test-skeleton.c.
611 (entry): Rename to ITEM.
612 (do_test, comp): Adjust.
614 * stdio-common/tst-fseek.c: Use test-skeleton.c.
616 2014-12-16 Torvald Riegel <triegel@redhat.com>
618 * string/tester.c: Include <libc-internal.h>.
619 (test_memset): Ignore -Wmemset-transposed-args.
621 2014-12-16 Torvald Riegel <triegel@redhat.com>
623 * misc/tst-mntent2.c (do_test): Fix warning.
625 2014-12-16 Torvald Riegel <triegel@redhat.com>
627 * elf/tst-unique4lib.cc(a): Mark as used.
629 2014-12-16 Florian Weimer <fweimer@redhat.com>
632 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
635 2014-12-16 Allan McRae <allan@archlinux.org>
637 * stdio-common/Makefile (tests): Re-add bug26.
639 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
642 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
645 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
647 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
648 (__lll_lock_wait): Likewise.
649 (__lll_timedlock_wait): Likewise.
650 (__lll_timedwait_tid): Likewise.
651 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
652 (__lll_robust_timedlock_wait): Likewise.
653 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
654 (lll_cond_trylock): Likewise.
655 (__lll_lock): Likewise.
656 (__lll_robust_lock): Likewise.
657 (__lll_cond_lock): Likewise.
658 (lll_robust_cond_lock): Likewise.
659 (__lll_timedlock): Likewise.
660 (__lll_robust_timedlock): Likewise.
661 (__lll_unlock): Likewise.
662 (__lll_robust_unlock): Likewise.
663 (lll_wait_tid): Likewise.
664 (lll_timedwait_tid): Likewise.
666 2014-12-15 Torvald Riegel <triegel@redhat.com>
668 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
670 2014-12-15 Torvald Riegel <triegel@redhat.com>
672 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
674 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
676 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
677 * stdio-common/tst-sprintf.c: Likewise.
679 2014-12-15 Torvald Riegel <triegel@redhat.com>
681 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
683 2014-12-15 Jeff Law <law@redhat.com>
686 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
687 on the heap. (CVE-2012-3406)
688 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
689 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
690 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
692 2014-12-15 Will Newton <will.newton@linaro.org>
694 * manual/install.texi: Bump required version of texinfo
696 * INSTALL: Regenerated.
697 * configure.ac: Check for makeinfo version 4.7 and above.
698 * configure: Regenerated.
700 2014-12-12 Roland McGrath <roland@hack.frob.com>
702 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
703 PREFIX, string constant to insert between directory and name.
704 * sysdeps/posix/shm_open.c: Update caller.
705 * sysdeps/posix/shm_unlink.c: Likewise.
706 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
707 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
708 (SEM_SHM_PREFIX): New macro.
709 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
710 [$(have-thread-library) = no].
711 * nptl/Makefile (libpthread-routines): Add shm-directory.
712 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
713 * sysdeps/nptl/shm-directory.h: New file.
714 * sysdeps/posix/shm-directory.c
715 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
716 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
717 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
719 (__where_is_shmfs): Function removed.
720 (mountpoint, defaultmount, defaultdir, __namedsem_once):
722 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
724 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
726 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
727 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
728 unconditional for use inside libpthread.
729 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
731 2014-12-12 Roland McGrath <roland@hack.frob.com>
733 * nptl/pthread_getaffinity.c: New file.
734 * nptl/pthread_setaffinity.c: New file.
735 * nptl/pthread_getname.c: New file.
736 * nptl/pthread_setname.c: New file.
738 * nptl/pthread_create.c (START_THREAD_DEFN)
739 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
741 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
742 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
744 * resolv/res_send.c (send_vc): Disable warning resplen may
745 be used uninitialized.
747 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
750 (ATTR_NULL): New define checks ATTR against NULL.
751 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
752 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
754 2014-12-11 James Lemke <jwlemke@codesourcery.com>
758 (mem2mem_check): Revert my previous change.
759 (malloc_check_get_size): Revert my previous change.
760 (mem2chunk_check): Revert my previous change.
762 2014-12-11 Roland McGrath <roland@hack.frob.com>
764 * sysdeps/posix/shm-directory.c: New file.
765 * sysdeps/posix/shm-directory.h: New file.
766 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
767 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
768 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
769 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
770 Transmute EPERM to EACCES.
771 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
773 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
774 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
776 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
778 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
779 pointer and cast to uintptr_t.
780 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
781 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
782 Add cast to avoid warning.
783 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
785 2014-12-11 Joseph Myers <joseph@codesourcery.com>
787 * nptl/semaphore.h: Move to ...
788 * sysdeps/pthread/semaphore.h: ... here.
789 * Makefile (installed-headers): Change nptl/semaphore.h to
790 sysdeps/pthread/semaphore.h.
792 2014-12-11 Roland McGrath <roland@hack.frob.com>
794 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
795 generated error format strings.
797 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
798 -Wformat-extra-args warnings for scanf formats.
799 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
800 test of zero-length format (duh).
801 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
802 corner-case scanf format test.
803 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
804 generated fprintf format string.
805 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
806 corner-case sprintf format tests.
807 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
808 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
809 -Wformat-extra-args warnings throughout.
810 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
811 (CFLAGS-scanf4.c): Likewise.
812 (CFLAGS-scanf7.c): Likewise.
813 (CFLAGS-tst-sprintf.c): Likewise.
814 (CFLAGS-tst-printf.c): Likewise.
815 (CFLAGS-tst-printfsz.c): Likewise.
817 2014-12-11 Joseph Myers <joseph@codesourcery.com>
819 * include/cpio.h: New file.
820 * include/fmtmsg.h: Likewise.
822 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
823 corresponding format argument to size_t.
824 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
826 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
827 corresponding format argument to size_t.
828 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
830 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
831 corresponding format argument to size_t.
832 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
833 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
834 (CFLAGS-tst-mbswcs2.c): Likewise.
835 (CFLAGS-tst-mbswcs3.c): Likewise.
836 (CFLAGS-tst-mbswcs4.c): Likewise.
837 (CFLAGS-tst-mbswcs5.c): Likewise.
838 (CFLAGS-tst-trans.c): Likewise
840 2014-12-11 Roland McGrath <roland@hack.frob.com>
842 * posix/regexbug1.c (main): Use "%s" format with regerror results,
843 rather than assuming they won't contain any '%'s.
845 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
847 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
848 inhibit_loop_to_libcall to avoid recursive calls.
849 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
850 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
852 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
854 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
857 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
859 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
860 integer value instead of boolean.
862 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
864 * malloc/malloc.c: Fix powerof2 check.
866 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
868 * locale/programs/locfile.h (maybe_swap_uint32):
869 Remove inline and add unused attribute.
871 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
873 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
874 Truncating assembler expression to a .long expression.
876 2014-12-11 Andreas Schwab <schwab@suse.de>
878 * elf/rtld.c (struct map_args): Constify str member.
879 (do_preload): Constify fname argument.
881 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
883 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
884 constants definition.
886 2014-12-11 Andreas Schwab <schwab@suse.de>
889 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
890 FORCE_ELISION instead of DO_ELISION.
891 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
893 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
896 * iconvdata/gconv-modules: Remove duplicate entry.
898 2014-12-11 Will Newton <will.newton@linaro.org>
900 Merge gettext 0.19.3 into intl/.
902 This involves a number of cosmetic changes to comments
903 and ANSI function definitions and prototypes throughout
904 all the files. The gettext copyright header is used but
905 with the date ranges taken from the glibc copy.
907 * NEWS: Add gettext merge to 2.21.
908 * intl/bindtextdom.c: Switch to gettext copyright.
909 Use ANSI definitions and prototypes.
910 Use gl_* locking primitives rather than __libc_* ones.
911 Use __builtin_expect rather than __glibc_likely/unlikely.
912 * intl/dcgettext.c: Switch to gettext copyright.
913 Use ANSI definitions and prototypes.
914 * intl/dcigettext.c: Switch to gettext copyright.
915 Use ANSI definitions and prototypes.
916 (INTDIV0_RAISES_SIGFPE): New define.
917 Use gl_* locking primitives rather than __libc_* ones.
918 Include eval-plural.h instead of plural-eval.c.
919 Use __builtin_expect rather than __glibc_likely/unlikely.
920 * intl/dcngettext.c: Switch to gettext copyright.
921 Use ANSI definitions and prototypes.
922 * intl/dgettext.c: Likewise.
923 * intl/dngettext.c: Likewise.
924 * intl/plural-eval.c: Renamed to...
925 * intl/eval-plural.h: ...this.
926 * intl/explodename.c: Switch to gettext copyright.
927 Use ANSI definitions and prototypes.
928 (_nl_explode_name): Use strchr instead of __rawmemchr.
929 * intl/finddomain.c: Switch to gettext copyright.
930 Use ANSI definitions and prototypes.
931 Use gl_* locking primitives rather than __libc_* ones.
932 (_nl_find_domain): Use malloc rather than alloca for
933 allocation of temporary locale name.
934 * intl/gettext.c: Switch to gettext copyright.
935 Use ANSI definitions and prototypes.
936 * intl/gettextP.h: Switch to gettext copyright.
937 Use ANSI definitions and prototypes.
938 Use gl_* locking primitives rather than __libc_* ones.
939 * intl/gmo.h: Switch to gettext copyright.
940 (struct sysdep_string): Move struct segment_pair outside of
942 * intl/hash-string.c: Use ANSI definitions and prototypes.
943 * intl/hash-string.h: Switch to gettext copyright.
944 Use ANSI definitions and prototypes.
945 * intl/l10nflist.c: Switch to gettext copyright.
946 Use ANSI definitions and prototypes.
947 (_nl_normalize_codeset): Avoid integer overflow.
948 * intl/loadinfo.h: Switch to gettext copyright.
949 Use ANSI definitions and prototypes.
950 (LIBINTL_DLL_EXPORTED): New define.
951 (PATH_SEPARATOR): New define.
952 * intl/loadmsgcat.c: Switch to gettext copyright.
953 * intl/localealias.c: Switch to gettext copyright.
954 Use ANSI definitions and prototypes.
955 (_nl_expand_alias): Use PATH_SEPARATOR.
956 * intl/ngettext.c: Switch to gettext copyright.
957 Use ANSI definitions and prototypes.
958 * intl/plural-exp.c: Likewise.
959 * intl/plural-exp.h: Switch to gettext copyright.
960 Use ANSI definitions and prototypes.
961 (struct expression): Move definition of enum operator outside
962 of struct definition.
963 * intl/plural.c: Regenerate.
964 * intl/plural.y: Switch to gettext copyright.
965 Use ANSI definitions and prototypes.
967 * intl/textdomain.c: Switch to gettext copyright.
968 Use ANSI definitions and prototypes.
969 Use gl_* locking primitives rather than __libc_* ones.
971 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
973 * debug/warning-nop.c: Add used atrribute.
975 2014-12-10 Joseph Myers <joseph@codesourcery.com>
977 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
979 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
980 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
981 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
983 2014-12-10 Joseph Myers <joseph@codesourcery.com>
984 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
987 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
988 Undefine after defining function. Define as weak alias of
989 __wcschr. Use libc_hidden_weak.
990 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
991 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
992 (libc_hidden_def): Also define __GI___wcschr alias.
993 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
994 __wcschr and define as weak alias of __wcschr.
995 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
997 [!WCSCHR] (DEFAULT_WCSCHR): Define.
998 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
999 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1000 libc_hidden_weak. Do not use libc_hidden_def.
1001 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1002 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1003 __GI___wcschr alias.
1004 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1005 [IS_IN (libc)] (wcschr): Define as macro expanding to
1007 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1008 [IS_IN (libc)] (__wcschr_power6): Likewise.
1009 [IS_IN (libc)] (__wcschr_power7): Likewise.
1010 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1012 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1014 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1015 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1016 __wcschr and define as weak alias of __wcschr. Use
1017 libc_hidden_builtin_def.
1018 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1019 as weak alias of __wcschr. Use libc_hidden_weak.
1020 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1022 * time/era.c (_nl_init_era_entries): Likewise.
1023 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1025 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1026 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1028 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1030 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1031 format for long int variable.
1033 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1036 * manual/search.texi: (Array Sort Function): Remove claim how to make
1039 2014-12-10 Andreas Schwab <schwab@suse.de>
1042 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1043 user-controlled locks.
1045 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1047 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1050 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1052 * configure.ac (--disable-werror): New configure option.
1053 (enable_werror): New AC_SUBST.
1054 * configure: Regenerated.
1055 * config.make.in (enable-werror): New variable.
1056 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1058 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1059 * manual/install.texi (Configuring and compiling): Document
1061 * INSTALL: Regenerated.
1062 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1063 (CFLAGS-tst-chk2.c): Likewise.
1064 (CFLAGS-tst-chk3.c): Likewise.
1065 (CFLAGS-tst-chk4.cc): Likewise.
1066 (CFLAGS-tst-chk5.cc): Likewise.
1067 (CFLAGS-tst-chk6.cc): Likewise.
1068 (CFLAGS-tst-lfschk1.c): Likewise.
1069 (CFLAGS-tst-lfschk2.c): Likewise.
1070 (CFLAGS-tst-lfschk3.c): Likewise.
1071 (CFLAGS-tst-lfschk4.cc): Likewise.
1072 (CFLAGS-tst-lfschk5.cc): Likewise.
1073 (CFLAGS-tst-lfschk6.cc): Likewise.
1075 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1076 (main): Disable -Wdeprecated-declarations around calls to
1077 register_printf_function.
1079 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1080 (do_test): Disable -Wdiv-by-zero around some calls to
1081 fwrite_unlocked and fread_unlocked.
1083 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1084 (DIAG_POP_NEEDS_COMMENT): Likewise.
1085 (_DIAG_STR1): Likewise.
1086 (_DIAG_STR): Likewise.
1087 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1088 * stdio-common/bug21.c: Include <libc-internal.h>.
1089 (do_test): Disable -Wformat around call to sscanf.
1090 * stdio-common/scanf14.c: Include <libc-internal.h>.
1091 (main): Disable -Wformat around some calls to scanf functions.
1093 2014-12-09 Torvald Riegel <triegel@redhat.com>
1095 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1097 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1099 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1100 stack variable alignment.
1102 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1105 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1106 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1107 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1108 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1109 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1110 __getrlimit instead of getrlimit.
1111 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1112 __gettimeofday instead of gettimeofday.
1113 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1115 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1117 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1118 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1120 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1121 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1123 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1125 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1126 for wide-character tests.
1128 2014-12-04 Roland McGrath <roland@hack.frob.com>
1130 * io/openat64.c: #include <libc-internal.h>
1131 (__openat64): Prototypify. Use ignore_value on MODE.
1132 * io/openat.c: Likewise.
1133 * misc/reboot.c: #include <libc-internal.h>
1134 (reboot): Prototypify. Use ignore_value on HOWTO.
1135 * misc/ptrace.c: #include <libc-internal.h>
1136 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1138 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1140 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1141 XPG4, UNIX98 and XOPEN2K.
1142 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1144 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1146 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1148 * libio/fileops.c: Use ISO C style for function definitions.
1149 * libio/iofopen.c: Likewise.
1150 * libio/wfileops.c: Likewise.
1153 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1155 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1156 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1157 (fgets_func): Function pointer to fgets and fgetws.
1158 (do_ftell_test): Add test to verify ftell value after read
1160 (do_test): Set fgets_func.
1162 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1163 O_TRUNC flag for w and w+ modes.
1164 (do_rewind_test): Likewise.
1165 (do_ftell_test): Likewise.
1166 (do_write_test): Likewise.
1169 * libio/fileops.c (do_ftell): Seek only when there are
1171 * libio/wfileops.c (do_ftell_wide): Likewise.
1172 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1174 (do_one_test): Call it.
1176 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1178 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1179 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1180 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1182 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1183 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1184 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1186 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1188 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1190 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1193 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1194 as weak alias of __getifaddrs. Use libc_hidden_weak.
1195 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1196 __freeifaddrs. Use libc_hidden_weak.
1197 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1198 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1199 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1200 __freeifaddrs. Use libc_hidden_weak.
1201 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1202 __getifaddrs and define as weak alias of __getifaddrs. Use
1204 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1205 __freeifaddrs. Use libc_hidden_weak.
1206 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1208 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1209 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1211 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1214 * sysdeps/mips/start.S (__start): Use indirect jump to call
1217 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1219 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1221 * nptl/tst-mutex1.c: Include <stdbool.h>.
1222 [!ATTR] (ATTR_NULL): New macro.
1223 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1224 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1225 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1227 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1231 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1232 Change conditional to [__USE_MISC].
1235 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1237 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1239 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1241 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1243 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1244 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1245 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1246 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1247 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1248 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1249 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1250 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1251 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1253 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1255 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1257 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1258 Remove strpbrk objects.
1259 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1260 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1261 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1262 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1263 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1264 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1266 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1267 Remove strcspn objects.
1268 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1269 (__libc_ifunc_impl_list): Remove strcspn implementation.
1270 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1271 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1272 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1273 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1275 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1276 Remove strspn objetcs.
1277 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1278 (__libc_ifunc_impl_list): Remove strspn implementation.
1279 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1280 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1281 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1282 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1284 2014-12-01 James Lemke <jwlemke@codesourcery.com>
1288 (mem2mem_check): Add a terminator to the chain of checking blocks.
1289 (malloc_check_get_size): Use it here.
1290 (mem2chunk_check): Ditto.
1292 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1294 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1295 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1297 2014-11-29 Carlos O'Donell <carlos@redhat.com>
1299 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1301 * nptl/nptl-init.c: Include libc-internal.h.
1302 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1304 * elf/ldconfig.c (search_dir): Expand comment.
1306 2014-11-29 Joseph Myers <joseph@codesourcery.com>
1308 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1310 (linknamespace-symlist-stdlibs-tests): Likewise.
1311 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1312 instead of $(objpfx)symlist-stdlibs.
1313 (linknamespace-libs-isoc): New variable.
1314 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1315 (linknamespace-libs-ISO): New variable.
1316 (linknamespace-libs-ISO99): Likewise.
1317 (linknamespace-libs-ISO11): Likewise.
1318 (linknamespace-libs-XPG3): Likewise.
1319 (linknamespace-libs-XPG4): Likewise.
1320 (linknamespace-libs-POSIX): Likewise.
1321 (linknamespace-libs-UNIX98): Likewise.
1322 (linknamespace-libs-XOPEN2K): Likewise.
1323 (linknamespace-libs-POSIX2008): Likewise.
1324 (linknamespace-libs-XOPEN2K8): Likewise.
1325 ($(objpfx)symlist-stdlibs): Replace by
1326 $(linknamespace-symlist-stdlibs-tests). Use
1327 $(linknamespace-libs-$*) as set of libraries.
1328 ($(linknamespace-header-tests)): Update dependencies. Use
1329 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1330 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1331 * conform/linknamespace.pl: Remove comment about considering
1332 definitions of symbols from irrelevant libraries.
1334 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1337 * elf/dl-tls.c: Include <atomic.h>.
1338 (oom): Remove #ifdef SHARED/#endif.
1339 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1340 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1341 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1343 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1344 * nptl/Makefile (tests): Add tst-stack4.
1345 (modules-names): Add tst-stack4mod.
1346 ($(objpfx)tst-stack4): New.
1347 (tst-stack4mod.sos): Likewise.
1348 ($(objpfx)tst-stack4.out): Likewise.
1349 ($(tst-stack4mod.sos)): Likewise.
1351 * nptl/tst-stack4.c: New file.
1352 * nptl/tst-stack4mod.c: Likewise.
1354 2014-11-27 J. Brown <jb999@gmx.de>
1356 * sysdeps/x86/bits/string.h: Add recent CPUs.
1358 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1360 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1363 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1366 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1369 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1371 * nscd/connections.c: Include libc-internal.h because of macro
1374 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1376 * string/bits/string3.h (__warn_memset_zero_len): Don't
1377 declare for gcc newer than 5.0.
1378 (memset): Don't test for zero-length __LEN for gcc newer than
1381 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1383 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1384 size_t for %zu format.
1386 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1387 difference, not %ju.
1389 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1391 * include/libc-internal.h (ignore_value): New macro.
1392 * nscd/connections.c (restart): Wrap calls to setuid and setgid
1395 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1398 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1399 pthread_cleanup_push to void *.
1401 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1406 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1407 instead of 1L << 52.
1409 * libio/bug-rewind.c (do_test): Check fwscanf return values.
1410 * libio/bug-rewind2.c (do_test): Likewise.
1412 * debug/test-stpcpy_chk-ifunc.c: Remove file.
1413 * debug/test-strcpy_chk-ifunc.c: Likewise.
1414 * wcsmbs/test-wcschr-ifunc.c: Likewise.
1415 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1416 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1417 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1418 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1419 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1420 * Rules [$(multi-arch) = no] (tests): Do not filter out
1422 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1423 * debug/Makefile (tests-ifunc): Remove variable.
1424 (tests): Do not add $(tests-ifunc).
1425 * wcsmbs/Makefile (tests-ifunc): Remove variable.
1426 (tests): Do not add $(tests-ifunc).
1427 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1428 [TEST_IFUNC]: Remove conditionals.
1429 * string/test-string.h (TEST_IFUNC): Remove macro.
1430 [TEST_IFUNC]: Remove conditionals.
1432 * string/test-strchr.c [!WIDE] (L): New macro.
1433 [WIDE] (L): Likewise.
1434 (check1): Use CHAR instead of char. Use L on string and character
1437 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
1439 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1441 * sysdeps/powerpc/bits/atomic.h
1442 (__arch_atomic_exchange_and_add_32_acq): Add definition.
1443 (__arch_atomic_exchange_and_add_32_rel): Likewise.
1444 (atomic_exchange_and_add_acq): Likewise.
1445 (atomic_exchange_and_add_rel): Likewise.
1446 * sysdeps/powerpc/powerpc32/bits/atomic.h
1447 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1448 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1449 * sysdeps/powerpc/powerpc64/bits/atomic.h
1450 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1451 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1453 2014-11-26 Torvald Riegel <triegel@redhat.com>
1455 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1456 Change synchronization of __sched_fifo_min_prio and
1457 __sched_fifo_max_prio.
1458 * nptl/pthread_mutexattr_getprioceiling.c
1459 (pthread_mutexattr_getprioceiling): Likewise.
1460 * nptl/pthread_mutexattr_setprioceiling.c
1461 (pthread_mutexattr_setprioceiling): Likewise.
1462 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1463 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1466 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1468 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1471 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1473 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1474 third argument const.
1476 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
1478 fnmatch: work around GCC compiler warning bug with uninit var
1479 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1480 This works around a bug with x86-64 GCC 4.9.2 and earlier
1481 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1482 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1483 used uninitialized in this function [-Wmaybe-uninitialized]".
1485 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1487 * posix/bug-regex31.c (main): Return RES not 0.
1489 2014-11-25 Anton Blanchard <anton@samba.org>
1491 * sysdeps/powerpc/bits/atomic.h
1492 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1494 2014-11-24 Sterling Augustine <saugustine@google.com>
1496 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1498 2014-11-24 Ryan Cumming <etaoins@gmail.com>
1501 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1503 2014-11-24 Joseph Myers <joseph@codesourcery.com>
1506 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1507 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1509 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1510 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1512 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1514 * string/strncpy.c (strncpy): Improve performance by using memset.
1516 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1518 * string/strcpy.c (strcpy):
1519 Improve performance by using strlen and memcpy.
1521 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
1523 * string/strcoll_l.c (get_next_seq): __always_inline.
1524 * string/strcoll_l.c (do_compare): __always_inline.
1526 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1528 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1530 * include/mqueue.h: Likewise.
1531 * include/stdlib.h: Likewise.
1533 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1534 (get_null_defines): Adjust.
1535 * sunrpc/Makefile: Adjust comment.
1536 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1537 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1538 (CFLAGS-interp.c): Likewise.
1539 (CFLAGS-ldconfig.c): Likewise.
1540 (CPPFLAGS-.os): Likewise.
1541 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1542 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1543 * extra-modules.mk (extra-modules.mk): Likewise.
1544 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1545 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1546 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1547 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1548 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1549 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1550 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1551 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1552 * iconvdata/Makefile (CPPFLAGS): Likewise.
1553 (cpp-srcs-left): Add libof for all iconvdata routines.
1554 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1555 * include/assert.h: Likewise.
1556 * include/ctype.h: Likewise.
1557 * include/errno.h: Likewise.
1558 * include/libc-symbols.h: Likewise.
1559 * include/math.h: Likewise.
1560 * include/netdb.h: Likewise.
1561 * include/resolv.h: Likewise.
1562 * include/stdio.h: Likewise.
1563 * include/stdlib.h: Likewise.
1564 * include/string.h: Likewise.
1565 * include/sys/stat.h: Likewise.
1566 * include/wctype.h: Likewise.
1567 * intl/l10nflist.c: Likewise.
1568 * libidn/idn-stub.c: Likewise.
1569 * libio/libioP.h: Likewise.
1570 * nptl/libc_multiple_threads.c: Likewise.
1571 * nptl/pthreadP.h: Likewise.
1572 * posix/regex_internal.h: Likewise.
1573 * resolv/res_hconf.c: Likewise.
1574 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1575 * sysdeps/arm/memmove.S: Likewise.
1576 * sysdeps/arm/sysdep.h: Likewise.
1577 * sysdeps/generic/_itoa.h: Likewise.
1578 * sysdeps/generic/symbol-hacks.h: Likewise.
1579 * sysdeps/gnu/errlist.awk: Likewise.
1580 * sysdeps/gnu/errlist.c: Likewise.
1581 * sysdeps/i386/i586/memcpy.S: Likewise.
1582 * sysdeps/i386/i586/memset.S: Likewise.
1583 * sysdeps/i386/i686/memcpy.S: Likewise.
1584 * sysdeps/i386/i686/memmove.S: Likewise.
1585 * sysdeps/i386/i686/mempcpy.S: Likewise.
1586 * sysdeps/i386/i686/memset.S: Likewise.
1587 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1588 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1589 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1590 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1591 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1592 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1593 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1594 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1595 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1596 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1597 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1598 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1599 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1600 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1601 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1602 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1603 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1604 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1605 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1606 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1607 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1608 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1609 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1610 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1611 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1612 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1613 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1614 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1615 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1616 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1617 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1618 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1619 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1620 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1621 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1622 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1623 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1624 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1625 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1626 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1627 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1628 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1629 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1630 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1631 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1632 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1633 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1634 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1635 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1636 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1637 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1638 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1639 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1640 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1641 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1642 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1643 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1644 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1645 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1646 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1647 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1648 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1649 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1650 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1651 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1652 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1653 * sysdeps/posix/closedir.c: Likewise.
1654 * sysdeps/posix/opendir.c: Likewise.
1655 * sysdeps/posix/readdir.c: Likewise.
1656 * sysdeps/posix/rewinddir.c: Likewise.
1657 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1658 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1659 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1660 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1661 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1662 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1663 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1664 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1665 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1666 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1667 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1668 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1669 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1670 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1671 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1672 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1673 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1674 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1675 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1676 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1677 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1678 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1679 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1680 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1681 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1682 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1683 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1684 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1685 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1686 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1687 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1688 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1689 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1690 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1691 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1692 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1693 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1694 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1695 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1696 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1697 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1698 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1699 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1700 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1701 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1702 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1703 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1704 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1705 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1706 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1707 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1708 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1709 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1710 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1711 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1712 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1713 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1714 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1715 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1716 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1717 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1718 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1719 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1720 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1721 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1722 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1723 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1724 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1725 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1726 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1727 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1728 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1729 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1730 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1731 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1732 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1733 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1734 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1735 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1736 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1737 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1738 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1739 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1740 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1741 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1742 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1743 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1744 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1745 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1746 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1747 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1748 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1749 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1750 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1751 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1752 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1753 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1754 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1755 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1756 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1757 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1758 * sysdeps/unix/alpha/sysdep.S: Likewise.
1759 * sysdeps/unix/alpha/sysdep.h: Likewise.
1760 * sysdeps/unix/make-syscalls.sh: Likewise.
1761 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1762 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1763 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1764 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1765 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1766 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1767 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1768 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1769 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1770 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1771 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1772 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1773 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1774 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1775 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1776 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1777 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1778 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1779 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1780 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1781 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1782 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1783 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1784 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1785 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1786 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1787 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1790 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1791 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1792 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1793 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1794 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1795 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1796 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1797 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1798 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1799 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1800 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1801 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1802 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1803 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1804 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1805 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1806 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1807 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1808 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1809 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1810 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1811 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1812 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1813 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1814 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1815 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1816 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1817 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1818 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1819 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1820 * sysdeps/x86_64/memcpy.S: Likewise.
1821 * sysdeps/x86_64/memmove.c: Likewise.
1822 * sysdeps/x86_64/memset.S: Likewise.
1823 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1824 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1825 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1826 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1827 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1828 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1829 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1830 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1831 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1832 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1833 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1834 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1835 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1836 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1837 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1838 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1839 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1840 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1841 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1842 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1843 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1844 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1845 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1846 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1847 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1848 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1849 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1850 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1851 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1852 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1853 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1854 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1855 * sysdeps/x86_64/strcmp.S: Likewise.
1857 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1859 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1860 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1861 * elf/rtld-Rules: Likewise.
1862 * elf/setup-vdso.h: Likewise.
1863 * include/assert.h: Likewise.
1864 * include/bits/stdlib-float.h: Likewise.
1865 * include/errno.h: Likewise.
1866 * include/sys/stat.h: Likewise.
1867 * include/unistd.h: Likewise.
1868 * sysdeps/aarch64/setjmp.S: Likewise.
1869 * sysdeps/alpha/setjmp.S: Likewise.
1870 * sysdeps/arm/__longjmp.S: Likewise.
1871 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1872 * sysdeps/arm/setjmp.S: Likewise.
1873 * sysdeps/arm/sysdep.h: Likewise.
1874 * sysdeps/generic/_itoa.h: Likewise.
1875 * sysdeps/generic/dl-sysdep.h: Likewise.
1876 * sysdeps/generic/ldsodefs.h: Likewise.
1877 * sysdeps/i386/dl-tls.h: Likewise.
1878 * sysdeps/i386/setjmp.S: Likewise.
1879 * sysdeps/m68k/setjmp.c: Likewise.
1880 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1881 * sysdeps/mach/hurd/opendir.c: Likewise.
1882 * sysdeps/posix/getcwd.c: Likewise.
1883 * sysdeps/posix/opendir.c: Likewise.
1884 * sysdeps/posix/profil.c: Likewise.
1885 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1886 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1887 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1888 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1889 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1890 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1891 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1892 * sysdeps/s390/dl-tls.h: Likewise.
1893 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1894 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1895 * sysdeps/sh/sh3/setjmp.S: Likewise.
1896 * sysdeps/sh/sh4/setjmp.S: Likewise.
1897 * sysdeps/unix/alpha/sysdep.h: Likewise.
1898 * sysdeps/unix/arm/sysdep.S: Likewise.
1899 * sysdeps/unix/i386/sysdep.S: Likewise.
1900 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1901 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1902 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1903 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1904 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1905 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1906 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1907 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1908 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1909 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1910 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1911 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1912 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1915 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1916 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1917 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1918 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1919 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1920 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1921 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1922 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1923 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1924 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1925 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1926 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1927 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1928 * sysdeps/x86_64/setjmp.S: Likewise.
1930 * include/math.h: Use IS_IN instead of IS_IN_libm.
1931 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1932 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1933 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1934 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1935 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1936 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1937 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1938 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1939 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1940 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1941 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1942 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1943 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1944 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1945 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1946 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1947 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1948 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1949 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1950 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1951 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1952 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1953 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1954 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1955 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1956 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1957 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1958 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1959 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1960 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1961 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1962 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1963 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1964 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1966 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1968 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1970 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1972 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1974 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1975 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1976 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1977 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1978 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1979 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1982 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1983 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1984 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1985 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1986 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1987 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1988 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1989 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1990 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1991 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1992 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1993 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1994 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1995 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1996 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1997 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1998 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2000 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2002 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2003 * nptl/pthreadP.h: Likewise.
2004 * nptl_db/structs.def: Likewise.
2005 * sysdeps/arm/sysdep.h: Likewise.
2006 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2007 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2008 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2009 * sysdeps/unix/alpha/sysdep.h: Likewise.
2010 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2011 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2012 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2013 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2014 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2015 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2016 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2017 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2018 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2019 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2020 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2021 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2022 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2023 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2026 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2027 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2028 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2029 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2030 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2031 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2032 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2033 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2034 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2035 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2037 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2038 * nptl/pthreadP.h: Likewise.
2039 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2040 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2041 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2042 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2043 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2044 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2045 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2046 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2047 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2048 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2049 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2050 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2053 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2055 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2056 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2057 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2058 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2059 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2060 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2061 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2062 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2064 * dlfcn/dladdr.c: Use IS_IN.
2065 * dlfcn/dladdr1.c: Likewise.
2066 * dlfcn/dlclose.c: Likewise.
2067 * dlfcn/dlerror.c: Likewise.
2068 * dlfcn/dlinfo.c: Likewise.
2069 * dlfcn/dlmopen.c: Likewise.
2070 * dlfcn/dlopen.c: Likewise.
2071 * dlfcn/dlsym.c: Likewise.
2072 * dlfcn/dlvsym.c: Likewise.
2074 * include/ifaddrs.h: Use IS_IN.
2075 * inet/check_pf.c: Likewise.
2076 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2077 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2079 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2081 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2082 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2084 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2085 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2088 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2090 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2091 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2092 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2093 * include/libc-symbols.h (IS_IN_LIB): New macro.
2094 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2095 * include/netdb.h: Likewise.
2096 * include/stap-probe.h: Remove all uses of IN_LIB.
2098 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2099 instead of IN_MODULE.
2100 * include/libc-symbols.h (IN_MODULE): Define using
2102 (PASTE_NAME, PASTE_NAME1): New macros.
2103 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2105 (STAP_PROBE_ASM): Likewise.
2107 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2109 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2110 __mach_init in dlopened libc.
2112 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2114 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2115 * sysdeps/arm/preconfigure: Regenerate.
2117 2014-11-21 Roland McGrath <roland@hack.frob.com>
2119 * nptl/pthread_create.c (__pthread_create_2_1): Set
2120 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2121 when copying values from IATTR into PD.
2123 2014-11-21 Will Newton <will.newton@linaro.org>
2124 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2126 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2127 Refactor inline-asm. Also add comment.
2129 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2130 ElfW macro instead of hardcoded Elf64 types.
2131 (la_aarch64_gnu_pltenter): Likewise.
2132 * sysdeps/aarch64/dl-machine.h
2133 (elf_machine_runtime_setup): Use ElfW(Addr).
2135 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2136 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2137 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2138 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2139 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2140 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2141 (R_AARCH64_TLS_DTPMOD): This.
2142 (R_AARCH64_TLS_DTPREL64): Rename to ...
2143 (R_AARCH64_TLS_DTPREL): This.
2144 (R_AARCH64_TLS_TPREL64): Rename to ...
2145 (R_AARCH64_TLS_TPREL): This.
2146 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2147 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2148 R_AARCH64_TLS_TPREL64.
2149 (elf_machine_rela): Likewise.
2151 2014-11-21 Torvald Riegel <triegel@redhat.com>
2153 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2154 by setting it to 0. 64b atomics are not supported currently.
2156 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2159 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2160 search domain names.
2162 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2166 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2168 * posix/tst-getaddrinfo5.c: New.
2169 * posix/Makefile (tests): Add it.
2171 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2175 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2176 after parsing line but before break_if_match.
2177 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2178 if there is a protocol mismatch.
2180 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2182 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2183 because the potential race is on the user-supplied stream.
2185 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2187 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2188 string literal if not passed a buffer.
2189 * manual/job.texi (ctermid): Update reasoning, note deviation
2190 from posix, suggest mtasurace when not passed a buffer, for
2191 future non-preliminary safety notes.
2193 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2195 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2196 of not passing it a buffer.
2197 Reported by Peng Haitao.
2199 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2201 * manual/Makefile ($(objpfx)stamp-summary): Require
2202 check-safety.sh to pass.
2203 * manual/check-safety.sh: Wish for verification that every
2204 @deftypefn and @deftypefun is followed by a @safety remark.
2206 2014-11-20 Roland McGrath <roland@hack.frob.com>
2208 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2210 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2211 PTHREAD_CANCEL_ASYNCHRONOUS.
2212 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2215 * nptl/default-sched.h: New file.
2216 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2217 * nptl/pthread_create.c: Include it.
2218 (__pthread_create_2_1): Use collect_default_sched instead of making
2219 Linux syscalls here directly.
2221 2014-11-20 Torvald Riegel <triegel@redhat.com>
2223 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2224 __pthread_once): Use C11 atomics.
2226 2014-11-20 Torvald Riegel <triegel@redhat.com>
2228 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2230 2014-11-20 Torvald Riegel <triegel@redhat.com>
2232 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2233 atomic_thread_fence_acquire, atomic_thread_fence_release,
2234 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2235 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2236 atomic_compare_exchange_weak_relaxed,
2237 atomic_compare_exchange_weak_acquire,
2238 atomic_compare_exchange_weak_release,
2239 atomic_exchange_acquire, atomic_exchange_release,
2240 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2241 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2242 atomic_fetch_and_acquire,
2243 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2245 2014-11-20 Torvald Riegel <triegel@redhat.com>
2247 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2248 USE_ATOMIC_COMPILER_BUILTINS): Define.
2249 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2250 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2251 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2252 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2253 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2254 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2255 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2256 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2257 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2258 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2259 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2260 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2261 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2262 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2263 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2264 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2265 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2266 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2267 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2268 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2269 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2270 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2271 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2272 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2273 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2274 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2275 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2276 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2277 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2278 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2279 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2280 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2281 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2282 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2283 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2284 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2285 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2286 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2287 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2288 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2290 2014-11-19 Roland McGrath <roland@hack.frob.com>
2292 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2293 the sched_priority value here. It was already checked when the user
2294 called pthread_attr_setschedparam.
2296 * nptl/tst-bad-schedattr.c: New file.
2297 * nptl/Makefile (tests): Add it.
2299 2014-11-19 Carlos O'Donell <carlos@redhat.com>
2300 Florian Weimer <fweimer@redhat.com>
2301 Joseph Myers <joseph@codesourcery.com>
2302 Adam Conrad <adconrad@0c3.net>
2303 Andreas Schwab <schwab@suse.de>
2304 Brooks <bmoses@google.com>
2307 * wordexp-test.c (__dso_handle): Add prototype.
2308 (__register_atfork): Likewise.
2309 (__app_register_atfork): New function.
2310 (registered_forks): New global.
2311 (register_fork): New function.
2312 (test_case): Add 3 new tests for WRDE_CMDSUB.
2313 (main): Call __app_register_atfork.
2314 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2315 fork count is non-zero fail the test.
2316 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2318 (parse_dollars): Remove check for WRDE_NOCMD.
2319 (parse_dquote): Likewise.
2321 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2323 * Makeconfig (built-modules): List non-library modules to be
2325 (module-cppflags): Include libc-modules.h for
2326 everything except shlib-versions.v.i.
2328 (before-compile): Add libc-modules.h.
2329 ($(common-objpfx)libc-modules.h,
2330 $(common-objpfx)libc-modules.stmp): New targets.
2331 (common-generated): Add libc-modules.h and libc-modules.stmp.
2332 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2333 * include/libc-symbols.h: Don't include libc-modules.h.
2334 * include/libc-modules.h: Remove file.
2335 * scripts/gen-libc-modules.awk: New script to generate
2337 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2338 Depend on libc-modules.stmp.
2340 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2342 * Makeconfig (in-module): Get value of libof set for the
2344 (CPPFLAGS): Use $(in-module).
2345 * Makerules: Don't suffix routine names for nonlib.
2346 * include/libc-modules.h: New file.
2347 * include/libc-symbols.h: Include libc-modules.h
2348 (IS_IN): New macro to replace IS_IN_* macros.
2349 * elf/Makefile: Set libof-* for each routine.
2350 * elf/rtld-Rules: Likewise.
2351 * extra-modules.mk: Likewise.
2352 * iconv/Makefile: Likewise.
2353 * iconvdata/Makefile: Likewise.
2354 * locale/Makefile: Likewise.
2355 * malloc/Makefile: Likewise.
2356 * nss/Makefile: Likewise.
2357 * sysdeps/gnu/Makefile: Likewise.
2358 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2359 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2360 * sysdeps/s390/s390-64/Makefile: Likewise.
2361 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
2362 CPPFLAGS for nscd instead of nonlib.
2364 2014-11-18 Roland McGrath <roland@hack.frob.com>
2366 * nptl/createthread.c: New file.
2368 * nptl/createthread.c: Moved ...
2369 * sysdeps/unix/sysv/linux/createthread.c: ... here.
2371 * nptl/createthread.c: Add proper top-line comment.
2372 (do_clone): Folded into ...
2373 (create_thread): ... here. Take new arguments STOPPED_START and
2374 THREAD_RAN. Always set PD->stopped_start to something here. Don't
2375 increment __nptl_threads, do event-reporting logic, do
2376 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2377 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
2378 resource cleanup if sched_setaffinity or sched_setscheduler fails,
2379 just send SIGCANCEL.
2380 * nptl/pthread_create.c: Forward-declare create_thread before
2381 including createthread.c.
2382 (start_thread): Use new macro START_THREAD_DEFN to replace defining
2383 declaration, and new macro START_THREAD_SELF to replace argument.
2384 Remove return statement.
2385 (report_thread_creation): New function.
2386 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
2387 synchronization logic, and __nptl_nthreads increment here, around
2388 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
2389 PD->parent_cancelhandling here, before create_thread. When
2390 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2391 __deallocate_stack, and ENOMEM translation here.
2393 2014-11-18 Joseph Myers <joseph@codesourcery.com>
2396 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2397 (mptwo): Rename to __mptwo.
2398 (__inv): Use __mptwo instead of mptwo.
2399 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2400 (mptwo): Rename to __mptwo.
2401 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2402 of mpone and __mptwo instead of mptwo.
2403 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2405 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2406 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2407 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2408 of mpone and __mptwo instead of mptwo.
2409 (__mpranred): Use __mpone instead of mpone.
2410 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2412 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2413 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2414 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2415 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2416 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2417 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2418 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2419 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2420 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2421 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2422 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2423 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2424 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2425 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2426 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2427 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2428 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2429 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2430 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2432 2014-11-18 Tom de Vries <tom@codesoucery.com>
2434 * manual/signal.texi (Primitives Interrupted by Signals): In section,
2435 replace BSD Handler xref with BSD Signal Handling.
2437 2014-11-17 Richard Henderson <rth@redhat.com>
2439 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2440 (_FP_PACK_RAW_2): Remove.
2441 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2442 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2443 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2444 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2445 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2446 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2447 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2448 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2449 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2450 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2451 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2452 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2453 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2454 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2455 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2456 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2458 2014-11-14 Roland McGrath <roland@hack.frob.com>
2460 * signal/signal.h [__USE_MISC]
2461 (struct sigvec): Remove type.
2462 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2463 (sigvec): Remove declaration.
2464 * sysdeps/posix/sigvec.c: Moved ...
2465 * signal/sigvec.c: ... here, replacing old file.
2466 (struct sigvec): New type, copied from old signal.h definition.
2467 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2468 (__sigvec): Convert definition to prototype.
2469 (sigvec): Replace weak_alias with compat_symbol.
2470 * signal/Versions (libc: GLIBC_2.21): New version set.
2471 * include/signal.h: Remove __sigvec declaration.
2472 * sysdeps/unix/bsd/sigvec.c: Remove file.
2473 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2474 * manual/signal.texi (BSD Handler): Remove subsection.
2475 Move siginterrupt up to ...
2476 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
2477 (Blocking in BSD): Fold subsection into its parent.
2478 * NEWS: Mention sigvec removal.
2480 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2482 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2483 (DLA_FMS): Make definition conditional only on [__FMA4__].
2484 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2487 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2488 Make definition conditional only on [PROF].
2489 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2491 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2492 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2494 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2496 * include/signal.h (__sigpause): Move declaration above call to
2498 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2500 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2501 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2503 2014-11-14 David S. Miller <davem@davemloft.net>
2505 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2506 Define before including <string/memcpy.c> and <string/mempcpy.c>.
2508 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2510 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2511 * configure: Regenerated.
2512 * manual/install.texi (Tools for Compilation): Document a
2513 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2514 compiler verified to work.
2515 * INSTALL: Regenerated.
2517 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2518 redeclare with asm name.
2519 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2520 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2521 including <string.h>.
2522 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2523 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2524 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2525 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2526 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2527 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2528 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2530 2014-11-13 Joseph Myers <joseph@codesourcery.com>
2532 * stdlib/strtol.c (__strtol): Use prototype definition.
2535 * stdlib/strtol.c (SYM__): New macro.
2537 (__strtol): Likewise.
2538 (strtol): Rename to __strtol and define as weak alias of
2539 __strtol. Use libc_hidden_weak.
2541 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2543 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2544 Use numbered labels in inline assembly.
2546 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2548 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2549 Add setjmp LIBC_PROBE.
2550 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2552 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2553 Add longjmp, longjmp_target LIBC_PROBE.
2554 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2557 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2559 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2560 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2561 to get rid of unused variable warning.
2563 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2565 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2566 Check for unwind_backtrace == NULL only in SHARED case.
2567 (__backchain_backtrace): Compile only in SHARED case.
2568 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2570 (__backchain_backtrace): Declare as static.
2572 2014-11-12 Roland McGrath <roland@hack.frob.com>
2574 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2575 (__libc_multiple_threads_ptr): Variable moved ...
2576 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2578 2014-11-12 Joseph Myers <joseph@codesourcery.com>
2580 * conform/GlibcConform.pm: New file.
2581 * conform/conformtest.pl: Use GlibcConform module.
2582 * conform/linknamespace.pl: New file.
2583 * conform/list-header-symbols.pl: Likewise.
2584 * conform/Makefile (linknamespace-symlists-base): New variable.
2585 (linknamespace-symlists-tests): Likewise.
2586 (linknamespace-header-base): Likewise.
2587 (linknamespace-header-tests): Likewise.
2588 (tests-special): Add new tests.
2589 ($(linknamespace-symlists-tests)): New rule.
2590 (linknamespace-libs): New variable.
2591 ($(objpfx)symlist-stdlibs): New rule.
2592 ($(linknamespace-header-tests)): Likewise.
2593 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2594 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2595 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2596 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2597 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2598 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2599 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2600 (test-xfail-ISO/math.h/linknamespace): Likewise.
2601 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2602 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2603 (test-xfail-ISO/time.h/linknamespace): Likewise.
2604 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2605 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2606 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2607 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2608 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2609 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2610 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2611 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2612 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2613 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2614 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2615 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2616 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2617 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2618 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2619 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2620 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2621 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2622 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2623 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2624 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2625 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2626 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2627 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2628 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2629 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2630 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2631 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2632 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2633 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2634 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2635 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2636 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2637 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2638 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2639 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2640 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2641 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2642 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2643 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2644 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2645 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2646 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2647 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2648 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2649 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2650 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2651 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2652 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2653 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2654 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2655 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2656 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2657 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2658 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2659 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2660 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2661 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2662 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2663 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2664 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2665 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2666 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2667 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2668 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2669 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2670 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2671 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2672 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2673 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2674 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2675 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2676 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2677 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2678 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2679 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2680 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2681 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2682 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2683 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2684 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2685 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2686 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2687 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2688 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2689 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2690 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2691 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2692 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2693 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2694 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2695 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2696 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2697 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2698 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2699 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2700 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2701 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2702 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2703 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2704 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2705 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2706 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2707 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2708 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2709 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2710 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2711 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2712 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2713 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2714 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2715 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2716 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2717 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2718 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2719 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2720 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2721 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2722 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2723 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2724 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2725 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2726 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2727 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2728 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2729 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2730 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2731 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2732 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2733 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2734 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2735 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2736 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2737 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2738 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2739 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2740 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2741 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2742 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2743 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2744 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2745 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2746 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2747 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2748 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2749 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2750 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2751 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2752 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2753 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2756 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2760 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2761 (memmem): Rename to __memmem and define as weak alias of
2762 __memmem. Use libc_hidden_weak.
2763 (__memmem): Use libc_hidden_def.
2764 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2765 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2769 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2770 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2771 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2772 and define as weak alias of __fgets_unlocked. Use
2774 (__fgets_unlocked): Use libc_hidden_def.
2775 * include/stdio.h (__fgets_unlocked): Declare. Use
2777 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2778 __fgets_unlocked instead of fgets_unlocked.
2779 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2780 (GET_NPROCS_CONF_PARSER): Likewise.
2781 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2782 (GET_NPROCS_CONF_PARSER): Likewise.
2785 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2786 weak alias of __wmemset. Use libc_hidden_weak.
2787 (__wmemset): Use libc_hidden_def.
2788 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2789 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2793 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2794 with asm name __mempcpy.
2795 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2798 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2799 and define as weak alias of __rawmemchr.
2800 (__rawmemchr): Do not define as strong alias of rawmemchr.
2803 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2805 (qsort): Call __qsort_r instead of qsort_r.
2806 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2807 (__qsort_r): Declare. Call libc_hidden_proto.
2808 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2810 * nscd/gai.c (__qsort_r): Define to qsort_r.
2811 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2812 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2813 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2816 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2817 define as weak alias of __malloc_info.
2820 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2821 as weak alias of __rewinddir. Don't use libc_hidden_def.
2822 (__rewinddir): Use libc_hidden_def.
2823 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2824 as weak alias of __rewinddir. Don't use libc_hidden_def.
2825 (__rewinddir): Use libc_hidden_def.
2826 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2827 weak alias of __rewinddir. Don't use libc_hidden_def.
2828 (__rewinddir): Use libc_hidden_def.
2829 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2830 (__rewinddir): Use libc_hidden_proto.
2831 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2833 (__getcwd): Use __rewinddir instead of rewinddir.
2836 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2837 alias of __fileno. Use libc_hidden_weak.
2838 (__fileno): Use libc_hidden_def.
2839 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2840 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2842 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2844 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2845 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2847 (fread_unlocked): Don't use libc_hidden_ver.
2848 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2849 and define as weak alias of __fread_unlocked. Don't use
2851 (__fread_unlocked): Use libc_hidden_def.
2852 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2853 (ftello): Don't use libc_hidden_proto.
2854 (__ftello): Declare. Use libc_hidden_proto.
2855 (fread_unlocked): Don't use libc_hidden_proto.
2856 (__fread_unlocked): Declare. Use libc_hidden_proto.
2857 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2858 and __ftello instead of fileno, fread_unlocked and ftello.
2860 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2862 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2864 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2866 (_dl_start_user): Likewise.
2867 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2869 2014-11-12 Carlos O'Donell <carlos@redhat.com>
2870 Siddhesh Poyarekar <siddhesh@redhat.com>
2872 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2873 Move argv and envp down instead of moving argc up.
2874 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2876 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
2879 * test-skeleton.c (main): Return successful if one of
2880 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2881 * string/tst-strcoll-overflow.c: Define expected status.
2883 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2886 * locale/iso-639.def: Define Bhili and Tulu language codes.
2888 2014-11-11 Alan Hayward <alan.hayward@arm.com>
2890 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2892 2014-11-10 Renlin Li <Renlin.Li@arm.com>
2895 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2897 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2899 * configure.ac: Updated check of minimal required version to
2901 * manual/install.texi (Tools for Compilation): Updated version
2903 * configure: Regenerated.
2904 * INSTALL: Likewise.
2906 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2908 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2911 2014-11-07 Joseph Myers <joseph@codesourcery.com>
2913 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2914 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2915 (__waitpid): Don't define as alias. Use libc_hidden_def not
2917 (waitpid): Define as alias of __waitpid.
2918 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2920 (__waitpid): Don't define as alias. Use libc_hidden_def not
2922 (waitpid): Define as alias of __waitpid.
2923 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2924 __libc_waitpid alias.
2925 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2926 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2928 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2929 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2930 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2932 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2934 (__waitpid): Don't define as alias. Use libc_hidden_def not
2936 (waitpid): Define as alias of __waitpid.
2938 2014-11-06 Carlos O'Donell <carlos@redhat.com>
2940 * manual/llio.texi: Add comment that write safety has been
2943 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2944 (localplt-build-dso): Add elf/ld.so.
2945 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2946 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2949 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2954 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2955 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2956 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2957 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2958 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2959 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2960 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2961 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2962 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2963 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2964 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2966 2014-11-05 Joseph Myers <joseph@codesourcery.com>
2969 * include/libc-symbols.h (INTUSE): Remove macro.
2971 (INTVARDEF): Likewise.
2972 (_INTVARDEF): Likewise.
2973 (INTDEF2): Likewise.
2974 (INTVARDEF2): Likewise.
2975 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2976 rtld_hidden_def instead of INTVARDEF.
2977 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2978 (_dl_starting_up_internal): Remove declaration.
2979 (_dl_starting_up): Use rtld_hidden_proto.
2980 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2982 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2983 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2985 * elf/dl-writev.h (_dl_writev): Likewise.
2986 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2987 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2988 _dl_starting_up_internal.
2990 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2992 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2995 2014-11-05 Will Newton <will.newton@linaro.org>
2997 * benchtests/Makefile: (bench-malloc): Add malloc thread
2998 scalability benchmark.
2999 * benchtests/bench-malloc-threads.c: New file.
3001 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3003 * sysdeps/aarch64/strchrnul.S: New file.
3005 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3007 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3009 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3011 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3013 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3015 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3017 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3020 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3022 * catgets/test-gencat.c: Use test-skeleton.c.
3023 * catgets/tst-catgets.c: Likewise.
3024 * csu/tst-empty.c: Likewise.
3025 * elf/tst-audit2.c: Likewise.
3026 * elf/tst-global1.c: Likewise.
3027 * elf/tst-pathopt.c: Likewise.
3028 * elf/tst-piemod1.c: Likewise.
3029 * elf/tst-tls10.c: Likewise.
3030 * elf/tst-tls11.c: Likewise.
3031 * elf/tst-tls12.c: Likewise.
3032 * gnulib/tst-gcc.c: Likewise.
3033 * iconvdata/tst-e2big.c: Likewise.
3034 * iconvdata/tst-loading.c: Likewise.
3035 * iconv/tst-iconv1.c: Likewise.
3036 * iconv/tst-iconv2.c: Likewise.
3037 * inet/test-inet6_opt.c: Likewise.
3038 * inet/tst-gethnm.c: Likewise.
3039 * inet/tst-network.c: Likewise.
3040 * inet/tst-ntoa.c: Likewise.
3041 * intl/tst-codeset.c: Likewise.
3042 * intl/tst-gettext2.c: Likewise.
3043 * intl/tst-gettext3.c: Likewise.
3044 * intl/tst-ngettext.c: Likewise.
3045 * intl/tst-translit.c: Likewise.
3046 * io/test-stat.c: Likewise.
3047 * libio/test-fmemopen.c: Likewise.
3048 * libio/tst-freopen.c: Likewise.
3049 * libio/tst-sscanf.c: Likewise.
3050 * libio/tst-ungetwc1.c: Likewise.
3051 * libio/tst-ungetwc2.c: Likewise.
3052 * libio/tst-widetext.c: Likewise.
3053 * localedata/tst-ctype.c: Likewise.
3054 * localedata/tst-digits.c: Likewise.
3055 * localedata/tst-leaks.c: Likewise.
3056 * localedata/tst-mbswcs1.c: Likewise.
3057 * localedata/tst-mbswcs2.c: Likewise.
3058 * localedata/tst-mbswcs3.c: Likewise.
3059 * localedata/tst-mbswcs4.c: Likewise.
3060 * localedata/tst-mbswcs5.c: Likewise.
3061 * localedata/tst-setlocale.c: Likewise.
3062 * localedata/tst-trans.c: Likewise.
3063 * localedata/tst-wctype.c: Likewise.
3064 * localedata/tst-xlocale1.c: Likewise.
3065 * login/tst-grantpt.c: Likewise.
3066 * malloc/tst-calloc.c: Likewise.
3067 * malloc/tst-malloc.c: Likewise.
3068 * malloc/tst-mallocstate.c: Likewise.
3069 * malloc/tst-mcheck.c: Likewise.
3070 * malloc/tst-mtrace.c: Likewise.
3071 * malloc/tst-obstack.c: Likewise.
3072 * math/atest-exp2.c: Likewise.
3073 * math/atest-exp.c: Likewise.
3074 * math/atest-sincos.c: Likewise.
3075 * math/test-matherr.c: Likewise.
3076 * math/test-misc.c: Likewise.
3077 * math/test-powl.c: Likewise.
3078 * math/tst-definitions.c: Likewise.
3079 * misc/tst-dirname.c: Likewise.
3080 * misc/tst-efgcvt.c: Likewise.
3081 * misc/tst-fdset.c: Likewise.
3082 * misc/tst-hsearch.c: Likewise.
3083 * misc/tst-mntent2.c: Likewise.
3084 * nptl/tst-sem7.c: Likewise.
3085 * nptl/tst-sem8.c: Likewise.
3086 * nptl/tst-sem9.c: Likewise.
3087 * nss/test-netdb.c: Likewise.
3088 * posix/tst-fnmatch.c: Likewise.
3089 * posix/tst-getlogin.c: Likewise.
3090 * posix/tst-gnuglob.c: Likewise.
3091 * posix/tst-mmap.c: Likewise.
3092 * pwd/tst-getpw.c: Likewise.
3093 * resolv/tst-inet_ntop.c: Likewise.
3094 * rt/tst-timer.c: Likewise.
3095 * stdio-common/test-fseek.c: Likewise.
3096 * stdio-common/test-popen.c: Likewise.
3097 * stdio-common/test-vfprintf.c: Likewise.
3098 * stdio-common/tst-cookie.c: Likewise.
3099 * stdio-common/tst-fileno.c: Likewise.
3100 * stdio-common/tst-gets.c: Likewise.
3101 * stdio-common/tst-obprintf.c: Likewise.
3102 * stdio-common/tst-perror.c: Likewise.
3103 * stdio-common/tst-sprintf2.c: Likewise.
3104 * stdio-common/tst-sprintf3.c: Likewise.
3105 * stdio-common/tst-sprintf.c: Likewise.
3106 * stdio-common/tst-swprintf.c: Likewise.
3107 * stdio-common/tst-tmpnam.c: Likewise.
3108 * stdio-common/tst-unbputc.c: Likewise.
3109 * stdio-common/tst-wc-printf.c: Likewise.
3110 * stdlib/tst-environ.c: Likewise.
3111 * stdlib/tst-fmtmsg.c: Likewise.
3112 * stdlib/tst-limits.c: Likewise.
3113 * stdlib/tst-rand48-2.c: Likewise.
3114 * stdlib/tst-rand48.c: Likewise.
3115 * stdlib/tst-random2.c: Likewise.
3116 * stdlib/tst-random.c: Likewise.
3117 * stdlib/tst-strtol.c: Likewise.
3118 * stdlib/tst-strtoll.c: Likewise.
3119 * stdlib/tst-tls-atexit.c: Likewise.
3120 * stdlib/tst-xpg-basename.c: Likewise.
3121 * string/test-ffs.c: Likewise.
3122 * string/tst-bswap.c: Likewise.
3123 * string/tst-inlcall.c: Likewise.
3124 * string/tst-strtok.c: Likewise.
3125 * string/tst-strxfrm.c: Likewise.
3126 * sysdeps/x86_64/tst-audit10.c: Likewise.
3127 * sysdeps/x86_64/tst-audit3.c: Likewise.
3128 * sysdeps/x86_64/tst-audit4.c: Likewise.
3129 * sysdeps/x86_64/tst-audit5.c: Likewise.
3130 * time/tst-ftime_l.c: Likewise.
3131 * time/tst-getdate.c: Likewise.
3132 * time/tst-mktime3.c: Likewise.
3133 * time/tst-mktime.c: Likewise.
3134 * time/tst-posixtz.c: Likewise.
3135 * time/tst-strptime2.c: Likewise.
3136 * time/tst-strptime3.c: Likewise.
3137 * wcsmbs/tst-btowc.c: Likewise.
3138 * wcsmbs/tst-mbrtowc.c: Likewise.
3139 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3140 * wcsmbs/tst-wchar-h.c: Likewise.
3141 * wcsmbs/tst-wcpncpy.c: Likewise.
3142 * wcsmbs/tst-wcrtomb.c: Likewise.
3143 * wcsmbs/tst-wcsnlen.c: Likewise.
3144 * wcsmbs/tst-wcstof.c: Likewise.
3146 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3149 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3151 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3153 (_dl_mcount): Use rtld_hidden_proto.
3154 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3156 * elf/rtld.c (_rtld_global_ro): Likewise.
3159 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3160 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3161 of _dl_init_internal.
3162 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3163 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3164 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3165 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3166 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3167 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3168 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3169 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3170 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3171 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3172 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3173 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3174 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3175 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3176 * sysdeps/tile/dl-start.S (_start): Likewise.
3177 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3178 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3181 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3182 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3183 (rtld_progname): Make macro definition unconditional.
3184 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3186 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3187 (dl_main): Likewise.
3188 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3189 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3190 instead of _dl_argv_internal.
3191 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3192 __GI__dl_argv instead of INTUSE(_dl_argv).
3193 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3194 __GI__dl_argv instead of _dl_argv_internal.
3196 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3197 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3199 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3200 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3202 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3203 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3205 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3206 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3208 2014-11-04 Andreas Schwab <schwab@suse.de>
3210 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3212 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3214 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3215 mtvsrd instruction in binary form.
3217 2014-11-03 Andreas Schwab <schwab@suse.de>
3220 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3221 for less than MB_LEN_MAX use a local buffer of that size.
3222 * libio/tst-fputws.c: New file.
3223 * libio/Makefile (tests): Add tst-fputws.
3225 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3227 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3228 the size of the fpu_fr.fpu_dregs[] array.
3230 2014-11-01 Joseph Myers <joseph@codesourcery.com>
3232 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3233 (__nanosleep): Do not define as alias.
3234 (nanosleep): Define as alias of __nanosleep.
3235 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3236 __libc_nanosleep name.
3238 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3240 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3241 install.texi in comment.
3243 2014-10-31 Torvald Riegel <triegel@redhat.com>
3245 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3246 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3247 ... add here and use lwsync or sync ...
3248 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3249 ... and add here using lwsync.
3251 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3253 * elf/dl-machine-reject-phdr.h: New file.
3254 * elf/dl-load.c: #include that.
3255 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3256 if that returned true.
3258 2014-10-31 Roland McGrath <roland@hack.frob.com>
3261 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3262 gen-as-const-headers chunk. Add a big scare comment after the last
3263 safe place to touch before-compile.
3265 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3267 * manual/install.texi (Tools for Compilation): Update autoconf
3268 version requirements.
3269 * INSTALL: Regenerated.
3271 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3272 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3273 (__libc_pselect): Likewise.
3276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3281 2014-10-31 Torvald Riegel <triegel@redhat.com>
3283 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3284 correct barrier instruction.
3285 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3287 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3290 2014-10-30 Roland McGrath <roland@hack.frob.com>
3292 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3293 after defining inlines. Instead, just use parens to defeat macro
3294 expansion of __isctype in its declaration.
3296 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3298 * include/sys/uio.h (__libc_readv): Remove declaration.
3299 (__libc_writev): Likewise.
3300 * misc/readv.c (__libc_readv): Rename to __readv.
3301 (__readv): Do not define as alias.
3302 (readv): Define as alias of __readv.
3303 * misc/writev.c (__libc_writev): Rename to __writev.
3304 (__writev): Do not define as alias.
3305 (writev): Define as alias of __writev.
3306 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3307 (__readv): Do not define as alias.
3308 (readv): Define unconditionally as alias of __readv.
3309 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3310 (__writev): Do not define as alias.
3311 (writev): Define unconditionally as alias of __writev.
3312 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3314 (writev): Do not define __libc_writev name.
3316 2014-10-30 Roland McGrath <roland@hack.frob.com>
3318 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3319 (convert_charseq): New function, broken out of ...
3320 (use_from_charmap): ... here. Call it.
3321 (use_to_charmap): Use convert_charseq and free instead of duplicating
3322 its code with a variable-length stack struct.
3324 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3326 * include/fcntl.h (__libc_creat): Remove declaration.
3327 * io/creat.c (__libc_creat): Rename to creat.
3328 (creat): Do not define as alias.
3329 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3330 of creat instead of __libc_creat.
3331 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3333 (creat): Do not define as alias.
3334 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3336 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3338 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3341 2014-10-29 Carlos O'Donell <carlos@redhat.com>
3343 * manual/llio.texi: Add comments discussing why write() may be
3344 considered MT-unsafe on Linux.
3346 2014-10-28 Carlos O'Donell <carlos@redhat.com>
3348 * dl-load.c (local_strdup): Remove.
3349 (expand_dynamic_string_token): Use __strdup.
3350 (decompose_rpath): Likewise.
3351 (_dl_map_object): Likewise.
3353 2014-10-28 Joseph Myers <joseph@codesourcery.com>
3356 * sysdeps/generic/unwind-dw2-fde.c
3357 (__register_frame_info_bases_internal): Do not declare.
3358 (__register_frame_info_table_bases_internal): Likewise.
3359 (__deregister_frame_info_bases_internal): Likewise.
3360 (__register_frame_info_bases): Declare and use hidden_proto before
3361 definition. Use hidden_def instead of INTDEF.
3362 (__register_frame_info_table_bases): Likewise.
3363 (__deregister_frame_info_bases): Likewise.
3364 (__register_frame_info): Do not use INTUSE.
3365 (__register_frame): Likewise.
3366 (__register_frame_info_table): Likewise.
3367 (__register_frame_table): Likewise.
3368 (__deregister_frame_info): Likewise.
3369 (__deregister_frame): Likewise.
3371 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
3373 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3374 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3376 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3378 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3381 2014-10-27 Joseph Myers <joseph@codesourcery.com>
3384 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3385 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3386 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3387 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3388 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3389 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3390 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3391 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3392 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3393 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3394 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3395 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3396 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3398 (setfsuid): Likewise.
3399 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3400 (setfsuid): Likewise.
3401 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3402 (setfsuid): Likewise.
3403 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3405 (setfsuid): Likewise.
3406 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3407 (setfsuid): Likewise.
3408 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3410 (setfsuid): Likewise.
3412 2014-10-27 Andreas Schwab <schwab@suse.de>
3415 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3416 check for Slow_SSE4_2 feature bit.
3417 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3418 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3419 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3420 Likewise. Fix check for Fast_Unaligned_Load feature bit.
3422 2014-10-24 Roland McGrath <roland@hack.frob.com>
3424 * configure.ac: Validate compiler version with a empirical test of
3425 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3427 * configure: Regenerated.
3429 * inet/htons.c (htons): Prototypify.
3430 * inet/htonl.c (htonl): Likewise.
3432 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3434 * string/strncat.c (strncat): Improve performance by using strlen.
3436 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3438 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3440 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3442 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3443 Call libc_fetestexcept_aarch64.
3445 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3447 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3448 Call libc_feholdexcept_aarch64.
3450 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3452 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3453 Call get_rounding_mode.
3455 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3457 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3460 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3462 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3465 2014-10-24 Joseph Myers <joseph@codesourcery.com>
3468 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3469 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3470 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3471 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3472 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3473 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3474 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3475 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3476 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3477 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3478 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3479 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3480 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3481 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3482 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3483 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3484 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3485 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3486 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3487 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3488 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3489 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3490 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3491 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3492 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3493 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3494 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3495 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3496 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3497 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3498 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3499 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3500 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3501 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3502 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3503 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3504 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3505 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3506 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3507 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3508 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3510 (geteuid): Likewise.
3513 (getresgid): Likewise.
3514 (getresuid): Likewise.
3515 (getgroups): Likewise.
3516 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3517 (geteuid): Likewise.
3520 (getresgid): Likewise.
3521 (getresuid): Likewise.
3522 (getgroups): Likewise.
3523 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3524 (geteuid): Likewise.
3527 (getresgid): Likewise.
3528 (getresuid): Likewise.
3529 (getgroups): Likewise.
3530 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3532 (geteuid): Likewise.
3535 (getresgid): Likewise.
3536 (getresuid): Likewise.
3537 (getgroups): Likewise.
3538 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3539 (geteuid): Likewise.
3542 (getresgid): Likewise.
3543 (getresuid): Likewise.
3544 (getgroups): Likewise.
3545 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3547 (geteuid): Likewise.
3550 (getgroups): Likewise.
3553 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3554 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3555 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3556 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3557 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3558 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3559 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3560 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3561 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3562 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3563 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3564 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3565 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3567 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3570 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3574 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3577 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3582 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3584 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3587 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3589 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3592 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3594 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3595 Remove unused include.
3597 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3599 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3600 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3601 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3602 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3604 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3605 Helge Deller <deller@gmx.de>
3608 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3609 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3610 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3612 2014-10-23 Joseph Myers <joseph@codesourcery.com>
3615 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3616 Remove macro definition.
3617 (__ashrdi3_v_glibc20): Likewise.
3618 (__lshrdi3_v_glibc20): Likewise.
3619 (__cmpdi2_v_glibc20): Likewise.
3620 (__ucmpdi2_v_glibc20): Likewise.
3621 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3622 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3623 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3624 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3625 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3626 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3628 2014-10-22 Roland McGrath <roland@hack.frob.com>
3630 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3631 old GNU extension [0] syntax.
3632 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3633 alloca rather than an array member with variable length.
3634 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3635 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3636 (parse_opt): ... here. Likewise use alloca there.
3637 Validate the -i argument before checking for rootness.
3638 (send_shutdown): New function, broken out of ...
3639 (parse_opt): ... here.
3641 2014-10-22 Roland McGrath <roland@hack.frob.com>
3643 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3644 macro to get at the _rt_local_ro field.
3645 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3646 ([PIC] case) or _dl_hwcap ([!PIC] case).
3647 * sysdeps/arm/setjmp.S: Likewise.
3649 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3650 * sysdeps/arm/configure.ac: New check to define it.
3651 * sysdeps/arm/configure: Regenerated.
3652 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3653 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3654 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3655 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3656 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3657 Use move/movt pair instead of a load.
3658 (LDST_GLOBAL): Macro removed.
3659 (LDR_GLOBAL): New macro replaces it.
3660 (LDR_HIDDEN): New macro.
3661 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3662 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3664 * setjmp/tst-setjmp-static.c: New file.
3665 * setjmp/Makefile (tests): Add it.
3666 (tests-static): New variable.
3668 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3671 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3673 2014-10-21 Joseph Myers <joseph@codesourcery.com>
3676 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3678 2014-10-21 Roland McGrath <roland@hack.frob.com>
3680 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3682 2014-10-20 Roland McGrath <roland@hack.frob.com>
3684 * io/fts.c (dirent_not_directory): New function.
3685 (fts_build): Call it.
3687 2014-10-20 Roland McGrath <roland@hack.frob.com>
3689 * nptl/version.c (__nptl_main): Use normal __write rather than
3691 (banner): Update copyright years.
3693 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3695 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3696 * nptl/pthread_cond_timedwait.c: Likewise.
3697 * nptl/pthread_mutex_timedlock.c: Likewise.
3698 * nptl/sem_timedwait.c: Likewise.
3700 * sysdeps/nptl/bits/libc-lock.h
3701 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3702 (__libc_lock_init_recursive): Return void, not 0.
3703 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3704 (__libc_rwlock_init): Likewise.
3705 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3707 2014-10-20 Torvald Riegel <triegel@redhat.com>
3710 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3711 (__pthread_once_slow): ... here.
3712 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3713 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3715 2014-10-20 Torvald Riegel <triegel@redhat.com>
3718 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3719 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3720 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3721 * nptl/pthread_once.c (__pthread_once): Likewise.
3724 2014-10-20 Joseph Myers <joseph@codesourcery.com>
3727 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3729 (writev): Use __libc_writev as strong name.
3730 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3731 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3733 2014-10-17 Roland McGrath <roland@hack.frob.com>
3735 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3737 * sysdeps/i386/nptl/tls.h
3738 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3739 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3741 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3742 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3743 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3744 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3745 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3746 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3748 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3749 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3751 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3753 (__pthread_mutex_init): ... here. Call it.
3754 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3755 Conditionalize PI cases on [__NR_futex].
3756 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3757 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3758 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3760 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3761 conditional on [SIGSETXID].
3762 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3763 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3764 is defined. Likewise for SIGSETXID.
3765 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3766 Conditionalize definitions on [SIGSETXID].
3767 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3768 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3769 unblocking on [SIGCANCEL].
3771 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3772 [__NR_set_robust_list].
3774 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3776 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3777 (do_compare): Likewise.
3779 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
3782 * string/strcoll_l.c: Don't include stdio.h.
3783 (coll_seq): Remove members idxarr and rulearr.
3784 (get_next_seq_cached): Remove function.
3785 (get_next_seq): Likewise.
3786 (get_next_seq_nocache): Rename to get_next_seq.
3787 (do_compare): Remove function.
3788 (do_compare_nocache): Rename to do_compare.
3789 (STRCOLL): Remove weight and rules cache.
3791 2014-10-16 Roland McGrath <roland@hack.frob.com>
3793 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3794 * sysdeps/arm/sfp-machine.h: ... to here.
3795 * sysdeps/arm/Implies: Remove arm/soft-fp.
3797 2014-10-14 Joseph Myers <joseph@codesourcery.com>
3799 * conform/data/sys/utsname.h-data (*_t): Allow.
3800 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3801 [POSIX] (WEXITED): Do not expect constant.
3802 [POSIX] (WSTOPPED): Likewise.
3803 [POSIX] (WNOHANG): Likewise.
3804 [POSIX] (WNOWAIT): Likewise.
3805 [POSIX] (siginfo_t): Do not expect type or elements.
3806 [POSIX] (pid_t): Do not expect type.
3807 [POSIX] (signal.h): Do not allow header.
3808 [POSIX] (sys/resource.h): Likewise.
3809 [POSIX] (si_*): Do not allow pattern.
3810 [POSIX] (W*): Likewise.
3811 [POSIX] (P_*): Likewise.
3812 [POSIX] (BUS_*): Likewise.
3813 [POSIX] (CLD_*): Likewise.
3814 [POSIX] (FPE_*): Likewise.
3815 [POSIX] (ILL_*): Likewise.
3816 [POSIX] (POLL_*): Likewise.
3817 [POSIX] (SEGV_*): Likewise.
3818 [POSIX] (SI_*): Likewise.
3819 [POSIX] (TRAP_*): Likewise.
3820 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3823 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3826 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3827 infinite loop when __recvmsg returns 0.
3829 2014-10-10 Joseph Myers <joseph@codesourcery.com>
3831 * CANCEL-FCT-WAIVE: Remove file.
3832 * CANCEL-FILE-WAIVE: Likewise.
3835 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3836 instead of INTVARDEF.
3837 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3838 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3839 rtld_hidden_data_def instead of INTVARDEF.
3840 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3841 * elf/dl-deps.c (expand_dst): Likewise.
3842 * elf/dl-load.c (_dl_dst_count): Likewise.
3843 (_dl_dst_substitute): Likewise.
3844 (decompose_rpath): Likewise.
3845 (_dl_init_paths): Likewise.
3846 (open_path): Likewise.
3847 (_dl_map_object): Likewise.
3848 * elf/rtld.c (dl_main): Likewise.
3849 (process_dl_audit): Likewise.
3850 (process_envvars): Likewise.
3851 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3853 (__libc_enable_secure): Use rtld_hidden_proto.
3855 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3858 (add_path): New function broken out of _dl_rtld_di_serinfo.
3859 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3861 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3863 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3864 parentheses around macro arguments.
3865 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3866 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3867 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3868 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3869 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3870 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3871 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3872 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3873 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3874 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3875 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3876 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3877 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3878 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3879 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3880 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3881 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3882 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3883 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3884 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3885 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3886 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3887 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3888 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3889 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3890 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3891 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3892 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3893 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3894 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3895 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3896 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3897 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3898 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3899 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3900 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3902 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3903 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3904 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3905 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3906 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3907 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3908 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3909 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3910 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3911 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3912 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3913 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3914 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3915 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3916 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3917 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3918 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3919 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3920 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3921 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3922 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3923 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3924 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3925 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3926 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3927 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3928 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3929 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3930 (_FP_FRAC_SRS_1): Likewise.
3931 (_FP_FRAC_CLZ_1): Likewise.
3932 (_FP_MUL_MEAT_1_imm): Likewise.
3933 (_FP_MUL_MEAT_1_wide): Likewise.
3934 (_FP_MUL_MEAT_1_hard): Likewise.
3935 (_FP_SQRT_MEAT_1): Likewise.
3936 (_FP_FRAC_ASSEMBLE_1): Likewise.
3937 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3938 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3939 (__FP_CLZ_2): Likewise.
3940 (_FP_MUL_MEAT_2_wide): Likewise.
3941 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3942 (_FP_MUL_MEAT_2_gmp): Likewise.
3943 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3944 (_FP_SQRT_MEAT_2): Likewise.
3945 (_FP_FRAC_ASSEMBLE_2): Likewise.
3946 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3947 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3948 (_FP_FRAC_CLZ_4): Likewise.
3949 (_FP_MUL_MEAT_4_wide): Likewise.
3950 (_FP_MUL_MEAT_4_gmp): Likewise.
3951 (_FP_SQRT_MEAT_4): Likewise.
3952 (_FP_FRAC_ASSEMBLE_4): Likewise.
3953 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3954 * soft-fp/op-common.h (_FP_CMP): Likewise.
3955 (_FP_CMP_EQ): Likewise.
3956 (_FP_CMP_UNORD): Likewise.
3957 (_FP_TO_INT): Likewise.
3958 (_FP_FROM_INT): Likewise.
3959 [!__FP_CLZ] (__FP_CLZ): Likewise.
3960 (_FP_DIV_HELP_imm): Likewise.
3961 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3963 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3964 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3965 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3966 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3967 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3968 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3969 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3970 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3971 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3972 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3973 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3974 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3975 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3976 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3977 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3978 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3979 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3980 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3981 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3982 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3983 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3984 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3985 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3986 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3987 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3988 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3989 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3990 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3991 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3992 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3993 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3994 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3995 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3996 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3997 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3998 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3999 (FP_UNPACK_RAW_SP): Likewise.
4000 (FP_PACK_RAW_S): Likewise.
4001 (FP_PACK_RAW_SP): Likewise.
4002 (FP_UNPACK_S): Likewise.
4003 (FP_UNPACK_SP): Likewise.
4004 (FP_UNPACK_SEMIRAW_S): Likewise.
4005 (FP_UNPACK_SEMIRAW_SP): Likewise.
4006 (FP_PACK_S): Likewise.
4007 (FP_PACK_SP): Likewise.
4008 (FP_PACK_SEMIRAW_S): Likewise.
4009 (FP_PACK_SEMIRAW_SP): Likewise.
4010 (_FP_SQRT_MEAT_S): Likewise.
4011 (FP_CMP_S): Likewise.
4012 (FP_CMP_EQ_S): Likewise.
4013 (FP_CMP_UNORD_S): Likewise.
4014 (FP_TO_INT_S): Likewise.
4015 (FP_FROM_INT_S): Likewise.
4017 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4019 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4020 (FP_EX_INVALID_IMZ): Likewise.
4021 (FP_EX_INVALID_IMZ_FMA): Likewise.
4022 (FP_EX_INVALID_ISI): Likewise.
4023 (FP_EX_INVALID_ZDZ): Likewise.
4024 (FP_EX_INVALID_IDI): Likewise.
4025 (FP_EX_INVALID_SQRT): Likewise.
4026 (FP_EX_INVALID_CVI): Likewise.
4027 (FP_EX_INVALID_VC): Likewise.
4028 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4029 "invalid" exceptions.
4030 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4031 (_FP_ADD_INTERNAL): Likewise.
4032 (_FP_MUL): Likewise.
4033 (_FP_FMA): Likewise.
4034 (_FP_DIV): Likewise.
4035 (_FP_CMP_CHECK_NAN): Likewise.
4036 (_FP_SQRT): Likewise.
4037 (_FP_TO_INT): Likewise.
4038 (FP_EXTEND): Likewise.
4040 2014-10-09 Allan McRae <allan@archlinux.org>
4042 * po/fr.po: Update French translation from translation project.
4044 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4047 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4049 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4050 (__cxa_atexit): Use libc_hidden_proto.
4051 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4054 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4056 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4057 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4058 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4059 [!_ISOMAC] (__iswctype_internal): Likewise.
4060 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4061 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4063 (fcntl): Remove __fcntl_internal alias.
4064 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4065 __connect_internal alias.
4066 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4069 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4070 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4072 (_FP_CHECK_FLUSH_ZERO): New macro.
4073 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4074 (_FP_CMP): Likewise.
4075 (_FP_CMP_EQ): Likewise.
4076 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4078 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4079 (FP_TRUNC): Likewise.
4081 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4082 treated as invalid conversion, not as normal exponent.
4084 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4085 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4086 (_FP_CMP_EQ): Likewise.
4087 (_FP_CMP_UNORD): Likewise.
4088 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4089 (FP_CMP_EQ_D): Likewise.
4090 (FP_CMP_UNORD_D): Likewise.
4091 * soft-fp/extended.h (FP_CMP_E): Likewise.
4092 (FP_CMP_EQ_E): Likewise.
4093 (FP_CMP_UNORD_E): Likewise.
4094 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4095 (FP_CMP_EQ_Q): Likewise.
4096 (FP_CMP_UNORD_Q): Likewise.
4097 * soft-fp/single.h (FP_CMP_S): Likewise.
4098 (FP_CMP_EQ_S): Likewise.
4099 (FP_CMP_UNORD_S): Likewise.
4100 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4101 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4102 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4103 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4104 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4105 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4106 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4107 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4108 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4109 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4110 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4111 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4112 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4114 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4116 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4117 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4119 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4121 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4122 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4123 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4124 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4126 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4128 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4129 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4131 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4133 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4134 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4135 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4136 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4139 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4140 a subnormal result, set the underflow exception if trapping on
4141 underflow is enabled.
4142 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4143 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4144 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4146 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4147 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4148 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4149 * soft-fp/extendxftf2.c (__extendxftf2): Use
4150 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4152 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4153 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4154 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4155 FP_HANDLE_EXCEPTIONS.
4156 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4157 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4158 FP_HANDLE_EXCEPTIONS.
4159 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4160 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4161 FP_HANDLE_EXCEPTIONS.
4162 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4163 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4164 FP_HANDLE_EXCEPTIONS.
4166 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4169 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4170 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4172 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4173 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4175 (__adjtimex): Define using libc_hidden_ver.
4176 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4178 (ntp_gettime): Call __adjtimex directly.
4179 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4181 (ntp_gettimex): Call __adjtimex directly.
4182 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4183 __adjtimex_internal alias.
4185 2014-10-08 Roland McGrath <roland@hack.frob.com>
4188 * nscd/nscd.c (more_help): Rewrite list of tables collection
4189 using xstrdup and asprintf.
4191 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4193 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4194 Roland McGrath <roland@hack.frob.com>
4196 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4197 (do_lookup_unique): ... local function 'enter' here; update callers.
4199 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4201 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4202 compat_symbol calls on [SHARED].
4203 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4204 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4206 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4207 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4208 (oldsetrlimit): Remove.
4209 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4211 (lchown): New syscall entry.
4212 (oldsetrlimit): Remove.
4213 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4214 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4215 (oldsetrlimit): Remove.
4216 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4219 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4220 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4221 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4222 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4223 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4224 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4226 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4231 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4233 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4234 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4235 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4236 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4237 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4239 (__old_sem_post): Likewise.
4241 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4243 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4244 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4245 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4246 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4247 Use INLINE_VSYSCALL macro.
4248 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4249 __vdso_clock_gettime.
4250 * sysdeps/unix/sysv/linux/tile/init-first.c
4251 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4252 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4253 __vdso_clock_gettime.
4255 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4256 to set up frame more cleanly.
4258 * sysdeps/tile/memcmp.c: New file.
4260 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4262 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4263 * sysdeps/tile/tilegx/strcasestr.c: New file.
4264 * sysdeps/tile/tilegx/strnlen.c: New file.
4265 * sysdeps/tile/tilegx/strstr.c: New file.
4267 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4269 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
4271 * nptl/tst-setuid3.c: Write errors to stdout.
4273 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4276 (preload): New functions broken out of _dl_map_object_deps.
4277 (_dl_map_object_deps): Remove a nested function. Update call sites.
4279 2014-10-01 Joseph Myers <joseph@codesourcery.com>
4282 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4283 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4285 2014-10-01 Steve Ellcey <sellcey@mips.com>
4287 * sysdeps/mips/strcmp.S: New.
4289 2014-09-30 Joseph Myers <joseph@codesourcery.com>
4292 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4294 (mkdirat): Likewise.
4295 (readlinkat): Likewise.
4296 (renameat): Likewise.
4297 (symlinkat): Likewise.
4298 (unlinkat): Likewise.
4299 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4300 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4301 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4302 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4303 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4304 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4305 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4307 2014-09-30 Will Newton <will.newton@linaro.org>
4309 * math/math.h: Define long double math functions if
4310 _LIBC_TEST is defined.
4311 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4313 * localedata/Makefile: Move assignment to tests-special
4314 into an ifdef testing run-built-tests.
4315 * timezone/Makefile: Likewise.
4317 2014-09-29 Joseph Myers <joseph@codesourcery.com>
4319 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4320 with $(BASH) not $(SHELL).
4322 2014-09-29 Carlos O'Donell <carlos@redhat.com>
4323 Matthew LeGendre <legendre1@llnl.gov>
4326 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4329 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4331 * stdio-common/printf_fp.c
4332 (hack_digit): New function, broken out of ...
4333 (__printf_fp): ... local function here. Update call sites.
4334 hack_digit now takes an additional parameter that is a pointer
4335 to a struct of the referenced locals. Those locals moved inside
4336 the struct and references updated.
4338 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4340 * aclocal.m4: Require autoconf 2.69.
4341 * configure: Regenerated.
4342 * sysdeps/aarch64/configure: Likewise.
4343 * sysdeps/alpha/configure: Likewise.
4344 * sysdeps/arm/armv7/configure: Likewise.
4345 * sysdeps/arm/configure: Likewise.
4346 * sysdeps/ia64/configure: Likewise.
4347 * sysdeps/mach/configure: Likewise.
4348 * sysdeps/mips/configure: Likewise.
4349 * sysdeps/s390/configure: Likewise.
4350 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4353 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4355 * sysdeps/ia64/configure.ac: Likewise.
4357 2014-09-26 Joseph Myers <joseph@codesourcery.com>
4359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4360 specify symbol version for ld.so. Do not include entry for
4362 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4363 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4364 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4367 * Makeconfig [$(build-shared) = yes]
4368 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4370 [$(build-shared) = yes && $(soversions.mk-done) = t]
4371 ($(common-objpfx)gnu/lib-names.h): Remove rule.
4372 [$(build-shared) = yes && $(soversions.mk-done) = t]
4373 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
4375 [$(build-shared) = yes && $(soversions.mk-done) = t]
4376 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4378 [$(build-shared) = yes && $(soversions.mk-done) = t]
4379 (common-generated): Don't append gnu/lib-names.h and
4380 gnu/lib-names.stmp here.
4381 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4382 (lib-names-h-abi): New variable.
4383 [$(build-shared) = yes && $(soversions.mk-done) = t]
4384 (lib-names-stmp-abi): Likewise.
4385 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4386 abi-variants] (before-compile): Append
4387 $(common-objpfx)$(lib-names-h-abi).
4388 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4389 abi-variants] (common-generated): Append gnu/lib-names.h.
4390 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4391 abi-variants] (install-others-nosubdir): Depend on
4392 $(inst_includedir)/$(lib-names-h-abi).
4393 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4394 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4395 [$(build-shared) = yes && $(soversions.mk-done) = t]
4396 ($(common-objpfx)$(lib-names-h-abi)): New rule.
4397 [$(build-shared) = yes && $(soversions.mk-done) = t]
4398 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4399 [$(build-shared) = yes && $(soversions.mk-done) = t]
4400 (common-generated): Append $(lib-names-h-abi) and
4401 $(lib-names-stmp-abi).
4402 * scripts/lib-names.awk: Do not handle multi being set.
4403 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4405 (abi-lp64_be-ld-soname): Likewise.
4406 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4408 (abi-hard-ld-soname): Likewise.
4409 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4410 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4412 (abi-o32_hard-ld-soname): Likewise.
4413 (abi-o32_soft_2008-ld-soname): Likewise.
4414 (abi-o32_hard_2008-ld-soname): Likewise.
4415 (abi-n32_soft-ld-soname): Likewise.
4416 (abi-n32_hard-ld-soname): Likewise.
4417 (abi-n32_soft_2008-ld-soname): Likewise.
4418 (abi-n32_hard_2008-ld-soname): Likewise.
4419 (abi-n64_soft-ld-soname): Likewise.
4420 (abi-n64_hard-ld-soname): Likewise.
4421 (abi-n64_soft_2008-ld-soname): Likewise.
4422 (abi-n64_hard_2008-ld-soname): Likewise.
4423 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4425 (abi-64-v2-ld-soname): Likewise.
4426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4428 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4430 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4432 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4434 (abi-64-ld-soname): Likewise.
4435 (abi-x32-ld-soname): Likewise.
4436 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4438 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4440 2014-09-23 Joseph Myers <joseph@codesourcery.com>
4443 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4444 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4445 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4446 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4447 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4448 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4449 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4450 syscall entry for GLIBC_2.2 symbol version.
4451 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4454 (setrlimit): Likewise.
4455 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4458 2014-09-23 Will Newton <will.newton@linaro.org>
4460 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4461 _LINUX_ARM_SYSDEP_H include guard too.
4462 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4465 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4467 * sysdeps/unix/sysv/linux/eventfd.c:
4468 Make first argument unsigned.
4469 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4470 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4472 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
4474 * socket/recvmmsg.c (recvmmsg): Drop const argument.
4475 * socket/sys/socket.h: Likewise
4476 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4478 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4480 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4482 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
4484 * time/tst-ftime.c: New test.
4485 * time/Makefile (tests): Add tst-ftime.
4487 2014-09-17 Joseph Myers <joseph@codesourcery.com>
4489 * soft-fp/extended.h: Fix comment formatting.
4490 * soft-fp/op-1.h: Likewise.
4491 * soft-fp/op-2.h: Likewise.
4492 * soft-fp/op-4.h: Likewise.
4493 * soft-fp/op-8.h: Likewise.
4494 * soft-fp/op-common.h: Likewise.
4495 * soft-fp/soft-fp.h: Likewise.
4497 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4499 2014-09-16 Joseph Myers <joseph@codesourcery.com>
4502 * Makeconfig (soversions-default-setname): Remove variable.
4503 ($(common-objpfx)soversions.i): Don't pass default_setname to
4505 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4506 oldest_abi to abi-versions.awk.
4507 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4508 * config.make.in (oldest-abi): Remove variable.
4509 * configure.ac (--enable-oldest-abi): Remove configure option.
4510 * configure: Regenerated.
4511 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4513 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4514 * scripts/soversions.awk: Do not handle default_setname variable.
4515 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4517 * sysdeps/mach/hurd/configure: Regenerated.
4518 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4520 * sysdeps/unix/sysv/linux/configure: Regenerated.
4522 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4524 * elf/Makefile (CFLAGS-interp.c): Remove.
4525 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4527 * elf/interp.c: Include generated runtime-linker.h
4529 * Makerules (lib%.so): Don't include $(+interp) in
4531 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4532 * dlfcn/eval.c: Remove file.
4534 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4538 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4542 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4544 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4545 Jakub Jelinek <jakub@redhat.com>
4548 * libio/stdio.h: Check definition of __fortify_function
4549 instead of __extern_always_inline to include bits/stdio2.h.
4550 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4551 check if __extern_always_inline is defined.
4552 [__USE_MISC || __USE_XOPEN]: Likewise.
4553 [__USE_ISOC99] Likewise.
4554 * misc/sys/cdefs.h (__fortify_function): Define only if
4555 __extern_always_inline is defined.
4556 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4557 __extern_always_inline and __extern_inline only for g++-4.3
4558 and newer or a compatible gcc.
4560 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4563 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4564 last change to handle zero prefix length.
4566 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4568 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4571 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4574 2014-09-13 Allan McRae <allan@archlinux.org>
4576 * po/ru.po: Update Russian translation from translation project.
4578 2014-09-12 Roland McGrath <roland@hack.frob.com>
4580 * locale/programs/locale.c (show_locale_vars): Inline local function
4581 into its sole call site. Clean up some style nits.
4582 (print_item): New function, broken out of ...
4583 (show_info): ... local function here. Clean up style nits.
4585 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4587 (set_class_defaults): ... local function set_default here.
4588 Define set_default as a macro locally to pass constant parameters.
4589 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4590 rather than a shared local.
4592 * stdlib/rpmatch.c (try): New function, broken out of ...
4593 (rpmatch): ... local function here. Also, prototypify definition.
4595 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4597 * scripts/soversions.awk: Do not handle configuration names.
4598 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4599 vendor and os variables to soversions.awk.
4600 * configure.ac: Do not modify gnu-* host_os.
4601 * configure: Regenerated
4602 * shlib-versions: Remove first column with configuration names.
4603 * nptl/shlib-versions: Likewise.
4604 * nptl_db/shlib-versions: Likewise.
4605 * sysdeps/hppa/shlib-versions: Likewise.
4606 * sysdeps/m68k/shlib-versions: Likewise.
4607 * sysdeps/mach/hurd/shlib-versions: Likewise.
4608 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4609 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4610 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4611 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4612 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4613 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4614 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4615 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4618 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4619 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4620 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4621 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4622 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4623 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4624 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4625 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4628 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4631 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4633 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4635 * shlib-versions: Remove OS-specific entries. Moved to files in
4637 * sysdeps/mach/hurd/shlib-versions: New file.
4638 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4640 * nptl/shlib-versions: Remove architecture-specific entries.
4641 Moved to files in sysdeps.
4642 * shlib-versions: Likewise.
4643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4645 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4646 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4647 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4648 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4650 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4651 (UDP_NO_CHECK6_RX): Likewise.
4653 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4655 * sysdeps/posix/sysconf.c (__sysconf): Spell
4656 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4658 2014-08-12 Florian Weimer <fweimer@redhat.com>
4660 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4662 * iconv/Versions (__gconv_transliterate): Export for use from
4664 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4665 (struct __gconv_trans_data, __gconv_trans_fct,
4666 __gconv_trans_context_fct, __gconv_trans_query_fct,
4667 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4669 (struct __gconv_step_data): Remove __trans member.
4670 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4671 longer hidden. Remove unused trans_data argument.
4672 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4673 (__gconv_translit_find): Remove declaration.
4674 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4676 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4677 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4678 trans_data argument. Add hidden definition.
4679 (__gconv_translit_find): Remove.
4680 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4681 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4682 * iconv/skeleton.c: Remove transliteration initialization.
4683 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4684 __gconv_step_data initialization.
4685 * libio/iofwide.c (__libio_translit_): Remove.
4686 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4687 * wcsmbs/btowc.c (__btowc): Likewise.
4688 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4689 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4690 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4691 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4692 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4693 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4694 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4695 * wcsmbs/wctob.c (wctob): Likewise.
4697 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4700 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4701 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4703 * sysdeps/x86/Makefile: Adjust.
4705 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4706 Roland McGrath <roland@hack.frob.com>
4708 * locale/weight.h: Add include guard.
4709 (findidx): Make static rather than auto; take new parameters
4710 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4711 * locale/weightwc.h: Likewise.
4712 * posix/fnmatch_loop.c
4713 (FCT): Change type of EXTRA from int32_t to wint_t.
4714 Don't include either header inside the function.
4715 Call FINDIDX rather than findidx, and pass new arguments.
4716 #undef FINDIDX at the end of the file.
4717 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4718 FINDIDX before including fnmatch_loop.c for the non-wide version.
4719 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4720 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4721 for the wide version.
4722 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4723 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4724 Pass new arguments to findidx.
4725 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4726 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4727 Don't #include it inside the function. Pass new arguments to findidx.
4728 * posix/regex_internal.h
4729 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4730 (re_string_elem_size_at): Don't #include it inside the function.
4731 Pass new arguments to findidx.
4732 * string/strcoll_l.c: #include WEIGHT_H at top level.
4733 (get_next_seq): Don't #include it inside the function.
4734 Pass new arguments to findidx.
4735 (get_next_seq_nocache): Likewise.
4736 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4737 (STRXFRM): Don't #include it inside the function.
4738 Pass new arguments to findidx.
4740 2014-09-11 Florian Weimer <fweimer@redhat.com>
4743 * malloc/malloc.c (unlink): Turn asserts into a call to
4746 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
4749 * libio/wfileops (do_ftell_wide): Free OUT.
4751 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4753 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4755 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4758 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4759 group if the current group is empty.
4761 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4763 * benchtests/bench-memset.c (test_main): Add more test from size
4764 from 32 to 512 bytes.
4765 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4766 Add POWER8 memset object.
4767 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4768 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4769 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4771 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4773 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4774 multiarch POWER8 memset optimization.
4775 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4776 POWER8 memset optimization.
4778 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4779 Remove bzero multiarch objects.
4780 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4781 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4782 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4783 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4785 [__bzero]: Redefine to specific name.
4786 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4787 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4788 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4790 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4791 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4793 2014-09-10 Florian Weimer <fweimer@redhat.com>
4795 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4796 warnings into errors.
4798 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4799 __cxa_thread_atexit_impl prototype.
4801 2014-09-09 Steve Ellcey <sellcey@mips.com>
4803 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4804 Fix capitalization of error message.
4806 2014-09-09 Steve Ellcey <sellcey@mips.com>
4808 * sysdeps/mips/preconfigure: Modify ABI tests.
4810 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4812 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4814 2014-09-07 Roland McGrath <roland@hack.frob.com>
4815 Carlos O'Donell <carlos@systemhalted.org>
4817 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4818 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4819 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4820 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4821 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4822 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4823 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4824 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4825 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4826 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4827 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4828 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4829 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4830 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4831 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4832 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4833 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4834 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4835 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4836 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4837 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4838 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4839 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4840 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4841 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4842 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4843 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4844 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4845 Deconditionalize the code that was previously under [RESET_PID].
4846 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4847 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4848 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4849 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4852 2014-09-08 Allan McRae <allan@archlinux.org>
4854 * version.h (RELEASE): Set to "development".
4855 (VERSION): Set to "2.20.90"
4857 2014-09-07 Allan McRae <allan@archlinux.org
4859 * version.h (RELEASE): Set to "stable".
4860 (VERSION): Set to "2.20"
4861 * include/features.h (__GLIBC_MINOR__): Set to 20.
4863 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4866 * po/ko.po: Update Korean translation from translation project.
4868 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4871 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4872 macro for handling signed relocations.
4874 2014-09-03 Florian Weimer <fweimer@redhat.com>
4877 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4878 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4880 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4881 * iconvdata/ibm935.c (BODY): Likewise.
4882 * iconvdata/ibm937.c (BODY): Likewise.
4883 * iconvdata/ibm939.c (BODY): Likewise.
4884 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4886 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4888 * iconvdata/run-iconv-test.sh: New test loop for checking for
4891 2014-09-02 Khem Raj <raj.khem@gmail.com>
4893 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4896 2014-09-01 Allan McRae <allan@archlinux.org>
4898 * po/eo.po: Update Esperanto translation from translation project.
4900 * po/ca.po: Update Catalan translation from translation project.
4902 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4904 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4907 2014-08-27 Mark Wielaard <mjw@redhat.com>
4910 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4911 to call set_thread_area instead of hand written asm.
4912 (__NR_set_thread_area): Removed define.
4913 (TLS_FLAG_WRITABLE): Likewise.
4914 (__ASSUME_SET_THREAD_AREA): Remove check.
4915 (TLS_EBX_ARG): Remove define.
4916 (TLS_LOAD_EBX): Likewise.
4918 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4920 Simplify atomicity of socket creation in bind.
4922 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4923 looking up the name after linking the file.
4925 2014-08-27 Allan McRae <allan@archlinux.org>
4927 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4929 2014-08-26 Florian Weimer <fweimer@redhat.com>
4932 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4933 trans_compare, open_translit, __gconv_translit_find):
4934 Remove module loading code.
4936 2014-08-26 Allan McRae <allan@archlinux.org>
4938 * po/vi.po: Update Vietnamese translation from translation project.
4940 * po/uk.po: Update Ukrainian translation from translation project.
4942 * po/fr.po: Update French translation from translation project.
4944 * po/ru.po: Update Russian translation from translation project.
4946 * po/pl.po: Update Polish translation from translation project.
4948 * po/cs.po: Update Czech translation from translation project.
4950 * po/de.po: Update German translation from translation project.
4952 * po/bg.po: Update Bulgarian translation from translation project.
4954 * po/sv.po: Update Sweedish translation from translation project.
4956 * po/nl.po: Update Dutch translation from translation project.
4958 * po/es.po: Update Spanish translation from translation project.
4960 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4962 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4964 * catgets/Makefile (CPPFLAGS-gencat): Remove.
4965 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4966 (CPPFLAGS-iconvconfig): Likewise.
4967 * timezone/Makefile (CPPFLAGS-zic): Likewise.
4969 * include/libc-symbols.h: Remove unnecessary check for
4971 * nptl/pthreadP.h: Likewise.
4972 * sysdeps/aarch64/setjmp.S: Likewise.
4973 * sysdeps/alpha/setjmp.S: Likewise.
4974 * sysdeps/arm/sysdep.h: Likewise.
4975 * sysdeps/i386/setjmp.S: Likewise.
4976 * sysdeps/m68k/setjmp.c: Likewise.
4977 * sysdeps/posix/getcwd.c: Likewise.
4978 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4979 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4980 * sysdeps/s390/s390-32/setjmp.S: Likewise.
4981 * sysdeps/s390/s390-64/setjmp.S: Likewise.
4982 * sysdeps/sh/sh3/setjmp.S: Likewise.
4983 * sysdeps/sh/sh4/setjmp.S: Likewise.
4984 * sysdeps/unix/alpha/sysdep.h: Likewise.
4985 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4986 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4987 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4988 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4991 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4992 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4993 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4994 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4995 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4996 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4997 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4998 * sysdeps/x86_64/setjmp.S: Likewise.
5000 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5003 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5005 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5006 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5008 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5010 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5013 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5014 and __x86_64__ when disabling x87 inline functions.
5016 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5019 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5020 asm statement with __cpuid_count.
5022 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5024 * configure.ac: Change __ehdr_start code to dereference the struct.
5025 Run readelf on the output to look for relocations.
5026 * configure: Regenerated.
5028 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5031 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5033 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5035 2014-08-12 Roland McGrath <roland@hack.frob.com>
5037 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5039 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5042 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5043 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5045 2014-08-12 Sean Anderson <seanga2@gmail.com>
5047 * malloc/malloc.c: Fix typo in comment.
5049 2014-08-09 Allan McRae <allan@archlinux.org>
5051 * Regenerate libc.po.
5053 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5055 * intl/tst-gettext2.sh: Check every lang file for creation.
5057 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5059 * sysdeps/aarch64/fpu/math_private.h
5060 (libc_feholdsetround_noex_aarch64_ctx): New function.
5062 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5064 * sysdeps/arm/armv6/strcpy.S (strcpy):
5065 Fix performance issue in misaligned cases.
5067 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5069 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5070 Move definition from termios.h.
5071 (struct termio): Likewise.
5072 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5073 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5074 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5075 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5077 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5078 Move definition to ioctl-types.h
5079 (struct termio): Likewise.
5080 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5081 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5082 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5083 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5086 2014-08-05 Richard Henderson <rth@redhat.com>
5088 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5090 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5092 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5093 Use __feraiseexcept.
5094 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5095 Protect libm symbols with IS_IN_libm.
5097 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5099 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5101 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5103 2014-08-04 Will Newton <will.newton@linaro.org>
5105 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5108 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5110 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5111 variants for each function.
5113 2014-08-04 Roland McGrath <roland@hack.frob.com>
5115 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5117 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5118 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5120 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5121 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5122 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5123 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5124 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5125 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5126 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5127 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5128 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5129 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5130 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5131 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5132 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5133 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5134 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5135 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5136 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5137 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5138 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5139 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5140 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5141 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5142 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5143 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5144 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5145 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5146 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5147 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5148 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5149 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5150 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5151 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5152 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5153 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5154 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5155 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5156 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5157 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5158 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5159 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5160 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5161 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5162 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5163 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5164 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5165 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5166 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5167 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5168 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5169 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5170 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5171 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5172 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5174 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5175 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5177 2014-08-04 Roland McGrath <roland@hack.frob.com>
5179 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5180 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5181 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5182 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5183 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5184 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5186 2014-08-04 Roland McGrath <roland@hack.frob.com>
5188 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5189 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5190 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5191 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5193 2014-08-04 Roland McGrath <roland@hack.frob.com>
5195 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5196 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5197 (__libc_vfork): Define function under this name.
5198 (__vfork): Define as an alias.
5199 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5200 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5202 2014-08-04 Roland McGrath <roland@hack.frob.com>
5204 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5205 that was previously under [RESET_PID].
5206 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5208 2014-08-04 Andreas Schwab <schwab@suse.de>
5210 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5212 2014-08-03 Mike Frysinger <vapier@gentoo.org>
5214 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5217 2014-08-01 Roland McGrath <roland@hack.frob.com>
5219 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5221 2014-08-01 Richard Henderon <rth@redhat.com>
5223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5224 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5225 typo in exact zero test.
5226 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5227 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5228 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5230 2014-08-01 Roland McGrath <roland@hack.frob.com>
5232 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5233 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5234 * sysdeps/arm/sysdep.h: ... here.
5235 [!__ASSEMBLER__]: Include <stdint.h>.
5237 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5239 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5240 (HAVE_WCTYPE_H): Likewise.
5241 (HAVE_ISWCTYPE): Likewise.
5242 (ENABLE_NLS): Likewise.
5243 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5244 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5246 * posix/regex_internal.c: Check if DEBUG is defined and is
5249 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5250 (HAVE_MBSRTOWCS): Likewise.
5251 * posix/fnmatch.c: Include string.h unconditionally.
5253 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5255 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5258 2014-07-31 Roland McGrath <roland@hack.frob.com>
5260 * sysdeps/generic/safe-fatal.h: New file.
5261 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5262 * nptl/forward.c: Include it.
5263 (__pthread_unwind): Use __safe_fatal as default action, rather
5264 than a bogus use of INTERNAL_SYSCALL that could never work.
5266 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5267 * configure.ac (libc_cv_builtin_trap): New test.
5268 * configure: Regenerated.
5269 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5270 (ABORT_INSTRUCTION): Define using __builtin_trap.
5272 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5273 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5274 * sysdeps/nptl/nptl-signals.h: New file.
5275 * nptl/pthreadP.h: Include <nptl-signals.h>.
5277 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5279 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5280 (ONE_DIRECTION): Define.
5281 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5282 (ONE_DIRECTION): Define.
5283 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5284 (ONE_DIRECTION): Define.
5286 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5288 * sysdeps/s390/Makefile: Delete file.
5289 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5290 * sysdeps/s390/__longjmp.c: Delete file.
5291 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5292 Remove fields __flags and __reserved.
5293 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5295 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5296 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5297 * sysdeps/s390/rtld-setjmp.S: Likewise.
5298 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5299 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5300 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5301 * sysdeps/s390/s390-32/setjmp.S: ... here.
5303 (__sigsetjmp): Remove setting __flags field.
5304 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5305 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5306 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5307 * sysdeps/s390/s390-64/setjmp.S: ... here.
5309 (__sigsetjmp): Remove setting __flags field.
5310 * sysdeps/s390/setjmp.S: Delete file.
5311 * sysdeps/s390/sigjmp.c: Likewise.
5312 * sysdeps/s390/v1-longjmp.c: Likewise.
5313 * sysdeps/s390/v1-setjmp.h: Likewise.
5314 * sysdeps/s390/v1-sigjmp.c: Likewise.
5315 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5316 Remove v1-longjmp_chk.
5317 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5318 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5319 Include debug/longjmp_chk.c and add versioning.
5320 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5321 Include nptl/pt-longjmp.c and add versioning.
5322 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5323 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5324 Include __longjmp.c.
5325 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5327 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5328 (__getcontext): Remove setting __flags field.
5330 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5331 Don't restore upper high grps.
5332 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5334 (__swapcontext): Remove setting uc_flags field.
5335 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5337 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5338 Include __longjmp.c.
5339 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5341 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5342 (__getcontext): Remove setting __flags field.
5344 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5345 (__swapcontext): Remove setting uc_flags field.
5346 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5347 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5348 Remove fields uc_high_gprs and __reserved.
5349 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5350 New file with reverted content.
5351 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5352 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5354 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5357 2014-07-31 Andreas Schwab <schwab@suse.de>
5359 * config.h.in (HAVE_IFUNC): Define to 0.
5360 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5363 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
5365 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5366 memmove-avx-unaligned, memcpy-avx-unaligned and
5367 mempcpy-avx-unaligned.
5368 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5369 Add tests for AVX memcpy functions.
5370 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5371 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5373 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5374 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5376 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5377 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5379 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5380 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5381 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5383 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5386 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5389 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
5392 * manual/llio.texi: Add section about open file description locks.
5393 * manual/examples/ofdlocks.c: Example of open file description
5395 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5396 F_OFD_SETLK, and F_OFD_SETLKW.
5398 2014-07-23 Allan McRae <allan@archlinux.org>
5400 * po/es.po: Update Spanish translation from translation project.
5402 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
5404 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5406 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
5409 * sysdeps/arm/dl-machine.h (elf_machine_rela)
5410 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5411 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5413 2014-07-17 Joseph Myers <joseph@codesourcery.com>
5416 * math/fesetenv.c (__fesetenv)
5417 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5418 * math/feupdateenv.c (__feupdateenv)
5419 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5421 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5422 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5423 (__ASSUME_SOCKETCALL): Do not define.
5425 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5426 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5427 (__ASSUME_SOCKETCALL): Do not define.
5428 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5429 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5430 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5431 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5432 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5433 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5434 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5435 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5437 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5438 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5439 (__ASSUME_SOCKETCALL): Do not define.
5440 (__ASSUME_IPC64): Define unconditionally.
5441 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5442 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5443 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5444 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5445 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5446 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5447 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5450 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5451 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5452 (__ASSUME_SOCKETCALL): Do not define.
5453 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5454 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5455 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5456 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5457 (__ASSUME_REQUEUE_PI): Define unconditionally.
5458 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5459 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5460 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5461 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5462 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5463 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5465 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5466 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5467 (__ASSUME_SOCKETCALL): Do not define.
5468 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5469 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5470 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5471 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5472 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5473 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5475 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5476 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5477 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5478 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5479 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5480 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5481 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5482 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5483 (__ASSUME_GETCPU_SYSCALL): Likewise.
5485 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5486 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5487 cases for individual architectures.
5488 * sysdeps/gnu/configure: Regenerated.
5489 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5490 LIBC_SLIBDIR_RTLDDIR.
5491 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5492 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5493 LIBC_SLIBDIR_RTLDDIR.
5494 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5495 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5496 LIBC_SLIBDIR_RTLDDIR.
5497 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5499 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5500 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5502 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5503 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5505 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5506 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5507 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5508 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5510 * sysdeps/aarch64/shlib-versions: Move to ...
5511 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5512 * sysdeps/alpha/shlib-versions: Move to ...
5513 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5514 * sysdeps/arm/shlib-versions: Move to ...
5515 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5516 * sysdeps/hppa/shlib-versions: Move all contents except for
5517 libgcc_s entry to ...
5518 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
5520 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
5521 * sysdeps/ia64/shlib-versions: Move to ...
5522 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
5524 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5525 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5526 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5527 * sysdeps/microblaze/shlib-versions: Move to ...
5528 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5529 * sysdeps/mips/shlib-versions: Move to ...
5530 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5532 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5533 * sysdeps/tile/shlib-versions: Move to ...
5534 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5535 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5537 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5538 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5540 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5542 2014-07-17 Will Newton <will.newton@linaro.org>
5544 * sysdeps/arm/bits/atomic.h
5545 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5546 (__arch_compare_and_exchange_bool_16_int): Likewise.
5547 (__arch_compare_and_exchange_bool_64_int): Likewise.
5549 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5550 into an #else block.
5552 2014-07-16 Roland McGrath <roland@hack.frob.com>
5554 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5555 just Linux configurations. Test empirically that the compiler sets
5556 __ARM_EABI__, rather than using the tuple to decide.
5557 * sysdeps/arm/preconfigure: Regenerated.
5558 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5559 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5560 contents appended ...
5561 * sysdeps/arm/configure.ac: ... here.
5562 * sysdeps/arm/configure: Regenerated.
5564 2014-07-15 Roland McGrath <roland@hack.frob.com>
5566 * nptl/pthread_kill.c: New file.
5567 * nptl/pthread_sigmask.c: New file.
5568 * nptl/pthread_sigqueue.c: New file.
5570 * sysdeps/nptl/lowlevellock.h: New file.
5571 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5572 * sysdeps/nptl/lowlevellock-futex.h: New file.
5574 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5575 Remove dead declarations.
5577 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5579 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5580 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5582 * sysdeps/x86_64/configure.ac: Likewise.
5583 * sysdeps/i386/configure: Regenerated.
5584 * sysdeps/x86_64/configure: Likewise.
5585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5586 memset-avx2 only if config-cflags-avx2 is yes.
5587 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5588 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5590 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5591 only if HAVE_AVX2_SUPPORT is defined.
5592 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5594 2014-07-14 Alan Modra <amodra@gmail.com>
5597 * elf/elf.h (DT_PPC64_NUM): Correct value.
5598 * NEWS: Add to fixed bug list.
5600 2014-07-13 Jim Meyering <meyering@fb.com>
5603 regex: don't deref NULL upon heap allocation failure
5604 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5605 failure in one more place.
5606 To trigger the segfault, configure grep -with-included-regex,
5607 build it, and run these commands:
5608 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5610 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5612 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5614 2014-07-11 Richard Henderson <rth@redhat.com>
5616 * sysdeps/aarch64/libm-test-ulps: Update.
5618 2014-07-10 Florian Weimer <fweimer@redhat.com>
5621 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5622 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5623 (__nptl_setxid): Initialize error member. Call
5624 __nptl_setxid_error.
5625 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5626 * nptl/descr.h (struct xid_command): Add error member.
5627 * nptl/tst-setuid3.c: New file.
5628 * nptl/Makefile (tests): Add it.
5630 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5632 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5634 (__lll_trylock): Use __lll_base_trylock.
5635 (__lll_cond_trylock): Likewise.
5637 2014-07-10 Roland McGrath <roland@hack.frob.com>
5639 * nptl/pthread_create.c (start_thread): Use atomic_or and
5640 lll_futex_wake directly rather than lll_robust_dead.
5641 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5642 (lll_robust_dead): Macro removed.
5643 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5644 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5645 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5646 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5647 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5648 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5649 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5650 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5651 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5652 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5653 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5654 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5655 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5656 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5657 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5659 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5660 Use atomic_compare_and_exchange_val_acq directly rather than
5662 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5663 (__lll_robust_trylock, lll_robust_trylock): Removed.
5664 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5665 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5666 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5667 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5668 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5669 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5670 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5671 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5672 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5673 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5674 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5675 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5676 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5677 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5679 2014-07-02 Florian Weimer <fweimer@redhat.com>
5681 * manual/locale.texi (Locale Names): New section documenting
5682 locale name syntax. Adjust menu and node chaining accordingly.
5683 (Choosing Locale): Reference Locale Names, Locale Categories.
5684 Mention setting LC_ALL=C. Reflect that name syntax is now
5686 (Locale Categories): New section title. Reference Locale Names.
5687 LC_ALL is an environment variable, but not a category.
5688 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5689 description, now in Locale Name. Reference that section. Locale
5690 name syntax is now documented.
5692 2014-07-02 Florian Weimer <fweimer@redhat.com>
5695 * locale/findlocale.c (name_present, valid_locale_name): New
5697 (_nl_find_locale): Use the loc_name variable to store name
5698 candidates. Call name_present and valid_locale_name to check and
5699 validate locale names. Return an error if the locale is invalid.
5701 2014-07-02 Florian Weimer <fweimer@redhat.com>
5703 * locale/setlocale.c (setlocale): Use strdup for allocating
5704 composite name copy.
5706 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5708 Sync up with gnulib.
5709 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5710 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5711 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5712 and _GL_ARG_NONNULL.
5713 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5714 [!_LIBC]: Include code for Windows and Cygwin.
5715 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5716 Include prototype for int strerror_r.
5717 [!_LIBC] (is_open): New function.
5718 (flush_stdout): New function.
5719 (print_errno_message): Use it.
5721 (error_at_line): Likewise.
5722 (error_tail) Add function attribute macros. Use
5725 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5727 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5729 * io/ftw.c: Include sys/param.h unconditionally.
5731 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5734 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5736 (freecache): New function to free CACHE on exit.
5738 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5741 2014-07-09 David S. Miller <davem@davemloft.net>
5743 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5745 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5746 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5747 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5748 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5749 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5750 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5751 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5752 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5753 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5754 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5755 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5756 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5757 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5759 2014-07-09 Andreas Schwab <schwab@suse.de>
5761 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5763 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5764 (do_test): Likewise.
5766 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5768 2014-07-09 Will Newton <will.newton@linaro.org>
5770 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5771 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5772 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5773 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5774 * sysdeps/hppa/start.S (_start): Likewise.
5776 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5778 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5780 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5783 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5785 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5786 after checking that it is non-NULL.
5788 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5790 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5792 * sysdeps/powerpc/memmove.c: Remove file.
5793 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5794 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5795 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5796 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5797 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5798 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5799 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5800 string memmove instead of removed powerpc one.
5802 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5803 [weak_alias]: Fix compiler warning due trailing data.
5804 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5805 [weak_alias]: Likewise.
5806 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5807 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5809 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5810 (__libc_ifunc_impl_list): Add memmove functions.
5812 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5814 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5816 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5818 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5820 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5822 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5824 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5826 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5828 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5830 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5832 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5834 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5836 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5838 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5840 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5842 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5844 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5846 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5849 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5851 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5852 to avoid alignment traps in non-cacheable memory.
5853 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5855 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5857 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5858 file: multiarch power7 memmove.
5859 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5860 multiarch default memmove.
5861 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5862 multiarch memove for powerpc32/power4.
5864 * string/bcopy.c: Use full path to include memmove.c.
5865 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5867 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5868 bcopy for powerpc64.
5869 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5870 bcopy for powerpc64.
5871 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5872 and memmove implementations.
5873 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5874 optimized multiarch memmove for POWER7/powerpc64.
5875 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5876 default multiarch memmove for powerpc64.
5877 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5878 multiarch for powerpc64.
5879 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5880 for POWER7/powerpc64.
5881 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5882 memmove for POWER7/powerpc64.
5884 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5887 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5888 __ELF_NATIVE_CLASS equal to 64.
5890 2014-07-07 Roland McGrath <roland@hack.frob.com>
5892 * sysdeps/nptl/lowlevellock.h: File removed.
5894 * NEWS: NPTL is no longer an add-on!
5895 * nptl/internaltypes.h: Moved ...
5896 * sysdeps/nptl/internaltypes.h: ... here.
5897 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5898 * sysdeps/nptl/fork.c: Likewise.
5899 * sysdeps/nptl/gai_misc.h: Likewise.
5900 * sysdeps/nptl/librt-cancellation.c: Likewise.
5901 * sysdeps/nptl/jmp-unwind.c: Likewise.
5902 * sysdeps/nptl/setxid.h: Likewise.
5903 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5904 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5905 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5906 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5907 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5908 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5909 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5910 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5911 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5912 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5913 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5914 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5915 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5916 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5917 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5918 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5919 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5920 * nptl/Makeconfig: Moved ...
5921 * sysdeps/nptl/Makeconfig: ... here.
5922 * nptl/configure: File removed.
5923 * nptl/ANNOUNCE: File removed.
5924 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5925 * sysdeps/unix/sysv/linux/configure: Regenerated.
5927 * nptl/Makefile (routines): Add libc_pthread_init,
5928 libc_multiple_threads, register-atfork and unregister-atfork.
5929 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5930 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5931 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5932 pthread-pi-defines.sym, structsem.sym.
5933 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5934 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5935 [$(subdir) = nptl] (tests): Add tst-setgetname.
5936 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5937 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5938 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5939 [!LIBC_SIGACTION]: Remove aliases.
5940 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5941 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5942 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5943 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5944 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5945 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5946 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5947 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5948 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5949 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5950 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5951 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5952 __libc_allocate_rtsig_private.
5953 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5954 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5955 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5956 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5957 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5958 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5959 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5960 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5961 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5962 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5963 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5964 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5965 * nptl/internaltypes.h: ... here.
5966 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5967 * sysdeps/nptl/jmp-unwind.c: ... here.
5968 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5969 * nptl/libc-lowlevellock.c: ... here.
5970 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5971 * nptl/libc_multiple_threads.c: ... here.
5972 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5973 * nptl/libc_pthread_init.c: ... here.
5974 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5975 * nptl/lowlevelbarrier.sym: ... here.
5976 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5977 * nptl/lowlevelcond.sym: ... here.
5978 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5979 * nptl/lowlevellock.c: ... here.
5980 * nptl/lowlevellock.h: Moved ...
5981 * sysdeps/nptl/lowlevellock.h: ... here.
5982 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5983 * nptl/lowlevelrobustlock.c: ... here.
5984 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5985 * nptl/lowlevelrobustlock.sym: ... here.
5986 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5987 * nptl/lowlevelrwlock.sym: ... here.
5988 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5989 * nptl/pt-fork.c: ... here.
5990 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5991 * nptl/pthread-pi-defines.sym: ... here.
5992 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5993 * nptl/pthread_attr_getaffinity.c: ... here.
5994 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5995 * nptl/pthread_attr_setaffinity.c: ... here.
5996 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5997 * nptl/pthread_mutex_cond_lock.c: ... here.
5998 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6000 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6001 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6002 * nptl/pthread_once.c: ... here, replacing old file.
6003 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6004 * nptl/pthread_yield.c: ... here.
6005 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6006 * nptl/register-atfork.c: ... here.
6007 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6008 * nptl/sem_post.c: ... here.
6009 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6010 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6011 * nptl/sem_timedwait.c: ... here.
6012 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6013 * nptl/sem_trywait.c: ... here.
6014 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6015 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6016 * nptl/sem_wait.c: ... here.
6017 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6018 * nptl/structsem.sym: ... here.
6019 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6020 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6021 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6022 * nptl/unregister-atfork.c: ... here.
6023 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6024 * nptl/unwindbuf.sym: ... here.
6025 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6026 * sysdeps/nptl/fork.c: ... here.
6027 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6028 * sysdeps/nptl/fork.h: ... here.
6029 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6030 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6031 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6032 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6033 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6034 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6035 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6036 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6037 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6038 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6039 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6040 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6041 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6042 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6043 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6044 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6045 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6046 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6047 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6048 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6049 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6050 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6051 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6052 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6053 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6054 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6055 * sysdeps/unix/sysv/linux/raise.c: ... here.
6056 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6057 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6058 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6059 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6060 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6061 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6062 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6063 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6064 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6065 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6066 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6067 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6068 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6069 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6070 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6072 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6074 * sysdeps/generic/memcopy.h: Add comment for
6075 MEMCPY_OK_FOR_FWD_MEMMOVE.
6077 2014-07-04 Will Newton <will.newton@linaro.org>
6079 * string/memchr.c: Merge from gnulib.
6080 [_LIBC]: Remove conditionals.
6081 (__ptr_t): Remove define.
6082 (LONG_MAX_32_BITS): Likewise.
6083 (LONG_MAX): Likewise.
6084 (MEMCHR): Use ANSI prototype and optimize algorithm.
6086 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6088 2014-07-03 Roland McGrath <roland@hack.frob.com>
6090 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6091 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6093 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6094 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6095 in a bare environment with no <stdlib.h> installed.
6096 * sysdeps/nptl/configure: Regenerated.
6098 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6100 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6101 AC_EGREP_CPP for kernel header checks, so they only succeed if
6102 including <linux/version.h> actually works right.
6103 * sysdeps/unix/sysv/linux/configure: Regenerated.
6105 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6106 value so it's not diagnosed as unused.
6108 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6109 thing) with "ifeq ($(subdir),rt)".
6111 2014-07-03 Richard Henderson <rth@redhat.com>
6113 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6114 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6115 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6117 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6118 (math_force_eval): New.
6120 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6121 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6123 * sysdeps/alpha/fpu/s_round.c: Remove file.
6124 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6126 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6127 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6128 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6129 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6130 (_dl_start, print_statistics): Likewise.
6131 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6132 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6134 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6135 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6136 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6137 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6138 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6139 (HP_SMALL_TIMING_AVAIL): Define.
6140 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6141 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6142 (HP_SMALL_TIMING_AVAIL): Define.
6143 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6144 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6146 * sysdeps/aarch64/hp-timing.h: New file.
6148 * sysdeps/generic/hp-timing.h: Remove dead comment.
6149 * sysdeps/generic/hp-timing-common.h: New file.
6150 * sysdeps/alpha/hp-timing.h: Include it.
6151 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6152 * sysdeps/i386/i686/hp-timing.h: Likewise.
6153 * sysdeps/ia64/hp-timing.h: Likewise.
6154 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6155 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6156 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6157 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6158 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6159 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6162 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6163 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6164 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6165 * elf/rtld.c (_dl_start_final): Likewise.
6166 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6167 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6168 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6169 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6170 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6171 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6172 (HP_TIMING_DIFF_INIT): Remove.
6173 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6174 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6175 (HP_TIMING_DIFF_INIT): Remove.
6176 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6177 * sysdeps/i386/i686/hp-timing.c: Remove file.
6178 * sysdeps/x86_64/hp-timing.c: Remove file.
6179 * sysdeps/ia64/hp-timing.c: Remove file.
6180 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6181 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6182 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6183 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6185 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6186 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6187 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6188 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6189 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6190 (HP_TIMING_ACCUM): Remove.
6191 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6192 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6193 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6195 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6196 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6197 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6198 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6199 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6200 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6201 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6202 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6204 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6206 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6208 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6210 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6212 Sync up with gettext.
6213 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6214 [_MSC_VER]: Include malloc.h
6215 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6216 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6217 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6218 TEMP_FAILURE_RETRY. Cast return of alloca.
6219 [!_LIBC] Call gl_rwlock_init.
6220 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6222 2014-07-02 Roland McGrath <roland@hack.frob.com>
6224 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6225 before checking its value.
6227 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6229 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6231 * debug/memcpy_chk.c: Don't include pagecopy.h.
6232 * debug/mempcpy_chk.c: Likewise.
6233 * string/memcpy.c: Likewise.
6234 * string/memmove.c: Likewise.
6235 * sysdeps/powerpc/memmove.c: Likewise.
6236 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6237 definition of PAGE_COPY_FWD_MAYBE here...
6238 * sysdeps/generic/pagecopy.h: ... from here.
6239 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6241 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6242 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6244 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6245 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6247 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6248 (__libc_ifunc_impl_list): Likewise.
6249 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6250 multiarch strcat for PPC64.
6251 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6252 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6254 2014-07-02 Roland McGrath <roland@hack.frob.com>
6256 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6258 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6260 * intl/loadmsgcat.c: Remove declaration of
6261 get_sysdep_segment_value.
6262 (get_sysdep_segment_value): Use ISO C style.
6263 (_nl_load_domain): Use ISO C style. Get rid of redundant
6264 semicolon. Fix typo and formatting in comment.
6265 (_nl_unload_domain): Use ISO C style.
6267 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6269 2014-07-02 Will Newton <will.newton@linaro.org>
6271 * malloc/obstack.c: Merge from gnulib master.
6272 [HAVE_CONFIG_H]: Remove conditional code.
6273 [!_LIBC]: Include config.h.
6274 [!ELIDE_CODE]: Don't include inttypes.h, include
6275 stdint.h unconditionally.
6276 (print_and_abort): Mark as _Noreturn.
6277 (_obstack_allocated_p): Mark as __attribute_pure__.
6278 (obstack_free): Rename to __obstack_free.
6279 [!__attribute__]: Remove conditional code.
6280 * malloc/obstack.h: Merge from gnulib master.
6281 [__cplusplus]: Move conditional down.
6282 [!__attribute_pure__]: Define __attribute_pure__ here
6283 if it is not already defined.
6284 (_obstack_memory_used): Mark as __attribute_pure__.
6285 [!__obstack_free]: Define as obstack_free.
6286 [__GNUC__]: Remove check for ancient NeXT gcc.
6288 2014-07-02 Will Newton <will.newton@linaro.org>
6289 Paul Eggert <eggert@cs.ucla.edu>
6291 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6293 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6295 * resolv/gethnamaddr.c: Add comment warning that the file is
6298 2014-07-01 Carlos O'Donell <carlos@redhat.com>
6300 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6303 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6304 entry for aio_cancel and aio_cancel64.
6305 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6306 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6307 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6308 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6309 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6310 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6311 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6312 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6313 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6314 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6315 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6316 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6317 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6319 2014-07-01 Roland McGrath <roland@hack.frob.com>
6321 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6322 * nptl/pthread_mutex_lock.c: Likewise.
6323 * nptl/pthread_mutex_timedlock.c: Likewise.
6324 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6326 2014-07-01 Richard henderson <rth@redhat.com>
6328 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6329 (__isnan, __isnanl): Remove.
6330 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6332 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6334 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6336 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6338 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6340 * resolv/nss_dns/dns-host.c (getanswer_r)
6341 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6343 2014-07-01 Joseph Myers <joseph@codesourcery.com>
6345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6346 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6348 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6349 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6351 2014-07-01 Roland McGrath <roland@hack.frob.com>
6353 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6354 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6356 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6357 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6359 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6360 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6362 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6363 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6365 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6366 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6367 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6368 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6370 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6371 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6372 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6373 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6374 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6376 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6378 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6379 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6380 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6381 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6382 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6383 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6384 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6385 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6386 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6387 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6388 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6389 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6390 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6391 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6392 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6393 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6394 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6395 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6396 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6397 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6399 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6400 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6401 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6402 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6403 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6404 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6405 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6406 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6408 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
6410 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6411 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6412 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6415 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6417 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6419 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6421 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6422 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6424 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6426 * sysdeps/arm/libm-test-ulps: Regenerated.
6428 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6429 Roland McGrath <roland@hack.frob.com>
6431 * test-skeleton.c (signal_handler): Kill the whole process group
6432 before killing the child individually.
6433 (main): Report any failure on `setpgid'.
6435 2014-06-30 Roland McGrath <roland@hack.frob.com>
6437 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6438 from _TLS_H to _ARM_NPTL_TLS_H.
6439 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6440 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6442 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6445 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6446 (__expm1l): Return argument unchanged when small but not
6449 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6451 (_FP_UNPACK_RAW_1_P): Likewise.
6452 (_FP_PACK_RAW_1): Likewise.
6453 (_FP_PACK_RAW_1_P): Likewise.
6454 (_FP_MUL_MEAT_1_wide): Likewise.
6455 (_FP_MUL_MEAT_DW_1_hard): Likewise.
6456 (_FP_MUL_MEAT_1_hard): Likewise.
6457 (_FP_DIV_MEAT_1_imm): Likewise.
6458 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6459 (_FP_DIV_MEAT_1_udiv): Likewise.
6460 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6461 (_FP_UNPACK_RAW_2): Likewise.
6462 (_FP_UNPACK_RAW_2_P): Likewise.
6463 (_FP_PACK_RAW_2): Likewise.
6464 (_FP_PACK_RAW_2_P): Likewise.
6465 (_FP_MUL_MEAT_DW_2_wide): Likewise.
6466 (_FP_MUL_MEAT_2_wide): Likewise.
6467 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6468 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6469 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6470 (_FP_MUL_MEAT_2_gmp): Likewise.
6471 (_FP_DIV_MEAT_2_udiv): Likewise.
6472 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6473 (_FP_FRAC_SRL_4): Likewise.
6474 (_FP_FRAC_SRST_4): Likewise.
6475 (_FP_FRAC_SRS_4): Likewise.
6476 (_FP_UNPACK_RAW_4): Likewise.
6477 (_FP_UNPACK_RAW_4_P): Likewise.
6478 (_FP_PACK_RAW_4): Likewise.
6479 (_FP_PACK_RAW_4_P): Likewise.
6480 (_FP_MUL_MEAT_DW_4_wide): Likewise.
6481 (_FP_MUL_MEAT_4_wide): Likewise.
6482 (_FP_MUL_MEAT_4_gmp): Likewise.
6483 (umul_ppppmnnn): Likewise.
6484 (_FP_DIV_MEAT_4_udiv): Likewise.
6485 (__FP_FRAC_ADD_4): Likewise.
6486 (__FP_FRAC_SUB_3): Likewise.
6487 (__FP_FRAC_SUB_4): Likewise.
6488 (__FP_FRAC_DEC_3): Likewise.
6489 (__FP_FRAC_DEC_4): Likewise.
6490 (__FP_FRAC_ADDI_4): Likewise.
6491 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6492 (_FP_FRAC_SRL_8): Likewise.
6493 (_FP_FRAC_SRS_8): Likewise.
6495 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6497 (FP_UNPACK_RAW_EP): Likewise.
6498 (FP_PACK_RAW_E): Likewise.
6499 (FP_PACK_RAW_EP): Likewise.
6500 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6501 (_FP_ISSIGNAN): Likewise.
6502 (_FP_ADD_INTERNAL): Likewise.
6503 (_FP_FMA): Likewise.
6504 (_FP_CMP): Likewise.
6505 (_FP_SQRT): Likewise.
6506 (_FP_TO_INT): Likewise.
6507 (_FP_FROM_INT): Likewise.
6508 (FP_EXTEND): Likewise.
6509 (_FP_DIV_MEAT_N_loop): Likewise.
6511 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6513 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6516 2014-06-29 Joseph Myers <joseph@codesourcery.com>
6519 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6520 result with correct sign in case of exponents that produce
6521 overflow except for X very close to 1.
6523 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6525 mktime: merge #if/#ifdef usage from glibc
6526 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6527 as that works with both Glibc's and Gnulib's style.
6528 See thread starting at Siddhesh Poyarekar's bug report at:
6529 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6531 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6533 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6534 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6535 * sysdeps/tile/tilegx/memmove.c: Remove file.
6537 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6539 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6540 abi-name definition.
6541 * scripts/soversions.awk: Do not handle or generate ABI lines.
6542 * shlib-versions: Remove ABI entries.
6543 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6544 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6546 2014-06-27 Roland McGrath <roland@hack.frob.com>
6548 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6549 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6550 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6551 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6552 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6553 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6554 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6556 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6558 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6559 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6560 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6561 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6562 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6563 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6564 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6565 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6566 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6567 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6568 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6569 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6570 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6572 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6573 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6574 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6575 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6576 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6577 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6579 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6580 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6582 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6583 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6584 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6585 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6587 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6588 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6589 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6590 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6591 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6592 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6593 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6594 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6596 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6597 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6598 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6599 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6601 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6602 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6604 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6605 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6606 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6607 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6609 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6611 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6612 Identical file removed.
6613 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6615 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6616 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6617 Identical file removed.
6618 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6619 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6620 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6622 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6623 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6624 Identical file removed.
6625 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6626 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6627 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6628 Identical file removed.
6629 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6630 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6631 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6632 Identical file removed.
6633 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6634 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6635 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6636 Identical file removed.
6637 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6639 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6640 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6641 Identical file removed.
6642 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6644 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6645 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6646 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6647 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6648 Identical file removed.
6649 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6651 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6653 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6654 Identical file removed.
6655 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6657 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6658 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6659 Identical file removed.
6660 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6662 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6663 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6664 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6665 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6666 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6667 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6669 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6670 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6671 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6673 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6674 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6675 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6676 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6677 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6679 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
6682 * nscd/nscd.c (monitor_child): Return exit status of child
6683 instead of return value from wait syscall.
6685 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6687 * configure.ac (libc_commonpagesize): Remove variable.
6688 (libc_relro_required): Likewise.
6689 (libc_cv_z_relro): Remove configure test.
6690 * configure: Regenerated.
6691 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6693 (libc_relro_required): Likewise.
6694 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6695 (libc_relro_required): Likewise.
6696 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6697 (libc_relro_required): Likewise.
6698 * sysdeps/arm/preconfigure: Regenerated.
6699 * sysdeps/ia64/preconfigure: Remove file.
6700 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6702 (libc_relro_required): Likewise.
6706 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6707 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6708 recompute overflowing results in original rounding mode.
6709 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6710 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6711 recompute overflowing results in original rounding mode.
6712 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6713 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6714 recompute overflowing results in original rounding mode.
6715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6716 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6717 recompute overflowing results in original rounding mode.
6718 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6719 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6720 recompute overflowing results in original rounding mode.
6721 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6722 (libc_feholdsetround_ctx): New macro.
6723 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6724 * sysdeps/i386/fpu/libm-test-ulps: Update.
6725 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6727 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6729 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6730 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6731 corresponding .cpsetup call.
6733 2014-06-26 Roland McGrath <roland@hack.frob.com>
6735 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6736 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6737 * sysdeps/arm/Makefile [$(subdir) = csu]
6738 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6739 (static-only-routines): Add aeabi_read_tp here.
6740 (shared-only-routines): Add libc-aeabi_read_tp here.
6741 (CFLAGS-libc-start.c): Add -fexceptions here.
6742 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6743 (sysdep_routines, static-only-routines, shared-only-routines):
6744 Don't add to these here.
6745 (CFLAGS-libc-start.c): Likewise.
6747 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6748 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6749 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6750 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6751 * sysdeps/arm/Makefile [$(subdir) = rt]
6752 (librt-sysdep_routines, librt-shared-only-routines):
6753 Append rt-aeabi_unwind_cpp_pr1 here.
6754 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6755 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6756 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6757 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6758 Append nptl-aeabi_unwind_cpp_pr1 here.
6759 (tests): Filter out tst-cleanupx4 here.
6760 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6761 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6762 Don't do those here.
6764 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6766 * scripts/list-sources.sh: Do not handle ports specially.
6768 2014-06-26 Roland McGrath <roland@hack.frob.com>
6770 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6771 * sysdeps/arm/feupdateenv.c: Likewise.
6773 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6775 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6777 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6778 trailing whitespace removed.
6779 * scripts/config.guess: Update to version 2014-03-23.
6780 * scripts/config.sub: Update to version 2014-05-01
6781 * scripts/install-sh: Update to version 2013-12-25.23.
6782 * scripts/move-if-change: Update from gnulib.
6784 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6786 * debug/memmove_chk.c: Remove pagecopy.h include.
6788 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6790 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6791 identical to gnulib mktime.
6793 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6795 * configure.ac: Do not test for machine being rs6000. Do not test
6797 * configure: Regenerated.
6799 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6801 * configure: Regenerated.
6802 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6803 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6804 Remove configure test.
6805 * sysdeps/arm/configure: Regenerated.
6806 * sysdeps/nptl/configure.ac: Do not check
6807 libc_cv_asm_cfi_directives.
6808 * sysdeps/nptl/configure: Regenerated.
6809 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6810 * sysdeps/x86_64/nptl/configure: Remove generated file.
6811 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6813 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6815 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6817 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6818 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6819 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6822 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6823 instead of whether it is defined.
6824 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6825 * sysdeps/hppa/dl-machine.h: Likewise.
6826 * sysdeps/ia64/dl-machine.h: Likewise.
6827 * sysdeps/m68k/dl-machine.h: Likewise.
6828 * sysdeps/microblaze/dl-machine.h: Likewise.
6829 * sysdeps/mips/dl-machine.: Likewise.
6830 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6831 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6832 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6833 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6834 * sysdeps/sh/dl-machine.h: Likewise.
6835 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6836 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6837 * sysdeps/tile/dl-machine.h: Likewise.
6838 * sysdeps/x86_64/dl-machine.h: Likewise.
6840 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6842 (verify_persistent_db): Likewise.
6844 2014-06-26 Roland McGrath <roland@hack.frob.com>
6846 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6847 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6848 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6849 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6850 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6852 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6855 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6856 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6857 Identical file removed.
6858 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6859 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6860 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6861 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6862 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6863 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6865 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6866 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6867 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6870 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6872 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6874 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6877 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6878 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6879 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6880 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6881 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6883 Identical file removed.
6884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6885 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6887 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6890 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6893 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6895 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6897 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6899 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6901 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6904 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6905 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6907 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6908 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6909 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6910 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6912 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6914 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6916 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6918 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6919 * sysdeps/unix/sysv/linux/s390/Versions
6920 (libpthread: GLIBC_2.19): New version set.
6921 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6922 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6923 (librt: GLIBC_2.3.3): New version set.
6924 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6925 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6926 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6927 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6928 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6929 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6930 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6931 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6932 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6933 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6934 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6935 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6936 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6937 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6938 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6939 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6940 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6941 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6942 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6943 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6944 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6945 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6946 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6947 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6948 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6949 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6950 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6951 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6952 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6953 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6954 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6955 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6956 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6957 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6959 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6960 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6961 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6962 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6963 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6964 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6965 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6966 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6967 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6968 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6970 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6971 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6972 (__libc_vfork): Define the function under this name.
6973 [!NOT_IN_libc] (__vfork): Make this an alias.
6974 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6975 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6976 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6977 (__libc_vfork): Define the function under this name.
6978 [!NOT_IN_libc] (__vfork): Make this an alias.
6979 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6980 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6981 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6982 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6983 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6984 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6986 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6987 code that was previously under [RESET_PID].
6988 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6989 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6990 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6992 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6993 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6994 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6995 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6996 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6997 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6998 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6999 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7000 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7001 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7002 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7004 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7005 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7006 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7007 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7008 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7009 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7010 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7011 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7012 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7013 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7014 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7015 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7016 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7017 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7018 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7019 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7020 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7021 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7022 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7023 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7024 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7025 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7026 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7027 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7028 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7029 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7030 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7031 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7032 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7034 2014-06-25 Roland McGrath <roland@hack.frob.com>
7036 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7037 that was previously under [RESET_PID].
7038 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7040 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7042 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7043 not undefine and redefine.
7044 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7045 [O_CLOEXEC]: Make code unconditional.
7046 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7047 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7048 <kernel-features.h>.
7049 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7050 conditional variable definition.
7051 (shm_open) [O_CLOEXEC]: Make code unconditional.
7052 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7055 * configure.ac (USE_REGPARMS): Don't define here.
7056 * configure: Regenerated.
7057 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7058 * sysdeps/i386/configure: Regenerated.
7060 * nptl/createthread.c: Don't include kernel-features.h.
7061 * nptl/pthread_cancel.c: Likewise.
7062 * nptl/pthread_condattr_setclock.c: Likewise.
7063 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7064 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7065 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7066 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7067 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7068 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7069 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7070 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7071 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7072 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7073 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7074 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7075 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7076 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7077 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7078 * nscd/gai.c: Likewise.
7079 * nss/nss_db/db-open.c: Likewise.
7080 * sysdeps/generic/ldsodefs.h: Likewise.
7081 * sysdeps/sh/nptl/tls.h: Likewise.
7082 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7083 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7084 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7085 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7086 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7087 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7088 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7089 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7090 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7091 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7092 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7093 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7094 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7095 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7096 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7097 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7098 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7099 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7100 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7101 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7102 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7103 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7104 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7105 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7106 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7107 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7108 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7109 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7110 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7111 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7112 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7113 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7114 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7115 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7116 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7117 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7118 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7119 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7120 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7121 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7122 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7123 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7124 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7125 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7126 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7127 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7128 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7129 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7130 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7131 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7132 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7133 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7134 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7135 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7136 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7137 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7138 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7139 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7152 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7162 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7163 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7164 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7165 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7166 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7167 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7168 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7169 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7170 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7171 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7172 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7173 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7174 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7175 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7176 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7177 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7178 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7179 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7180 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7181 * sysdeps/unix/sysv/linux/system.c: Likewise.
7182 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7183 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7184 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7185 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7186 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7187 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7188 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7190 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7191 * configure: Regenerated.
7192 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7194 * configure.ac (base_machine): Do not set specially for particular
7196 * configure: Regenerated.
7197 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7198 settings from configure.ac.
7199 * sysdeps/i386/preconfigure: New file.
7200 * sysdeps/s390/preconfigure: Likewise.
7201 * sysdeps/sh/preconfigure: Likewise.
7202 * sysdeps/sparc/preconfigure: Likewise.
7204 2014-06-25 Roland McGrath <roland@hack.frob.com>
7206 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7207 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7208 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7209 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7210 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7211 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7212 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7213 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7214 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7215 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7216 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7217 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7218 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7219 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7220 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7221 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7222 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7223 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7224 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7226 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7227 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7228 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7229 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7230 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7231 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7232 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7233 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7234 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7235 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7236 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7237 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7238 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7239 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7240 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7241 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7242 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7243 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7244 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7245 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7246 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7247 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7248 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7249 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7250 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7251 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7252 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7253 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7254 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7255 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7256 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7257 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7258 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7259 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7260 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7261 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7262 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7263 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7265 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7266 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7267 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7268 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7269 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7271 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7273 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7274 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7275 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7276 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7277 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7279 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7280 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7281 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7282 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7283 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7284 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7285 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7286 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7288 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7289 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7291 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7293 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7294 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7296 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7297 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7298 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7299 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7300 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7302 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7303 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7304 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7305 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7307 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7309 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7310 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7311 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7312 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7315 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7316 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7317 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7318 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7319 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7320 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7321 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7322 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7324 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7327 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7328 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7329 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7332 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7334 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7335 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7336 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7338 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7340 * timezone/checktab.awk: Update from tzcode 2014e.
7341 * timezone/private.h: Likewise.
7342 * timezone/tzfile.h: Likewise.
7343 * timezone/zdump.c: Likewise.
7344 * timezone/zic.c: Likewise.
7346 * sysdeps/unix/sysv/linux/kernel-features.h
7347 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7348 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7349 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7350 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7351 Remove conditional code.
7353 2014-06-25 Will Newton <will.newton@linaro.org>
7355 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7356 (_dl_arm_cap_flags): Add HWCAP2 values.
7357 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7358 (_DL_HWCAP_COUNT): Increase to 37.
7359 (_DL_HWCAP_LAST): New define.
7360 (_DL_HWCAP2_LAST): New define.
7361 (_dl_procinfo): Add support for printing
7363 (_dl_string_hwcap): Use _dl_hwcap_string.
7365 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7367 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7369 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7371 * README: Do not mention ports directory.
7373 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7375 * sysdeps/unix/sysv/linux/futimes.c: Do not include
7376 <kernel-features.h>.
7377 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7378 conditional variable definition.
7379 (__futimes): Update comment.
7380 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7381 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7384 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7385 arguments close to 0.
7386 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7388 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7390 * math/auto-libm-test-in: Add more tests of exp10.
7391 * math/auto-libm-test-out: Regenerated.
7392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7394 * sysdeps/unix/sysv/linux/kernel-features.h
7395 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7396 * sysdeps/unix/sysv/linux/readv.c: Do not include
7397 <kernel-features.h>.
7398 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7399 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7400 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7402 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7404 * sysdeps/unix/sysv/linux/writev.c: Do not include
7405 <kernel-features.h>.
7406 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7407 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7408 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7410 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7413 2014-06-25 Will Newton <will.newton@linaro.org>
7415 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7416 comment changes throughout the file. Remove checks
7417 for HAVE_*_H definitions that are not required.
7418 (__gen_tempname): Call abort if an unknown kind value is
7421 2014-06-25 Andreas Schwab <schwab@suse.de>
7424 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7425 scalbln, scalblnf, scalblnl in libc.
7427 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7430 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7431 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7432 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7434 2014-06-24 Roland McGrath <roland@hack.frob.com>
7436 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7437 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7438 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7439 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7441 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7442 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7444 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7445 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7446 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7447 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7448 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7449 * sysdeps/x86/bits/pthreadtypes.h: ... here.
7450 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7451 * sysdeps/x86/bits/semaphore.h: ... here.
7452 * sysdeps/x86/nptl/elide.h: Moved ...
7453 * sysdeps/x86/elide.h: ... here.
7454 * sysdeps/x86_64/nptl/Implies: File removed.
7455 * sysdeps/i386/nptl/Implies: File removed.
7457 2014-06-24 Joseph Myers <joseph@codesourcery.com>
7460 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7461 return the argument for normal arguments with exponent below -64.
7462 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7464 * math/auto-libm-test-in: Add another test of expm1.
7465 * math/auto-libm-test-out: Regenerated.
7468 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7469 calling __erfcl for arguments at least 16.
7470 * math/auto-libm-test-in: Add more tests of erf.
7471 * math/auto-libm-test-out: Regenerated.
7473 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7474 individual architectures.
7475 * sysdeps/unix/sysv/linux/configure: Regenerated.
7476 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7477 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7478 * sysdeps/unix/sysv/linux/powerpc/configure.ac
7479 (ldd_rewrite_script): Define variable.
7480 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7485 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7486 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7487 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7488 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7489 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7490 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7491 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7492 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7494 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7497 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7498 Rename member __data.d to __data.__elision_data.
7500 2014-06-24 Wilco <wdijkstr@arm.com>
7502 * NEWS: Add 16918 to fixed bug list.
7504 2014-06-24 Wilco <wdijkstr@arm.com>
7506 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7508 2014-06-24 Wilco <wdijkstr@arm.com>
7510 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7511 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7512 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7513 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7514 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7515 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7516 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7519 2014-06-24 Wilco <wdijkstr@arm.com>
7521 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7523 2014-06-24 Wilco <wdijkstr@arm.com>
7525 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7526 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7527 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7528 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7530 2014-06-24 Wilco <wdijkstr@arm.com>
7533 * sysdeps/arm/feupdateenv.c (feupdateenv):
7534 Rewrite to reduce FPSCR accesses and fix return value.
7536 2014-06-24 Wilco <wdijkstr@arm.com>
7538 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7539 Optimize to avoid unnecessary FPSCR writes.
7540 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7541 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7542 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7543 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7545 2014-06-24 Wilco <wdijkstr@arm.com>
7547 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7548 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7549 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7550 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7551 Call libc_fetestexcept_vfp.
7552 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7553 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7554 __SOFTFP__ ifdef so that they can be built for softfp.
7556 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7558 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7559 argument type signed char.
7561 * Makerules (check-abi): Dump diff of symlist if the test
7564 2014-06-23 Roland McGrath <roland@hack.frob.com>
7566 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7569 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7570 Remove unused variable ST.
7572 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7576 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7577 small arguments before calling __expm1.
7578 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7579 small arguments before calling __expm1f.
7580 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7581 small arguments before calling __expm1l.
7582 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7584 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7585 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7586 spurious underflow for some cosh tests.
7587 * math/auto-libm-test-out: Regenerated.
7588 * sysdeps/i386/fpu/libm-test-ulps: Update.
7591 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7592 (__ieee754_y1): Set errno if return value overflows.
7593 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7594 (__ieee754_y1f): Set errno if return value overflows.
7595 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7596 (__ieee754_y1l): Set errno if return value overflows.
7597 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7598 (__ieee754_y1l): Set errno if return value overflows.
7599 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7600 * math/auto-libm-test-out: Regenerated.
7602 * math/gen-auto-libm-tests.c: Document use of
7603 ignore-zero-inf-sign.
7604 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7605 (input_flags): Add ignore-zero-inf-sign.
7606 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7607 * math/gen-libm-test.pl (generate_testfile): Handle
7608 ignore-zero-inf-sign.
7609 * math/auto-libm-test-in: Mark some cpow tests with
7610 ignore-zero-inf-sign and some with xfail-rounding.
7611 * math/auto-libm-test-out: Regenerated.
7612 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7613 * sysdeps/i386/fpu/libm-test-ulps: Update.
7614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7617 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7618 overflowing or underflowing operations take place with sign of
7620 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7621 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7622 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7623 (__ieee754_pow): Recompute overflowing and underflowing results in
7624 original rounding mode.
7625 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7626 (__powl_helper): Allow negative argument X and scale negated value
7627 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7628 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7629 overflowing or underflowing operations take place with sign of
7631 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7633 * math/auto-libm-test-in: Add more tests of pow.
7634 * math/auto-libm-test-out: Regenerated.
7635 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7636 (pow_tonearest_test_data): Remove.
7637 (pow_test_tonearest): Likewise.
7638 (pow_towardzero_test_data): Likewise.
7639 (pow_test_towardzero): Likewise.
7640 (pow_downward_test_data): Likewise.
7641 (pow_test_downward): Likewise.
7642 (pow_upward_test_data): Likewise.
7643 (pow_test_upward): Likewise.
7644 (main): Don't call removed functions.
7645 * sysdeps/i386/fpu/libm-test-ulps: Update.
7646 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7648 2014-06-23 Roland McGrath <roland@hack.frob.com>
7650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7656 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7680 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7682 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7744 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7750 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7766 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7777 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7781 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7799 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7824 2014-06-23 Will Newton <will.newton@linaro.org>
7825 Wilco <wdijkstr@arm.com>
7827 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7828 implementation. Include get-rounding-mode.h.
7829 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7830 [!libc_feholdsetround_noex_ctx]: Define
7831 libc_feholdsetround_noex_ctx.
7832 [!libc_feholdsetround_noexf_ctx]: Define
7833 libc_feholdsetround_noexf_ctx.
7834 [!libc_feholdsetround_noexl_ctx]: Define
7835 libc_feholdsetround_noexl_ctx.
7836 (libc_feholdsetround_ctx): New function.
7837 (libc_feresetround_ctx): New function.
7838 (libc_feholdsetround_noex_ctx): New function.
7839 (libc_feresetround_noex_ctx): New function.
7841 2014-06-23 Roland McGrath <roland@hack.frob.com>
7843 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7844 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7845 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7846 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7847 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7848 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7850 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7851 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7852 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7853 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7854 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7855 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7856 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7857 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7858 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7859 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7860 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7862 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7864 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7865 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7866 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7867 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7870 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7871 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7872 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7873 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7874 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7875 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7876 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7877 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7879 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7882 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7883 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7884 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7885 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7887 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7888 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7889 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7890 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7891 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7892 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7893 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7894 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7895 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7896 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7898 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7900 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7901 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7902 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7903 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7904 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7905 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7906 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7907 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7908 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7909 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7910 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7911 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7912 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7914 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7915 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7916 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7917 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7918 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7919 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7921 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7922 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7923 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7924 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7925 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7927 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7928 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7929 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7930 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7931 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7932 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7933 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7934 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7935 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7936 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7937 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7938 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7939 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7940 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7941 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7942 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7943 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7944 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7945 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7946 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7947 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7948 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7949 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7950 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7951 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7952 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7953 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7954 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7956 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7958 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7959 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7960 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7961 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7962 (IPV6_PMTUDISC_INTERFACE): Likewise.
7963 (IPV6_PMTUDISC_OMIT): Likewise.
7965 2014-06-23 Andreas Schwab <schwab@suse.de>
7967 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7968 Remove unused errout label.
7970 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7972 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7973 macro: hardware supports Vector Crypto instructions.
7975 2014-06-23 Will Newton <will.newton@linaro.org>
7977 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7978 rather than __builtin_expect.
7980 * elf/dl-lookup.c (undefined_msg): Remove variable.
7981 (_dl_lookup_symbol_x): Replace undefined_msg with string
7984 * elf/dl-lookup.c (do_lookup_unique): New function.
7985 (do_lookup_x): Move STB_GNU_UNIQUE handling code
7986 to a separate function.
7988 2014-06-23 Andreas Schwab <schwab@suse.de>
7991 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7992 before reading the next line.
7994 2014-06-23 Will Newton <will.newton@linaro.org>
7996 * test-skeleton.c (signal_handler): Use printf and %m
7997 rather than perror. Use printf rather than fprintf to
7998 stderr. Use puts rather than fputs to stderr.
8001 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8003 * nscd/nscd.c (thread_info_t): Remove typedef.
8004 (thread_info): Remove variable.
8006 2014-06-21 Allan McRae <allan@archlinux.org>
8008 * NEWS: Mention CVE-2014-4043.
8010 2014-06-20 Roland McGrath <roland@hack.frob.com>
8012 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8013 * nptl/smp.h: ... here.
8015 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8017 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8018 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8019 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8020 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8022 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8023 * nptl/stack-aliasing.h: New file.
8024 * sysdeps/i386/i686/stack-aliasing.h: New file.
8025 * sysdeps/i386/i686/nptl/Makefile: File removed.
8026 * sysdeps/x86_64/stack-aliasing.h: New file.
8027 * sysdeps/x86_64/nptl/Makefile
8028 (CFLAGS-pthread_create.c): Variable removed.
8030 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8031 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8033 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8034 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8037 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8039 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8040 (__ASSUME_SIGFRAME_V2): Remove macro.
8041 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8042 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8043 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8044 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8045 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8046 Declare as function. Remove conditional macro definitions.
8047 (__default_rt_sa_restorer): Likewise.
8048 (__default_sa_restorer_v1): Remove declaration.
8049 (__default_sa_restorer_v2): Likewise.
8050 (__default_rt_sa_restorer_v1): Likewise.
8051 (__default_rt_sa_restorer_v2): Likewise.
8052 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8053 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8054 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8056 2014-06-20 Roland McGrath <roland@hack.frob.com>
8058 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8059 (libpthread-routines): Add sysdep.
8060 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8061 * sysdeps/unix/sysv/linux/sparc/Versions
8062 (libpthread: GLIBC_2.3.3): New version set.
8063 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8064 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8065 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8066 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8067 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8068 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8070 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8071 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8072 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8073 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8074 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8075 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8076 * sysdeps/sparc/nptl/sem_init.c: ... here.
8077 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8078 * sysdeps/sparc/nptl/sem_post.c: ... here.
8079 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8080 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8081 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8082 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8083 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8084 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8085 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8086 (libpthread-routines): Add cpu_relax.
8087 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8089 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8090 (librt: GLIBC_2.3.3): New version set.
8091 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8092 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8093 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8094 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8095 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8096 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8097 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8098 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8100 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8101 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8102 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8103 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8104 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8105 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8106 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8107 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8108 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8109 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8111 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8113 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8115 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8117 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8119 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8121 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8123 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8125 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8127 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8129 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8131 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8133 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8134 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8135 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8136 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8138 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8140 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8142 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8145 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8146 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8147 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8148 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8149 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8151 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8153 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8154 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8155 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8156 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8157 * nscd/nscd.c: Likewise.
8158 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8159 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8160 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8161 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8163 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8164 <kernel-features.h>.
8165 (init_mq_netlink): Remove conditional have_sock_cloexec
8166 definitions. Remove code conditional on have_sock_cloexec < 0.
8167 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8168 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8169 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8170 <kernel-features.h>.
8171 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8172 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8174 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8176 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8177 Add tests for memset_chk and memset.
8179 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8182 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8185 * elf/tst-dl-iter-static.c: New file.
8186 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8188 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8191 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8193 * sysdeps/unix/sysv/linux/kernel-features.h
8194 (__ASSUME_F_GETOWN_EX): Remove macro.
8195 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8196 <kernel-features.h>.
8197 (miss_F_GETOWN_EX): Remove variable or macro.
8198 (do_fcntl): Do not check miss_F_GETOWN_EX.
8199 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8201 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8203 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8204 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8205 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8207 * sysdeps/unix/sysv/linux/kernel-features.h
8208 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8209 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8210 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8211 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8213 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8216 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8217 Fix calculation of the symbol's value.
8218 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8219 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8220 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8221 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8222 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8223 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8224 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8225 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8226 (modules-names): Add `tst-armtlsdescmod',
8227 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8228 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8229 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8230 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8231 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8232 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8233 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8234 ($(objpfx)tst-armtlsdescloc): New dependency.
8235 ($(objpfx)tst-armtlsdescextnow): Likewise.
8236 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8237 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8239 * sysdeps/arm/configure: Regenerate.
8241 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8243 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8244 (__atfct_seterrno_2): Likewise.
8245 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8246 <kernel-features.h>.
8247 (__ASSUME_ATFCTS): Do not undefine and redefine.
8248 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8249 (__have_atfcts): Remove conditional definition.
8250 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8251 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8252 unreachable if [__ASSUME_ATFCTS].
8253 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8254 not undefine and redefine.
8255 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8256 <kernel-features.h>.
8257 (faccessat) [__NR_faccessat]: Make code unconditional.
8258 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8259 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8260 <kernel-features.h>.
8261 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8262 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8263 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8264 <kernel-features.h>.
8265 (fchownat) [__NR_fchownat]: Make code unconditional.
8266 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8267 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8268 <kernel-features.h>.
8269 (futimesat) [__NR_futimesat]: Make code unconditional.
8270 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8271 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8272 <kernel-features.h>.
8273 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8274 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8275 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8276 <kernel-features.h>.
8277 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8278 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8279 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8280 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8281 <kernel-features.h>.
8282 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8283 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8284 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8285 <kernel-features.h>.
8286 (linkat) [__NR_linkat]: Make code unconditional.
8287 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8288 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8289 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8290 <kernel-features.h>.
8291 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8292 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8293 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8294 <kernel-features.h>.
8295 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8296 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8297 * sysdeps/unix/sysv/linux/openat.c: Do not include
8298 <kernel-features.h>.
8299 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8300 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8301 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8302 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8303 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8304 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8305 <kernel-features.h>.
8306 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8307 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8308 result of INLINE_SYSCALL directly, not via int variable.
8309 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8310 <kernel-features.h>.
8311 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8312 (renameat) [__NR_renameat]: Make code unconditional.
8313 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8314 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8315 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8316 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8317 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8318 (__ASSUME_ATFCTS): Do not undefine and redefine.
8319 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8320 <kernel-features.h>.
8321 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8322 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8323 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8324 <kernel-features.h>.
8325 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8326 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8327 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8328 (__ASSUME_ATFCTS): Do not undefine and redefine.
8329 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8330 <kernel-features.h>.
8331 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8332 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8333 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8334 <kernel-features.h>.
8335 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8336 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8338 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8340 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8342 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8345 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8346 constructed tree before returning error.
8347 * posix/bug-regexp36.c: Expand test case.
8349 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8352 * math/libm-test.inc (scalbln_test_date):
8353 Add errno expectations.
8354 * math/w_scalblnf.c: New File.
8355 Add wrapper which checks for setting errno to ERANGE.
8356 Add weak_alias for corresponding scalbln function.
8357 * math/w_scalbln.c: Likewise.
8358 * math/w_scalblnl.c: Likewise.
8359 * math/Makefile (libm-calls): Add w_scalbln.
8360 * sysdeps/ieee754/flt-32/s_scalblnf.c:
8361 Remove weak_alias for corresponding scalbln function.
8362 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8364 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8365 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8366 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8367 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8368 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8369 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8370 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8371 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8372 Remove long_double_symbol for scalblnl function in libm, libc.
8373 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8374 Add wrapper which checks for setting errno to ERANGE.
8375 Add long_double_symbol for scalblnl function in libm, libc.
8376 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8377 Remove long_double_symbol for scalblnl in libm.
8378 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8379 Add wrapper which checks for setting errno to ERANGE.
8380 Add long_double_symbol for scalblnl function in libm.
8381 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8382 Do not use wrapper because of own implementation.
8384 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
8386 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8387 3 bytes for __pad1 for x32.
8388 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8390 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
8391 H.J. Lu <hongjiu.lu@intel.com>
8393 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8394 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8395 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8396 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8397 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8399 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
8402 * posix/regcomp.c (parse_expression): Deallocate partially
8403 constructed tree before returning error.
8404 * posix/Makefile.c (tests): Add bug-regex36.
8405 (generated): Add bug-regex36.mtrace.
8406 (tests-special): Add $(objpfx)bug-regex36-mem.out
8407 (bug-regex36-ENV): New variable.
8408 ($(objpfx)bug-regex36-mem.out): New rule.
8409 * posix/bug-regex36.c: New file.
8411 2014-06-19 Will Newton <will.newton@linaro.org>
8413 * malloc/malloc.c (systrim): If extra is zero then return
8416 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8418 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8420 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
8422 * sysdeps/aarch64/strchr.S: New file.
8424 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8427 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8428 from arguments -2 or below.
8429 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8430 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8432 2014-06-18 Andreas Schwab <schwab@suse.de>
8435 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8436 of a bracket expr not to run off the end of the string.
8437 * posix/Makefile (tests): Add tst-fnmatch3.
8438 * posix/tst-fnmatch3.c: New file.
8440 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8442 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8443 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8444 [$(cross-compiling) = no]: Likewise.
8445 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8446 [$(cross-compiling) = no]: Likewise.
8448 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8451 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8452 double, adjusted for any remainder from the high double.
8453 * math/libm-test.inc (nearbyint): Add tests.
8456 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8458 * nptl/sysdeps/powerpc/Makefile: Moved ...
8459 * sysdeps/powerpc/nptl/Makefile: ... here.
8460 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8461 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8462 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8463 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8464 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8465 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8466 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8467 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8468 * nptl/sysdeps/powerpc/tls.h: Moved ...
8469 * sysdeps/powerpc/nptl/tls.h: ... here.
8471 2014-06-16 Joseph Myers <joseph@codesourcery.com>
8474 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8475 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8476 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8477 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8478 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8479 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8480 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8481 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8482 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8484 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
8486 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8488 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
8490 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8493 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8496 2014-06-16 Florian Weimer <fweimer@redhat.com>
8499 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8500 non-executed part of the test.
8502 2014-06-16 Andreas Schwab <schwab@suse.de>
8504 * string/bits/string2.h (strdup, strndup): Update feature guard.
8506 2014-06-14 David S. Miller <davem@davemloft.net>
8508 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8510 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
8512 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8513 that was previously under [RESET_PID].
8514 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8516 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8517 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8518 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8519 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8520 (__libc_vfork): New strong alias.
8521 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8523 2014-06-14 Andi Kleen <ak@linux.intel.com>
8525 * sysdeps/generic/elide.h: New file.
8527 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8529 * Makefile (installed-headers): Adjust path of pthread.h header.
8531 2014-06-13 Roland McGrath <roland@hack.frob.com>
8533 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8534 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8535 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8536 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8538 * nptl/sysdeps/s390/Makefile: Moved ...
8539 * sysdeps/s390/nptl/Makefile: ... here.
8540 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8541 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8542 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8543 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8544 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8545 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8546 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8547 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8548 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8549 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8550 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8551 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8552 * nptl/sysdeps/s390/tls.h: Moved ...
8553 * sysdeps/s390/nptl/tls.h: ... here.
8555 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8556 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8558 2014-06-13 David S. Miller <davem@davemloft.net>
8560 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8561 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8562 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8563 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8564 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8565 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8566 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8567 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8568 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8569 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8570 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8571 Remove RESET_PID cpp guards.
8572 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8573 Remove RESET_PID cpp guards.
8574 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8576 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8578 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8581 2014-06-13 Andi Kleen <ak@linux.intel.com>
8583 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8584 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8585 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8586 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8587 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8588 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8589 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8590 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8591 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8592 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8593 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8594 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8595 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8596 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8597 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8598 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8599 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8600 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8601 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8602 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8604 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8605 (pthread_rwlock_rdlock): Add elision.
8606 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8607 (pthread_rwlock_wrlock): Add elision.
8608 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8609 (pthread_rwlock_trywrlock): Add elision.
8610 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8611 (pthread_rwlock_tryrdlock): Add elision.
8612 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8613 (pthread_rwlock_tryrdlock): Add elision unlock.
8614 * nptl/sysdeps/pthread/pthread.h:
8615 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8616 (PTHREAD_RWLOCK_INITIALIZER,
8617 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8618 Handle new elision field.
8619 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8620 * sysdeps/arm/nptl/bits/pthreadtypes.h
8621 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8622 * sysdeps/sh/nptl/bits/pthreadtypes.h
8623 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8624 * sysdeps/tile/nptl/bits/pthreadtypes.h
8625 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8626 * sysdeps/a/nptl/bits/pthreadtypes.h
8627 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8628 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8629 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8630 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8631 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8632 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8633 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8634 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8635 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8636 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8637 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8638 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8639 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8640 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8641 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8642 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8643 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8644 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8645 (elision_init): Set try_xbegin to zero when no RTM.
8646 * sysdeps/x86/nptl/bits/pthreadtypes.h
8647 (pthread_rwlock_t): Change __pad1 to __rwelision.
8648 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8650 2014-06-13 Andi Kleen <ak@linux.intel.com>
8652 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8653 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8654 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8655 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8657 2014-06-13 Meador Inge <meadori@codesourcery.com>
8660 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8661 that the cached result has been set before returning it.
8663 2014-06-12 Roland McGrath <roland@hack.frob.com>
8665 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8666 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8667 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8668 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8669 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8670 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8672 * nptl/sysdeps/sparc/Makefile: Moved ...
8673 * sysdeps/sparc/nptl/Makefile: ... here.
8674 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8675 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8676 * nptl/sysdeps/sparc/tls.h: Moved ...
8677 * sysdeps/sparc/nptl/tls.h: ... here.
8678 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8679 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8680 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8681 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8682 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8683 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8684 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8685 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8686 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8687 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8688 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8689 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8690 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8691 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8692 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8693 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8694 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8695 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8697 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8698 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8700 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8701 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8703 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8704 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8707 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8709 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8710 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8712 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8713 (struct list_links): Type removed.
8714 (struct thread_node, struct timer_node): Replace struct list_links
8715 with struct list_head.
8716 (list_unlink_ip): Likewise.
8717 * sysdeps/pthread/timer_routines.c
8718 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8719 (list_append, list_insbefore): Likewise.
8720 (list_init): Function removed.
8721 (thread_init, init_module): Use INIT_LIST_HEAD instead.
8722 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8723 * sysdeps/pthread/Makefile: ... here, new file.
8725 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8726 * sysdeps/nptl/Implies: ... here.
8727 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8728 * nptl/sysdeps/pthread/list.h: Moved ...
8729 * include/list.h: ... here.
8730 * nptl/sysdeps/pthread/createthread.c: Moved ...
8731 * nptl/createthread.c: ... here.
8732 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8733 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8734 * nptl/pt-longjmp.c: ... here.
8735 * nptl/sysdeps/pthread/Makefile: Moved ...
8736 * sysdeps/nptl/Makefile: ... here.
8737 * nptl/sysdeps/pthread/Subdirs: Moved ...
8738 * sysdeps/nptl/Subdirs: ... here.
8739 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8740 * sysdeps/nptl/aio_misc.h: ... here.
8741 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8742 * sysdeps/nptl/bits/libc-lock.h: ... here.
8743 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8744 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8745 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8746 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8747 * nptl/sysdeps/pthread/configure: Moved ...
8748 * sysdeps/nptl/configure: ... here.
8749 * nptl/sysdeps/pthread/configure.ac: Moved ...
8750 * sysdeps/nptl/configure.ac: ... here.
8751 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8752 * sysdeps/nptl/gai_misc.h: ... here.
8753 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8754 * sysdeps/nptl/librt-cancellation.c: ... here.
8755 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8756 * sysdeps/nptl/malloc-machine.h: ... here.
8757 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8758 * sysdeps/nptl/pthread-functions.h: ... here.
8759 * nptl/sysdeps/pthread/pthread.h: Moved ...
8760 * sysdeps/nptl/pthread.h: ... here.
8761 * nptl/sysdeps/pthread/setxid.h: Moved ...
8762 * sysdeps/nptl/setxid.h: ... here.
8763 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8764 * sysdeps/nptl/sigfillset.c: ... here.
8765 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8766 * sysdeps/nptl/tcb-offsets.h: ... here.
8767 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8768 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8769 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8770 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8771 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8772 * sysdeps/pthread/allocalim.h: ... here.
8773 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8774 * sysdeps/pthread/bits/sigthread.h: ... here.
8775 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8776 * sysdeps/pthread/flockfile.c: ... here.
8777 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8778 * sysdeps/pthread/ftrylockfile.c: ... here.
8779 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8780 * sysdeps/pthread/funlockfile.c: ... here.
8781 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8782 * sysdeps/pthread/posix-timer.h: ... here.
8783 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8784 * sysdeps/pthread/timer_create.c: ... here.
8785 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8786 * sysdeps/pthread/timer_delete.c: ... here.
8787 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8788 * sysdeps/pthread/timer_getoverr.c: ... here.
8789 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8790 * sysdeps/pthread/timer_gettime.c: ... here.
8791 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8792 * sysdeps/pthread/timer_routines.c: ... here.
8793 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8794 * sysdeps/pthread/timer_settime.c: ... here.
8795 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8796 * sysdeps/pthread/tst-timer.c: ... here.
8797 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8798 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8800 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8801 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8803 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8804 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8805 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8806 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8807 Update #include target.
8808 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8809 * sysdeps/i386/i686/nptl/Makefile: ... here.
8810 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8811 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8812 Update #include target.
8813 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8814 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8815 * nptl/sysdeps/i386/Makefile: Moved ...
8816 * sysdeps/i386/nptl/Makefile: ... here.
8817 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8818 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8819 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8820 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8821 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8822 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8823 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8824 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8825 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8826 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8827 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8828 * nptl/sysdeps/i386/tls.h: Moved ...
8829 * sysdeps/i386/nptl/tls.h: ... here.
8831 * sysdeps/sh/Makefile [$(subdir) = csu]
8832 (gen-as-const-headers): Add tcb-offsets.sym.
8833 * nptl/sysdeps/sh/Makefile: File removed.
8834 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8835 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8836 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8837 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8838 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8839 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8840 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8841 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8842 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8843 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8844 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8845 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8846 * nptl/sysdeps/sh/tls.h: Moved ...
8847 * sysdeps/sh/nptl/tls.h: ... here.
8848 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8849 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8850 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8851 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8852 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8853 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8854 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8855 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8856 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8857 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8858 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8859 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8860 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8861 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8862 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8863 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8864 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8865 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8866 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8867 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8868 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8869 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8870 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8871 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8872 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8874 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8875 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8877 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8878 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8879 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8880 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8881 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8882 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8883 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8884 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8885 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8886 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8887 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8888 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8889 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8890 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8891 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8892 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8893 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8894 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8895 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8897 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8899 * posix/spawn_faction_addopen.c: Include string.h.
8901 2014-06-11 Roland McGrath <roland@hack.frob.com>
8903 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8904 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8905 * nptl/sysdeps/x86_64/Makefile: Moved ...
8906 * sysdeps/x86_64/nptl/Makefile: ... here.
8907 * nptl/sysdeps/x86_64/configure: Moved ...
8908 * sysdeps/x86_64/nptl/configure: ... here.
8909 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8910 * sysdeps/x86_64/nptl/configure.ac: ... here.
8911 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8912 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8913 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8914 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8915 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8916 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8917 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8918 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8919 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8920 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8921 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8922 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8923 * nptl/sysdeps/x86_64/tls.h: Moved ...
8924 * sysdeps/x86_64/nptl/tls.h: ... here.
8925 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8926 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8927 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8928 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8930 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8932 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8934 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8936 2014-06-11 Joseph Myers <joseph@codesourcery.com>
8938 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8940 [POSIX] (off_t): Likewise.
8941 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8942 [POSIX] (S_ISBLK): Require macro.
8943 [POSIX] (S_ISCHR): Likewise.
8944 [POSIX] (S_ISDIR): Likewise.
8945 [POSIX] (S_ISFIFO): Likewise.
8946 [POSIX] (S_ISREG): Likewise.
8947 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8949 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8951 [POSIX] (time_t): Likewise.
8952 [POSIX] (timer_t): Likewise.
8954 2014-06-11 Florian Weimer <fweimer@redhat.com>
8957 * posix/spawn_int.h (struct __spawn_action): Make the path string
8958 non-const to support deallocation.
8959 * posix/spawn_faction_addopen.c
8960 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8961 * posix/spawn_faction_destroy.c
8962 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8963 path in all spawn_do_open actions.
8964 * posix/tst-spawn.c (do_test): Exercise the copy operation in
8965 posix_spawn_file_actions_addopen.
8967 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
8969 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8970 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8971 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8972 conditional code always true.
8973 (__libc_vfork): New alias.
8975 2014-06-11 Roland McGrath <roland@hack.frob.com>
8977 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8978 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8980 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8982 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8983 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8985 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8986 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8988 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8989 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8991 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
8993 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8994 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8995 multiarch strcmp for PPC64.
8996 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8997 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8998 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8999 multiarch optimizations.
9000 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9001 (__libc_ifunc_impl_list): Likewise.
9003 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9005 * benchtests/scripts/validate_benchout.py: New script.
9006 * benchtests/Makefile (bench-func): Call it.
9007 * benchtests/scripts/benchout.schema.json: New file.
9009 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9011 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9012 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9013 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9014 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9015 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9016 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9017 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9018 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9019 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9020 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9021 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9022 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9023 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9024 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9025 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9026 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9027 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9029 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9031 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9033 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9036 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9038 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9040 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9042 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9044 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9045 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9047 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9049 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9051 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9053 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9055 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9056 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9058 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9060 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9062 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9064 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9066 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9068 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9071 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9073 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9075 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9077 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9079 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9086 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9088 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9090 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9097 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9099 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9101 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9103 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9130 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9131 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9132 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9133 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9134 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9136 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9138 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9139 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9140 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9141 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9142 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9143 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9144 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9145 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9146 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9147 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9148 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9149 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9150 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9152 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9153 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9155 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9156 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9157 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9158 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9160 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9161 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9162 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9163 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9164 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9165 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9166 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9168 2014-06-10 Wilco <wdijkstr@arm.com>
9170 * math/test-fenv-return.c: New file.
9171 * math/Makefile: Add new test test-fenv-return.
9173 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9176 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9178 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9179 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9180 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9181 0.0L for an argument of 1.0L.
9182 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9184 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9185 value when x - 1 is zero.
9186 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9187 * sysdeps/i386/fpu/libm-test-ulps: Update.
9188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9190 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9193 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9195 2014-06-09 Roland McGrath <roland@hack.frob.com>
9197 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9198 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9200 2014-06-09 Roland McGrath <roland@hack.frob.com>
9202 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9203 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9205 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9206 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9208 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9209 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9211 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9212 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9214 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9215 if not already defined.
9216 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9217 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9218 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9219 (TLS_INIT_TP): Use it.
9220 (TLS_DEFINE_INIT_TP): New macro.
9221 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9223 2014-06-09 Joseph Myers <joseph@codesourcery.com>
9225 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9227 [POSIX] (IXANY): Likewise.
9228 [POSIX] (OLCUC): Likewise.
9229 [POSIX || POSIX2008] (CBAUD): Do not allow.
9230 [POSIX || POSIX2008] (DEFECHO): Likewise.
9231 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9232 [POSIX || POSIX2008] (ECHOKE): Likewise.
9233 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9234 [POSIX || POSIX2008] (EXTA): Likewise.
9235 [POSIX || POSIX2008] (EXTB): Likewise.
9236 [POSIX || POSIX2008] (FLUSHO): Likewise.
9237 [POSIX || POSIX2008] (LOBLK): Likewise.
9238 [POSIX || POSIX2008] (PENDIN): Likewise.
9239 [POSIX || POSIX2008] (SWTCH): Likewise.
9240 [POSIX || POSIX2008] (VDISCARD): Likewise.
9241 [POSIX || POSIX2008] (VDSUSP): Likewise.
9242 [POSIX || POSIX2008] (VLNEXT): Likewise.
9243 [POSIX || POSIX2008] (VREPRINT): Likewise.
9244 [POSIX || POSIX2008] (VSTATUS): Likewise.
9245 [POSIX || POSIX2008] (VWERASE): Likewise.
9246 (B*): Change to B[0123456789]*.
9247 * conform/data/time.h-data [POSIX || UNIX98]
9248 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9249 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9250 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9251 [POSIX] (tm_*): Do not allow.
9253 2014-06-07 Joseph Myers <joseph@codesourcery.com>
9255 * Makefile (install): Don't set LANGUAGE.
9256 * Makefile.in (install): Likewise.
9257 * assert/Makefile (test-assert-ENV): Remove variable.
9258 (test-assert-perr-ENV): Likewise.
9259 * elf/Makefile (neededtest4-ENV): Likewise.
9260 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9261 [$(cross-compiling) = no]: Don't set LANGUAGE.
9262 * io/ftwtest-sh (LANG): Remove variable.
9263 * libio/Makefile (tst-widetext-ENV): Likewise.
9264 * manual/install.texi (Running make install): Don't refer to
9265 environment settings for make install.
9266 * INSTALL: Regenerated.
9267 * nptl/tst-tls6.sh: Don't set LANG.
9268 * posix/globtest.sh (LANG): Remove variable.
9269 * string/Makefile (tester-ENV): Likewise.
9270 (inl-tester-ENV): Likewise.
9271 (noinl-tester-ENV): Likewise.
9272 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9273 [$(cross-compiling) = no]: Don't set LANGUAGE.
9274 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9275 without explicit environment settings.
9277 2014-06-06 Roland McGrath <roland@hack.frob.com>
9279 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9280 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9281 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9282 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9284 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9286 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9287 other files in the crypt directory.
9288 * crypt/crypt.c: Remove duplicate includes.
9289 * crypt/crypt-entry.c: Likewise.
9290 * crypt/crypt_util.c: Likewise.
9292 2014-06-06 Joseph Myers <joseph@codesourcery.com>
9294 * Makeconfig (run-program-env): New variable.
9295 (run-program-prefix-before-env): Likewise.
9296 (run-program-prefix-after-env): Likewise.
9297 (run-program-prefix): Define in terms of new variables.
9298 (built-program-cmd-before-env): New variable.
9299 (built-program-cmd-after-env): Likewise.
9300 (built-program-cmd): Define in terms of new variables.
9301 (test-program-prefix-before-env): New variable.
9302 (test-program-prefix-after-env): Likewise.
9303 (test-program-prefix): Define in terms of new variables.
9304 (test-program-cmd-before-env): New variable.
9305 (test-program-cmd-after-env): Likewise.
9306 (test-program-cmd): Define in terms of new variables.
9307 * Rules (make-test-out): Use $(run-program-env).
9308 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9309 (help): Do not mention environment variables. Mention
9310 --timeoutfactor option.
9311 (timeoutfactor): New variable.
9312 (blacklist_exports): Remove function.
9313 (exports): Remove variable.
9314 (command): Do not include ${exports}.
9315 * manual/install.texi (Configuring and compiling): Do not mention
9316 test wrappers preserving environment variables. Mention that last
9317 assignment to a variable must take precedence.
9318 * INSTALL: Regenerated.
9319 * benchtests/Makefile (run-bench): Use $(run-program-env).
9320 * catgets/Makefile ($(objpfx)test1.cat): Use
9321 $(built-program-cmd-before-env), $(run-program-env) and
9322 $(built-program-cmd-after-env).
9323 ($(objpfx)test2.cat): Do not specify environment variables
9325 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9326 $(run-program-env) and $(built-program-cmd-after-env).
9327 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9328 $(run-program-env) and $(test-program-cmd-after-env).
9329 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9331 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9332 run_program_env and test_program_cmd_after_env arguments.
9333 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9334 * elf/tst-pathopt.sh: Use run_program_env argument.
9335 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9336 $(test-wrapper-env) and $(run-program-env).
9337 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9338 run_program_env arguments.
9339 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9340 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9341 $(test-program-prefix-before-env), $(run-program-env) and
9342 $(test-program-prefix-after-env).
9343 ($(objpfx)tst-gettext2.out): Likewise.
9344 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9345 run_program_env and test_program_prefix_after_env arguments.
9346 * intl/tst-gettext2.sh: Likewise.
9347 * intl/tst-gettext4.sh: Do not set environment variables
9349 * intl/tst-gettext6.sh: Likewise.
9350 * intl/tst-translit.sh: Likewise.
9351 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9352 $(test-program-prefix-before-env), $(run-program-env) and
9353 $(test-program-prefix-after-env).
9354 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9355 run_program_env and test_program_prefix_after_env arguments.
9356 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9357 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9358 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
9359 explicitly with each use of ${test_wrapper_env}.
9360 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9361 $(test-program-prefix-before-env), $(run-program-env) and
9362 $(test-program-prefix-after-env).
9363 * posix/tst-getconf.sh: Do not set environment variables
9365 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9366 run_program_env and test_program_prefix_after_env arguments.
9367 * stdio-common/tst-printf.sh: Do not set environment variables
9369 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9370 $(test-program-prefix-before-env), $(run-program-env) and
9371 $(test-program-prefix-after-env).
9372 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9373 run_program_env and test_program_prefix_after_env arguments.
9374 Split $test calls into $test_pre and $test.
9375 * timezone/Makefile (build-testdata): Use
9376 $(built-program-cmd-before-env), $(run-program-env) and
9377 $(built-program-cmd-after-env).
9379 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9381 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9382 strlen for non SHARED builds.
9384 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9386 * nptl/allocatestack.c (check_list): Inlined function...
9387 (__reclaim_stacks): ... here.
9389 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9392 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9395 2014-06-05 Joseph Myers <joseph@codesourcery.com>
9397 * Rules (make-test-out): Include
9398 LOCPATH=$(common-objpfx)localedata in default environment.
9399 * debug/Makefile (tst-chk1-ENV): Remove variable.
9400 (tst-chk2-ENV): Likewise.
9401 (tst-chk3-ENV): Likewise.
9402 (tst-chk4-ENV): Likewise.
9403 (tst-chk5-ENV): Likewise.
9404 (tst-chk6-ENV): Likewise.
9405 (tst-lfschk1-ENV): Likewise.
9406 (tst-lfschk2-ENV): Likewise.
9407 (tst-lfschk3-ENV): Likewise.
9408 (tst-lfschk4-ENV): Likewise.
9409 (tst-lfschk5-ENV): Likewise.
9410 (tst-lfschk6-ENV): Likewise.
9411 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9412 (tst-iconv7-ENV): Likewise.
9413 * intl/Makefile (LOCPATH-ENV): Likewise.
9414 (tst-codeset-ENV): Likewise.
9415 (tst-gettext3-ENV): Likewise.
9416 (tst-gettext5-ENV): Likewise.
9417 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9418 (tst-fopenloc-ENV): Likewise.
9419 (tst-fgetws-ENV): Remove variable.
9420 (tst-ungetwc1-ENV): Likewise.
9421 (tst-ungetwc2-ENV): Likewise.
9422 (bug-ungetwc2-ENV): Likewise.
9423 (tst-swscanf-ENV): Likewise.
9424 (bug-ftell-ENV): Likewise.
9425 (tst-fgetwc-ENV): Likewise.
9426 (tst-fseek-ENV): Likewise.
9427 (tst-ftell-partial-wide-ENV): Likewise.
9428 (tst-ftell-active-handler-ENV): Likewise.
9429 (tst-ftell-append-ENV): Likewise.
9430 * posix/Makefile (tst-fnmatch-ENV): Likewise.
9431 (tst-regexloc-ENV): Likewise.
9432 (bug-regex1-ENV): Likewise.
9433 (tst-regex-ENV): Likewise.
9434 (tst-regex2-ENV): Likewise.
9435 (bug-regex5-ENV): Likewise.
9436 (bug-regex6-ENV): Likewise.
9437 (bug-regex17-ENV): Likewise.
9438 (bug-regex18-ENV): Likewise.
9439 (bug-regex19-ENV): Likewise.
9440 (bug-regex20-ENV): Likewise.
9441 (bug-regex22-ENV): Likewise.
9442 (bug-regex23-ENV): Likewise.
9443 (bug-regex25-ENV): Likewise.
9444 (bug-regex26-ENV): Likewise.
9445 (bug-regex30-ENV): Likewise.
9446 (bug-regex32-ENV): Likewise.
9447 (bug-regex33-ENV): Likewise.
9448 (bug-regex34-ENV): Likewise.
9449 (bug-regex35-ENV): Likewise.
9450 (tst-rxspencer-ENV): Likewise.
9451 (tst-rxspencer-no-utf8-ENV): Likewise.
9452 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9453 (tst-sscanf-ENV): Likewise.
9454 (tst-swprintf-ENV): Likewise.
9455 (tst-swscanf-ENV): Likewise.
9456 (test-vfprintf-ENV): Likewise.
9457 (scanf13-ENV): Likewise.
9458 (bug14-ENV): Likewise.
9459 (tst-grouping-ENV): Likewise.
9460 * stdlib/Makefile (tst-strtod-ENV): Likewise.
9461 (tst-strtod3-ENV): Likewise.
9462 (tst-strtod4-ENV): Likewise.
9463 (tst-strtod5-ENV): Likewise.
9464 (testmb2-ENV): Likewise./
9465 * string/Makefile (tst-strxfrm-ENV): Likewise.
9466 (tst-strxfrm2-ENV): Likewise.
9467 (bug-strcoll1-ENV): Likewise.
9468 (test-strcasecmp-ENV): Likewise.
9469 (test-strncasecmp-ENV): Likewise.
9470 * time/Makefile (tst-strptime-ENV): Likewise.
9471 (tst-ftime_l-ENV): Likewise.
9472 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9473 (tst-mbrtowc-ENV): Likewise.
9474 (tst-wcrtomb-ENV): Likewise.
9475 (tst-mbrtowc2-ENV): Likewise.
9476 (tst-c16c32-1-ENV): Likewise.
9477 (tst-mbsnrtowcs-ENV): Likewise.
9479 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9481 * manual/resource.texi (How to get information about the memory
9482 subsystem?): Fix typo.
9483 Reported by Peon de la Parra Ivan <peon@keba.com>
9485 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
9488 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9489 (pthread_spin_lock): Branch out of spin loop to proper location.
9490 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9491 (pthread_spin_lock): Likewise.
9493 * nptl/tst-spin4.c: New test.
9494 * nptl/Makefile (tests): Add tst-spin4.
9496 2014-06-03 Andreas Schwab <schwab@suse.de>
9499 * resolv/res_send.c (send_dg): Reload file descriptor after
9502 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
9504 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9506 2014-06-03 Richard Henderson <rth@redhat.com>
9508 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9509 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9510 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9511 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
9512 in the SAVE_PID block.
9513 (__libc_vfork): New alias.
9514 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9516 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9517 child in registers, not on the stack. Remove RESET_PID conditionals.
9518 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9520 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
9522 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9524 2014-06-03 Wilco <wdijkstr@arm.com>
9526 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9527 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9528 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9529 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9530 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9533 2014-06-03 Wilco <wdijkstr@arm.com>
9535 * sysdeps/aarch64/fpu/math_private.h
9536 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9537 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9538 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9539 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9542 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9544 * crypt/crypt-private.h: Include ufc-crypt.h.
9545 (__b64_from_24bit): Declare extern.
9546 * crypt/crypt_util.c(__b64_from_24bit): New function.
9547 (b64t): New static const variable.
9548 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9549 (b64t): Remove variable.
9550 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9551 * crypt/sha256-crypt.c: Include crypt-private.h.
9552 (b64t): Remove variable.
9553 (__sha256_crypt_r): Remove b64_from_24bit and replace
9554 with __b64_from_24bit.
9555 * crypt/sha512-crypt.c: Likewise.
9557 2014-06-02 Roland McGrath <roland@hack.frob.com>
9559 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9560 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9561 Label the code __libc_vfork rather than __vfork.
9562 [!NOT_IN_libc] (vfork): Define as weak alias.
9563 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9564 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9565 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9567 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9569 * malloc/malloc.c (malloc_info): Fix format specifier for
9572 2014-06-02 Wilco <wdijkstr@arm.com>
9574 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9577 2014-06-02 Wilco <wdijkstr@arm.com>
9580 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9581 Rewrite to reduce FPCR/FPSR accesses.
9583 2014-06-01 David S. Miller <davem@davemloft.net>
9585 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9587 2014-05-31 David S. Miller <davem@davemloft.net>
9589 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9590 to occur in round to nearest mode when |x| >= 2.0
9592 2014-05-30 Richard Henderson <rth@twiddle.net>
9594 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9595 (PSEUDO_RET_NOERRNO): Remove.
9596 (ret): Don't redefine.
9597 (ret_NOERRNO): Define in terms of ret.
9598 (ret_ERRVAL): Likewise.
9600 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9601 use of PSEUDO_RET; perform the error check directly.
9603 2014-05-30 Marko Myllynen <myllynen@redhat.com>
9605 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9608 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9610 * malloc/malloc (malloc_info): Fix formatting.
9612 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9613 Roland McGrath <roland@hack.frob.com>
9615 * malloc/malloc (malloc_info): Also print mmapped statistics.
9617 2014-05-30 Roland McGrath <roland@hack.frob.com>
9619 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9620 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9622 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
9624 * malloc/malloc.c (malloc_info): Inline mi_arena.
9626 2014-05-29 Richard Henderson <rth@twiddle.net>
9628 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9629 Remove comma before expanding ASM_ARGS_##nr.
9630 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9631 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9633 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9634 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9635 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9636 (ASM_ARGS_1): Add leading comma.
9638 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9639 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9640 to __errno_location.
9641 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9642 Remove the expected plt for __errno_location.
9644 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9645 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9648 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9649 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9650 it and break it down.
9651 (DOCARGS_0, DOCARGS_1): Do nothing.
9652 (DOCARGS_2): Update to store into the new stack frame.
9653 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9654 (UNDOCARGS_1): Update to restore from the new stack frame.
9655 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9656 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9658 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9659 (SINGLE_THREAD_P): New parameter for result regno.
9660 (PSEUDO): Update to match; use cbz instead of beq.
9662 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9663 Use ENTRY to define the _nocancel entry point. Share the syscall
9664 and syscall error check paths with the cancel path.
9667 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9668 whitespace; tabs before and after asm mnemonics.
9670 2014-05-29 Eric Wong <normalperson@yhbt.net>
9673 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9674 Call fstat64 or stat64 internally, depending on arguments passed.
9675 Replace stat buffer argument with file descriptor argument.
9676 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9677 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9678 Pass fd to __internal_statvfs instead of calling fstat64.
9679 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9680 Pass fd to __internal_statvfs64 instead of calling fstat64.
9681 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9682 Pass -1 to __internal_statvfs instead of calling stat64.
9683 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9684 Pass -1 to __internal_statvfs64 instead of calling stat64.
9686 2014-05-28 Roland McGrath <roland@hack.frob.com>
9688 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9689 that was previously under [RESET_PID].
9690 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9692 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9693 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9695 2014-05-27 Roland McGrath <roland@hack.frob.com>
9697 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9699 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9700 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9702 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
9704 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9706 2014-05-27 Andreas Schwab <schwab@suse.de>
9708 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9710 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9711 * elf/rtld.c (init_tls, dl_main): Likewise.
9712 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9713 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9714 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9715 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9716 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9717 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9718 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9719 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9720 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9721 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9722 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9723 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9724 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9725 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9726 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9727 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9728 * sysdeps/generic/tls.h: Update description.
9730 2014-05-27 Will Newton <will.newton@linaro.org>
9733 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9734 and restore r2 rather than just restoring.
9736 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9739 * libio/tst-ftell-append.c: New test case.
9740 * libio/Makefile (tests): Add test case.
9741 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9743 * libio/wfileops.c (do_ftell_wide): Likewise.
9745 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9749 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9753 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9754 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9755 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9756 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9757 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9758 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9759 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9761 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9762 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9765 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9766 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9767 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9768 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9769 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9771 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9772 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9774 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9776 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9778 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9779 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9780 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9782 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9783 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9784 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9785 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9787 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9790 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9793 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9796 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9800 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9803 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9808 conditional [RESET_PID].
9809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9810 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9812 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9817 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9818 (__libc_vfork): New strong alias.
9819 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9821 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9826 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9827 (__libc_vfork): New strong alias.
9828 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9830 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9833 2014-05-26 Carlos O'Donell <carlos@redhat.com>
9835 * malloc/malloc.c (mi_arena): New function.
9836 (malloc_info): Remove nested function mi_arena. Call non-nosted
9839 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9841 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9843 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9844 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9845 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9846 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9847 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9848 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9849 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9851 2014-05-26 Andreas Schwab <schwab@suse.de>
9854 * locale/programs/repertoire.c (repertoire_read): Add slash
9855 between I18NPATH element and file name.
9856 * locale/programs/locfile.c (locfile_read): Likewise.
9858 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9860 * nptl/pthread_mutexattr_settype.c
9861 (__pthread_mutexattr_settype):
9862 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9864 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9866 * nptl/tst-mutex5 (do_test):
9867 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9869 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9871 * benchtests/README: Document 'init' directive.
9872 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9874 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9875 (parse_file): Recognize 'init' directive.
9877 2014-05-26 Kyle McMartin <kyle@redhat.com>
9880 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9881 alignment of struct pthread.
9883 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9886 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9887 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9888 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9889 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9891 2014-05-25 Richard Henderson <rth@twiddle.net>
9893 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9894 (SINGLE_THREAD_P_PIC): Remove.
9895 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9896 (SINGLE_THREAD_P_PIC): Remove.
9898 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9899 branch to syscall error ...
9901 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9902 from __local_syscall_error to .Lsyscall_error.
9903 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9904 (SYSCALL_ERROR): Update label name.
9906 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9907 Do not use DOARGS/UNDOARGS.
9908 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9909 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9910 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9911 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9912 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9914 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9917 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9918 define if !NOT_IN_libc.
9919 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9920 define with non-default symbol versions.
9922 2014-05-23 Richard Henderson <rth@twiddle.net>
9924 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9925 (vfork, __vfork): Define via compat_symbol.
9927 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9928 [!HAVE_IFUNC] (vfork_compat): Remove.
9929 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9931 2014-05-23 Joseph Myers <joseph@codesourcery.com>
9934 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9935 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9938 2014-05-23 Richard Henderson <rth@twiddle.net>
9940 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9941 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9942 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9943 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9945 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9946 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9947 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9948 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9949 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9950 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9951 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9952 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9953 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9954 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9955 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9956 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9957 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9958 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9959 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9960 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9961 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9962 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9963 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9964 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9965 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9966 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9967 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9968 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9969 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9970 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9971 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9972 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9973 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9974 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9975 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9976 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9977 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9978 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9979 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9980 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9981 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9982 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9983 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9984 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9985 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9986 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9987 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9988 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9989 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9990 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9991 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9992 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9993 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9994 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9995 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9996 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9997 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9998 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9999 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10000 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10002 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10003 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10004 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10005 before exiting on error.
10006 (__libc_vfork): New strong alias.
10007 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10008 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10010 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10011 that was previously under [RESET_PID].
10012 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10014 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10016 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10019 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10020 value when x - 1 is zero.
10021 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10022 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10023 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10024 0.0L for an argument of 1.0L.
10025 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10027 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10028 value when x - 1 is zero.
10029 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10030 * sysdeps/i386/fpu/libm-test-ulps: Update.
10031 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10033 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10035 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10036 alphasort and versionsort.
10038 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10040 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10042 [copysignf]: Likewise.
10044 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10046 * crypt/md5-crypt.c: Fix formatting.
10048 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10050 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10051 (b64_from_24bit): New function.
10053 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10055 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10056 libc_hidden_builtin_def to ifunc.
10057 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10058 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10060 2014-05-21 Roland McGrath <roland@hack.frob.com>
10062 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10063 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10065 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10067 * nscd/Depend (linuxthreads): Remove.
10069 * resolv/Depend (linuxthreads): Remove.
10070 * rt/Depend (linuxthreads): Remove.
10072 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10073 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10074 $(common-objpfx)elf/.
10075 (link-libc-before-gnulib): Likewise.
10076 (elfobjdir): Remove variable.
10077 * Makefile (install): Use $(elf-objpfx) instead of
10078 $(common-objpfx)elf/.
10079 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10081 (link-libc-deps): Likewise.
10082 ($(common-objpfx)libc.so): Likewise.
10083 ($(common-objpfx)linkobj/libc.so): Likewise.
10084 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10085 instead of $(common-objpfx)elf/.
10086 (symbolic-link-list): Likewise.
10087 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10088 [$(cross-compiling) = no]: Likewise.
10089 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10091 (static-gnulib-arch): Likewise.
10092 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10093 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10094 $(common-objpfx)elf/.
10096 2014-05-21 Richard Henderson <rth@redhat.com>
10098 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10099 (SINGLE_THREAD_P): Use the correct width load. Fold
10100 into the ldr offset.
10102 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10103 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10105 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10107 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10108 (libgcc_s_resume): Use __attribute_used__.
10109 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10112 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10114 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10115 optimization when used with float constants.
10117 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10119 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10122 * locale/nl_langinfo_l.c: Make direct reference to every
10123 _nl_current_CATEGORY symbol.
10124 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10125 (tests-static): Add tst-langinfo-static.
10126 (tests-special): Add tst-langinfo-static.out.
10127 ($(objpfx)tst-langinfo.out): Redirect output.
10128 ($(objpfx)tst-langinfo-static.out): New.
10129 * localedata/tst-langinfo.sh: Send output to stdout.
10130 * localedata/tst-langinfo-static.c: New file.
10133 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10134 when the shift amount is modulo the limb size.
10136 2014-05-20 Richard Henderson <rth@redhat.com>
10139 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10140 Change type of sa_flags from unsigned int to int.
10143 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10145 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10147 2014-05-20 Will Newton <will.newton@linaro.org>
10149 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10150 Test the return value of the system call in the nocancel case.
10152 2014-05-20 Will Newton <will.newton@linaro.org>
10153 Yvan Roux <yvan.roux@linaro.org>
10155 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10156 #include of asm/ptrace.h.
10157 (PTRACE_GET_THREAD_AREA): Remove #undef.
10158 (PTRACE_GETHBPREGS): Likewise.
10159 (PTRACE_SETHBPREGS): Likewise.
10160 (struct user_regs_struct): New structure.
10161 (struct user_fpsimd_struct): New structure.
10162 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10163 #include of asm/ptrace.h and second #include of sys/user.h.
10164 (PTRACE_GET_THREAD_AREA): Remove #undef.
10165 (PTRACE_GETHBPREGS): Likewise.
10166 (PTRACE_SETHBPREGS): Likewise.
10167 (ELF_NGREG): Use new struct user_regs_struct.
10168 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10170 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10172 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10173 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10175 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10178 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10179 membar to avoid block loads/stores to overlap previous stores.
10181 2014-05-17 Richard Henderson <rth@redhat.com>
10183 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10184 Create the __##syscall_name##_nocancel entry point.
10185 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10186 Remove; let the sysdep-cancel.h code create it.
10188 2014-05-17 David S. Miller <davem@davemloft.net>
10190 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10191 Protect with __USE_GNU.
10192 (TIOCSET_TEMPT): Likewise.
10193 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10194 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10195 these are already provided in bits/ioctl-types.h
10197 2014-05-16 Roland McGrath <roland@hack.frob.com>
10199 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10200 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10202 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10203 Use wait4 regardless of [__NR_waitpid].
10205 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10208 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10209 (_FP_NANSIGN_Q): Set the quiet bit.
10211 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10213 * benchtests/Makefile
10214 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10215 not $(common-objpfx)math/libm.so.
10216 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10217 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10218 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10219 $(common-objpfx)dlfcn/libdl.so.
10220 ($(objpfx)tst-audit8): Depend on $(libm), not
10221 $(common-objpfx)math/libm.so.
10222 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10223 not $(common-objpfx)dlfcn/libdl.so.
10225 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10226 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10227 [$(build-shared) = yes].
10228 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10229 $(common-objpfx)nptl/libpthread.so.
10230 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10231 $(common-objpfx)math/libm.so$(libm.so-version) or
10232 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10233 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10234 $(common-objpfx)dlfcn/libdl.so.
10235 * setjmp/Makefile (link-libm): Remove variable.
10236 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10237 * stdio-common/Makefile (link-libm): Remove variable.
10238 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10239 * stdlib/Makefile (link-libm): Remove variable.
10240 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10241 ($(objpfx)tst-strtod-round): Likewise.
10242 ($(objpfx)tst-tininess): Likewise.
10243 ($(objpfx)tst-strtod-underflow): Likewise.
10244 ($(objpfx)tst-strtod6): Likewise.
10245 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10246 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10247 $(common-objpfx)dlfcn/libdl.so.
10249 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10251 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10252 BSD terminal modes definitions.
10254 2014-05-16 Roland McGrath <roland@hack.frob.com>
10256 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10257 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10259 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10260 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10261 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10262 Don't do #include_next.
10263 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10264 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10265 Don't do #include_next.
10266 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10267 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10268 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10269 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10271 2014-05-16 Allan McRae <allan@archlinux.org>
10273 * po/sv.po: Update Swedish translation from translation project.
10275 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10278 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10281 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10282 errno if the TIOCGPTN ioctl fails with an error different than
10284 * login/tst-ptsname.c: New file.
10285 * login/Makefile (tests): Add tst-ptsname.
10288 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10291 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10294 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10295 herrno to return EAI_AGAIN.
10297 2014-05-14 Roland McGrath <roland@hack.frob.com>
10299 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10300 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10301 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10302 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10303 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10304 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10305 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10306 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10307 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10308 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10309 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10310 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10311 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10312 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10313 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10314 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10315 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10316 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10317 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10318 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10319 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10320 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10321 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10322 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10323 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10324 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10325 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10326 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10327 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10328 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10329 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10330 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10331 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10332 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10335 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10336 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10337 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10338 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10339 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10340 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10341 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10342 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10343 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10344 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10345 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10347 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10348 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10349 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10350 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10351 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10352 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10353 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10354 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10355 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10356 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10357 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10358 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10359 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10360 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10361 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10362 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10364 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10365 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10366 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10367 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10368 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10369 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10370 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10371 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10372 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10373 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10374 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10375 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10376 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10377 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10378 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10379 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10380 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10381 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10382 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10383 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10385 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10387 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10389 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10390 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10391 (libpthread-sysdep_routines): Add elision-related stuff here instead.
10392 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10393 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10394 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10395 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10396 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10397 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10398 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10399 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10400 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10401 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10402 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10403 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10404 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10405 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10406 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10407 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10408 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10409 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10410 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10411 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10412 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10413 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10414 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10415 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10416 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10417 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10418 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10419 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10421 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10422 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10424 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10425 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10426 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10427 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10428 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10429 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10431 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10432 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10434 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10435 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10437 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10438 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10440 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10441 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10442 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10443 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10445 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10446 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10447 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10448 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10449 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10450 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10451 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10452 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10454 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10455 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10457 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10459 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10460 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10461 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10462 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10463 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10465 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10467 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10469 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10470 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10471 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10472 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10473 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10474 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10476 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10477 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10479 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10480 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10482 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10483 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10485 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10486 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10487 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10488 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10490 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10491 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10492 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10493 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10494 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10495 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10496 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10497 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10499 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10500 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10502 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10504 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10505 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10506 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10507 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10508 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10510 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10512 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10514 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10515 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10516 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10517 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10518 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10519 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10520 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10521 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10522 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10523 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10525 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10526 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10528 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10529 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10531 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10532 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10534 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10535 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10536 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10537 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10538 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10539 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10541 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10542 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10543 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10544 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10545 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10546 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10547 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10548 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10550 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10551 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10553 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10555 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10556 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10557 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10558 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10559 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10561 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10563 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10565 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10566 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10567 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10568 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10569 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10570 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10571 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10572 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10573 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10574 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10575 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10577 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10578 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10580 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10581 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10583 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10584 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10585 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10586 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10587 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10588 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10589 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10590 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10591 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10592 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10593 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10594 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10595 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10596 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10597 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10598 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10599 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10600 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10602 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10603 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10604 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10605 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10607 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10608 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10609 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10610 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10611 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10612 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10613 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10614 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10616 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10617 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10619 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10620 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10621 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10622 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10623 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10624 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10625 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10626 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10627 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10628 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10629 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10630 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10631 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10632 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10633 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10634 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10635 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10637 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10638 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10639 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10640 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10641 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10643 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10644 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10645 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10646 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10647 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10648 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10649 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10650 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10651 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10652 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10654 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10655 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10657 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10658 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10659 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10660 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10661 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10662 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10663 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10664 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10665 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10666 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10667 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10668 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10669 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10670 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10671 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10673 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10675 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10677 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10679 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10681 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10683 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10685 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10687 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10689 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10691 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10692 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10693 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10694 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10695 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10696 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10697 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10698 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10699 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10700 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10701 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10702 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10703 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10704 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10705 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
10707 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10708 that was previously under [RESET_PID].
10709 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10710 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10711 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10713 * sysdeps/i386/nptl/Implies: New file.
10714 * sysdeps/x86_64/nptl/Implies: New file.
10715 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10716 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10717 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10718 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10720 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10721 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10722 (__libc_vfork): New strong alias.
10723 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10724 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10726 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10727 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10728 (__libc_vfork): New strong alias.
10729 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10730 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10732 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10733 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10734 (__libc_vfork): New strong alias.
10735 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10736 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10737 * nptl/pt-vfork.c: New file.
10738 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10739 (libpthread: GLIBC_2.20): New version set (empty).
10741 2014-05-14 Will Newton <will.newton@linaro.org>
10743 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10746 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10749 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10750 arguments with exponent 65 or above.
10751 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10752 arguments 0x1p113L or above.
10753 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10754 to arguments 0x1p107L or above.
10755 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10756 positive arguments with exponent 65 or above.
10757 * math/auto-libm-test-in: Add more tests of log1p.
10758 * math/auto-libm-test-out: Regenerated.
10761 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10762 non-finite arguments is +0.
10763 * math/s_cacosf.c (__cacosf): Likewise.
10764 * math/s_cacosl.c (__cacosl): Likewise.
10765 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10766 * sysdeps/i386/fpu/libm-test-ulps: Update.
10767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10770 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10772 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10773 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10774 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10775 for explicit high bit of mantissa when testing for argument equal
10777 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10778 * sysdeps/i386/fpu/libm-test-ulps: Update.
10779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10782 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10783 (__erf): Scale by 16 instead of 8 in potentially underflowing
10784 case. Ensure exception if result actually underflows.
10785 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10786 (__erff): Scale by 16 instead of 8 in potentially underflowing
10787 case. Ensure exception if result actually underflows.
10788 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10789 (efx8): Remove variable.
10790 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10791 case. Ensure exception if result actually underflows.
10792 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10793 (efx8): Remove variable.
10794 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10795 case. Ensure exception if result actually underflows.
10796 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10797 (efx8): Remove variable.
10798 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10799 case. Ensure exception if result actually underflows.
10800 * math/auto-libm-test-in: Add more tests of erf.
10801 * math/auto-libm-test-out: Regenerated.
10803 2014-05-14 Andreas Schwab <schwab@suse.de>
10805 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10806 Remove code conditionalized on USE___THREAD.
10808 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10809 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10812 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10814 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10815 Define unconditionally.
10816 (__ASSUME_O_CLOEXEC): Likewise.
10817 (__ASSUME_SOCK_CLOEXEC): Likewise.
10818 (__ASSUME_IN_NONBLOCK): Likewise.
10819 (__ASSUME_PIPE2): Likewise.
10820 (__ASSUME_EVENTFD2): Likewise.
10821 (__ASSUME_SIGNALFD4): Likewise.
10822 (__ASSUME_DUP3): Likewise.
10823 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10824 (__ASSUME_DUP3): Do not define.
10825 (__ASSUME_EVENTFD2): Likewise.
10826 (__ASSUME_IN_NONBLOCK): Likewise.
10827 (__ASSUME_O_CLOEXEC): Likewise.
10828 (__ASSUME_PIPE2): Likewise.
10829 (__ASSUME_SIGNALFD4): Likewise.
10830 (__ASSUME_SOCK_CLOEXEC): Likewise.
10831 (__ASSUME_UTIMES): Undefine.
10832 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10833 (__ASSUME_UTIMES): Do not define.
10834 (__ASSUME_O_CLOEXEC): Likewise.
10835 (__ASSUME_SOCK_CLOEXEC): Likewise.
10836 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10837 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10839 (__ASSUME_PIPE2): Likewise.
10840 (__ASSUME_EVENTFD2): Likewise.
10841 (__ASSUME_SIGNALFD4): Likewise.
10842 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10843 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10845 (__ASSUME_EVENTFD2): Likewise.
10846 (__ASSUME_SIGNALFD4): Likewise.
10847 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10848 (__ASSUME_32BITUIDS): Likewise.
10849 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10850 (__ASSUME_IPC64): Likewise.
10851 (__ASSUME_ST_INO_64_BIT): Likewise.
10852 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10853 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10854 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10855 (__ASSUME_UTIMES): Do not define.
10856 (__ASSUME_PSELECT): Likewise.
10857 (__ASSUME_PPOLL): Likewise.
10858 (__ASSUME_O_CLOEXEC): Likewise.
10859 (__ASSUME_SOCK_CLOEXEC): Likewise.
10860 (__ASSUME_IN_NONBLOCK): Likewise.
10861 (__ASSUME_PIPE2): Likewise.
10862 (__ASSUME_EVENTFD2): Likewise.
10863 (__ASSUME_SIGNALFD4): Likewise.
10864 (__ASSUME_DUP3): Likewise.
10865 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10866 (__ASSUME_UTIMES): Likewise.
10867 (__ASSUME_O_CLOEXEC): Likewise.
10868 (__ASSUME_SOCK_CLOEXEC): Likewise.
10869 (__ASSUME_IN_NONBLOCK): Likewise.
10870 (__ASSUME_PIPE2): Likewise.
10871 (__ASSUME_EVENTFD2): Likewise.
10872 (__ASSUME_SIGNALFD4): Likewise.
10873 (__ASSUME_DUP3): Likewise.
10874 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10875 (__ASSUME_UTIMES): Likewise.
10876 (__ASSUME_O_CLOEXEC): Likewise.
10877 (__ASSUME_SOCK_CLOEXEC): Likewise.
10878 (__ASSUME_IN_NONBLOCK): Likewise.
10879 (__ASSUME_PIPE2): Likewise.
10880 (__ASSUME_EVENTFD2): Likewise.
10881 (__ASSUME_SIGNALFD4): Likewise.
10882 (__ASSUME_DUP3): Likewise.
10883 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10885 (__ASSUME_UTIMES): Likewise.
10886 (__ASSUME_EVENTFD2): Likewise.
10887 (__ASSUME_SIGNALFD4): Likewise.
10888 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10889 (__ASSUME_O_CLOEXEC): Likewise.
10890 (__ASSUME_SOCK_CLOEXEC): Likewise.
10891 (__ASSUME_IN_NONBLOCK): Likewise.
10892 (__ASSUME_PIPE2): Likewise.
10893 (__ASSUME_EVENTFD2): Likewise.
10894 (__ASSUME_SIGNALFD4): Likewise.
10895 (__ASSUME_DUP3): Likewise.
10896 (__ASSUME_UTIMES): Undefine.
10898 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10899 feclearexcept. Remove symbol versioning code.
10900 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10901 symbol versioning code.
10902 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10903 symbol versioning code.
10904 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10905 feupdateenv. Remove symbol versioning code.
10906 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10907 fegetexceptflag. Remove symbol versioning code.
10908 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10909 fesetexceptflag. Remove symbol versioning code.
10910 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10911 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10912 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10913 (__posix_fadvise64_l32): Remove prototype.
10914 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10917 2014-05-13 Roland McGrath <roland@hack.frob.com>
10919 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10920 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10921 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10922 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10924 2014-05-13 Sami Kerola <kerolasa@iki.fi>
10926 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10927 current working directory
10929 2014-05-13 Roland McGrath <roland@hack.frob.com>
10931 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10932 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10933 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10934 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10935 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10936 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10937 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10938 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10939 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10940 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10941 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10942 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10943 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10944 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10945 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10946 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10947 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10948 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10949 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10950 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10951 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10952 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10953 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10954 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10955 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10956 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10957 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10958 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10959 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10960 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10961 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10962 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10963 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10964 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10965 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10966 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10967 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10968 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10969 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10970 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10971 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10972 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10974 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10975 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10977 * sysdeps/unix/sysv/linux/arm/Makefile
10978 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10979 Add rt-aeabi_unwind_cpp_pr1.
10980 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10981 Add nptl-aeabi_unwind_cpp_pr1.
10982 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10983 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10984 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10985 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10986 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10987 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10989 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10990 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10991 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10992 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10994 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10995 Deconditionalize the code that was previously under [RESET_PID].
10996 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10998 * sysdeps/generic/exit-thread.h: New file.
10999 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11000 * include/unistd.h (__exit_thread): Remove declaration.
11001 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11002 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11003 * csu/libc-start.c: Include <exit-thread.h>.
11004 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11005 * nptl/pthread_create.c: Include <exit-thread.h>.
11006 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11007 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11008 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11009 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11010 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11011 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11012 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11013 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11014 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11015 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11016 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11017 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11018 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11019 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11020 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11021 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11022 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11024 2014-05-13 Andreas Schwab <schwab@suse.de>
11026 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11028 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11030 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11031 (__ASSUME_UTIMES): Do not condition on kernel version.
11032 (__ASSUME_PSELECT): Define unconditionally.
11033 (__ASSUME_PPOLL): Likewise.
11034 (__ASSUME_ATFCTS): Likewise.
11035 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11036 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11037 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11038 (__ASSUME_UTIMENSAT): Define unconditionally.
11039 (__ASSUME_PRIVATE_FUTEX): Likewise.
11040 (__ASSUME_FALLOCATE): Likewise.
11041 (__ASSUME_O_CLOEXEC): Likewise.
11042 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11043 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11044 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11045 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11046 (__ASSUME_IN_NONBLOCK): Likewise.
11047 (__ASSUME_PIPE2): Likewise.
11048 (__ASSUME_EVENTFD2): Likewise.
11049 (__ASSUME_SIGNALFD4): Likewise.
11050 (__ASSUME_DUP3): Likewise.
11051 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11052 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11053 (__ASSUME_AT_RANDOM): Likewise.
11054 (__ASSUME_PREADV): Likewise.
11055 (__ASSUME_PWRITEV): Likewise.
11056 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11057 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11058 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11059 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11060 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11061 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11062 (__ASSUME_O_CLOEXEC): Define unconditionally.
11063 (__ASSUME_PSELECT): Do not undefine conditionally.
11064 (__ASSUME_PPOLL): Likewise.
11065 (__ASSUME_ATFCTS): Likewise.
11066 (__ASSUME_SET_ROBUST_LIST): Likewise.
11067 (__ASSUME_UTIMENSAT): Likewise.
11068 (__ASSUME_FDATASYNC): Define unconditionally.
11069 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11070 (__ASSUME_SIGFRAME_V2): Likewise.
11071 )__ASSUME_EVENTFD2): Likewise.
11072 (__ASSUME_SIGNALFD4): Likewise.
11073 (__ASSUME_PSELECT): Do not undefine conditionally.
11074 (__ASSUME_PPOLL): Likewise.
11075 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11076 (__ASSUME_PSELECT): Define unconditionally.
11077 (__ASSUME_PPOLL): Likewise.
11078 (__ASSUME_O_CLOEXEC): Likewise.
11079 (__ASSUME_SOCK_CLOEXEC): Likewise.
11080 (__ASSUME_IN_NONBLOCK): Likewise.
11081 (__ASSUME_PIPE2): Likewise.
11082 (__ASSUME_EVENTFD2): Likewise.
11083 (__ASSUME_SIGNALFD4): Likewise.
11084 (__ASSUME_DUP3): Likewise.
11085 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11086 (__ASSUME_O_CLOEXEC): Likewise.
11087 (__ASSUME_SOCK_CLOEXEC): Likewise.
11088 (__ASSUME_IN_NONBLOCK): Likewise.
11089 (__ASSUME_PIPE2): Likewise.
11090 (__ASSUME_EVENTFD2): Likewise.
11091 (__ASSUME_SIGNALFD4): Likewise.
11092 (__ASSUME_DUP3): Likewise.
11093 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11094 (__ASSUME_EVENTFD2): Likewise.
11095 (__ASSUME_SIGNALFD4): Likewise.
11096 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11098 2014-05-12 Andreas Schwab <schwab@suse.de>
11101 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11102 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11103 than maximum RPC packet size.
11104 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11105 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11106 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11107 (_nss_nis_getservbyport_r): Likewise.
11109 2014-05-12 Will Newton <will.newton@linaro.org>
11111 * malloc/Makefile (tests): Add tst-mallopt.
11112 * malloc/tst-mallopt.c: New file.
11114 2014-05-09 Roland McGrath <roland@hack.frob.com>
11116 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11117 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11119 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11121 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11122 (tst-tlsmod6.so): Likewise.
11124 2014-05-09 Roland McGrath <roland@hack.frob.com>
11126 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11128 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11131 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11132 and <dl-procinfo.h>.
11133 (__fegetenv): Save SSE state in envp->__eip if supported.
11134 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11135 envp->__eip if supported.
11136 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11137 and <dl-procinfo.h>.
11138 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11139 __data_offset and __data_selector in environment to 0. Set SSE
11140 state if supported.
11141 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11143 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11145 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11147 2014-05-09 Will Newton <will.newton@linaro.org>
11149 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11150 and libc_relro_required for ARM.
11151 * sysdeps/arm/preconfigure: Regenerate.
11153 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11154 Stefan Liebler <stli@linux.vnet.ibm.com>
11156 * config.make.in (enable-lock-elision): New Makefile variable.
11157 * configure.ac: Likewise.
11158 * configure: Regenerate.
11159 * sysdeps/s390/configure.ac:
11160 Add check for gcc transactions support.
11161 * sysdeps/s390/configure: Regenerate.
11162 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11163 Build elision files if enabled.
11164 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11165 Add lock elision support for s390.
11166 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11167 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11168 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11169 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11170 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11171 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11172 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11174 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11176 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11178 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11180 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11181 (__lll_timedlock_elision, __lll_lock_elision)
11182 (__lll_unlock_elision, __lll_trylock_elision)
11183 (lll_timedlock_elision, lll_lock_elision)
11184 (lll_unlock_elision, lll_trylock_elision): Add.
11185 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11186 (pthread_mutex_t): Add lock elision support for s390.
11188 2014-05-14 Wilco <wdijkstr@arm.com>
11190 * sysdeps/arm/fclrexcpt.c: Cleanup.
11191 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11192 * sysdeps/arm/feenablxcpt.c: Cleanup.
11193 * sysdeps/arm/fegetenv.c: Cleanup.
11194 * sysdeps/arm/fegetexcept.c: Cleanup.
11195 * sysdeps/arm/fegetround.c: Cleanup.
11196 * sysdeps/arm/feholdexcpt.c: Cleanup.
11197 * sysdeps/arm/fesetenv.c: Cleanup.
11198 * sysdeps/arm/fesetround.c: Cleanup.
11199 * sysdeps/arm/feupdateenv.c: Cleanup.
11200 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11201 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11202 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11203 * sysdeps/arm/ftestexcept.c: Cleanup.
11204 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11205 * sysdeps/arm/setfpucw.c: Cleanup.
11207 2014-05-09 Will Newton <will.newton@linaro.org>
11209 * sysdeps/arm/armv7/strcmp.S: New file.
11210 * NEWS: Mention addition of ARMv7 optimized strcmp.
11212 2014-05-08 Roland McGrath <roland@hack.frob.com>
11214 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11215 look for %.ac rather than %.in.
11217 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11218 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11219 * sysdeps/mach/hurd/configure: Regenerated.
11220 * sysdeps/unix/sysv/linux/configure: Regenerated.
11222 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11224 2014-05-07 Steve Ellcey <sellcey@mips.com>
11227 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11231 2014-05-07 Andreas Schwab <schwab@suse.de>
11233 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11234 when skipping over non-matching result from nscd.
11236 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
11239 * nptl/sockperf.c (client): Check socket return value.
11242 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11243 nscd security class.
11245 2014-05-06 Roland McGrath <roland@hack.frob.com>
11247 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11248 * sysdeps/arm/unwind.h: ... here.
11250 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11253 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11256 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11258 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11259 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11260 multiarch strncpy for PPC64.
11261 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11262 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11263 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11264 multiarch optimizations.
11265 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11266 (__libc_ifunc_impl_list): Likewise.
11267 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11268 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11269 multiarch stpncpy for PPC64.
11270 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11271 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11273 2014-05-06 Andreas Schwab <schwab@suse.de>
11276 * gmon/mcount.c (_MCOUNT_DECL): Use
11277 atomic_compare_and_exchange_bool_acq instead of
11278 catomic_compare_and_exchange_bool_acq.
11280 2014-05-05 Roland McGrath <roland@hack.frob.com>
11282 * elf/Makefile (others, install-bin): Remove pldd.
11283 (pldd-modules): Variable removed.
11284 ($(objpfx)pldd): Target removed.
11285 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11286 (others, install-bin): Append pldd here.
11287 ($(objpfx)pldd): New target.
11289 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11290 to 0, so the first #if test emitted later doesn't see it undefined.
11291 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11292 * sysdeps/gnu/errlist.c: Regenerated.
11294 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11296 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11297 [libc_hidden_builtin_def]: Define to empty value.
11298 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11299 [libc_hidden_builtin_def]: Likewise.
11300 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11301 [libc_hidden_builtin_def]: Likewise.
11302 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11303 [libc_hidden_builtin_def]: Likewise.
11304 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11305 __redirect_memcpy and define ifunc as default hidden symbol.
11306 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11307 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11309 2014-05-04 Adam Conrad <adconrad@0c3.net>
11311 * locale/iso-4217.def: Reintroduce XDR currency.
11313 2014-05-04 Allan McRae <allan@archlinux.org>
11315 * po/eo.po: Update Esperanto translation from translation project.
11317 2014-05-02 Carlos O'Donell <carlos@redhat.com>
11319 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11320 and FEATURE_INDEX_MAX to 1.
11321 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11323 2014-05-01 Steve Ellcey <sellcey@mips.com>
11325 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11326 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11327 * iconvdata/big5.c (ONE_DIRECTION): Define.
11328 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11329 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11330 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11331 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11332 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11333 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11334 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11335 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11336 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11337 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11338 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11339 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11340 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11341 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11342 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11343 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11344 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11345 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11346 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11347 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11348 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11349 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11350 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11351 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11352 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11353 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11354 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11355 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11356 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11357 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11358 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11359 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11360 * iconvdata/johab.c (ONE_DIRECTION): Define.
11361 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11362 * iconvdata/sjis.c (ONE_DIRECTION): Define.
11363 * iconvdata/t.61.c (ONE_DIRECTION): Define.
11364 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11365 * iconvdata/tscii.c (ONE_DIRECTION): Define.
11366 * iconvdata/uhc.c (ONE_DIRECTION): Define.
11367 * iconvdata/unicode.c (ONE_DIRECTION): Define.
11368 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11369 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11370 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11372 2014-05-01 Roland McGrath <roland@hack.frob.com>
11374 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11375 (_IO_JUMPS_OFFSET): Define to 0.
11377 * nptl/sysdeps/pthread/bits/libc-lock.h
11378 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11379 (__libc_lock_define_initialized_recursive): Always define using
11380 initializer. Modern compilers treat uninitialized (implicit zero) and
11381 explicit zero initializers the same (i.e. put the datum in bss).
11383 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11385 * nscd/nscd-client.h: Include <string.h>.
11387 2014-05-01 David S. Miller <davem@davemloft.net>
11390 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11391 multiple zero bytes exist at the end of a string.
11392 Reported by Aurelien Jarno <aurelien@aurel32.net>
11394 * string/test-strcmp.c (check): Add explicit test for situations where
11395 there are multiple zero bytes after the first.
11397 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11400 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11401 when compiling wprintf.
11402 * stdio-common/tstdiomisc.c (t3): New function.
11405 2014-05-01 Steve Ellcey <sellcey@mips.com>
11407 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11408 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11409 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11410 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11412 2014-05-01 Steve Ellcey <sellcey@mips.com>
11414 * stdlib/longlong.h: Updated from GCC.
11416 2014-05-01 Will Newton <will.newton@linaro.org>
11417 Bernard Ogden <bernie.ogden@linaro.org>
11419 * NEWS: Update fixed bug list.
11422 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11424 2014-04-30 David S. Miller <davem@davemloft.net>
11426 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11427 (libc_feholdexcept_setround_sparc_ctx): New function.
11428 (libc_fesetenv_sparc_ctx): Likewise.
11429 (libc_feupdateenv_sparc_ctx): Likewise.
11430 (libc_feholdsetround_sparc_ctx): Likewise.
11431 (libc_feholdexcept_setround_ctx): Define.
11432 (libc_feholdexcept_setroundf_ctx): Likewise.
11433 (libc_feholdexcept_setroundl_ctx): Likewise.
11434 (libc_fesetenv_ctx): Likewise.
11435 (libc_fesetenvf_ctx): Likewise.
11436 (libc_fesetenvl_ctx): Likewise.
11437 (libc_feupdateenv_ctx): Likewise.
11438 (libc_feupdateenvf_ctx): Likewise.
11439 (libc_feupdateenvl_ctx): Likewise.
11440 (libc_feresetround_ctx): Likewise.
11441 (libc_feresetroundf_ctx): Likewise.
11442 (libc_feresetroundl_ctx): Likewise.
11443 (libc_feholdsetround_ctx): Likewise.
11444 (libc_feholdsetroundf_ctx): Likewise.
11445 (libc_feholdsetroundl_ctx): Likewise.
11447 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11448 with __USE_GNU instead of XOPEN cpp guards.
11450 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11453 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11454 with XOPEN cpp guards.
11456 2014-04-30 Julian Brown <julian@codesourcery.com>
11459 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11462 2014-04-30 Joseph Myers <joseph@codesourcery.com>
11465 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11467 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11468 * sysdeps/unix/sysv/linux/configure: Regenerated.
11469 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11470 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11471 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11472 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11473 * README: Update reference to required Linux kernel version.
11474 * manual/install.texi (Linux): Update reference to required Linux
11475 kernel headers version.
11476 * INSTALL: Regenerated.
11478 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11480 [POSIX] (limits.h): Likewise.
11481 [POSIX] (math.h): Likewise.
11482 [POSIX] (sys/wait.h): Likewise.
11483 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11485 [POSIX] (stddef.h): Do not allow header inclusion.
11487 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11489 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11491 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
11493 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11494 Return immediately after lll_futex_wake.
11496 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11499 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11501 (datahead_init_pos): Call datahead_init_common early.
11502 (datahead_init_neg): Likewise.
11504 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11505 datahead_init_neg): New functions.
11506 * nscd/aicache.c (addhstaiX): Use them.
11507 * nscd/grpcache.c (cache_addgr): Likewise.
11508 * nscd/hstcache.c (cache_addhst): Likewise.
11509 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11510 * nscd/netgroupcache.c (do_notfound): Likewise.
11511 (addgetnetgrentX): Likewise.
11512 (addinnetgrX): Likewise.
11513 * nscd/pwdcache.c (cache_addpw): Likewise.
11514 * nscd/servicescache.c (cache_addserv): Likewise.
11516 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11517 Atsushi Onoe <atsushi@onoe.org>
11522 * resolv/res_query.c (__libc_res_nsearch): Return if at least
11523 one response is valid.
11524 * resolv/res_send.c (send_dg): Check for validity of other
11525 response if the current response is a referral.
11527 2014-04-29 Steve Ellcey <sellcey@mips.com>
11529 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11531 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11534 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11535 Always divide by positive zero when computing -Inf result.
11536 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11537 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11539 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11541 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11542 FPSCR if value do not change.
11543 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11544 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11545 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11546 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11547 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11548 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11551 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11553 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11554 * sysdeps/unix/sysv/linux/hppa: Move directory from
11555 ports/systeps/unix/sysv/linux/hppa.
11556 * README: Update listing for hppa-*-linux-gnu.
11558 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
11561 * manual/stdio.texi (Hook functions): Fix types of stream hook
11564 * socket/sys/socket.h: Fix typo in comment.
11566 2014-04-28 Wilco <wdijkstr@arm.com>
11568 * sysdeps/arm/fenv_private.h: New file.
11569 * sysdeps/arm/math_private.h: New file.
11570 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11572 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11574 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11576 (La_x86_64_retval): Likewise.
11578 2014-04-24 Ian Bolton <ian.bolton@arm.com>
11580 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11581 fpsr if value didn't change.
11582 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11583 to fpcr if value didn't change.
11584 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11585 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11586 fpsr or fpcr if value didn't change.
11587 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11588 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11589 fpcr if value didn't change.
11590 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11591 to fpsr if value didn't change.
11593 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11595 * nptl/tst-sem3.c: Use test-skeleton.c
11596 (main): Rename to do_test. Use return instead of
11598 * nptl/tst-sem4.c: Use test-skeleton.c
11599 (main): Rename to do_test.
11601 2014-04-22 David S. Miller <davem@davemloft.net>
11603 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11604 (struct sigaction): New struct member __glibc_reserved0, change
11605 type of sa_flags to int.
11607 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11609 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11610 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11612 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11614 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11615 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11617 2014-04-22 Will Newton <will.newton@linaro.org>
11618 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11620 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11621 (__longjmp): Add longjmp and longjmp_target SystemTap
11623 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11624 (__sigsetjmp): Add setjmp SystemTap probe.
11626 2014-04-17 Carlos O'Donell <carlos@redhat.com>
11628 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11629 match manual order.
11631 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11633 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11635 * sysdeps/powerpc/fpu/fenv_private.h
11636 (libc_feholdexcept_setroundl_ctx): Define to
11637 libc_feholdexcept_setround_ppc_ctx.
11638 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11639 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11640 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11641 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11643 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11645 * sysdeps/aarch64/math-tests.h: New file.
11647 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11649 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11652 Check and set bit_AVX2_Usable.
11653 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11655 (bit_AVX2): Likewise.
11656 (index_AVX2_Usable): Likewise.
11657 (CPUID_AVX2): Likewise.
11658 (HAS_AVX2): Likewise.
11660 2014-04-17 Will Newton <will.newton@linaro.org>
11662 * manual/setjmp.texi (System V contexts): Add note that
11663 calling setcontext on a context created by a call to a
11664 signal handler is undefined. Update text to note that
11665 setcontext from a signal handler is possible but not
11669 * stdlib/tst-setcontext.c: Include signal.h.
11670 (main): Check that the signal stack before and
11671 after swapcontext is the same.
11673 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11674 Re-implement to restore registers in user code and avoid
11675 rt_sigreturn system call.
11677 2014-04-17 Wilco <wdijkstr@arm.com>
11679 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11680 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11681 * math/test-fenv.c: Skip exception trap tests on targets which only
11682 support non-stop mode.
11684 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11685 Wilco Dijkstra <wilco.dijkstra@arm.com>
11687 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11688 (libc_feholdsetround_aarch64_ctx)
11689 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11690 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11691 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11692 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11693 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11694 (libc_feresetround_noexl_ctx): Define.
11696 2014-04-16 Richard Henderson <rth@redhat.com>
11698 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11700 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11703 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11704 const from the non-libc, non-ldso copy.
11706 * sysdeps/alpha/libm-test-ulps: Regenerate.
11708 2014-04-16 Ian Bolton <ian.bolton@arm.com>
11709 Wilco Dijkstra <wilco.dijkstra@arm.com>
11711 * sysdeps/aarch64/fpu/math_private.h: New file.
11713 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11715 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11717 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11720 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11721 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11722 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11723 Intel MPX bound registers before _dl_profile_fixup.
11724 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11725 registers after _dl_profile_fixup. Save and restore bound
11726 registers bnd0/bnd1 when calling _dl_call_pltexit.
11727 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11728 (LR_BND_OFFSET): Likewise.
11729 (LRV_BND0_OFFSET): Likewise.
11730 (LRV_BND1_OFFSET): Likewise.
11732 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11734 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11736 * sysdeps/mach/hurd/i386/tls.h: ... here.
11737 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11738 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11741 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11743 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11745 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11747 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11749 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11752 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11753 * sysdeps/s390/configure: Regenerate.
11756 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11757 Set round-to-nearest internally to reduce error accumulation.
11759 2014-04-16 Alan Modra <amodra@gmail.com>
11763 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11764 * math/libm-test.inc (frexp_test_data): Add tests.
11765 * NEWS: Update fixed bug list.
11767 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11769 * benchtests/Makefile: Depend on libraries in build directory.
11770 (bench-math): Separate out math tests.
11771 (bench-pthread): Separate out pthread tests.
11772 (bench): Include math and pthread tests.
11774 2014-04-14 Carlos O'Donell <carlos@redhat.com>
11777 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11778 _dl_debug_initialize.
11780 * configure.ac: Remove SELinux header check.
11781 * configure: Regenerate.
11782 * nscd/selinux.c (perms): Array of const char* to permission names.
11783 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11784 default policy. Call string_to_security_class and string_to_av_perm to
11785 translate strings. Enforce default policy and call avs_has_perm with
11786 results of translated strings.
11788 2014-04-13 David S. Miller <davem@davemloft.net>
11790 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11792 2014-04-12 Allan McRae <allan@archlinux.org>
11795 * manual/string.texi (Collation Functions): Fix qsort argument
11797 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11799 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11801 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11802 Make the test a no-op if there are no exceptions defined.
11804 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11806 * elf/Makefile (tests): make tst-dlopen-aout conditional on
11807 enable-hardcoded-path-in-tests
11809 2014-04-11 Will Newton <will.newton@linaro.org>
11811 * benchtests/Makefile (extra-objs): Add json-lib.o.
11812 (bench-func): Tidy up JSON output.
11813 * benchtests/bench-skeleton.c: Include json-lib.h.
11814 (main): Use JSON library functions to do output of
11816 * benchtests/bench-timing-type.c (main): Output the
11817 timing type simply, leaving formatting to the user.
11818 * benchtests/json-lib.c: New file.
11819 * benchtests/json-lib.h: Likewise.
11821 2014-04-11 Torvald Riegel <triegel@redhat.com>
11824 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11825 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11826 memory barriers. Add comments.
11827 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11828 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11829 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11830 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11831 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11832 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11834 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11836 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11837 * sysdeps/s390/s390-64/configure.ac: ... this ...
11838 * sysdeps/s390/configure.ac: ... to here.
11839 * sysdeps/s390/s390-32/configure: Delete file.
11840 * sysdeps/s390/s390-64/configure: Delete file.
11841 * sysdeps/s390/configure: Regenerate.
11843 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11845 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11847 2014-04-11 Will Newton <will.newton@linaro.org>
11849 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11850 to zero if it is not defined elsewhere. (mtrim): Test
11851 the value of MALLOC_DEBUG with #if rather than #ifdef.
11853 2014-04-10 Torvald Riegel <triegel@redhat.com>
11855 * benchtests/pthread_once-inputs: New file.
11856 * benchtests/pthread_once-source.c: New file.
11857 * benchtests/README: Update documentation.
11859 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11860 H.J. Lu <hongjiu.lu@intel.com>
11863 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11864 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11865 * sysdeps/x86_64/configure: Regenerated.
11866 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11868 (REGISTER_SAVE_RAX): Likewise.
11869 (REGISTER_SAVE_RCX): Likewise.
11870 (REGISTER_SAVE_RDX): Likewise.
11871 (REGISTER_SAVE_RSI): Likewise.
11872 (REGISTER_SAVE_RDI): Likewise.
11873 (REGISTER_SAVE_R8): Likewise.
11874 (REGISTER_SAVE_R9): Likewise.
11875 (REGISTER_SAVE_BND0): Likewise.
11876 (REGISTER_SAVE_BND1): Likewise.
11877 (REGISTER_SAVE_BND2): Likewise.
11878 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11879 bound registers when calling _dl_fixup.
11881 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11883 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11884 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11886 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11887 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11888 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11889 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11890 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11891 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11892 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11894 2014-04-09 Peter Brett <peter@peter-b.co.uk>
11897 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11898 pathconf(_PC_NAME_MAX).
11900 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11902 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11903 Remove macro usage.
11904 (__PTHREAD_SPINS): Move definition to ...
11905 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11906 (__PTHREAD_SPINS): ... here.
11907 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11908 (__PTHREAD_SPIN): Likewise.
11909 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11910 (__PTHREAD_SPIN): Likewise.
11911 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11912 (__PTHREAD_SPIN): Likewise.
11913 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11914 (__PTHREAD_SPIN): Likewise.
11915 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11916 (__PTHREAD_SPIN): Likewise.
11917 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11918 (__PTHREAD_SPIN): Likewise.
11919 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11920 (__PTHREAD_SPIN): Likewise.
11921 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11922 (__PTHREAD_SPIN): Likewise.
11923 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11924 (__PTHREAD_SPIN): Likewise.
11925 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11926 (__PTHREAD_SPIN): Likewise.
11927 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11928 (__PTHREAD_SPIN): Likewise.
11929 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11930 (__PTHREAD_SPIN): Likewise.
11932 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11933 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11934 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11935 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11937 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11938 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11939 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11940 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11941 correct imply path.
11942 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11943 strlen symbol for non multi-arch builds.
11944 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11945 missing hidden_def and weak_alias.
11947 2014-04-08 Carlos O'Donell <carlos@redhat.com>
11949 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11951 2014-04-07 Will Newton <will.newton@linaro.org>
11953 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11954 and contents. [!_LIBC] Remove #ifndef and contents.
11955 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11956 * string/memccpy.c (__memccpy): Use ANSI prototype.
11957 * string/memfrob.c (memfrob): Likewise.
11958 * string/strcoll.c (STRCOLL): Likewise.
11959 * string/strlen.c (strlen): Likewise.
11960 * string/strtok.c (STRTOK): Likewise.
11961 * string/strcat.c: Remove unused #include of memcopy.h.
11962 (strcat): Use ANSI prototype.
11963 * string/strchr.c: Remove unused #include of memcopy.h.
11964 (strchr): Use ANSI prototype.
11965 * string/strcmp.c: Remove unused #include of memcopy.h.
11966 (strcmp): Use ANSI prototype.
11967 * string/strcpy.c: Remove unused #include of memcopy.h.
11968 (strcpy): Use ANSI prototype.
11970 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11972 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11973 * config.make.in (config-extra-cppflags): Set it from
11974 libc_extra_cppflags.
11975 * configure.ac (libc_extra_cflags): Make it accumulate over
11976 configure fragments.
11977 (libc_extra_cppflags): New flag.
11978 * configure. Regenerate.
11979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11980 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11981 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11985 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11986 result for FE_DOWNWARD rounding mode.
11987 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11989 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11991 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
11993 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11994 in function argument name.
11996 2014-04-03 David Svoboda <svoboda@cert.org>
11999 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12002 2014-04-03 Roland McGrath <roland@hack.frob.com>
12004 * elf/dl-unmap-segments.h: New file.
12005 * sysdeps/generic/ldsodefs.h
12006 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12007 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12008 * elf/dl-fptr.c: Likewise.
12009 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12010 * sysdeps/aarch64/tlsdesc.c: Likewise.
12011 * sysdeps/arm/tlsdesc.c: Likewise.
12012 * sysdeps/i386/tlsdesc.c: Likewise.
12013 * sysdeps/tile/dl-runtime.c: Likewise.
12014 * sysdeps/x86_64/tlsdesc.c: Likewise.
12015 * elf/dl-load.h: New file.
12016 * elf/dl-load.c: Include it.
12017 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12018 Macros moved to dl-load.h.
12019 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12020 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12021 Use _dl_unmap_segments in place of __munmap.
12022 Break out segment-mapping loop into ...
12023 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12025 2014-04-03 Will Newton <will.newton@linaro.org>
12027 * elf/dl-lookup.c (do_lookup_x): Remove comment
12028 referring to nested function and move variable
12029 declarations down to before first use.
12031 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12035 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12037 * math/s_catanf.c (__catanf): Likewise.
12038 * math/s_catanh.c (__catanh): Likewise.
12039 * math/s_catanhf.c (__catanhf): Likewise.
12040 * math/s_catanhl.c (__catanhl): Likewise.
12041 * math/s_catanl.c (__catanl): Likewise.
12042 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12043 by positive zero when computing -Inf result.
12044 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12045 (catanh_test): Likewise.
12046 * sysdeps/i386/fpu/libm-test-ulps: Update.
12047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12050 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12051 instead of using underflowing value in computing result.
12052 * math/s_clog10.c (__clog10): Likewise.
12053 * math/s_clog10f.c (__clog10f): Likewise.
12054 * math/s_clog10l.c (__clog10l): Likewise.
12055 * math/s_clogf.c (__clogf): Likewise.
12056 * math/s_clogl.c (__clogl): Likewise.
12057 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12058 (clog10_test): Likewise.
12059 * sysdeps/i386/fpu/libm-test-ulps: Update.
12060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12062 2014-04-02 Alan Modra <amodra@gmail.com>
12065 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12066 output when value is near a power of two. Use int64_t for lx and
12067 remove casts. Use decimal rather than hex exponent constants.
12068 Don't use long double multiplication when double will suffice.
12069 * math/libm-test.inc (nextafter_test_data): Add tests.
12070 * NEWS: Add 16739 and 16786 to bug list.
12072 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12074 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12076 2014-04-01 Will Newton <will.newton@linaro.org>
12078 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12079 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12081 2014-04-01 Florian Weimer <fweimer@redhat.com>
12084 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12085 * nptl/tst-setuid2.c: New file.
12086 * nptl/Makefile (xtests): Add tst-setuid2.
12088 2014-04-01 Alan Modra <amodra@gmail.com>
12091 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12093 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12097 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12098 set errno as appropriate.
12099 * math/w_scalbf.c (__scalbf): Likewise.
12100 * math/w_scalbl.c (__scalbl): Likewise.
12101 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12102 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12103 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12104 Add more NaN tests.
12107 * math/w_atan2.c: Include <errno.h>.
12108 (__atan2): Set errno for result underflowing to zero.
12109 * math/w_atan2f.c: Include <errno.h>.
12110 (__atan2f): Set errno for result underflowing to zero.
12111 * math/w_atan2l.c: Include <errno.h>.
12112 (__atan2l): Set errno for result underflowing to zero.
12113 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12115 * math/auto-libm-test-out: Regenerated.
12117 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12119 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12120 Encode instruction correctly in little endian.
12121 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12123 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12125 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12127 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12130 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12133 * sysdeps/unix/sysv/linux/kernel-features.h
12134 [__sparc__ && !__arch64__ && !__sparc_v9__]
12135 (__ASSUME_SET_ROBUST_LIST): Do not define.
12136 [__sparc__ && !__arch64__ && !__sparc_v9__]
12137 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12138 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12140 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12141 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12142 (__ASSUME_REQUEUE_PI): Likewise.
12143 (__ASSUME_SET_ROBUST_LIST): Likewise.
12144 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12145 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12147 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12148 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12150 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12152 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12154 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12155 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12157 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12158 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12162 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12163 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12164 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12166 2014-03-31 Will Newton <will.newton@linaro.org>
12168 * benchtests/Makefile (bench): Add ffs and ffsll to list
12170 * benchtests/ffs-inputs: New file.
12171 * benchtests/ffsll-inputs: Likewise.
12173 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12176 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12177 too large before casting to int.
12178 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12179 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12180 * math/libm-test.inc (scalb_test_data): Add more tests.
12182 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12184 * benchtests/Makefile (DETAILED_OPT): New make option.
12185 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12187 * benchtests/bench-skeleton.c: Include stdbool.h.
12188 (main): Store and print timings per input.
12189 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12190 member to each argument value.
12191 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12192 (_print_arg_data): Initialize per-input timing to 0.
12194 * benchtests/Makefile (timing-type): New binary.
12195 (bench-clean): Also remove bench-timing-type.
12196 (bench): New target for timing-type.
12197 (bench-func): Print output in JSON format.
12198 * benchtests/bench-skeleton.c (main): Print output in JSON
12200 * benchtests/bench-timing-type.c: New file.
12201 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12202 (TIMING_PRINT_STATS): Remove.
12203 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12206 * benchtests/bench-modf.c: Remove.
12207 * benchtests/modf-inputs: New inputs file.
12209 2014-03-28 Joseph Myers <joseph@codesourcery.com>
12212 * math/s_clog10.c (M_PI_LOG10E): New macro.
12213 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12214 imaginary parts are 0.
12215 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12216 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12217 imaginary parts are 0.
12218 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12219 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12220 imaginary parts are 0.
12221 * math/libm-test.inc (clog10_test_data): Update expected results
12222 for when real and imaginary parts are 0.
12224 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12226 * elf/dl-load.c: Finish conversion of __builtin_expect into
12227 __glibc_{un}likely.
12229 2014-03-27 Joseph Myers <joseph@codesourcery.com>
12232 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12233 1+x for argument with exponent below -67.
12234 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12236 * math/auto-libm-test-in: Add more tests of exp.
12237 * math/auto-libm-test-out: Regenerated.
12239 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12242 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12243 (nscd_getnetgrent): Use it.
12246 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12249 2014-03-27 Andi Kleen <ak@linux.intel.com>
12251 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12252 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12253 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12254 (lll_robust_unlock): Remove out of line section. Use cfi
12256 (LLL_STUB_UNWIND_INFO*): Remove.
12257 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12258 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12259 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12260 (lll_robust_unlock): Remove out of line section. Use cfi
12262 (LLL_STUB_UNWIND_INFO*): Remove.
12264 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12267 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12270 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12272 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12274 2014-03-26 Joseph Myers <joseph@codesourcery.com>
12277 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12279 * math/test-fenv-preserve.c: New file.
12280 * math/Makefile (tests): Add test-fenv-preserve.
12282 2014-03-26 Will Newton <will.newton@linaro.org>
12284 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12286 2014-03-25 Roland McGrath <roland@hack.frob.com>
12288 * scripts/versionlist.awk: Partition the version sets and emit all
12289 GLIBC_* (sorted) before all others (sorted).
12291 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12293 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12294 GLIBC_2.2.5 version.
12296 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12298 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12301 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12304 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12306 2014-03-25 Andreas Schwab <schwab@suse.de>
12308 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12309 label to be used after in6ailist is initialized.
12311 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12313 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12314 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12316 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12320 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12322 (fp_formats): Update initializers.
12323 (init_fp_formats): Initialize new field.
12324 (output_for_one_input_case): Allow underflow for results up to
12326 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12327 * math/auto-libm-test-in: Don't mark some underflows from asin and
12329 * math/auto-libm-test-out: Regenerated.
12330 * sysdeps/i386/fpu/libm-test-ulps: Update.
12331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12333 2014-03-25 Andreas Schwab <schwab@suse.de>
12335 * libio/Makefile (tst-ftell-partial-wide-ENV)
12336 (tst-ftell-active-handler-ENV): Define.
12338 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12340 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12342 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12344 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12346 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12348 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12349 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12350 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12352 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12355 * elf/dl-load.c (open_verify): Add mode parameter.
12356 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12357 (open_path): Change from boolean 'secure' to complete flag 'mode'
12358 (_dl_map_object): Adjust.
12359 * elf/Makefile (tests): Add tst-dlopen-aout.
12360 * elf/tst-dlopen-aout.c: New test.
12362 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12365 * sysdeps/unix/sysv/linux/s390/bits/stat.h
12366 (struct stat): Rename member pad0 to __glibc_reserved0.
12369 * sysdeps/s390/s390-32/bits/wordsize.h
12370 (__WORDSIZE32_SIZE_ULONG): New define.
12371 * sysdeps/s390/s390-64/bits/wordsize.h
12372 (__WORDSIZE32_SIZE_ULONG): Likewise.
12373 * sysdeps/generic/stdint.h (SIZE_MAX):
12374 Define as UL if __WORDSIZE32_SIZE_ULONG.
12377 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12378 (__glibc_reserved0): New variable.
12379 (sa_flags): Change type to int.
12381 * posix/Makefile (before-compile): Use += before-compile instead
12384 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12385 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12387 2014-03-20 Andreas Schwab <schwab@suse.de>
12390 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12391 non-matching result from nscd.
12393 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12395 * scripts/bench.py: Moved to ...
12396 * benchtests/scripts/bench.py: ... here.
12397 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12399 2014-03-24 Andreas Schwab <schwab@suse.de>
12402 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12403 alloca_account and account alloca use for struct in6ailist.
12405 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12408 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12409 rounding mode to recompute results that overflow to infinity or
12411 * math/auto-libm-test-in: Don't mark tests as expected to fail for
12413 * math/auto-libm-test-out: Regenerated.
12414 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12415 (ccosh_test): Likewise.
12416 (csin_test_data): Use plus_oflow.
12417 (csin_test): Use ALL_RM_TEST.
12418 (csinh_test_data): Use plus_oflow.
12419 (csinh_test): Use ALL_RM_TEST.
12420 * sysdeps/i386/fpu/libm-test-ulps: Update.
12421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12423 2014-03-21 Joseph Myers <joseph@codesourcery.com>
12425 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12426 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12427 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12430 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12431 when x - 1 is zero.
12432 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12433 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12434 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12435 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12437 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12438 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12440 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12441 * sysdeps/i386/fpu/libm-test-ulps: Update.
12442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12444 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12446 * scripts/bench.pl: Remove file.
12447 * scripts/bench.py: New benchmark script.
12448 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12449 * benchtests/README: Mention python dependency.
12450 * scripts/pylintrc: New file.
12451 * scripts/pylint: New file.
12453 * bits/mathdef.h: Use #ifdef instead of #if.
12454 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12455 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12456 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12457 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12458 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12459 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12461 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12462 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12464 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12465 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12466 and strpbrk-ppc64 objects.
12467 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12468 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12469 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12470 multiarch strpbrk for POWER7.
12471 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12472 multiarch strpbrk for PPC64.
12473 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12475 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12476 strpbrk for POWER7.
12478 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12480 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12481 (atan_test): Likewise.
12482 (atanh_test_data): Use NO_TEST_INLINE for two tests.
12483 (atanh_test): Use ALL_RM_TEST.
12484 (atan2_test_data): Likewise.
12485 (cabs_test): Likewise.
12486 (cacosh_test): Likewise.
12487 (carg_test): Likewise.
12488 (casin_test): Likewise.
12489 (casinh_test): Likewise.
12490 (cbrt_test): Likewise.
12491 (csqrt_test): Likewise.
12492 (erf_test): Likewise.
12493 (erfc_test): Likewise.
12494 (pow10_test): Likewise.
12495 (exp2_test): Likewise.
12496 (hypot_test): Likewise.
12497 (j0_test): Likewise.
12498 (j1_test): Likewise.
12499 (lgamma_test): Likewise.
12500 (gamma_test): Likewise.
12501 (sincos_test): Likewise.
12502 (tanh_test): Likewise.
12503 (y0_test): Likewise.
12504 (y1_test): Likewise.
12505 * sysdeps/i386/fpu/libm-test-ulps: Update.
12506 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12508 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12510 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12511 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12512 and strcspn-ppc64 objects.
12513 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12514 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12515 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12516 multiarch strcspn for POWER7.
12517 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12518 multiarch strcspn for PPC64.
12519 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12521 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12522 strcspn for POWER7.
12524 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12526 * math/gen-libm-test.pl (generate_testfile): Expect only function
12527 name as argument to AUTO_TESTS_* and pass results for all rounding
12528 modes to parse_args.
12529 (parse_auto_input): Separate inputs of automatic tests from
12530 outputs before storing in %auto_tests.
12531 * math/libm-test.inc (acos_test_data): Update call to
12533 (acos_test): Use ALL_RM_TEST.
12534 (acos_tonearest_test_data): Remove.
12535 (acos_test_tonearest): Likewise.
12536 (acos_towardzero_test_data): Likewise.
12537 (acos_test_towardzero): Likewise.
12538 (acos_downward_test_data): Likewise.
12539 (acos_test_downward): Likewise.
12540 (acos_upward_test_data): Likewise.
12541 (acos_test_upward): Likewise.
12542 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12543 (asin_test_data): Likewise.
12544 (asin_test): Use ALL_RM_TEST.
12545 (asin_tonearest_test_data): Remove.
12546 (asin_test_tonearest): Likewise.
12547 (asin_towardzero_test_data): Likewise.
12548 (asin_test_towardzero): Likewise.
12549 (asin_downward_test_data): Likewise.
12550 (asin_test_downward): Likewise.
12551 (asin_upward_test_data): Likewise.
12552 (asin_test_upward): Likewise.
12553 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12554 (atan_test_data): Likewise.
12555 (atanh_test_data): Likewise.
12556 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12557 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12558 (carg_test_data): Likewise.
12559 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12560 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12561 (ccosh_test_data): Likewise.
12562 (cexp_test_data): Likewise.
12563 (clog_test_data): Likewise.
12564 (clog10_test_data): Likewise.
12565 (cos_test_data): Update call to AUTO_TESTS_f_f.
12566 (cos_test): Use ALL_RM_TEST.
12567 (cos_tonearest_test_data): Remove.
12568 (cos_test_tonearest): Likewise.
12569 (cos_towardzero_test_data): Likewise.
12570 (cos_test_towardzero): Likewise.
12571 (cos_downward_test_data): Likewise.
12572 (cos_test_downward): Likewise.
12573 (cos_upward_test_data): Likewise.
12574 (cos_test_upward): Likewise.
12575 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12576 (cosh_test): Use ALL_RM_TEST.
12577 (cosh_tonearest_test_data): Remove.
12578 (cosh_test_tonearest): Likewise.
12579 (cosh_towardzero_test_data): Likewise.
12580 (cosh_test_towardzero): Likewise.
12581 (cosh_downward_test_data): Likewise.
12582 (cosh_test_downward): Likewise.
12583 (cosh_upward_test_data): Likewise.
12584 (cosh_test_upward): Likewise.
12585 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12586 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12587 (ctan_test_data): Likewise.
12588 (ctan_test): Use ALL_RM_TEST.
12589 (ctan_tonearest_test_data): Remove.
12590 (ctan_test_tonearest): Likewise.
12591 (ctan_towardzero_test_data): Likewise.
12592 (ctan_test_towardzero): Likewise.
12593 (ctan_downward_test_data): Likewise.
12594 (ctan_test_downward): Likewise.
12595 (ctan_upward_test_data): Likewise.
12596 (ctan_test_upward): Likewise.
12597 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12598 (ctanh_test): Use ALL_RM_TEST.
12599 (ctanh_tonearest_test_data): Remove.
12600 (ctanh_test_tonearest): Likewise.
12601 (ctanh_towardzero_test_data): Likewise.
12602 (ctanh_test_towardzero): Likewise.
12603 (ctanh_downward_test_data): Likewise.
12604 (ctanh_test_downward): Likewise.
12605 (ctanh_upward_test_data): Likewise.
12606 (ctanh_test_upward): Likewise.
12607 (erf_test_data): Update call to AUTO_TESTS_f_f.
12608 (erfc_test_data): Likewise.
12609 (exp_test_data): Likewise.
12610 (exp_test): Use ALL_RM_TEST.
12611 (exp_tonearest_test_data): Remove.
12612 (exp_test_tonearest): Likewise.
12613 (exp_towardzero_test_data): Likewise.
12614 (exp_test_towardzero): Likewise.
12615 (exp_downward_test_data): Likewise.
12616 (exp_test_downward): Likewise.
12617 (exp_upward_test_data): Likewise.
12618 (exp_test_upward): Likewise.
12619 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12620 (exp10_test): Use ALL_RM_TEST.
12621 (exp10_tonearest_test_data): Remove.
12622 (exp10_test_tonearest): Likewise.
12623 (exp10_towardzero_test_data): Likewise.
12624 (exp10_test_towardzero): Likewise.
12625 (exp10_downward_test_data): Likewise.
12626 (exp10_test_downward): Likewise.
12627 (exp10_upward_test_data): Likewise.
12628 (exp10_test_upward): Likewise.
12629 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12630 (expm1_test_data): Likewise.
12631 (expm1_test): Use ALL_RM_TEST.
12632 (expm1_tonearest_test_data): Remove.
12633 (expm1_test_tonearest): Likewise.
12634 (expm1_towardzero_test_data): Likewise.
12635 (expm1_test_towardzero): Likewise.
12636 (expm1_downward_test_data): Likewise.
12637 (expm1_test_downward): Likewise.
12638 (expm1_upward_test_data): Likewise.
12639 (expm1_test_upward): Likewise.
12640 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12641 (fma_test): Use ALL_RM_TEST.
12642 (fma_towardzero_test_data): Remove.
12643 (fma_test_towardzero): Likewise.
12644 (fma_downward_test_data): Likewise.
12645 (fma_test_downward): Likewise.
12646 (fma_upward_test_data): Likewise.
12647 (fma_test_upward): Likewise.
12648 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12649 (j0_test_data): Update call to AUTO_TESTS_f_f.
12650 (j1_test_data): Likewise.
12651 (jn_test_data): Update call to AUTO_TESTS_if_f.
12652 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12653 (log_test_data): Update call to AUTO_TESTS_f_f.
12654 (log10_test_data): Likewise.
12655 (log1p_test_data): Likewise.
12656 (log2_test_data): Likewise.
12657 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12658 (pow_tonearest_test_data): Likewise.
12659 (sin_test_data): Update call to AUTO_TESTS_f_f.
12660 (sin_test): Use ALL_RM_TEST.
12661 (sin_tonearest_test_data): Remove.
12662 (sin_test_tonearest): Likewise.
12663 (sin_towardzero_test_data): Likewise.
12664 (sin_test_towardzero): Likewise.
12665 (sin_downward_test_data): Likewise.
12666 (sin_test_downward): Likewise.
12667 (sin_upward_test_data): Likewise.
12668 (sin_test_upward): Likewise.
12669 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12670 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12671 (sinh_test): Use ALL_RM_TEST.
12672 (sinh_tonearest_test_data): Remove.
12673 (sinh_test_tonearest): Likewise.
12674 (sinh_towardzero_test_data): Likewise.
12675 (sinh_test_towardzero): Likewise.
12676 (sinh_downward_test_data): Likewise.
12677 (sinh_test_downward): Likewise.
12678 (sinh_upward_test_data): Likewise.
12679 (sinh_test_upward): Likewise.
12680 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12681 (sqrt_test): Use ALL_RM_TEST.
12682 (sqrt_tonearest_test_data): Remove.
12683 (sqrt_test_tonearest): Likewise.
12684 (sqrt_towardzero_test_data): Likewise.
12685 (sqrt_test_towardzero): Likewise.
12686 (sqrt_downward_test_data): Likewise.
12687 (sqrt_test_downward): Likewise.
12688 (sqrt_upward_test_data): Likewise.
12689 (sqrt_test_upward): Likewise.
12690 (tan_test_data): Update call to AUTO_TESTS_f_f.
12691 (tan_test): Use ALL_RM_TEST.
12692 (tan_tonearest_test_data): Remove.
12693 (tan_test_tonearest): Likewise.
12694 (tan_towardzero_test_data): Likewise.
12695 (tan_test_towardzero): Likewise.
12696 (tan_downward_test_data): Likewise.
12697 (tan_test_downward): Likewise.
12698 (tan_upward_test_data): Likewise.
12699 (tan_test_upward): Likewise.
12700 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12701 (tgamma_test_data): Likewise.
12702 (y0_test_data): Likewise.
12703 (y1_test_data): Likewise.
12704 (yn_test_data): Update call to AUTO_TESTS_if_f.
12705 (main): Do not call removed functions.
12707 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12709 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12710 (ldexp_test_data): Remove.
12711 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12713 (scalb_test): Use ALL_RM_TEST.
12715 2014-03-19 Andreas Schwab <schwab@suse.de>
12717 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12719 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12722 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12723 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12724 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12725 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12726 (__ASSUME_PREADV): Undefine.
12727 (__ASSUME_PWRITEV): Likewise.
12729 2014-03-18 Roland McGrath <roland@hack.frob.com>
12731 * bits/mman-linux.h: Add comment about non-Linux use.
12732 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12733 bits/mman-linux.h resting place.
12735 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12736 * bits/mman-linux.h: ... here.
12738 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12740 * conform/conformtest.pl: Add standard definition when calling C
12741 preprocessor on data files.
12742 (checknamespace): Remove unused variable.
12744 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12746 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12747 minus_oflow, plus_uflow and minus_uflow in expected results.
12748 * math/libm-test.inc (scalbn_test_data): Add more tests of
12749 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12751 (scalbn_test): Use ALL_RM_TEST.
12752 (scalbln_test_data): Add more tests of negative arguments. Use
12753 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12754 (scalbln_test): Use ALL_RM_TEST.
12756 2014-03-18 Roland McGrath <roland@hack.frob.com>
12758 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12760 2014-03-18 Will Newton <will.newton@linaro.org>
12762 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12763 inaccurate comment.
12765 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12767 * Makerules [!subdir] (check-abi): Exit with error status if a
12770 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12772 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12773 for rint. Include results for all rounding modes.
12774 (nearbyint_test): Use ALL_RM_TEST.
12775 (rint_test_data): Include all tests used for nearbyint.
12777 2014-03-17 Will Newton <will.newton@linaro.org>
12779 * nptl/sysdeps/pthread/pthread.h: Revert previous
12782 * sysdeps/generic/ldsodefs.h: Revert previous
12785 * libio/genops.c: Revert previous change.
12786 * libio/libioP.h: Likewise.
12787 * stdio-common/vfprintf.c: Likewise.
12789 * sysdeps/generic/math_private.h: Revert previous
12792 * sysdeps/generic/math_private.h: Check whether
12793 HAVE_RM_CTX is defined with #ifdef rather
12796 * argp/argp-fmtstream.h: Check whether
12797 __STRICT_ANSI__ is defined with #ifdef rather
12799 * argp/argp.h: Likewise.
12801 * libio/genops.c: Check whether
12802 _IO_JUMPS_OFFSET is defined with #ifdef rather
12804 * libio/libioP.h: Likewise.
12805 * stdio-common/vfprintf.c: Likewise.
12807 * sysdeps/generic/ldsodefs.h: Check whether
12808 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12811 * nptl/sysdeps/pthread/pthread.h: Check
12812 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12815 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12817 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12819 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12823 * libio/fileops.c (_IO_file_open): Seek to end of file but
12824 don't cache the offset.
12825 (get_file_offset): Remove function.
12826 (do_ftell): Use cached offset when available.
12827 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12828 don't cache the offset.
12829 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12831 (do_one_test): Call it.
12832 (do_ftell_test): Fix up expected old offset for a+ mode.
12833 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12836 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12837 up test status with function return status.
12838 (do_write_test): Likewise.
12839 (do_append_test): Likewise.
12841 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12842 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12845 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12847 * math/gen-libm-test.pl (parse_args): Handle results specified for
12848 each rounding mode separately.
12849 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12850 tests and results from lrint_tonearest_test_data,
12851 lrint_towardzero_test_data, lrint_downward_test_data and
12852 lrint_upward_test_data.
12853 (lrint_test): Use ALL_RM_TEST.
12854 (lrint_tonearest_test_data): Remove.
12855 (lrint_test_tonearest): Likewise.
12856 (lrint_towardzero_test_data): Likewise.
12857 (lrint_test_towardzero): Likewise.
12858 (lrint_downward_test_data): Likewise.
12859 (lrint_test_downward): Likewise.
12860 (lrint_upward_test_data): Likewise.
12861 (lrint_test_upward): Likewise.
12862 (llrint_test_data): Merge in per-rounding-mode tests and results
12863 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12864 llrint_downward_test_data and llrint_upward_test_data.
12865 (llrint_test): Use ALL_RM_TEST.
12866 (llrint_tonearest_test_data): Remove.
12867 (llrint_test_tonearest): Likewise.
12868 (llrint_towardzero_test_data): Likewise.
12869 (llrint_test_towardzero): Likewise.
12870 (llrint_downward_test_data): Likewise.
12871 (llrint_test_downward): Likewise.
12872 (llrint_upward_test_data): Likewise.
12873 (llrint_test_upward): Likewise.
12874 (rint_test_data): Merge in per-rounding-mode tests and results
12875 from rint_tonearest_test_data, rint_towardzero_test_data,
12876 rint_downward_test_data and rint_upward_test_data. Add
12877 per-rounding-mode results for tests not in those arrays.
12878 (rint_test): Use ALL_RM_TEST.
12879 (rint_tonearest_test_data): Remove.
12880 (rint_test_tonearest): Likewise.
12881 (rint_towardzero_test_data): Likewise.
12882 (rint_test_towardzero): Likewise.
12883 (rint_downward_test_data): Likewise.
12884 (rint_test_downward): Likewise.
12885 (rint_upward_test_data): Likewise.
12886 (rint_test_upward): Likewise.
12887 (main): Don't call removed functions.
12889 2014-03-14 Roland McGrath <roland@hack.frob.com>
12891 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12892 "Compiled on ..." crapola. It is anti-useful.
12894 2014-03-14 Joseph Myers <joseph@codesourcery.com>
12896 * scripts/evaluate-test.sh: Handle fourth argument to determine
12897 whether test run should stop on failure.
12898 * Makeconfig (stop-on-test-failure): New variable.
12899 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12900 $(stop-on-test-failure).
12901 * Makefile (tests): Give a summary of results from testing and
12902 exit with failure status if they include an ERROR or FAIL.
12903 (xtests): Likewise.
12904 * manual/install.texi (Configuring and compiling): Mention
12905 stop-on-test-failure=y.
12906 * INSTALL: Regenerated.
12908 2014-03-14 Roland McGrath <roland@hack.frob.com>
12910 * scripts/versionlist.awk: New file.
12911 * Makerules [$(build-shared) = yes]
12912 (postclean-generated): Add Versions.def, not Versions.def.v and
12914 ($(common-objpfx)Versions.def.v.i): Target removed.
12915 ($(common-objpfx)Versions.def): New target.
12916 ($(common-objpfx)Versions.all): Depend on that rather that
12917 $(common-objpfx)Versions.def.v.
12918 * Versions.def: File removed.
12920 * Makeconfig (+gccwarn): Add -Wundef.
12921 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12922 a dl-sysdep.h breaking its contract.
12923 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12924 * include/stackinfo.h: New file.
12925 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12926 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12927 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12928 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12929 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12930 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12931 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12932 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12933 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12934 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12935 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12936 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12937 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12938 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12939 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12941 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12944 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12946 * math/libm-test.inc (round_test_data): Add more tests.
12949 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12951 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12954 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12956 * math/libm-test.inc (ceil_test_data): Add more tests.
12958 * math/libm-test.inc (trunc_test_data): Add more tests related to
12961 2014-03-14 Roland McGrath <roland@hack.frob.com>
12963 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12964 with #if rather than #ifdef.
12965 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12967 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
12969 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12970 first. Disable AVX-512 GCC support if assembler doesn't support
12972 * sysdeps/x86_64/configure: Regenerated.
12974 2014-03-13 Carlos O'Donell <carlos@redhat.com>
12976 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12977 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12978 (__old_pthread_attr_setstack): Likewise.
12979 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12980 [!_STACK_GROWS_DOWN]: Likewise.
12982 2014-03-13 Mike Frysinger <vapier@gentoo.org>
12984 * config.make.in (have-bash2): Delete.
12985 * configure.ac (libc_cv_have_bash2): Delete.
12986 * configure: Regenerate.
12987 * elf/Makefile (common-ldd-rewrite): Rename to ...
12988 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
12989 (sh-ldd-rewrite): Delete.
12990 (bash-ldd-rewrite): Delete.
12991 (have-bash2): Delete checks.
12992 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12995 * config.make.in (have-ksh): Delete.
12997 * configure.ac (libc_cv_have_ksh): Delete.
12998 * configure: Regenerate.
13000 * elf/Makefile: Delete $(have-ksh) check.
13001 ($(objpfx)sotruss): Change KSH to BASH.
13002 * elf/sotruss.ksh: Rename to ...
13003 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13004 function style to match POSIX. Drop ksh vim mode setting.
13006 * manual/time.texi (Specifying the Time Zone with TZ): Change
13007 Tuesday to Thursday.
13009 * debug/tst-longjmp_chk2.c: Update header comment.
13010 (stackoverflow_handler): Add comment. Call assert on pass value.
13012 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13015 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13016 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13017 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13018 (La_x86_64_vector): Add zmm.
13019 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13020 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13021 ($(objpfx)tst-audit10): New target.
13022 ($(objpfx)tst-audit10.out): Likewise.
13023 (tst-audit10-ENV): New.
13024 (AVX512-CFLAGS): Likewise.
13025 (CFLAGS-tst-audit10.c): Likewise.
13026 (CFLAGS-tst-auditmod10a.c): Likewise.
13027 (CFLAGS-tst-auditmod10b.c): Likewise.
13028 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13029 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13030 * sysdeps/x86_64/configure: Regenerated.
13031 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13032 AVX-512 zmm register support.
13033 (_dl_x86_64_save_sse): Likewise.
13034 (_dl_x86_64_restore_sse): Likewise.
13035 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13036 size vector registers.
13037 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13038 (ZMM_SIZE): Likewise.
13039 * sysdeps/x86_64/tst-audit10.c: New file.
13040 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13041 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13043 2014-03-13 Roland McGrath <roland@hack.frob.com>
13045 * configure.ac (HAVE_EHDR_START): New check.
13046 * configure: Regenerated.
13047 * config.h.in (HAVE_EHDR_START): New #undef.
13048 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13049 assuming the lowest-addressed segment maps the start of the file.
13051 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13053 * INSTALL: Regenerated.
13055 2014-03-13 Will Newton <will.newton@linaro.org>
13057 * manual/setjmp.texi (System V contexts): Improve
13058 clarity and grammar of documentation.
13060 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13063 * elf/Makefile (tests): Add tst-pie2.
13064 (tests-pie): Add tst-pie2.
13065 * elf/tst-pie2.c: New file.
13066 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13068 * elf/rtld.c (map_doit): Load executable as lt_executable.
13069 (dl_main): Likewise.
13071 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13074 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13075 (__ASSUME_PSELECT): Undefine.
13077 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13080 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13081 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13083 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13084 selector for static builds.
13086 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13089 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13092 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13094 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13095 IFUNC selector for static builds.
13097 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13099 * sysdeps/mips/math_private.h [__mips_hard_float]
13100 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13101 libc_feresetround_mips_ctx.
13102 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13103 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13104 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13107 * math/s_nextafter.c (__nextafter): Do not return value from
13108 overflowing computation.
13109 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13110 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13111 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13113 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13115 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13116 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13118 2014-03-11 Roland McGrath <roland@hack.frob.com>
13120 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13121 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13122 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13123 the new mov targetting sp.
13125 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13128 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13129 Define it for static builds as well.
13130 (NO_BZERO_IMPL): Likewise.
13132 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13134 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13135 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13136 multiarch strspn for PPC64.
13137 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13138 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13139 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13140 (__libc_ifunc_impl_list): Likewise.
13141 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13142 multiarch optimizations
13143 * string/strspn.c (strspn): Using macro to redefine symbol name.
13145 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13146 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13148 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13149 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13150 multiarch strncat for PPC64.
13151 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13152 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13153 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13154 (__libc_ifunc_impl_list): Likewise.
13155 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13156 multiarch optimizations
13158 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13161 * nscd/nscd.service: Make service type forking.
13163 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13165 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13166 sign in non default rounding modes.
13167 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13169 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13171 * math/libm-test.inc (ALL_RM_TEST): New macro.
13172 (ceil_test): Use ALL_RM_TEST.
13173 (cimag_test): Likewise.
13174 (conj_test): Likewise.
13175 (copysign_test): Likewise.
13176 (cproj_test): Likewise.
13177 (creal_test): Likewise.
13178 (fabs_test): Likewise.
13179 (floor_test): Likewise.
13180 (fmax_test): Likewise.
13181 (fmin_test): Likewise.
13182 (fmod_test): Likewise.
13183 (fpclassify_test): Likewise.
13184 (frexp_test): Likewise.
13185 (ilogb_test): Likewise.
13186 (isfinite_test): Likewise.
13187 (finite_test): Likewise.
13188 (isgreater_test): Likewise.
13189 (isgreaterequal_test): Likewise.
13190 (isinf_test): Likewise.
13191 (isless_test): Likewise.
13192 (islessequal_test): Likewise.
13193 (islessgreater_test): Likewise.
13194 (isnan_test): Likewise.
13195 (isnormal_test): Likewise.
13196 (issignaling_test): Likewise.
13197 (isunordered_test): Likewise.
13198 (logb_test): Likewise.
13199 (logb_downward_test_data): Remove.
13200 (logb_test_downward): Likewise.
13201 (lround_test): Use ALL_RM_TEST.
13202 (llround_test): Likewise.
13203 (modf_test): Likewise.
13204 (nexttoward_test): Likewise.
13205 (remainder_test): Likewise.
13206 (drem_test): Likewise.
13207 (remainder_tonearest_test_data): Likewise.
13208 (remainder_test_tonearest): Likewise.
13209 (drem_test_tonearest): Likewise.
13210 (remainder_towardzero_test_data): Likewise.
13211 (remainder_test_towardzero): Likewise.
13212 (drem_test_towardzero): Likewise.
13213 (remainder_downward_test_data): Likewise.
13214 (remainder_test_downward): Likewise.
13215 (drem_test_downward): Likewise.
13216 (remainder_upward_test_data): Likewise.
13217 (remainder_test_upward): Likewise.
13218 (drem_test_upward): Likewise.
13219 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13220 (round_test): Use ALL_RM_TEST.
13221 (signbit_test): Likewise.
13222 (trunc_test): Likewise.
13223 (significand_test): Likewise.
13224 (main): Don't call removed functions.
13226 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13229 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13230 || __USE_XOPEN2K8].
13231 (ILL_ILLOPN): Likewise.
13232 (ILL_ILLADR): Likewise.
13233 (ILL_ILLTRP): Likewise.
13234 (ILL_PRVOPC): Likewise.
13235 (ILL_PRVREG): Likewise.
13236 (ILL_COPROC): Likewise.
13237 (ILL_BADSTK): Likewise.
13238 (FPE_INTDIV): Likewise.
13239 (FPE_INTOVF): Likewise.
13240 (FPE_FLTDIV): Likewise.
13241 (FPE_FLTOVF): Likewise.
13242 (FPE_FLTUND): Likewise.
13243 (FPE_FLTRES): Likewise.
13244 (FPE_FLTINV): Likewise.
13245 (FPE_FLTSUB): Likewise.
13246 (SEGV_MAPERR): Likewise.
13247 (SEGV_ACCERR): Likewise.
13248 (BUS_ADRALN): Likewise.
13249 (BUS_ADRERR): Likewise.
13250 (BUS_OBJERR): Likewise.
13251 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13252 (TRAP_TRACE): Likewise.
13253 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13255 (CLD_KILLED): Likewise.
13256 (CLD_DUMPED): Likewise.
13257 (CLD_TRAPPED): Likewise.
13258 (CLD_STOPPED): Likewise.
13259 (CLD_CONTINUED): Likewise.
13260 (POLL_IN): Likewise.
13261 (POLL_OUT): Likewise.
13262 (POLL_MSG): Likewise.
13263 (POLL_ERR): Likewise.
13264 (POLL_PRI): Likewise.
13265 (POLL_HUP): Likewise.
13266 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13268 (ILL_ILLOPN): Likewise.
13269 (ILL_ILLADR): Likewise.
13270 (ILL_ILLTRP): Likewise.
13271 (ILL_PRVOPC): Likewise.
13272 (ILL_PRVREG): Likewise.
13273 (ILL_COPROC): Likewise.
13274 (ILL_BADSTK): Likewise.
13275 (FPE_INTDIV): Likewise.
13276 (FPE_INTOVF): Likewise.
13277 (FPE_FLTDIV): Likewise.
13278 (FPE_FLTOVF): Likewise.
13279 (FPE_FLTUND): Likewise.
13280 (FPE_FLTRES): Likewise.
13281 (FPE_FLTINV): Likewise.
13282 (FPE_FLTSUB): Likewise.
13283 (SEGV_MAPERR): Likewise.
13284 (SEGV_ACCERR): Likewise.
13285 (BUS_ADRALN): Likewise.
13286 (BUS_ADRERR): Likewise.
13287 (BUS_OBJERR): Likewise.
13288 (BUS_MCEERR_AR): Likewise.
13289 (BUS_MCEERR_AO): Likewise.
13290 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13291 (TRAP_TRACE): Likewise.
13292 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13294 (CLD_KILLED): Likewise.
13295 (CLD_DUMPED): Likewise.
13296 (CLD_TRAPPED): Likewise.
13297 (CLD_STOPPED): Likewise.
13298 (CLD_CONTINUED): Likewise.
13299 (POLL_IN): Likewise.
13300 (POLL_OUT): Likewise.
13301 (POLL_MSG): Likewise.
13302 (POLL_ERR): Likewise.
13303 (POLL_PRI): Likewise.
13304 (POLL_HUP): Likewise.
13305 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13306 (ILL_ILLOPN): Likewise.
13307 (ILL_ILLADR): Likewise.
13308 (ILL_ILLTRP): Likewise.
13309 (ILL_PRVOPC): Likewise.
13310 (ILL_PRVREG): Likewise.
13311 (ILL_COPROC): Likewise.
13312 (ILL_BADSTK): Likewise.
13313 (FPE_INTDIV): Likewise.
13314 (FPE_INTOVF): Likewise.
13315 (FPE_FLTDIV): Likewise.
13316 (FPE_FLTOVF): Likewise.
13317 (FPE_FLTUND): Likewise.
13318 (FPE_FLTRES): Likewise.
13319 (FPE_FLTINV): Likewise.
13320 (FPE_FLTSUB): Likewise.
13321 (SEGV_MAPERR): Likewise.
13322 (SEGV_ACCERR): Likewise.
13323 (BUS_ADRALN): Likewise.
13324 (BUS_ADRERR): Likewise.
13325 (BUS_OBJERR): Likewise.
13326 (BUS_MCEERR_AR): Likewise.
13327 (BUS_MCEERR_AO): Likewise.
13328 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13329 (TRAP_TRACE): Likewise.
13330 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13332 (CLD_KILLED): Likewise.
13333 (CLD_DUMPED): Likewise.
13334 (CLD_TRAPPED): Likewise.
13335 (CLD_STOPPED): Likewise.
13336 (CLD_CONTINUED): Likewise.
13337 (POLL_IN): Likewise.
13338 (POLL_OUT): Likewise.
13339 (POLL_MSG): Likewise.
13340 (POLL_ERR): Likewise.
13341 (POLL_PRI): Likewise.
13342 (POLL_HUP): Likewise.
13343 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13345 (ILL_ILLOPN): Likewise.
13346 (ILL_ILLADR): Likewise.
13347 (ILL_ILLTRP): Likewise.
13348 (ILL_PRVOPC): Likewise.
13349 (ILL_PRVREG): Likewise.
13350 (ILL_COPROC): Likewise.
13351 (ILL_BADSTK): Likewise.
13352 (ILL_BADIADDR): Likewise.
13353 (ILL_BREAK): Likewise.
13354 (FPE_INTDIV): Likewise.
13355 (FPE_INTOVF): Likewise.
13356 (FPE_FLTDIV): Likewise.
13357 (FPE_FLTOVF): Likewise.
13358 (FPE_FLTUND): Likewise.
13359 (FPE_FLTRES): Likewise.
13360 (FPE_FLTINV): Likewise.
13361 (FPE_FLTSUB): Likewise.
13362 (FPE_DECOVF): Likewise.
13363 (FPE_DECDIV): Likewise.
13364 (FPE_DECERR): Likewise.
13365 (FPE_INVASC): Likewise.
13366 (FPE_INVDEC): Likewise.
13367 (SEGV_MAPERR): Likewise.
13368 (SEGV_ACCERR): Likewise.
13369 (SEGV_PSTKOVF): Likewise.
13370 (BUS_ADRALN): Likewise.
13371 (BUS_ADRERR): Likewise.
13372 (BUS_OBJERR): Likewise.
13373 (BUS_MCEERR_AR): Likewise.
13374 (BUS_MCEERR_AO): Likewise.
13375 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13376 (TRAP_TRACE): Likewise.
13377 (TRAP_BRANCH): Likewise.
13378 (TRAP_HWBKPT): Likewise.
13379 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13381 (CLD_KILLED): Likewise.
13382 (CLD_DUMPED): Likewise.
13383 (CLD_TRAPPED): Likewise.
13384 (CLD_STOPPED): Likewise.
13385 (CLD_CONTINUED): Likewise.
13386 (POLL_IN): Likewise.
13387 (POLL_OUT): Likewise.
13388 (POLL_MSG): Likewise.
13389 (POLL_ERR): Likewise.
13390 (POLL_PRI): Likewise.
13391 (POLL_HUP): Likewise.
13392 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13393 (ILL_ILLOPN): Likewise.
13394 (ILL_ILLADR): Likewise.
13395 (ILL_ILLTRP): Likewise.
13396 (ILL_PRVOPC): Likewise.
13397 (ILL_PRVREG): Likewise.
13398 (ILL_COPROC): Likewise.
13399 (ILL_BADSTK): Likewise.
13400 (FPE_INTDIV): Likewise.
13401 (FPE_INTOVF): Likewise.
13402 (FPE_FLTDIV): Likewise.
13403 (FPE_FLTOVF): Likewise.
13404 (FPE_FLTUND): Likewise.
13405 (FPE_FLTRES): Likewise.
13406 (FPE_FLTINV): Likewise.
13407 (FPE_FLTSUB): Likewise.
13408 (SEGV_MAPERR): Likewise.
13409 (SEGV_ACCERR): Likewise.
13410 (BUS_ADRALN): Likewise.
13411 (BUS_ADRERR): Likewise.
13412 (BUS_OBJERR): Likewise.
13413 (BUS_MCEERR_AR): Likewise.
13414 (BUS_MCEERR_AO): Likewise.
13415 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13416 (TRAP_TRACE): Likewise.
13417 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13419 (CLD_KILLED): Likewise.
13420 (CLD_DUMPED): Likewise.
13421 (CLD_TRAPPED): Likewise.
13422 (CLD_STOPPED): Likewise.
13423 (CLD_CONTINUED): Likewise.
13424 (POLL_IN): Likewise.
13425 (POLL_OUT): Likewise.
13426 (POLL_MSG): Likewise.
13427 (POLL_ERR): Likewise.
13428 (POLL_PRI): Likewise.
13429 (POLL_HUP): Likewise.
13430 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13431 (ILL_ILLOPN): Likewise.
13432 (ILL_ILLADR): Likewise.
13433 (ILL_ILLTRP): Likewise.
13434 (ILL_PRVOPC): Likewise.
13435 (ILL_PRVREG): Likewise.
13436 (ILL_COPROC): Likewise.
13437 (ILL_BADSTK): Likewise.
13438 (FPE_INTDIV): Likewise.
13439 (FPE_INTOVF): Likewise.
13440 (FPE_FLTDIV): Likewise.
13441 (FPE_FLTOVF): Likewise.
13442 (FPE_FLTUND): Likewise.
13443 (FPE_FLTRES): Likewise.
13444 (FPE_FLTINV): Likewise.
13445 (FPE_FLTSUB): Likewise.
13446 (SEGV_MAPERR): Likewise.
13447 (SEGV_ACCERR): Likewise.
13448 (BUS_ADRALN): Likewise.
13449 (BUS_ADRERR): Likewise.
13450 (BUS_OBJERR): Likewise.
13451 (BUS_MCEERR_AR): Likewise.
13452 (BUS_MCEERR_AO): Likewise.
13453 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13454 (TRAP_TRACE): Likewise.
13455 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13457 (CLD_KILLED): Likewise.
13458 (CLD_DUMPED): Likewise.
13459 (CLD_TRAPPED): Likewise.
13460 (CLD_STOPPED): Likewise.
13461 (CLD_CONTINUED): Likewise.
13462 (POLL_IN): Likewise.
13463 (POLL_OUT): Likewise.
13464 (POLL_MSG): Likewise.
13465 (POLL_ERR): Likewise.
13466 (POLL_PRI): Likewise.
13467 (POLL_HUP): Likewise.
13468 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13469 (ILL_ILLOPN): Likewise.
13470 (ILL_ILLADR): Likewise.
13471 (ILL_ILLTRP): Likewise.
13472 (ILL_PRVOPC): Likewise.
13473 (ILL_PRVREG): Likewise.
13474 (ILL_COPROC): Likewise.
13475 (ILL_BADSTK): Likewise.
13476 (FPE_INTDIV): Likewise.
13477 (FPE_INTOVF): Likewise.
13478 (FPE_FLTDIV): Likewise.
13479 (FPE_FLTOVF): Likewise.
13480 (FPE_FLTUND): Likewise.
13481 (FPE_FLTRES): Likewise.
13482 (FPE_FLTINV): Likewise.
13483 (FPE_FLTSUB): Likewise.
13484 (SEGV_MAPERR): Likewise.
13485 (SEGV_ACCERR): Likewise.
13486 (BUS_ADRALN): Likewise.
13487 (BUS_ADRERR): Likewise.
13488 (BUS_OBJERR): Likewise.
13489 (BUS_MCEERR_AR): Likewise.
13490 (BUS_MCEERR_AO): Likewise.
13491 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13492 (TRAP_TRACE): Likewise.
13493 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13495 (CLD_KILLED): Likewise.
13496 (CLD_DUMPED): Likewise.
13497 (CLD_TRAPPED): Likewise.
13498 (CLD_STOPPED): Likewise.
13499 (CLD_CONTINUED): Likewise.
13500 (POLL_IN): Likewise.
13501 (POLL_OUT): Likewise.
13502 (POLL_MSG): Likewise.
13503 (POLL_ERR): Likewise.
13504 (POLL_PRI): Likewise.
13505 (POLL_HUP): Likewise.
13506 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13507 (ILL_ILLOPN): Likewise.
13508 (ILL_ILLADR): Likewise.
13509 (ILL_ILLTRP): Likewise.
13510 (ILL_PRVOPC): Likewise.
13511 (ILL_PRVREG): Likewise.
13512 (ILL_COPROC): Likewise.
13513 (ILL_BADSTK): Likewise.
13514 (ILL_DBLFLT): Likewise.
13515 (ILL_HARDWALL): Likewise.
13516 (FPE_INTDIV): Likewise.
13517 (FPE_INTOVF): Likewise.
13518 (FPE_FLTDIV): Likewise.
13519 (FPE_FLTOVF): Likewise.
13520 (FPE_FLTUND): Likewise.
13521 (FPE_FLTRES): Likewise.
13522 (FPE_FLTINV): Likewise.
13523 (FPE_FLTSUB): Likewise.
13524 (SEGV_MAPERR): Likewise.
13525 (SEGV_ACCERR): Likewise.
13526 (BUS_ADRALN): Likewise.
13527 (BUS_ADRERR): Likewise.
13528 (BUS_OBJERR): Likewise.
13529 (BUS_MCEERR_AR): Likewise.
13530 (BUS_MCEERR_AO): Likewise.
13531 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13532 (TRAP_TRACE): Likewise.
13533 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13535 (CLD_KILLED): Likewise.
13536 (CLD_DUMPED): Likewise.
13537 (CLD_TRAPPED): Likewise.
13538 (CLD_STOPPED): Likewise.
13539 (CLD_CONTINUED): Likewise.
13540 (POLL_IN): Likewise.
13541 (POLL_OUT): Likewise.
13542 (POLL_MSG): Likewise.
13543 (POLL_ERR): Likewise.
13544 (POLL_PRI): Likewise.
13545 (POLL_HUP): Likewise.
13546 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13547 (ILL_ILLOPN): Likewise.
13548 (ILL_ILLADR): Likewise.
13549 (ILL_ILLTRP): Likewise.
13550 (ILL_PRVOPC): Likewise.
13551 (ILL_PRVREG): Likewise.
13552 (ILL_COPROC): Likewise.
13553 (ILL_BADSTK): Likewise.
13554 (FPE_INTDIV): Likewise.
13555 (FPE_INTOVF): Likewise.
13556 (FPE_FLTDIV): Likewise.
13557 (FPE_FLTOVF): Likewise.
13558 (FPE_FLTUND): Likewise.
13559 (FPE_FLTRES): Likewise.
13560 (FPE_FLTINV): Likewise.
13561 (FPE_FLTSUB): Likewise.
13562 (SEGV_MAPERR): Likewise.
13563 (SEGV_ACCERR): Likewise.
13564 (BUS_ADRALN): Likewise.
13565 (BUS_ADRERR): Likewise.
13566 (BUS_OBJERR): Likewise.
13567 (BUS_MCEERR_AR): Likewise.
13568 (BUS_MCEERR_AO): Likewise.
13569 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13570 (TRAP_TRACE): Likewise.
13571 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13573 (CLD_KILLED): Likewise.
13574 (CLD_DUMPED): Likewise.
13575 (CLD_TRAPPED): Likewise.
13576 (CLD_STOPPED): Likewise.
13577 (CLD_CONTINUED): Likewise.
13578 (POLL_IN): Likewise.
13579 (POLL_OUT): Likewise.
13580 (POLL_MSG): Likewise.
13581 (POLL_ERR): Likewise.
13582 (POLL_PRI): Likewise.
13583 (POLL_HUP): Likewise.
13584 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13585 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13588 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13589 before #include of <time.h>.
13590 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13591 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13592 (test-xfail-UNIX98/sched.h/conform): Likewise.
13594 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13596 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13597 error absence of trapping exception support.
13598 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13600 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13602 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13603 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13604 * timezone/Makefile (testdata): Move definition above include of
13606 (test-zones): New variable.
13607 (tests-special): Add zone files.
13608 (build-testdata): Use $(evaluate-test).
13610 * elf/Makefile (tests-special): Rename tests to end with .out.
13611 ($(objpfx)noload-mem): Likewise.
13612 ($(objpfx)tst-leaks1-mem): Likewise.
13613 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13614 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13615 $(objpfx)test-iconvconfig.out.
13616 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13617 set -e inside subshell and redirect output to file.
13618 * iconvdata/Makefile (generated): Rename tests to end with .out.
13620 (tests-special): Rename tests to end with .out.
13621 ($(objpfx)mtrace-tst-loading): Likewise.
13622 * intl/Makefile (generated): Likewise.
13623 (tests-special): Likewise.
13624 ($(objpfx)mtrace-tst-gettext): Likewise.
13625 * misc/Makefile (generated): Likewise.
13626 (tests-special): Likewise.
13627 ($(objpfx)tst-error1-mem): Likewise.
13628 * nptl/Makefile (tests-special): Likewise.
13629 ($(objpfx)tst-stack3-mem): Likewise.
13630 (generated): Likewise.
13631 * posix/Makefile (generated): Likewise.
13632 (tests-special): Likewise.
13633 (xtests-special): Likewise.
13634 ($(objpfx)tst-fnmatch-mem): Likewise.
13635 ($(objpfx)bug-regex2-mem): Likewise.
13636 ($(objpfx)bug-regex14-mem): Likewise.
13637 ($(objpfx)bug-regex21-mem): Likewise.
13638 ($(objpfx)bug-regex31-mem): Likewise.
13639 ($(objpfx)tst-vfork3-mem): Likewise.
13640 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13641 ($(objpfx)tst-pcre-mem): Likewise.
13642 ($(objpfx)tst-boost-mem): Likewise.
13643 ($(objpfx)bug-ga2-mem): Likewise.
13644 ($(objpfx)bug-glob2-mem): Likewise.
13645 * resolv/Makefile (generate): Likewise.
13646 (tests-special): Likewise.
13647 (xtests-special): Likewise.
13648 (generated): Likewise.
13649 ($(objpfx)mtrace-tst-leaks): Likewise.
13650 ($(objpfx)mtrace-tst-leaks2): Likewise.
13652 * scripts/merge-test-results.sh: New file.
13653 * Makefile (tests-special-notdir): New variable.
13654 (tests): Run merge-test-results.sh.
13655 (xtests): Likewise.
13656 * Rules (tests-special-notdir): New variable.
13657 (xtests-special-notdir): Likewise.
13658 (tests): Run merge-test-results.sh
13659 (xtests): Likewise.
13661 * Makeconfig (test-xfail-name): New variable.
13662 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13663 compute variable name for expected failures.
13664 * conform/Makefile (conformtest-headers-data): New variable.
13665 (conformtest-standards): Likewise.
13666 (conformtest-headers-ISO): Likewise.
13667 (conformtest-headers-ISO99): Likewise.
13668 (conformtest-headers-ISO11): Likewise.
13669 (conformtest-headers-POSIX): Likewise.
13670 (conformtest-headers-XPG3): Likewise.
13671 (conformtest-headers-XPG4): Likewise.
13672 (conformtest-headers-UNIX98): Likewise.
13673 (conformtest-headers-XOPEN2K): Likewise.
13674 (conformtest-headers-POSIX2008): Likewise.
13675 (conformtest-headers-XOPEN2K8): Likewise.
13676 (conformtest-header-list-base): Likewise.
13677 (conformtest-header-list-tests): Likewise.
13678 (conformtest-header-base): Likewise.
13679 (conformtest-header-tests): Likewise.
13680 (tests-special): Add $(conformtest-header-list-tests). If
13681 [$(fast-check) && !$(cross-compiling)], add
13682 $(conformtest-header-tests) instead of
13683 $(objpfx)run-conformtest.out.
13684 (generated): Add $(conformtest-header-list-base). If
13685 [$(fast-check) && !$(cross-compiling)], add
13686 $(conformtest-header-base). Remove previous setting.
13687 ($(conformtest-header-list-tests)): New target.
13688 (test-xfail-run-conformtest): Remove variable.
13689 ($(objpfx)run-conformtest.out): Remove target.
13690 (test-xfail-ISO11/complex.h/conform): New variable.
13691 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13692 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13693 (test-xfail-XPG3/varargs.h/conform): Likewise.
13694 (test-xfail-XPG4/varargs.h/conform): Likewise.
13695 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13696 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13697 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13698 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13699 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13700 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13701 (test-xfail-XPG3/ftw.h/conform): Likewise.
13702 (test-xfail-XPG3/grp.h/conform): Likewise.
13703 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13704 (test-xfail-XPG3/limits.h/conform): Likewise.
13705 (test-xfail-XPG3/pwd.h/conform): Likewise.
13706 (test-xfail-XPG3/search.h/conform): Likewise.
13707 (test-xfail-XPG3/signal.h/conform): Likewise.
13708 (test-xfail-XPG3/stdio.h/conform): Likewise.
13709 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13710 (test-xfail-XPG3/string.h/conform): Likewise.
13711 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13712 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13713 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13714 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13715 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13716 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13717 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13718 (test-xfail-XPG3/termios.h/conform): Likewise.
13719 (test-xfail-XPG3/time.h/conform): Likewise.
13720 (test-xfail-XPG3/unistd.h/conform): Likewise.
13721 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13722 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13723 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13724 (test-xfail-XPG4/netdb.h/conform): Likewise.
13725 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13726 (test-xfail-XPG4/signal.h/conform): Likewise.
13727 (test-xfail-XPG4/stdio.h/conform): Likewise.
13728 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13729 (test-xfail-XPG4/stropts.h/conform): Likewise.
13730 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13731 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13732 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13733 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13734 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13735 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13736 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13737 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13738 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13739 (test-xfail-XPG4/termios.h/conform): Likewise.
13740 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13741 (test-xfail-XPG4/unistd.h/conform): Likewise.
13742 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13743 (test-xfail-POSIX/sched.h/conform): Likewise.
13744 (test-xfail-POSIX/signal.h/conform): Likewise.
13745 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13746 (test-xfail-POSIX/tar.h/conform): Likewise.
13747 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13748 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13749 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13750 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13751 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13752 (test-xfail-UNIX98/sched.h/conform): Likewise.
13753 (test-xfail-UNIX98/signal.h/conform): Likewise.
13754 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13755 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13756 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13757 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13758 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13759 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13760 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13761 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13762 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13763 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13764 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13765 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13766 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13767 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13768 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13769 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13770 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13771 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13772 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13773 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13774 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13775 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13776 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13777 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13778 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13779 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13780 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13781 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13782 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13783 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13784 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13785 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13786 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13787 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13788 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13789 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13790 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13791 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13792 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13793 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13794 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13795 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13796 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13797 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13798 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13799 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13800 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13801 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13802 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13803 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13804 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13805 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13806 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13807 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13808 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13809 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13810 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13811 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13812 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13813 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13814 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13815 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13816 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13817 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13818 (conformtest-cc-flags): Likewise.
13819 ($(conformtest-header-tests): New target.
13820 * conform/check-header-lists.sh: New file.
13821 * conform/run-conformtest.sh: Remove.
13823 * conform/conformtest.pl: Allow ' and \ in values given for
13825 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13827 [POSIX] (sys/types.h): Likewise.
13828 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13830 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13832 * conform/data/signal.h-data (SIGIO): Remove expectation.
13833 [XPG3] (SIGBUS): Do not expect.
13834 [POSIX || XPG3] (SIGPOLL): Likewise.
13835 [POSIX || XPG3] (SIGPROF): Likewise.
13836 [POSIX || XPG3] (SIGSYS): Likewise.
13837 [XPG3] (SIGTRAP): Likewise.
13838 [POSIX || XPG3] (SIGURG): Likewise.
13839 [POSIX || XPG3] (SIGVTALRM): Likewise.
13840 [POSIX || XPG3] (SIGXCPU): Likewise.
13841 [POSIX || XPG3] (SIGXFSZ): Likewise.
13842 [POSIX] (SA_SIGINFO): Expect.
13843 [XPG3] (siginfo_t): Do not expect type or contents.
13844 [POSIX] (si_pid): Do not expect element.
13845 [POSIX] (si_uid): Likewise.
13846 [POSIX] (si_addr): Likewise.
13847 [POSIX] (si_status): Likewise.
13848 [POSIX] (si_band): Likewise.
13849 [XPG4] (si_value): Likewise.
13850 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13851 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13852 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13853 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13854 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13855 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13856 [POSIX || XPG3] (ILL_COPROC): Likewise.
13857 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13858 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13859 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13860 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13861 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13862 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13863 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13864 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13865 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13866 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13867 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13868 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13869 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13870 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13871 [POSIX || XPG3] (CLD_EXITED): Likewise.
13872 [POSIX || XPG3] (CLD_KILLED): Likewise.
13873 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13874 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13875 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13876 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13877 [POSIX || XPG3] (POLL_IN): Likewise.
13878 [POSIX || XPG3] (POLL_OUT): Likewise.
13879 [POSIX || XPG3] (POLL_MSG): Likewise.
13880 [POSIX || XPG3] (POLL_ERR): Likewise.
13881 [POSIX || XPG3] (POLL_PRI): Likewise.
13882 [POSIX || XPG3] (POLL_HUP): Likewise.
13883 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13884 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13885 (SIG*): Do not allow.
13886 [XPG3] (si_*): Likewise.
13887 [XPG3] (SI_*): Likewise.
13888 [XPG3 || XPG4] (sigev_*): Likewise.
13889 [XPG3 || XPG4] (SIGEV_*): Likewise.
13890 [XPG3 || XPG4] (sival_*): Likewise.
13891 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13892 [POSIX || XPG3] (BUS_*): Likewise.
13893 [POSIX || XPG3] (CLD_*): Likewise.
13894 [POSIX || XPG3] (FPE_*): Likewise.
13895 [POSIX || XPG3] (ILL_*): Likewise.
13896 [POSIX || XPG3] (POLL_*): Likewise.
13897 [POSIX || XPG3] (SEGV_*): Likewise.
13898 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13899 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13900 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13901 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13902 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13903 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13904 Specify type and value.
13905 (TVERSLEN): Likewise.
13906 (REGTYPE): Likewise.
13907 (AREGTYPE): Likewise.
13908 (LNKTYPE): Likewise.
13909 (SYMTYPE): Likewise.
13910 (CHRTYPE): Likewise.
13911 (BLKTYPE): Likewise.
13912 (DIRTYPE): Likewise.
13913 (FIFOTYPE): Likewise.
13914 (CONTTYPE): Likewise.
13918 (TUREAD): Likewise.
13919 (TUWRITE): Likewise.
13920 (TUEXEC): Likewise.
13921 (TGREAD): Likewise.
13922 (TGWRITE): Likewise.
13923 (TGEXEC): Likewise.
13924 (TOREAD): Likewise.
13925 (TOWRITE): Likewise.
13926 (TOEXEC): Likewise.
13927 [POSIX] (TSVTX): Expect constant.
13929 2014-03-06 Joseph Myers <joseph@codesourcery.com>
13931 * Makefile (tests): Change dependencies to ....
13932 (tests-special): ... additions to this variable.
13933 (tests): Depend on $(tests-special).
13934 * Makerules (check-abi-list): New variable.
13935 (check-abi): Depend on $(check-abi-list).
13936 [$(subdir) = elf] (tests-special): Add
13937 $(objpfx)check-abi-libc.out.
13938 [$(build-shared) = yes && subdir] (tests-special): Add
13940 [$(build-shared) = yes && subdir] (tests): Do not depend on
13942 * Rules (tests): Depend on $(tests-special).
13943 (xtests): Depend on $(xtests-special).
13944 * catgets/Makefile (tests): Change dependencies to ....
13945 (tests-special): ... additions to this variable.
13946 * conform/Makefile (tests): Change dependencies to ....
13947 (tests-special): ... additions to this variable.
13948 * elf/Makefile (tests): Change dependencies to ....
13949 (tests-special): ... additions to this variable.
13950 * grp/Makefile (tests): Change dependencies to ....
13951 (tests-special): ... additions to this variable.
13952 * iconv/Makefile (xtests): Change dependencies to ....
13953 (xtests-special): ... additions to this variable.
13954 * iconvdata/Makefile (tests): Change dependencies to ....
13955 (tests-special): ... additions to this variable.
13956 * intl/Makefile (tests): Change dependencies to ....
13957 (tests-special): ... additions to this variable. Also add
13958 $(objpfx)tst-gettext.out.
13959 * io/Makefile (tests): Change dependencies to ....
13960 (tests-special): ... additions to this variable.
13961 * libio/Makefile (tests): Change dependencies to ....
13962 (tests-special): ... additions to this variable.
13963 * malloc/Makefile (tests): Change dependencies to ....
13964 (tests-special): ... additions to this variable.
13965 * misc/Makefile (tests): Change dependencies to ....
13966 (tests-special): ... additions to this variable.
13967 * nptl/Makefile (tests): Change dependencies to ....
13968 (tests-special): ... additions to this variable.
13969 * nptl_db/Makefile (tests): Change dependencies to ....
13970 (tests-special): ... additions to this variable.
13971 * posix/Makefile (tests): Change dependencies to ....
13972 (tests-special): ... additions to this variable.
13973 (xtests): Change dependencies to ....
13974 (xtests-special): ... additions to this variable.
13975 * resolv/Makefile (tests): Change dependencies to ....
13976 (tests-special): ... additions to this variable.
13977 (xtests): Change dependencies to ....
13978 (xtests-special): ... additions to this variable.
13979 * stdio-common/Makefile (tests): Change dependencies to ....
13980 (tests-special): ... additions to this variable.
13981 (do-tst-unbputc): Remove target.
13982 (do-tst-printf): Likewise.
13983 * stdlib/Makefile (tests): Change dependencies to ....
13984 (tests-special): ... additions to this variable.
13985 * string/Makefile (tests): Change dependencies to ....
13986 (tests-special): ... additions to this variable.
13987 * sysdeps/x86/Makefile (tests): Change dependencies to ....
13988 (tests-special): ... additions to this variable.
13990 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13992 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13994 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13995 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13997 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13998 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13999 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14000 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14001 * conform/data/libgen.h-data [XPG3]: Likewise.
14002 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14003 * conform/data/ndbm.h-data [XPG3]: Likewise.
14004 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14005 * conform/data/netdb.h-data [XPG3]: Likewise.
14006 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14007 * conform/data/poll.h-data [XPG3]: Likewise.
14008 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14009 * conform/data/strings.h-data [XPG3]: Likewise.
14010 * conform/data/stropts.h-data [XPG3]: Likewise.
14011 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14012 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14013 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14015 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14016 * conform/data/sys/time.h-data [XPG3]: Likewise.
14017 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14018 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14019 * conform/data/sys/un.h-data [XPG3]: Likewise.
14020 * conform/data/syslog.h-data [XPG3]: Likewise.
14021 * conform/data/ucontext.h-data [XPG3]: Likewise.
14022 * conform/data/utmpx.h-data [XPG3]: Likewise.
14023 * conform/data/varargs.h-data [UNIX98]: Enable file.
14025 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14027 * math/libm-test.inc (struct test_f_f_data): Move expected results
14028 into structure for each rounding mode.
14029 (struct test_ff_f_data): Likewise.
14030 (struct test_ff_f_data_nexttoward): Likewise.
14031 (struct test_fi_f_data): Likewise.
14032 (struct test_fl_f_data): Likewise.
14033 (struct test_if_f_data): Likewise.
14034 (struct test_fff_f_data): Likewise.
14035 (struct test_c_f_data): Likewise.
14036 (struct test_f_f1_data): Likewise.
14037 (struct test_fF_f1_data): Likewise.
14038 (struct test_ffI_f1_data): Likewise.
14039 (struct test_c_c_data): Likewise.
14040 (struct test_cc_c_data): Likewise.
14041 (struct test_f_i_data): Likewise.
14042 (struct test_ff_i_data): Likewise.
14043 (struct test_f_l_data): Likewise.
14044 (struct test_f_L_data): Likewise.
14045 (struct test_fFF_11_data): Likewise.
14047 (RM_FE_DOWNWARD): Likewise.
14048 (RM_FE_TONEAREST): Likewise.
14049 (RM_FE_TOWARDZERO): Likewise.
14050 (RM_FE_UPWARD): Likewise.
14051 (RUN_TEST_LOOP_f_f): Update references to expected results.
14052 (RUN_TEST_LOOP_2_f): Likewise.
14053 (RUN_TEST_LOOP_fff_f): Likewise.
14054 (RUN_TEST_LOOP_c_f): Likewise.
14055 (RUN_TEST_LOOP_f_f1): Likewise.
14056 (RUN_TEST_LOOP_fF_f1): Likewise.
14057 (RUN_TEST_LOOP_fI_f1): Likewise.
14058 (RUN_TEST_LOOP_ffI_f1): Likewise.
14059 (RUN_TEST_LOOP_c_c): Likewise.
14060 (RUN_TEST_LOOP_cc_c): Likewise.
14061 (RUN_TEST_LOOP_f_i): Likewise.
14062 (RUN_TEST_LOOP_f_i_tg): Likewise.
14063 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14064 (RUN_TEST_LOOP_f_b): Likewise.
14065 (RUN_TEST_LOOP_f_b_tg): Likewise.
14066 (RUN_TEST_LOOP_f_l): Likewise.
14067 (RUN_TEST_LOOP_f_L): Likewise.
14068 (RUN_TEST_LOOP_fFF_11): Likewise.
14069 * math/gen-libm-test.pl (parse_args): Output four copies of
14070 expected results for each test.
14072 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14073 (__ASSUME_UTIMES): Remove.
14074 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14075 (__ASSUME_UTIMES): Likewise.
14077 * math/gen-auto-libm-tests.c: Update comment on output format.
14078 (output_for_one_input_case): Generate before-rounding and
14079 after-rounding information as conditions on output flags not
14080 floating-point format.
14081 * math/auto-libm-test-out: Regenerated.
14082 * math/gen-libm-test.pl (cond_value): New function.
14083 (or_cond_value): Use cond_value.
14084 (generate_testfile): Handle conditional exceptions.
14086 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14088 * math/libm-test.inc (max_valid_error): New variable.
14089 (init_max_error): Take new argument specifying whether function
14090 results are exactly determined. Set max_valid_error and bound
14091 other variables for errors based on this argument.
14092 (set_max_error): Do not record results above max_valid_error.
14093 (check_float_internal): Only accept errors of up to 0.5ulps if
14094 also at most max_valid_error.
14095 (START): Take new argument EXACT and pass it to init_max_error.
14096 (acos_test): Update call to START.
14097 (acos_test_tonearest): Likewise.
14098 (acos_test_towardzero): Likewise.
14099 (acos_test_downward): Likewise.
14100 (acos_test_upward): Likewise.
14101 (acosh_test): Likewise.
14102 (asin_test): Likewise.
14103 (asin_test_tonearest): Likewise.
14104 (asin_test_towardzero): Likewise.
14105 (asin_test_downward): Likewise.
14106 (asin_test_upward): Likewise.
14107 (asinh_test): Likewise.
14108 (atan_test): Likewise.
14109 (atanh_test): Likewise.
14110 (atan2_test): Likewise.
14111 (cabs_test): Likewise.
14112 (cacos_test): Likewise.
14113 (cacosh_test): Likewise.
14114 (carg_test): Likewise.
14115 (casin_test): Likewise.
14116 (casinh_test): Likewise.
14117 (catan_test): Likewise.
14118 (catanh_test): Likewise.
14119 (cbrt_test): Likewise.
14120 (ccos_test): Likewise.
14121 (ccosh_test): Likewise.
14122 (ceil_test): Likewise.
14123 (cexp_test): Likewise.
14124 (cimag_test): Likewise.
14125 (clog_test): Likewise.
14126 (clog10_test): Likewise.
14127 (conj_test): Likewise.
14128 (copysign_test): Likewise.
14129 (cos_test): Likewise.
14130 (cos_test_tonearest): Likewise.
14131 (cos_test_towardzero): Likewise.
14132 (cos_test_downward): Likewise.
14133 (cos_test_upward): Likewise.
14134 (cosh_test): Likewise.
14135 (cosh_test_tonearest): Likewise.
14136 (cosh_test_towardzero): Likewise.
14137 (cosh_test_downward): Likewise.
14138 (cosh_test_upward): Likewise.
14139 (cpow_test): Likewise.
14140 (cproj_test): Likewise.
14141 (creal_test): Likewise.
14142 (csin_test): Likewise.
14143 (csinh_test): Likewise.
14144 (csqrt_test): Likewise.
14145 (ctan_test): Likewise.
14146 (ctan_test_tonearest): Likewise.
14147 (ctan_test_towardzero): Likewise.
14148 (ctan_test_downward): Likewise.
14149 (ctan_test_upward): Likewise.
14150 (ctanh_test): Likewise.
14151 (ctanh_test_tonearest): Likewise.
14152 (ctanh_test_towardzero): Likewise.
14153 (ctanh_test_downward): Likewise.
14154 (ctanh_test_upward): Likewise.
14155 (erf_test): Likewise.
14156 (erfc_test): Likewise.
14157 (exp_test): Likewise.
14158 (exp_test_tonearest): Likewise.
14159 (exp_test_towardzero): Likewise.
14160 (exp_test_downward): Likewise.
14161 (exp_test_upward): Likewise.
14162 (exp10_test): Likewise.
14163 (exp10_test_tonearest): Likewise.
14164 (exp10_test_towardzero): Likewise.
14165 (exp10_test_downward): Likewise.
14166 (exp10_test_upward): Likewise.
14167 (pow10_test): Likewise.
14168 (exp2_test): Likewise.
14169 (expm1_test): Likewise.
14170 (expm1_test_tonearest): Likewise.
14171 (expm1_test_towardzero): Likewise.
14172 (expm1_test_downward): Likewise.
14173 (expm1_test_upward): Likewise.
14174 (fabs_test): Likewise.
14175 (fdim_test): Likewise.
14176 (floor_test): Likewise.
14177 (fma_test): Likewise.
14178 (fma_test_towardzero): Likewise.
14179 (fma_test_downward): Likewise.
14180 (fma_test_upward): Likewise.
14181 (fmax_test): Likewise.
14182 (fmin_test): Likewise.
14183 (fmod_test): Likewise.
14184 (fpclassify_test): Likewise.
14185 (frexp_test): Likewise.
14186 (hypot_test): Likewise.
14187 (ilogb_test): Likewise.
14188 (isfinite_test): Likewise.
14189 (finite_test): Likewise.
14190 (isgreater_test): Likewise.
14191 (isgreaterequal_test): Likewise.
14192 (isinf_test): Likewise.
14193 (isless_test): Likewise.
14194 (islessequal_test): Likewise.
14195 (islessgreater_test): Likewise.
14196 (isnan_test): Likewise.
14197 (isnormal_test): Likewise.
14198 (issignaling_test): Likewise.
14199 (isunordered_test): Likewise.
14200 (j0_test): Likewise.
14201 (j1_test): Likewise.
14202 (jn_test): Likewise.
14203 (ldexp_test): Likewise.
14204 (lgamma_test): Likewise.
14205 (gamma_test): Likewise.
14206 (lrint_test): Likewise.
14207 (lrint_test_tonearest): Likewise.
14208 (lrint_test_towardzero): Likewise.
14209 (lrint_test_downward): Likewise.
14210 (lrint_test_upward): Likewise.
14211 (llrint_test): Likewise.
14212 (llrint_test_tonearest): Likewise.
14213 (llrint_test_towardzero): Likewise.
14214 (llrint_test_downward): Likewise.
14215 (llrint_test_upward): Likewise.
14216 (log_test): Likewise.
14217 (log10_test): Likewise.
14218 (log1p_test): Likewise.
14219 (log2_test): Likewise.
14220 (logb_test): Likewise.
14221 (logb_test_downward): Likewise.
14222 (lround_test): Likewise.
14223 (llround_test): Likewise.
14224 (modf_test): Likewise.
14225 (nearbyint_test): Likewise.
14226 (nextafter_test): Likewise.
14227 (nexttoward_test): Likewise.
14228 (pow_test): Likewise.
14229 (pow_test_tonearest): Likewise.
14230 (pow_test_towardzero): Likewise.
14231 (pow_test_downward): Likewise.
14232 (pow_test_upward): Likewise.
14233 (remainder_test): Likewise.
14234 (drem_test): Likewise.
14235 (remainder_test_tonearest): Likewise.
14236 (drem_test_tonearest): Likewise.
14237 (remainder_test_towardzero): Likewise.
14238 (drem_test_towardzero): Likewise.
14239 (remainder_test_downward): Likewise.
14240 (drem_test_downward): Likewise.
14241 (remainder_test_upward): Likewise.
14242 (drem_test_upward): Likewise.
14243 (remquo_test): Likewise.
14244 (rint_test): Likewise.
14245 (rint_test_tonearest): Likewise.
14246 (rint_test_towardzero): Likewise.
14247 (rint_test_downward): Likewise.
14248 (rint_test_upward): Likewise.
14249 (round_test): Likewise.
14250 (scalb_test): Likewise.
14251 (scalbn_test): Likewise.
14252 (scalbln_test): Likewise.
14253 (signbit_test): Likewise.
14254 (sin_test): Likewise.
14255 (sin_test_tonearest): Likewise.
14256 (sin_test_towardzero): Likewise.
14257 (sin_test_downward): Likewise.
14258 (sin_test_upward): Likewise.
14259 (sincos_test): Likewise.
14260 (sinh_test): Likewise.
14261 (sinh_test_tonearest): Likewise.
14262 (sinh_test_towardzero): Likewise.
14263 (sinh_test_downward): Likewise.
14264 (sinh_test_upward): Likewise.
14265 (sqrt_test): Likewise.
14266 (sqrt_test_tonearest): Likewise.
14267 (sqrt_test_towardzero): Likewise.
14268 (sqrt_test_downward): Likewise.
14269 (sqrt_test_upward): Likewise.
14270 (tan_test): Likewise.
14271 (tan_test_tonearest): Likewise.
14272 (tan_test_towardzero): Likewise.
14273 (tan_test_downward): Likewise.
14274 (tan_test_upward): Likewise.
14275 (tanh_test): Likewise.
14276 (tgamma_test): Likewise.
14277 (trunc_test): Likewise.
14278 (y0_test): Likewise.
14279 (y1_test): Likewise.
14280 (yn_test): Likewise.
14281 (significand_test): Likewise.
14283 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14284 individual tests in comment.
14285 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14286 (prev_max_error): New variable.
14287 (prev_real_max_error): Likewise.
14288 (prev_imag_max_error): Likewise.
14289 (compare_ulp_data): Don't refer to test names in comment.
14290 (find_test_ulps): Remove function.
14291 (find_function_ulps): Likewise.
14292 (find_complex_function_ulps): Likewise.
14293 (init_max_error): Take function name as argument. Look up ulps
14295 (print_ulps): Remove function.
14296 (print_max_error): Use prev_max_error instead of calling
14297 find_function_ulps.
14298 (print_complex_max_error): Use prev_real_max_error and
14299 prev_imag_max_error instead of calling find_complex_function_ulps.
14300 (check_float_internal): Take max_ulp parameter instead of calling
14301 find_test_ulps. Don't call print_ulps.
14302 (check_float): Update call to check_float_internal.
14303 (check_complex): Update calls to check_float_internal.
14304 (START): Pass argument to init_max_error.
14305 * math/gen-libm-test.pl (%results): Don't include "kind"
14307 (parse_ulps): Don't handle ulps of individual tests.
14308 (print_ulps_file): Likewise.
14309 (output_ulps): Likewise.
14310 * math/README.libm-test: Update.
14311 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14313 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14314 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14315 * sysdeps/arm/libm-test-ulps: Likewise.
14316 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14317 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14318 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14319 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14320 * sysdeps/microblaze/libm-test-ulps: Likewise.
14321 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14322 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14323 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14324 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14325 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14326 * sysdeps/sh/libm-test-ulps: Likewise.
14327 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14328 * sysdeps/tile/libm-test-ulps: Likewise.
14329 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14331 2014-03-04 Joseph Myers <joseph@codesourcery.com>
14333 * math/libm-test.inc (print_complex_max_error): Check separately
14334 whether real and imaginary errors are within allowed range and
14335 pass 0 to print_complex_function_ulps instead of value within
14338 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14340 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14342 (get_handles_fopen): Likewise.
14343 (do_write_test): Likewise.
14345 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14347 * libio/fileops.c (do_ftell): Use cached offset when
14349 * libio/iofwide.c (do_ftell_wide): Likewise.
14350 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14352 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14355 * libio/libioP.h (get_file_offset): New function.
14356 * libio/fileops.c (get_file_offset): Likewise.
14357 (do_ftell): Likewise.
14358 (_IO_new_file_seekoff): Split out ftell logic.
14359 * libio/wfileops.c (do_ftell_wide): Likewise.
14360 (_IO_wfile_seekoff): Split out ftell logic.
14361 * libio/tst-ftell-active-handler.c: New test case.
14362 * libio/Makefile (tests): Add it.
14364 2014-03-03 Roland McGrath <roland@hack.frob.com>
14366 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14367 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14369 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14372 * nscd/connections.c (nscd_init): Call do_exit.
14373 (start_threads): Call do_exit and notify_parent.
14374 (begin_drop_privileges): Call do_exit.
14375 (finish_drop_privileges): Likewise.
14376 * nscd/selinux.c (preserve_capabilities): Likewise.
14377 (install_real_capabilities): Likewise.
14378 (nscd_selinux_enabled): Likewise.
14379 (avc_create_thread): Likewise.
14380 (avc_alloc_lock): Likewise.
14381 (nscd_avc_init): Likewise.
14382 * nscd/nscd.c (parent_fd): New static variable.
14383 (main): Create a pipe between parent and child processes.
14384 Skip closing parent_fd.
14385 (monitor_child): New function.
14386 (do_exit): Likewise.
14387 (notify_parent): Likewise.
14388 * nscd/nscd.h (notify_parent): Likewise.
14389 (do_exit): Likewise.
14391 2014-03-03 Carlos O'Donell <carlos@redhat.com>
14393 * malloc/malloc.c (__libc_calloc): Revert last change.
14395 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14397 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14399 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14401 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14402 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14404 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14405 (__libc_ifunc_impl_list): Likewise.
14406 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14407 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14408 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14409 * string/strrchr.c: Define STRRCHR.
14411 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
14413 * benchtest/bench-strtok.c (simple_strtok): Delete.
14414 (strtok_string): Use as benchmark.
14415 * string/strtok (STRTOK): New macro.
14417 2014-02-28 Carlos O'Donell <carlos@redhat.com>
14419 * manual/threads.texi: Add header and standard comments to all
14422 * elf/dl-lookup.c (check_match): New function.
14423 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14424 (do_lookup_x): Remove nested function check_match. Use non-nested
14425 function check_match.
14427 2014-02-28 Roland McGrath <roland@hack.frob.com>
14429 * csu/Makefile (generated, before-compile): Use += rather than =.
14430 * catgets/Makefile (generated, generated-dirs): Likewise.
14431 * debug/Makefile (generated): Likewise.
14432 * dlfcn/Makefile (generated): Likewise.
14433 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14434 * iconvdata/Makefile (before-compile, generated): Likewise.
14435 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14436 * libio/Makefile (generated): Likewise.
14437 * malloc/Makefile (generated): Likewise.
14438 * manual/Makefile (generated, generated-dirs): Likewise.
14439 * misc/Makefile (generated): Likewise.
14440 * posix/Makefile (generated): Likewise.
14441 * resolv/Makefile (generated): Likewise.
14442 * sunrpc/Makefile (generated, generated-dirs): Likewise.
14443 * timezone/Makefile (generated, generated-dirs): Likewise.
14445 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14447 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14449 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14450 power8 implementation.
14451 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14452 file: POWER8 llround ifunc implementation.
14453 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14454 (__lllround): Add POWER8 implementation.
14455 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14456 POWER8 llround implementation.
14458 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14459 power8 implementation.
14460 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14461 file: POWER8 llrint ifunc implementation.
14462 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14463 Add POWER8 implementation.
14464 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14465 POWER8 llrint implementation.
14467 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14468 power8 implementation.
14469 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14470 file: POWER8 finite ifunc implementation.
14471 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14472 Add POWER8 implementation.
14473 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14475 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14476 POWER8 finite implementation.
14477 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14479 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14480 power8 implementation.
14481 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14482 file: POWER8 isinf ifunc implementation.
14483 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14484 POWER8 implementation.
14485 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14487 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14488 isinf implementation.
14489 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14491 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14492 (INIT_ARCH): Add hwcap2 initialization.
14493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14494 power8 implementation.
14495 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14496 file: POWER8 isnan ifunc implementation.
14497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14498 POWER8 implementation.
14499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14501 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14502 isnan implementation.
14503 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14505 2014-02-27 Joey Ye <joey.ye@arm.com>
14507 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14508 (_FP_NANFRAC_Q): Set to zero.
14510 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14513 * math/auto-libm-test-in: New test inputs.
14514 * math/auto-libm-test-out: Regenerate.
14515 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14518 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14520 2014-02-27 Joseph Myers <joseph@codesourcery.com>
14522 * scripts/evaluate-test.sh: Take new argument indicating whether
14523 failure is expected.
14524 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14525 indicating whether failure is expected.
14526 * conform/Makefile (test-xfail-run-conformtest): New variable.
14527 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14529 * posix/Makefile (test-xfail-annexc): New variable.
14530 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14532 2014-02-26 Joseph Myers <joseph@codesourcery.com>
14534 * argp/Makefile: Include Makeconfig immediately after defining
14536 * assert/Makefile: Likewise.
14537 * benchtests/Makefile: Likewise.
14538 * catgets/Makefile: Likewise.
14539 * conform/Makefile: Likewise.
14540 * crypt/Makefile: Likewise.
14541 * csu/Makefile: Likewise.
14542 (all): Remove target.
14543 * ctype/Makefile: Include Makeconfig immediately after defining
14545 * debug/Makefile: Likewise.
14546 * dirent/Makefile: Likewise.
14547 * dlfcn/Makefile: Likewise.
14548 * gmon/Makefile: Likewise.
14549 * gnulib/Makefile: Likewise.
14550 * grp/Makefile: Likewise.
14551 * gshadow/Makefile: Likewise.
14552 * hesiod/Makefile: Likewise.
14553 * hurd/Makefile: Likewise.
14554 (all): Remove target.
14555 * iconvdata/Makefile: Include Makeconfig immediately after
14557 * inet/Makefile: Likewise.
14558 * intl/Makefile: Likewise.
14559 * io/Makefile: Likewise.
14560 * libio/Makefile: Likewise.
14561 (all): Remove target.
14562 * locale/Makefile: Include Makeconfig immediately after defining
14564 * login/Makefile: Likewise.
14565 * mach/Makefile: Likewise.
14566 (all): Remove target.
14567 * malloc/Makefile: Include Makeconfig immediately after defining
14569 (all): Remove target.
14570 * manual/Makefile: Include Makeconfig immediately after defining
14572 * math/Makefile: Likewise.
14573 * misc/Makefile: Likewise.
14574 * nis/Makefile: Likewise.
14575 * nss/Makefile: Likewise.
14576 * po/Makefile: Likewise.
14577 (all): Remove target.
14578 * posix/Makefile: Include Makeconfig immediately after defining
14580 * pwd/Makefile: Likewise.
14581 * resolv/Makefile: Likewise.
14582 * resource/Makefile: Likewise.
14583 * rt/Makefile: Likewise.
14584 * setjmp/Makefile: Likewise.
14585 * shadow/Makefile: Likewise.
14586 * signal/Makefile: Likewise.
14587 * socket/Makefile: Likewise.
14588 * soft-fp/Makefile: Likewise.
14589 * stdio-common/Makefile: Likewise.
14590 * stdlib/Makefile: Likewise.
14591 * streams/Makefile: Likewise.
14592 * string/Makefile: Likewise.
14593 * sunrpc/Makefile: Likewise.
14594 (all): Remove target.
14595 * sysvipc/Makefile: Include Makeconfig immediately after defining
14597 * termios/Makefile: Likewise.
14598 * time/Makefile: Likewise.
14599 * timezone/Makefile: Likewise.
14600 (all): Remove target.
14601 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14603 * wctype/Makefile: Likewise.
14605 2014-02-26 Steve Ellcey <sellcey@mips.com>
14607 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14608 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14609 (libc_feholdexcept_setround_mips): Ditto.
14610 (libc_feholdsetround): New.
14611 (libc_feholdsetroundf): New.
14612 (libc_feholdsetroundl): New.
14613 (libc_feupdateenv_test_mips): New.
14614 (libc_feupdateenv_test): New.
14615 (libc_feupdateenv_testf): New.
14616 (libc_feupdateenv_testl): New.
14617 (libc_feresetround): New.
14618 (libc_feresetroundf): New.
14619 (libc_feresetroundl): New.
14620 (libc_fetestexcept_mips): New.
14621 (libc_fetestexcept): New.
14622 (libc_fetestexceptf): New.
14623 (libc_fetestexceptl): New.
14624 (HAVE_RM_CTX): New.
14625 (libc_feholdexcept_setround_mips_ctx): New.
14626 (libc_feholdexcept_setround_ctx): New.
14627 (libc_feholdexcept_setroundf_ctx): New.
14628 (libc_feholdexcept_setroundl_ctx): New.
14629 (libc_fesetenv_mips_ctx): New.
14630 (libc_fesetenv_ctx): New.
14631 (libc_fesetenv_ctxf): New.
14632 (libc_fesetenv_ctxl): New.
14633 (libc_feupdateenv_mips_ctx): New.
14634 (libc_feupdateenv_ctx): New.
14635 (libc_feupdateenvf_ctx): New.
14636 (libc_feupdateenvl_ctx): New.
14637 (libc_feholdsetround_mips_ctx): New.
14638 (libc_feholdsetround_ctx): New.
14639 (libc_feholdsetroundf_ctx): New.
14640 (libc_feholdsetroundl_ctx): New.
14641 (libc_feresetround_mips_ctx): New.
14642 (libc_feresetround_ctx): New.
14643 (libc_feresetroundf_ctx): New.
14644 (libc_feresetroundl_ctx): New.
14646 2014-02-26 Carlos O'Donell <carlos@redhat.com>
14648 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14650 * manual/ipc.texi: New file.
14651 * manual/Makefile (chapters): Add ipc.
14652 * manual/job.texi: Add "Inter-Process Communication" to next.
14653 * manual/process.texi: Add "Inter-Process Communication" to prev.
14655 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14657 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14659 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
14661 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14663 * manual/arith.texi: Fix spaces after sentences.
14664 * manual/charset.texi: Likewise.
14665 * manual/errno.texi: Likewise.
14666 * manual/install.texi: Likewise.
14667 * manual/llio.texi: Likewise.
14668 * manual/locale.texi: Likewise.
14669 * manual/maint.texi: Likewise.
14670 * manual/math.texi: Likewise.
14671 * manual/memory.texi: Likewise.
14672 * manual/message.texi: Likewise.
14673 * manual/probes.texi: Likewise.
14674 * manual/resource.texi: Likewise.
14675 * manual/signal.texi: Likewise.
14676 * manual/socket.texi: Likewise.
14677 * manual/stdio.texi: Likewise.
14678 * manual/string.texi: Likewise.
14679 * manual/time.texi: Likewise.
14680 * manual/users.texi: Likewise.
14682 2014-02-25 Carlos O'Donell <carlos@redhat.com>
14685 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14686 _DEFAULT_SOURCE is defined.
14688 2014-02-25 Ulrich Drepper <drepper@gmail.com>
14689 Carlos O'Donell <carlos@redhat.com>
14692 * elf/dl-tls.c (_dl_count_modids): New function.
14693 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14694 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14695 audit library and increment generation counter.
14696 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14697 * elf/tst-audit9.c: New file.
14698 * elf/tst-auditmod9a.c: New file.
14699 * elf/tst-auditmod9b.c: New file.
14700 * elf/Makefile: Add rules to build and run tst-audit9.
14702 2014-02-25 Florian Weimer <fweimer@redhat.com>
14705 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14707 2014-02-25 Will Newton <will.newton@linaro.org>
14709 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14710 (__longjmp): Restore sp and lr before restoring callee
14711 saved registers. Add longjmp and longjmp_target
14712 SystemTap probe point.
14713 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14714 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14715 Define to zero to match jmpbuf layout.
14716 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14717 (__sigsetjmp): Save sp and lr before saving callee
14718 saved registers. Add setjmp SystemTap probe point.
14720 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14722 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14724 2014-02-24 Andreas Schwab <schwab@suse.de>
14727 * elf/pldd.c (wait_for_ptrace_stop): New function.
14728 (main): Call it after attaching.
14730 2014-02-22 Roland McGrath <roland@hack.frob.com>
14732 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14733 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14734 Versions files is now verboten.
14735 * hurd/Versions (libc: GLIBC_2.0):
14736 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14737 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14738 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14739 * mach/Versions: Likewise.
14741 * csu/Versions: Remove unused %include.
14742 * resolv/Versions: Likewise.
14744 2014-02-21 Joseph Myers <joseph@codesourcery.com>
14746 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14747 ($(objpfx)check-local-headers.out): Likewise.
14748 ($(objpfx)begin-end-check.out): Likewise.
14749 * Makerules (check-abi-%.out): Likewise.
14750 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14751 ($(objpfx)test2.cat): Likewise.
14752 ($(objpfx)de/libc.cat): Likewise.
14753 ($(objpfx)test-gencat.out): Likewise.
14754 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14755 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14756 ($(objpfx)noload-mem): Likewise.
14757 ($(objpfx)tst-pathopt.out): Likewise.
14758 ($(objpfx)tst-rtld-load-self.out): Likewise.
14759 ($(objpfx)tst-array1-cmp.out): Likewise.
14760 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14761 ($(objpfx)tst-array2-cmp.out): Likewise.
14762 ($(objpfx)tst-array3-cmp.out): Likewise.
14763 ($(objpfx)tst-array4-cmp.out): Likewise.
14764 ($(objpfx)tst-array5-cmp.out): Likewise.
14765 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14766 ($(objpfx)check-textrel.out): Likewise.
14767 ($(objpfx)check-execstack.out): Likewise.
14768 ($(objpfx)check-localplt.out): Likewise.
14769 ($(objpfx)order2-cmp.out): Likewise.
14770 ($(objpfx)tst-leaks1-mem): Likewise.
14771 ($(objpfx)tst-leaks1-static-mem): Likewise.
14772 ($(objpfx)tst-initorder-cmp.out): Likewise.
14773 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14774 ($(objpfx)tst-unused-dep.out): Likewise.
14775 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14776 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14777 * iconv/Makefile (test-iconvconfig): Likewise.
14778 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14779 ($(objpfx)iconv-test.out): Likewise.
14780 ($(objpfx)tst-tables.out): Likewise.
14781 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14782 ($(objpfx)tst-gettext.out): Likewise.
14783 ($(objpfx)tst-translit.out): Likewise.
14784 ($(objpfx)tst-gettext2.out): Likewise.
14785 ($(objpfx)tst-gettext4.out): Likewise.
14786 ($(objpfx)tst-gettext6.out): Likewise.
14787 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14788 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14789 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14790 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14791 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14792 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14793 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14794 ($(objpfx)wordexp-tst.out): Likewise.
14795 ($(objpfx)annexc.out): Likewise.
14796 ($(objpfx)tst-fnmatch-mem): Likewise.
14797 ($(objpfx)bug-regex2-mem): Likewise.
14798 ($(objpfx)bug-regex14-mem): Likewise.
14799 ($(objpfx)bug-regex21-mem): Likewise.
14800 ($(objpfx)bug-regex31-mem): Likewise.
14801 ($(objpfx)tst-vfork3-mem): Likewise.
14802 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14803 ($(objpfx)tst-pcre-mem): Likewise.
14804 ($(objpfx)tst-boost-mem): Likewise.
14805 ($(objpfx)tst-getconf.out): Likewise.
14806 ($(objpfx)bug-ga2-mem): Likewise.
14807 ($(objpfx)bug-glob2-mem): Likewise.
14808 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14809 ($(objpfx)mtrace-tst-leaks2): Likewise.
14810 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14811 ($(objpfx)tst-printf.out): Likewise.
14812 ($(objpfx)tst-setvbuf1.out): Likewise.
14813 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14814 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14815 ($(objpfx)tst-fmtmsg.out): Likewise.
14816 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14817 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14819 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14820 * bits/sigaction.h [__USE_MISC]: Likewise.
14821 * bits/waitstatus.h: Update #endif comments.
14822 * ctype/ctype.h: Likewise.
14823 * dirent/dirent.h: Likewise.
14824 [__USE_MISC]: Remove redundant conditionals.
14825 * grp/grp.h: Update #endif comments.
14826 [__USE_GNU]: Remove redundant conditionals.
14827 [__USE_MISC]: Likewise.
14828 * inet/netinet/in.h [__USE_GNU]: Likewise.
14829 * io/sys/stat.h [__USE_MISC]: Likewise.
14830 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14831 * libio/bits/stdio.h: Update #endif comments.
14832 [__USE_MISC]: Remove redundant conditionals.
14833 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14834 * libio/stdio.h: Update #endif comments.
14835 [__USE_MISC]: Remove redundant conditionals.
14836 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14837 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14838 * math/math.h: Update #else and #endif comments.
14839 [__USE_MISC]: Remove redundant conditionals.
14840 * misc/sys/uio.h: Update #endif comments.
14841 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14842 * posix/glob.h [__USE_MISC]: Likewise.
14843 * posix/sys/types.h: Update #endif comments.
14844 [__USE_MISC]: Remove redundant conditionals.
14845 * posix/sys/wait.h: Update #endif comments.
14846 [__USE_MISC]: Remove redundant conditionals.
14847 * posix/unistd.h: Update #endif comments.
14848 [__USE_MISC]: Remove redundant conditionals.
14849 * pwd/pwd.h [__USE_GNU]: Likewise.
14850 [__USE_MISC]: Likewise.
14851 * resolv/netdb.h [__USE_GNU]: Likewise.
14852 * signal/signal.h: Update #endif comments.
14853 [__USE_MISC]: Remove redundant conditionals.
14854 * stdlib/stdlib.h: Update #else and #endif comments.
14855 [__USE_MISC]: Remove redundant conditionals.
14856 [__USE_GNU]: Likewise.
14857 * string/bits/string2.h [__USE_MISC]: Likewise.
14858 * string/string.h: Update #endif comments.
14859 [__USE_MISC]: Remove redundant conditionals.
14860 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14862 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14863 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14864 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14866 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14868 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14870 [__USE_MISC]: Remove redundant conditionals.
14871 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14872 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14873 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14874 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14875 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14877 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14878 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14880 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14881 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14883 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14885 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14886 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14888 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14890 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14891 * sysdeps/x86/bits/string.h: Update #endif comments.
14892 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14894 * time/sys/time.h: Update #endif comments.
14895 * time/time.h: Likewise.
14896 [__USE_MISC]: Remove redundant conditionals.
14898 2014-02-21 Yury Gribov <y.gribov@samsung.com>
14901 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14903 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14905 * Versions.def (librt): Add GLIBC_2.17.
14907 2014-02-21 Adam Conrad <adconrad@0c3.net>
14909 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14910 synonym for _SYS_AUXV_H to allow direct inclusion.
14911 * sysdeps/sparc/bits/hwcap.h: Likewise.
14912 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14913 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14914 * sysdeps/sparc/sysdep.h: Likewise.
14916 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14918 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14920 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14922 * benchtests/bench-strrchr.c: Print length instead of position.
14924 2014-02-20 Joseph Myers <joseph@codesourcery.com>
14927 * sysdeps/unix/sysv/linux/kernel-features.h
14928 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14929 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14930 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14931 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14933 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14934 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14935 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14936 (__ASSUME_SENDMMSG): Define instead of using previous
14937 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14938 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14939 (__ASSUME_SENDMMSG_SYSCALL): Define.
14940 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14941 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14943 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14944 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14946 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14947 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14949 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14950 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14951 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14952 [__ASSUME_SENDMMSG]: Change conditionals to
14953 [__ASSUME_SENDMMSG_SOCKETCALL].
14954 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14955 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14957 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14958 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14960 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14961 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14962 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14963 [!__ASSUME_SENDMMSG]: Change conditional to
14964 [!__ASSUME_SENDMMSG_SOCKETCALL].
14965 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14966 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14970 * sysdeps/unix/sysv/linux/kernel-features.h
14971 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14972 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14973 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14974 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14975 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14976 [__i386__ || __sparc__]
14977 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14978 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14979 (__ASSUME_RECVMMSG): Define instead of using previous
14980 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14981 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14982 (__ASSUME_RECVMMSG_SYSCALL): Define.
14983 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14984 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14986 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14987 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14989 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14990 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14992 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14993 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14994 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14995 [__ASSUME_RECVMMSG]: Change condition to
14996 [__ASSUME_RECVMMSG_SOCKETCALL].
14997 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14998 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15000 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15001 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15002 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15004 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15005 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15006 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15007 [!__ASSUME_RECVMMSG]: Change condition to
15008 [!__ASSUME_RECVMMSG_SOCKETCALL].
15009 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15010 (__ASSUME_RECVMMSG_SYSCALL): Define.
15013 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15014 __powerpc__ || __s390__ || __sh__ || __sparc__]
15015 (__ASSUME_SOCKETCALL): Define.
15016 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15017 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15018 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15019 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15020 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15021 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15022 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15023 (__ASSUME_ACCEPT4): Define instead of using previous
15024 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15025 __powerpc__ || __sparc__ || __s390__)] condition.
15026 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15027 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15028 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15029 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15030 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15031 [!__ASSUME_ACCEPT4]: Change condition to
15032 [!__ASSUME_ACCEPT4_SOCKETCALL].
15033 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15034 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15035 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15036 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15037 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15038 __ASSUME_ACCEPT4_SYSCALL.
15039 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15040 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15041 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15042 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15043 __ASSUME_ACCEPT4_SYSCALL.
15044 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15045 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15046 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15047 [__ASSUME_ACCEPT4]: Change condition to
15048 [__ASSUME_ACCEPT4_SOCKETCALL].
15049 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15050 (__ASSUME_SOCKETCALL): Define.
15051 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15052 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15053 (__ASSUME_SOCKETCALL): Define.
15054 (__ASSUME_ACCEPT4): Remove.
15055 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15057 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15058 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15060 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15061 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15063 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15065 (HWCAP_ARM_LPAE): Likewise.
15066 (HWCAP_ARM_EVTSTRM): Likewise.
15067 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15068 Add vpfd32, lpae and evtstrm.
15069 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15072 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15074 * math/auto-libm-test-in: Add tests of clog10.
15075 * math/auto-libm-test-out: Regenerated.
15076 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15077 * sysdeps/i386/fpu/libm-test-ulps: Update.
15078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15080 2014-02-18 Andreas Schwab <schwab@suse.de>
15083 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15084 Store non-zero if the second buffer was newly allocated.
15085 (send_dg): Likewise.
15086 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15087 to send_vc and send_dg.
15088 (res_nsend): Pass NULL for ansp2_malloced.
15089 * resolv/res_query.c (__libc_res_nquery): Add parameter
15090 answerp2_malloced and pass it down to __libc_res_nsend.
15091 (res_nquery): Pass additional NULL to __libc_res_nquery.
15092 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15093 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15094 second answer buffer if answerp2_malloced was set.
15095 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15096 (__libc_res_nquerydomain): Add parameter
15097 answerp2_malloced and pass it down to __libc_res_nquery.
15098 (res_nquerydomain): Pass additional NULL to
15099 __libc_res_nquerydomain.
15100 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15101 additional NULL to __libc_res_nsend and __libc_res_nquery.
15102 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15103 additional NULL to __libc_res_nsearch.
15104 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15105 parameter of __libc_res_nsearch to check for separately allocated
15107 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15109 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15110 additional NULL to __libc_res_nquery.
15111 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15112 __libc_res_nsearch.
15113 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15114 * include/resolv.h: Update prototypes of __libc_res_nquery,
15115 __libc_res_nsearch, __libc_res_nsend.
15117 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15119 * math/auto-libm-test-in: Add tests of fma.
15120 * math/auto-libm-test-out: Regenerated.
15121 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15122 (fma_towardzero_test_data): Likewise.
15123 (fma_downward_test_data): Likewise.
15124 (fma_upward_test_data): Likewise.
15125 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15127 (rounding_modes): Add values for new field.
15128 (func_calc_method): Add value mpfr_fff_f.
15129 (func_calc_desc): Add mpfr_fff_f union field.
15130 (test_function): Add field exact_args.
15131 (FUNC): Add macro argument EXACT_ARGS.
15132 (FUNC_mpfr_f_f): Update call to FUNC.
15133 (FUNC_mpfr_f_f): Likewise.
15134 (FUNC_mpfr_ff_f): Likewise.
15135 (FUNC_mpfr_if_f): Likewise.
15136 (FUNC_mpc_c_f): Likewise.
15137 (FUNC_mpc_c_c): Likewise.
15138 (test_functions): Add fma. Update calls to FUNC.
15139 (handle_input_arg): Add argument exact_args.
15140 (add_test): Update call to handle_input_arg.
15141 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15142 (output_for_one_input_case): Update call to calc_generic_results.
15143 Recalculate exact zero results in each rounding mode.
15145 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15146 non-negative before setting low bit.
15147 * math/auto-libm-test-in: Mark one asin test possibly having
15148 spurious underflow.
15149 * math/auto-libm-test-out: Regenerated.
15150 * sysdeps/i386/fpu/libm-test-ulps: Update.
15151 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15153 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15155 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15156 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15157 ports/sysdeps/unix/sysv/linux/microblaze.
15158 * README: Add missing listing for microblaze*-*-linux-gnu.
15160 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15162 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15165 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15167 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15168 * sysdeps/unix/sysv/linux/ia64: Move directory from
15169 ports/sysdeps/unix/sysv/linux/ia64.
15170 * README: Update listing for ia64-*-linux-gnu.
15172 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15173 Joseph Myers <joseph@codesourcery.com>
15175 * Makeconfig (test-name): New variable.
15176 (evaluate-test): Likewise.
15177 * Makerules (do-test-clean): Remove .test-result files.
15178 (common-mostlyclean): Likewise.
15179 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15180 * scripts/evaluate-test.sh: New file.
15182 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15184 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15185 separate $(objpfx)tst-fopenloc-cmp.out and
15186 $(objpfx)tst-fopenloc-mem.out targets.
15187 (tests): Update dependencies.
15188 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15189 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15190 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15191 (tst-rxspencer-no-utf8-ARGS): New variable.
15192 (tst-rxspencer-no-utf8-ENV): Likewise.
15193 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15194 instead of $(objpfx)tst-rxspencer-mem.
15195 ($(objpfx)tst-rxspencer-mem): Change target to
15196 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15197 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15198 * posix/tst-rxspencer-no-utf8.c: New file.
15200 * elf/Makefile ($(objpfx)order.out): Remove rule.
15201 [$(run-built-tests) = yes] (tests): Depend on
15202 $(objpfx)order-cmp.out.
15203 ($(objpfx)order-cmp.out): New rule.
15204 [$(run-built-tests) = yes] (tests): Depend on
15205 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15206 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15207 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15208 $(objpfx)tst-array5-static-cmp.out.
15209 ($(objpfx)tst-array1.out): Remove rule.
15210 ($(objpfx)tst-array1-cmp.out): New rule.
15211 ($(objpfx)tst-array1-static.out): Remove rule.
15212 ($(objpfx)tst-array1-static-cmp.out): New rule.
15213 ($(objpfx)tst-array2.out): Remove rule.
15214 ($(objpfx)tst-array2-cmp.out): New rule.
15215 ($(objpfx)tst-array3.out): Remove rule.
15216 ($(objpfx)tst-array3-cmp.out): New rule.
15217 ($(objpfx)tst-array4.out): Remove rule.
15218 ($(objpfx)tst-array4-cmp.out): New rule.
15219 ($(objpfx)tst-array5.out): Remove rule.
15220 ($(objpfx)tst-array5-cmp.out): New rule.
15221 ($(objpfx)tst-array5-static.out): Remove rule.
15222 ($(objpfx)tst-array5-static-cmp.out): New rule.
15223 [$(run-built-tests) = yes] (tests): Depend on
15224 $(objpfx)order2-cmp.out.
15225 ($(objpfx)order2.out): Remove rule.
15226 ($(objpfx)order2-cmp.out): New rule.
15227 ($(objpfx)tst-initorder.out): Remove rule.
15228 [$(run-built-tests) = yes] (tests): Depend on
15229 $(objpfx)tst-initorder-cmp.out.
15230 ($(objpfx)tst-initorder-cmp.out): New rule.
15231 ($(objpfx)tst-initorder2.out): Remove rule.
15232 [$(run-built-tests) = yes] (tests): Depend on
15233 $(objpfx)tst-initorder2-cmp.out.
15234 ($(objpfx)tst-initorder2-cmp.out): New rule.
15235 [$(run-built-tests) = yes] (tests): Depend on
15236 $(objpfx)tst-unused-dep-cmp.out.
15237 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15238 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15239 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15240 on $(objpfx)tst-setvbuf1-cmp.out.
15241 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15242 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15243 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15244 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15245 ($(objpfx)tst-svc.out): Remove rule.
15246 ($(objpfx)tst-svc-cmp.out): New rule.
15248 2014-02-13 Joseph Myers <joseph@codesourcery.com>
15250 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15251 * ctype/ctype.h [__USE_MISC]: Likewise.
15252 * dirent/dirent.h [__USE_MISC]: Likewise.
15253 * grp/grp.h [__USE_MISC]: Likewise.
15254 * io/fcntl.h [__USE_MISC]: Likewise.
15255 * io/sys/stat.h [__USE_MISC]: Likewise.
15256 * libio/stdio.h [__USE_MISC]: Likewise.
15257 * posix/unistd.h [__USE_MISC]: Likewise.
15258 * pwd/pwd.h [__USE_MISC]: Likewise.
15259 * stdlib.h [__USE_MISC]: Likewise.
15260 * string/bits/string2.h [__USE_MISC]: Likewise.
15261 * string/string.h [__USE_MISC]: Likewise.
15262 * time/time.h [__USE_MISC]: Likewise.
15264 2014-02-13 Andreas Schwab <schwab@suse.de>
15267 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15268 second answer buffer if it was separately allocated.
15270 2014-02-12 Joseph Myers <joseph@codesourcery.com>
15272 * sysdeps/mips/math-tests.h: Include <features.h>.
15273 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15274 (ROUNDING_TESTS_long_double): Do not define.
15275 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15276 (EXCEPTION_TESTS_long_double): Likewise.
15277 * sysdeps/mips/mips64/libm-test-ulps: Update.
15279 * include/features.h (__USE_BSD): Remove macro definitions.
15280 (__USE_SVID): Likewise.
15281 (_BSD_SOURCE): Likewise.
15282 (_SVID_SOURCE): Likewise.
15283 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15284 from definition of _DEFAULT_SOURCE.
15285 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15287 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15288 * bits/mman.h [__USE_BSD]: Likewise.
15289 * bits/termios.h [__USE_BSD]: Likewise.
15290 * bits/waitstatus.h [__USE_BSD]: Likewise.
15291 * ctype/ctype.h [__USE_SVID]: Likewise.
15292 * dirent/dirent.h [__USE_BSD]: Likewise.
15293 * grp/grp.h [__USE_SVID]: Likewise.
15294 [__USE_BSD]: Likewise.
15295 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15296 * io/fcntl.h [__USE_BSD]: Likewise.
15297 * io/ftw.h [__USE_BSD]: Likewise.
15298 * io/sys/stat.h [__USE_BSD]: Likewise.
15299 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15300 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15301 * libio/stdio.h [__USE_SVID]: Likewise.
15302 [__USE_BSD]: Likewise.
15303 * math/math.h [__USE_SVID]: Likewise.
15304 [__USE_BSD]: Likewise.
15305 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15306 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15307 * misc/search.h [__USE_SVID]: Likewise.
15308 * misc/sys/mman.h [__USE_BSD]: Likewise.
15309 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15310 * misc/sys/uio.h [__USE_BSD]: Likewise.
15311 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15312 * posix/glob.h [__USE_BSD]: Likewise.
15313 * posix/regex.h [__USE_BSD]: Likewise.
15314 * posix/sys/types.h [__USE_BSD]: Likewise.
15315 [__USE_SVID]: Likewise.
15316 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15317 * posix/sys/wait.h [__USE_BSD]: Likewise.
15318 [__USE_SVID]: Likewise.
15319 * posix/unistd.h [__USE_BSD]: Likewise.
15320 [__USE_SVID]: Likewise.
15321 * pwd/pwd.h [__USE_SVID]: Likewise.
15322 * resolv/netdb.h [__USE_BSD]: Likewise.
15323 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15324 * signal/signal.h [__USE_BSD]: Likewise.
15325 [__USE_SVID]: Likewise.
15326 * socket/sys/socket.h [__USE_BSD]: Likewise.
15327 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15328 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15329 [__USE_SVID]: Likewise.
15330 * string/bits/string2.h [__USE_BSD]: Likewise.
15331 [__USE_SVID]: Likewise.
15332 * string/bits/string3.h [__USE_BSD]: Likewise.
15333 * string/endian.h [__USE_BSD]: Likewise.
15334 * string/string.h [__USE_SVID]: Likewise.
15335 [__USE_BSD]: Likewise.
15336 * string/strings.h [__USE_BSD]: Likewise.
15337 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15338 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15339 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15340 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15341 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15342 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15344 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15346 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15347 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15349 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15350 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15352 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15354 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15355 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15356 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15358 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15360 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15361 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15362 * termios/termios.h [__USE_BSD]: Likewise.
15363 * time/sys/time.h [__USE_BSD]: Likewise.
15364 * time/time.h [__USE_BSD]: Likewise.
15365 [__USE_SVID]: Likewise.
15367 * Makefile (subdir_targets): Remove subdir_lint.out.
15369 * stdio-common/Makefile (do-tst-unbputc): Remove target.
15370 (do-tst-printf): Likewise.
15371 (tests): Depend directly on $(objpfx)tst-unbputc.out and
15372 $(objpfx)tst-printf.out.
15374 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15376 * Makerules (check-abi-%): Change target to
15377 $(objpfx)check-abi-%.out.
15378 (check-abi target): Update dependencies.
15379 (check-abi-pattern variable): Redirect output of diff to $@.
15380 (check-abi variable): Likewise.
15381 * elf/Makefile (check-abi): Update dependencies.
15383 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15385 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15386 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15388 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15389 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15390 value has largest subnormal exponent.
15391 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15392 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15393 * sysdeps/aarch64/soft-fp/sfp-machine.h
15394 (_FP_TININESS_AFTER_ROUNDING): New macro.
15395 * sysdeps/alpha/soft-fp/sfp-machine.h
15396 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15397 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15399 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15400 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15401 * sysdeps/mips/soft-fp/sfp-machine.h
15402 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15403 * sysdeps/powerpc/soft-fp/sfp-machine.h
15404 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15405 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15407 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15408 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15409 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15410 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15411 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15414 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
15417 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15420 2014-02-12 Richard Henderson <rth@redhat.com>
15422 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15423 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15424 * sysdeps/unix/sysv/linux/alpha: Move directory from
15425 ports/sysdeps/unix/sysv/linux/alpha.
15426 * README: Update listing for alpha-*-linux-gnu.
15428 2014-02-11 Joseph Myers <joseph@codesourcery.com>
15430 * include/features.h: Update comment documenting feature test
15432 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
15434 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15435 (_SVID_SOURCE): Likewise.
15436 (_DEFAULT_SOURCE): Update description of default features.
15437 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15439 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15440 (S_ISVTX): Likewise.
15441 * manual/math.texi (Mathematical Constants): Likewise.
15442 * manual/signal.texi (Interrupted Primitives): Likewise.
15443 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15444 * math/test-matherr.c (_SVID_SOURCE): Do not define.
15445 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15446 Don't refer to _SVID_SOURCE in warning text.
15448 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15450 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15452 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15453 * sysdeps/mips/dl-lookup.c: Remove.
15454 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15456 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15459 * math/auto-libm-test-in: Add testcase for expl.
15460 * math/auto-libm-test-out: Regenerate.
15461 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15462 calculation of unsafe.
15463 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15465 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
15467 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15468 * sysdeps/unix/sysv/linux/aarch64: Move directory from
15469 ports/sysdeps/unix/sysv/linux/aarch64.
15470 * README: Update listing for aarch64*-*-linux-gnu.
15472 2014-02-11 Will Newton <will.newton@linaro.org>
15474 * manual/probes.texi (Mathematical Function Probes): Use
15475 "triggered" instead of "hit".
15477 * manual/probes.texi (Internal Probes): Add documentation
15478 of setjmp, longjmp and longjmp_target probes.
15480 * include/stap-probe.h: Add comment about probe argument
15483 * malloc/mtrace.c (attribute_hidden): Remove unused macro
15484 definition. (tr_where, tr_freehook, tr_mallochook,
15485 tr_reallochook, tr_memalignhook): Use ANSI protoype.
15487 2014-02-11 David S. Miller <davem@davemloft.net>
15489 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15490 processing int_tests.
15492 2014-02-10 Joseph Myers <joseph@codesourcery.com>
15494 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15495 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15496 * sysdeps/unix/sysv/linux/mips: Move directory from
15497 ports/sysdeps/unix/sysv/linux/mips.
15498 * README: Update listing for mips-*-linux-gnu and
15499 mips64-*-linux-gnu.
15501 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
15503 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15504 * sysdeps/unix/sysv/linux/m68k: Move directory from
15505 ports/sysdeps/unix/sysv/linux/m68k.
15506 * README: Update listing for m68k-*-linux-gnu.
15508 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
15510 * sysdeps/tile: Move directory from ports/sysdeps/tile.
15511 * sysdeps/unix/sysv/linux/generic: Move directory from
15512 ports/sysdeps/unix/sysv/linux/generic.
15513 * sysdeps/unix/sysv/linux/tile: Move directory from
15514 ports/sysdeps/unix/sysv/linux/tile.
15515 * README: Update listing for tile*-*-linux-gnu.
15517 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
15519 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15521 * benchtests/bench-memmem.c (simple_memmem): Likewise.
15522 * catgets/open_catalog.c (__open_catalog): Likewise.
15523 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15524 * debug/confstr_chk.c: Likewise.
15525 * debug/fread_chk.c (__fread_chk): Likewise.
15526 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15527 * debug/getgroups_chk.c: Likewise.
15528 * debug/mbsnrtowcs_chk.c: Likewise.
15529 * debug/mbsrtowcs_chk.c: Likewise.
15530 * debug/mbstowcs_chk.c: Likewise.
15531 * debug/memcpy_chk.c: Likewise.
15532 * debug/memmove_chk.c: Likewise.
15533 * debug/mempcpy_chk.c: Likewise.
15534 * debug/memset_chk.c: Likewise.
15535 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15536 * debug/strcat_chk.c (__strcat_chk): Likewise.
15537 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15538 * debug/strncat_chk.c (__strncat_chk): Likewise.
15539 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15540 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15541 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15542 * debug/wcpncpy_chk.c: Likewise.
15543 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15544 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15545 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15546 * debug/wcsncpy_chk.c: Likewise.
15547 * debug/wcsnrtombs_chk.c: Likewise.
15548 * debug/wcsrtombs_chk.c: Likewise.
15549 * debug/wcstombs_chk.c: Likewise.
15550 * debug/wmemcpy_chk.c: Likewise.
15551 * debug/wmemmove_chk.c: Likewise.
15552 * debug/wmempcpy_chk.c: Likewise.
15553 * debug/wmemset_chk.c: Likewise.
15554 * dirent/scandirat.c (SCANDIRAT): Likewise.
15555 * dlfcn/dladdr1.c (dladdr1): Likewise.
15556 * dlfcn/dladdr.c (dladdr): Likewise.
15557 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15558 * dlfcn/dlerror.c (__dlerror): Likewise.
15559 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15560 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15561 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15562 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15563 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15564 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15565 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15566 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15568 * elf/dl-conflict.c: Likewise.
15569 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15570 * elf/dl-dst.h: Likewise.
15571 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15572 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15573 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15574 * elf/dl-init.c (call_init, _dl_init): Likewise.
15575 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15576 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15577 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15579 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15581 * elf/dl-minimal.c (__libc_memalign): Likewise.
15582 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15583 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15584 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15585 * elf/dl-sym.c (do_sym): Likewise.
15586 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15587 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15588 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15589 * elf/dl-writev.h (_dl_writev): Likewise.
15590 * elf/ldconfig.c (search_dir): Likewise.
15591 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15592 (dl_main): Likewise.
15593 * elf/setup-vdso.h (setup_vdso): Likewise.
15594 * grp/compat-initgroups.c (compat_call): Likewise.
15595 * grp/fgetgrent.c (fgetgrent): Likewise.
15596 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15597 * grp/putgrent.c (putgrent): Likewise.
15598 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15600 * hurd/hurdinit.c: Likewise.
15601 * iconvdata/8bit-gap.c (struct): Likewise.
15602 * iconvdata/ansi_x3.110.c : Likewise.
15603 * iconvdata/big5.c : Likewise.
15604 * iconvdata/big5hkscs.c : Likewise.
15605 * iconvdata/cp1255.c: Likewise.
15606 * iconvdata/cp1258.c : Likewise.
15607 * iconvdata/cp932.c : Likewise.
15608 * iconvdata/euc-cn.c: Likewise.
15609 * iconvdata/euc-jisx0213.c : Likewise.
15610 * iconvdata/euc-jp.c: Likewise.
15611 * iconvdata/euc-jp-ms.c : Likewise.
15612 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15613 * iconvdata/gb18030.c : Likewise.
15614 * iconvdata/gbbig5.c (const): Likewise.
15615 * iconvdata/gbgbk.c: Likewise.
15616 * iconvdata/gbk.c : Likewise.
15617 * iconvdata/ibm1364.c : Likewise.
15618 * iconvdata/ibm930.c : Likewise.
15619 * iconvdata/ibm932.c: Likewise.
15620 * iconvdata/ibm933.c : Likewise.
15621 * iconvdata/ibm935.c : Likewise.
15622 * iconvdata/ibm937.c : Likewise.
15623 * iconvdata/ibm939.c : Likewise.
15624 * iconvdata/ibm943.c: Likewise.
15625 * iconvdata/iso_11548-1.c: Likewise.
15626 * iconvdata/iso-2022-cn.c : Likewise.
15627 * iconvdata/iso-2022-cn-ext.c : Likewise.
15628 * iconvdata/iso-2022-jp-3.c: Likewise.
15629 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15630 * iconvdata/iso-2022-kr.c : Likewise.
15631 * iconvdata/iso646.c (gconv_end): Likewise.
15632 * iconvdata/iso_6937-2.c : Likewise.
15633 * iconvdata/iso_6937.c : Likewise.
15634 * iconvdata/iso8859-1.c: Likewise.
15635 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15636 * iconvdata/shift_jisx0213.c : Likewise.
15637 * iconvdata/sjis.c : Likewise.
15638 * iconvdata/t.61.c : Likewise.
15639 * iconvdata/tcvn5712-1.c : Likewise.
15640 * iconvdata/tscii.c: Likewise.
15641 * iconvdata/uhc.c : Likewise.
15642 * iconvdata/unicode.c (gconv_end): Likewise.
15643 * iconvdata/utf-16.c (gconv_end): Likewise.
15644 * iconvdata/utf-32.c (gconv_end): Likewise.
15645 * iconvdata/utf-7.c (base64): Likewise.
15646 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15647 * iconv/gconv_close.c (__gconv_close): Likewise.
15648 * iconv/gconv_open.c (__gconv_open): Likewise.
15649 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15650 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15651 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15652 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15653 (ucs4le_internal_loop_single): Likewise.
15654 * iconv/iconv.c (iconv): Likewise.
15655 * iconv/iconv_close.c: Likewise.
15656 * iconv/loop.c (SINGLE): Likewise.
15657 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15658 * include/atomic.h: Likewise.
15659 * inet/inet6_option.c (option_alloc): Likewise.
15660 * intl/bindtextdom.c (set_binding_values): Likewise.
15661 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15662 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15663 * intl/localealias.c (read_alias_file): Likewise.
15664 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15665 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15666 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15667 * libio/fmemopen.c (fmemopen): Likewise.
15668 * libio/iofgets.c (_IO_fgets): Likewise.
15669 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15670 * libio/iofgetws.c (fgetws): Likewise.
15671 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15672 * libio/iogetdelim.c (_IO_getdelim): Likewise.
15673 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15674 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15675 * locale/findlocale.c (_nl_find_locale): Likewise.
15676 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15677 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15679 * locale/setlocale.c (setlocale): Likewise.
15680 * login/programs/pt_chown.c (main): Likewise.
15681 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15682 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15683 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15684 (mmap, mmap64, mremap, munmap): Likewise.
15685 * math/e_exp2l.c: Likewise.
15686 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15687 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15688 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15689 * math/s_catan.c (__catan): Likewise.
15690 * math/s_catanf.c (__catanf): Likewise.
15691 * math/s_catanh.c (__catanh): Likewise.
15692 * math/s_catanhf.c (__catanhf): Likewise.
15693 * math/s_catanhl.c (__catanhl): Likewise.
15694 * math/s_catanl.c (__catanl): Likewise.
15695 * math/s_ccosh.c (__ccosh): Likewise.
15696 * math/s_ccoshf.c (__ccoshf): Likewise.
15697 * math/s_ccoshl.c (__ccoshl): Likewise.
15698 * math/s_cexp.c (__cexp): Likewise.
15699 * math/s_cexpf.c (__cexpf): Likewise.
15700 * math/s_cexpl.c (__cexpl): Likewise.
15701 * math/s_clog10.c (__clog10): Likewise.
15702 * math/s_clog10f.c (__clog10f): Likewise.
15703 * math/s_clog10l.c (__clog10l): Likewise.
15704 * math/s_clog.c (__clog): Likewise.
15705 * math/s_clogf.c (__clogf): Likewise.
15706 * math/s_clogl.c (__clogl): Likewise.
15707 * math/s_csin.c (__csin): Likewise.
15708 * math/s_csinf.c (__csinf): Likewise.
15709 * math/s_csinh.c (__csinh): Likewise.
15710 * math/s_csinhf.c (__csinhf): Likewise.
15711 * math/s_csinhl.c (__csinhl): Likewise.
15712 * math/s_csinl.c (__csinl): Likewise.
15713 * math/s_csqrt.c (__csqrt): Likewise.
15714 * math/s_csqrtf.c (__csqrtf): Likewise.
15715 * math/s_csqrtl.c (__csqrtl): Likewise.
15716 * math/s_ctan.c (__ctan): Likewise.
15717 * math/s_ctanf.c (__ctanf): Likewise.
15718 * math/s_ctanh.c (__ctanh): Likewise.
15719 * math/s_ctanhf.c (__ctanhf): Likewise.
15720 * math/s_ctanhl.c (__ctanhl): Likewise.
15721 * math/s_ctanl.c (__ctanl): Likewise.
15722 * math/w_pow.c: Likewise.
15723 * math/w_powf.c: Likewise.
15724 * math/w_powl.c: Likewise.
15725 * math/w_scalb.c (sysv_scalb): Likewise.
15726 * math/w_scalbf.c (sysv_scalbf): Likewise.
15727 * math/w_scalbl.c (sysv_scalbl): Likewise.
15728 * misc/error.c (error_tail): Likewise.
15729 * misc/pselect.c (__pselect): Likewise.
15730 * nis/nis_callback.c (__nis_create_callback): Likewise.
15731 * nis/nis_call.c (__nisfind_server): Likewise.
15732 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15733 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15734 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15735 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15736 * nis/nis_lookup.c (nis_lookup): Likewise.
15737 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15738 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15739 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15740 * nis/nis_xdr.c (xdr_endpoint): Likewise.
15741 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15742 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15743 * nis/nss_compat/compat-initgroups.c (add_group)
15744 (internal_getgrent_r): Likewise.
15745 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15746 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15747 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15748 (internal_getspnam_r): Likewise.
15749 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15750 (_nss_nis_getaliasbyname_r): Likewise.
15751 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15752 (_nss_nis_getntohost_r): Likewise.
15753 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15754 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15755 (_nss_nis_getgrgid_r): Likewise.
15756 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15757 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15758 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15759 (_nss_nis_gethostbyname4_r): Likewise.
15760 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15761 (initgroups_netid): Likewise.
15762 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15763 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15764 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15765 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15766 (_nss_nis_getprotobynumber_r): Likewise.
15767 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15768 (_nss_nis_getsecretkey): Likewise.
15769 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15770 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15771 (_nss_nis_getpwuid_r): Likewise.
15772 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15773 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15774 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15775 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15776 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15777 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15778 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15780 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15781 (_nss_nisplus_getntohost_r): Likewise.
15782 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15783 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15784 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15785 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15787 * nis/nss_nisplus/nisplus-initgroups.c
15788 (_nss_nisplus_initgroups_dyn): Likewise.
15789 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15790 (_nss_nisplus_getnetbyaddr_r): Likewise.
15791 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15792 (_nss_nisplus_getprotobynumber_r): Likewise.
15793 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15794 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15795 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15797 * nis/nss_nisplus/nisplus-service.c
15798 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15799 (_nss_nisplus_getservbyport_r): Likewise.
15800 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15801 (_nss_nisplus_getspnam_r): Likewise.
15802 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15804 * nscd/aicache.c (addhstaiX): Likewise.
15805 * nscd/cache.c (cache_search, prune_cache): Likewise.
15806 * nscd/connections.c (register_traced_file, send_ro_fd)
15807 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15808 (main_loop_epoll): Likewise.
15809 * nscd/grpcache.c (addgrbyX): Likewise.
15810 * nscd/hstcache.c (addhstbyX): Likewise.
15811 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15812 * nscd/mem.c (gc, mempool_alloc): Likewise.
15813 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15814 (addinnetgrX): Likewise.
15815 * nscd/nscd-client.h (__nscd_acquire_maplock)
15816 (__nscd_drop_map_ref): Likewise.
15817 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15818 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15819 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15821 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15822 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15823 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15824 (__nscd_get_map_ref): Likewise.
15825 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15826 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15828 * nscd/pwdcache.c (addpwbyX): Likewise.
15829 * nscd/selinux.c (preserve_capabilities): Likewise.
15830 * nscd/servicescache.c (addservbyX): Likewise.
15831 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15832 * posix/fnmatch.c (fnmatch): Likewise.
15833 * posix/getopt.c (_getopt_internal_r): Likewise.
15834 * posix/glob.c (glob, glob_in_dir): Likewise.
15835 * posix/wordexp.c (exec_comm_child): Likewise.
15836 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15837 (getanswer_r, gaih_getanswer_slice): Likewise.
15838 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15839 * resolv/res_init.c: Likewise.
15840 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15841 * resolv/res_query.c (__libc_res_nquery): Likewise.
15842 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15844 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15845 * stdio-common/perror.c (perror): Likewise.
15846 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15847 * stdio-common/tmpnam.c (tmpnam): Likewise.
15848 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15849 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15850 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15852 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15853 * stdlib/putenv.c (putenv): Likewise.
15854 * stdlib/setenv.c (__add_to_environ): Likewise.
15855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15856 * stdlib/strtol_l.c (INTERNAL): Likewise.
15857 * string/memmem.c (memmem): Likewise.
15858 * string/strerror.c (strerror): Likewise.
15859 * string/strnlen.c (__strnlen): Likewise.
15860 * string/test-memmem.c (simple_memmem): Likewise.
15861 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15862 * sunrpc/pm_getport.c (__get_socket): Likewise.
15863 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15864 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15865 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15866 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15868 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15869 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15870 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15871 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15872 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15873 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15875 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15877 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15878 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15879 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15880 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15881 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15883 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15884 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15885 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15886 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15887 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15888 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15890 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15892 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15894 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15895 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15896 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15897 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15898 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15899 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15900 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15902 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15903 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15904 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15905 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15906 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15907 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15908 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15909 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15911 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15913 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15915 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15917 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15918 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15919 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15921 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15922 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15923 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15924 * sysdeps/posix/sleep.c: Likewise.
15925 * sysdeps/posix/tempname.c: Likewise.
15926 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15927 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15929 * sysdeps/powerpc/powerpc32/dl-machine.h
15930 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15931 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15932 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15933 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15934 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15936 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15937 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15938 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15939 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15940 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15941 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15942 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15943 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15944 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15945 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15946 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15947 (elf_machine_lazy_rel): Likewise.
15948 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15949 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15950 (elf_machine_lazy_rel): Likewise.
15951 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15952 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15953 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15954 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15955 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15956 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15957 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15958 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15960 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15961 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15962 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15963 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15964 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15965 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15966 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15967 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15968 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15969 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15970 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15972 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15973 (__posix_fallocate64_l64): Likewise.
15974 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15975 (posix_fallocate): Likewise.
15976 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15978 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15979 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15980 (getifaddrs_internal): Likewise.
15981 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15982 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15983 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15984 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15985 * sysdeps/unix/sysv/linux/posix_fallocate64.c
15986 (__posix_fallocate64_l64): Likewise.
15987 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15989 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15990 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15991 (__get_clockfreq): Likewise.
15992 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15993 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15994 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15995 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15996 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15997 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15998 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15999 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16001 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16002 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16003 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16004 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16005 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16006 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16007 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16009 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16010 (posix_fallocate): Likewise.
16011 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16012 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16013 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16014 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16015 (elf_machine_rela, elf_machine_rela_relative)
16016 (elf_machine_lazy_rel): Likewise.
16017 * time/asctime.c (asctime_internal): Likewise.
16018 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16019 * time/tzset.c (__tzset_parse_tz): Likewise.
16020 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16021 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16022 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16023 * wcsmbs/wcsmbsload.h: Likewise.
16026 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16028 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16029 (arena_get2): Remove THREAD_STATS conditionals.
16030 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16031 (__malloc_stats, int): Likewise.
16033 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16035 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16036 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16038 * manual/setjmp.texi: Fix typos/grammar errors.
16040 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16041 Only return early when n is <= 0. Delete unused return statement.
16043 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16044 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16045 * debug/tst-longjmp_chk3.c: New file.
16047 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16048 (test_main): Replace code with set_fortify_handler call.
16049 * debug/test-strcpy_chk.c: Likewise.
16050 * debug/tst-chk1.c: Likewise.
16051 * debug/tst-longjmp_chk.c: Likewise.
16052 * test-skeleton.c: Include fcntl.h & paths.h
16053 (set_fortify_handler): Define.
16055 * debug/tst-longjmp_chk.c: Add header comment and include
16056 ../test-skeleton.c.
16057 (do_test): Mark static.
16058 (TEST_FUNCTION): Define.
16060 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16061 (IP_PMTUDISC_INTERFACE): Likewise.
16062 (IP_MULTICAST_IF): Likewise.
16063 (IP_MULTICAST_TTL): Likewise.
16064 (IP_MULTICAST_LOOP): Likewise.
16065 (IP_ADD_MEMBERSHIP): Likewise.
16066 (IP_DROP_MEMBERSHIP): Likewise.
16067 (IP_UNBLOCK_SOURCE): Likewise.
16068 (IP_BLOCK_SOURCE): Likewise.
16069 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16070 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16071 (IP_MSFILTER): Likewise.
16072 (MCAST_JOIN_GROUP): Likewise.
16073 (MCAST_BLOCK_SOURCE): Likewise.
16074 (MCAST_UNBLOCK_SOURCE): Likewise.
16075 (MCAST_LEAVE_GROUP): Likewise.
16076 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16077 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16078 (MCAST_MSFILTER): Likewise.
16079 (IP_MULTICAST_ALL): Likewise.
16080 (IP_UNICAST_IF): Likewise.
16082 * timezone/Makefile: Delete $(have-ksh) check.
16083 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16084 * timezone/tzselect.ksh: Add +x mode bits.
16086 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16087 (ANON_INODE_FS_MAGIC): Likewise.
16088 (BDEVFS_MAGIC): Likewise.
16089 (BINFMTFS_MAGIC): Likewise.
16090 (BTRFS_TEST_MAGIC): Likewise.
16091 (CRAMFS_MAGIC_WEND): Likewise.
16092 (DEBUGFS_MAGIC): Likewise.
16093 (ECRYPTFS_SUPER_MAGIC): Likewise.
16094 (EXT3_SUPER_MAGIC): Likewise.
16095 (EXT4_SUPER_MAGIC): Likewise.
16096 (FUTEXFS_SUPER_MAGIC): Likewise.
16097 (HOSTFS_SUPER_MAGIC): Likewise.
16098 (HUGETLBFS_MAGIC): Likewise.
16099 (MINIX3_SUPER_MAGIC): Likewise.
16100 (MTD_INODE_FS_MAGIC): Likewise.
16101 (NILFS_SUPER_MAGIC): Likewise.
16102 (OPENPROM_SUPER_MAGIC): Likewise.
16103 (PIPEFS_MAGIC): Likewise.
16104 (PSTOREFS_MAGIC): Likewise.
16105 (QNX6_SUPER_MAGIC): Likewise.
16106 (RAMFS_MAGIC): Likewise.
16107 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16108 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16109 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16110 (SECURITYFS_MAGIC): Likewise.
16111 (SELINUX_MAGIC): Likewise.
16112 (SMACK_MAGIC): Likewise.
16113 (SOCKFS_MAGIC): Likewise.
16114 (SQUASHFS_MAGIC): Likewise.
16115 (STACK_END_MAGIC): Likewise.
16116 (TMPFS_MAGIC): Likewise.
16117 (USBDEVICE_SUPER_MAGIC): Likewise.
16118 (V9FS_MAGIC): Likewise.
16119 (XENFS_SUPER_MAGIC): Likewise.
16120 (CRAMFS_MAGIC): Fix typo in comment.
16121 (EXT2_SUPER_MAGIC): Update comment.
16122 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16124 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16126 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16127 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16128 * sysdeps/unix/sysv/linux/arm: Move directory from
16129 ports/sysdeps/unix/sysv/linux/arm.
16130 * README: Update listing for arm-*-linux-gnueabi.
16132 * README: Remove mention of am33.
16134 2014-02-07 Roland McGrath <roland@hack.frob.com>
16136 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16137 than the comma operator, to avoid "rhs of comma has no effect"
16139 (__sigfillset, __sigandset, __sigorset): Likewise.
16140 * include/signal.h (__sigemptyset): Likewise.
16141 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16143 2014-02-07 Allan McRae <allan@archlinux.org>
16145 * version.h (RELEASE): Set to "development".
16146 (VERSION): Set to "2.19.90"
16147 * NEWS: Add 2.20 section.
16149 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16152 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16154 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16156 * manual/contrib.texi: Update entry for Carlos O'Donell,
16157 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16159 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16161 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16163 * sysdeps/unix/sysv/linux/kernel-features.h
16164 [__LINUX_KERNEL_VERSION >= 0x020621]
16165 (__ASSUME_PROC_PID_TASK_COMM): Define.
16167 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16170 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16171 conversion when destination buffer does not have enough space.
16172 * libio/tst-ftell-partial-wide.c: New test case.
16173 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16175 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16176 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16177 Leonard and Allan McRae.
16179 2014-02-04 David S. Miller <davem@davemloft.net>
16181 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16184 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16210 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16213 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16215 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16216 * shlib-versions: Likewise.
16218 2014-02-04 Roland McGrath <roland@hack.frob.com>
16219 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16221 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16222 (abilist-pattern): New variable, set to %-le.abilist.
16224 * Makerules (abilist-pattern): New variable.
16225 (vpath): Use $(abilist-pattern) in place of %.abilist.
16226 (check-abi-% pattern rule): Likewise.
16227 (check-abi, update-abi): Likewise.
16229 2014-02-04 Eric Wong <normalperson@yhbt.net>
16231 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16233 2014-02-03 Carlos O'Donell <carlos@redhat.com>
16235 * manual/startup.texi: Add next, previous, and top entries for
16236 the `Program Arguments' and `Environment Variables' nodes.
16238 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
16240 * manual/macros.texi: Add comments before MTASC-safety macros.
16242 * manual/users.texi: Document MTASC-safety properties.
16244 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16245 (pthread_getspecific, pthread_setspecific): Format with
16246 @deftypefun, and add @safety note.
16247 * manual/signal.texi: Move comments that analyze the above
16248 functions to their home place.
16250 2014-02-03 Allan McRae <allan@archlinux.org>
16252 * po/sl.po: Update Slovenian translation from translation project.
16254 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
16256 * manual/time.texi (timegm): Add missing blank after @c.
16257 Reported by Joseph Myers <joseph@codesourcery.com>.
16259 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
16261 * manual/check-safety.sh: New.
16262 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16264 * manual/terminal.texi: Document MTASC-safety properties.
16266 * manual/filesys.texi: Document MTASC-safety properties.
16268 * manual/errno.texi: Document MTASC-safety properties.
16270 * manual/intro.texi: Document safety identifiers and
16273 * manual/string.texi (wcstok): Fix prototype.
16274 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16276 * manual/time.texi: Document MTASC-safety properties.
16278 * manual/string.texi: Document MTASC-safety properties.
16280 * manual/threads.texi: Document MTASC-safety properties.
16282 * manual/stdio.texi: Document MTASC-safety properties.
16284 * manual/syslog.texi: Document MTASC-safety properties.
16286 * manual/sysinfo.texi: Document MTASC-safety properties.
16288 * manual/startup.texi: Document MTASC-safety properties.
16290 * manual/socket.texi: Document MTASC-safety properties.
16292 * manual/signal.texi: Document MTASC-safety properties.
16294 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
16296 * manual/setjmp.texi: Document MTASC-safety properties.
16298 * manual/search.texi: Document MTASC-safety properties.
16300 * manual/resource.texi: Document MTASC-safety properties.
16302 * manual/process.texi: Document MTASC-safety properties.
16304 * manual/platform.texi: Document MTASC-safety properties.
16306 * manual/pipe.texi: Document MTASC-safety properties.
16308 * manual/pattern.texi: Document MTASC-safety properties.
16310 * manual/message.texi: Document MTASC-safety properties.
16313 * manual/memory.texi: Document MTASC-safety properties.
16315 * manual/math.texi: Document MTASC-safety properties.
16317 * manual/locale.texi: Document MTASC-safety properties.
16319 * manual/llio.texi: Document MTASC-safety properties.
16321 * manual/libdl.texi: New.
16323 * manual/lang.texi: Document MTASC-safety properties.
16325 * manual/job.texi: Document MTASC-safety properties.
16327 * manual/getopt.texi: Document MTASC-safety properties.
16329 * manual/ctype.texi: Document MTASC-safety properties.
16331 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16334 * csu/libc-tls.c (static_map): Remove variable.
16335 (__libc_setup_tls): Use main executable's link map for TLS data.
16336 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16337 casing for LM_ID_BASE and GL(dl_nns).
16338 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16339 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16340 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16341 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16342 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16344 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16347 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
16349 * manual/debug.texi: Document MTASC-safety properties.
16351 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16354 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16355 of __x86_64__ when disabling x87 inline functions.
16357 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
16359 * manual/charset.texi: Document MTASC-safety properties.
16361 * manual/crypt.texi: Document MTASC-safety properties.
16363 * manual/conf.texi: Document MTASC-safety properties.
16365 * manual/arith.texi: Document MTASC-safety properties.
16367 * manual/argp.texi: Document MTASC-safety properties.
16369 * manual/macros.texi: Introduce macros to document multi
16370 thread, asynchronous signal and asynchronous cancellation
16372 * manual/intro.texi: Introduce the properties themselves.
16374 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16376 * sysdeps/sh/sh4/Makefile: New file.
16378 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
16380 * math/gen-libm-test.pl ($srcdir): New variable.
16381 ($auto_input): Use it.
16383 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16386 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16387 access beyond array bounds when parsing netgroups file.
16389 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16390 the old buffer before realloc.
16392 2014-01-27 Allan McRae <allan@archlinux.org>
16394 * po/fr.po: Update French translation from translation project.
16396 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16398 * sysdeps/sh/libm-test-ulps: Regenerate.
16400 2014-01-24 David S. Miller <davem@davemloft.net>
16402 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16404 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16406 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16407 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16409 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16412 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16413 string pointers after reallocation.
16415 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16417 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16418 __SH4A__ instead of __SH_FPU_ANY__.
16420 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16422 * sysdeps/sh/fpu_control.h: New file.
16423 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16424 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16425 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16426 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16427 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16428 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16429 * sysdeps/sh/sys/ucontext.h: Remove.
16430 * sysdeps/sh/sys: Remove directory.
16432 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16434 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16435 s390/sys/ucontext.h.
16436 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16437 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16439 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
16442 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16444 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16447 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16448 Adjust the vDSO correctly for internal calls.
16449 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16451 2014-01-20 Allan McRae <allan@archlinux.org>
16453 * po/ca.po: Update Catalan translation from translation project.
16455 2014-01-16 Mike Frysinger <vapier@gentoo.org>
16457 * sysdeps/s390/sotruss-lib.c: New file.
16459 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16462 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16463 (__GI___gettimeofday): Alias for a different internal symbol to avoid
16464 local calls issues by not having a PLT stub required for IFUNC calls.
16465 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16467 2014-01-16 Joseph Myers <joseph@codesourcery.com>
16469 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16470 * math/test-fpucw-static.c: Likewise.
16472 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16475 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16477 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16479 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16480 implementation for powerpc.
16482 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
16485 * sysdeps/posix/system.c (__libc_system): Do not enable
16486 asynchronous cancellation.
16488 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16491 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16492 handling only for numbers special also in the IEEE case.
16494 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16496 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16498 2014-01-11 Allan McRae <allan@archlinux.org>
16500 * po/bg.po: Update Bulgarian translation from translation project.
16502 * po/de.po: Update German translation from translation project.
16504 2014-01-10 Roland McGrath <roland@hack.frob.com>
16506 * sysdeps/generic/gcc-compat.h: New file.
16508 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16510 * benchtests/asin-inputs: Correct slow inputs.
16511 * benchtests/acos-inputs: Likewise.
16513 2014-01-10 Allan McRae <allan@archlinux.org>
16515 * po:sv.po: Update Swedish translation from translation project.
16517 * po/vi.po: Update Vietnamese translation from translation project.
16519 * po/eo.po: Update Esperanto translation from translation project.
16521 * po/cs.po: Update Czech translation from translation project.
16523 * po/nl.po: Update Dutch translation from translation project.
16525 * po/pl.po: Update Polish translation from translation project.
16527 * po/ru.po: Update Russian translation from translation project.
16529 * po/uk.po: Update Ukrainian translation from translation project.
16531 2014-01-08 Brooks Moses <bmoses@google.com>
16533 * elf/dl-load.c: Fix comment typo.
16535 2014-01-08 Carlos O'Donell <carlos@redhat.com>
16537 * po/header.pot: Rename to...
16538 * po/pot.header: ... this.
16539 * po/Makefile: Use pot.header.
16541 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16542 Maxim Kuvyrkov <maxim@kugelworks.com>
16545 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16546 SRC and DEST against LEN.
16548 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16551 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16553 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16555 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16559 2014-01-08 Joseph Myers <joseph@codesourcery.com>
16562 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16563 for large positive arguments.
16565 2014-01-07 Joseph Myers <joseph@codesourcery.com>
16567 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16569 * math/auto-libm-test-in: Mark various tests with
16570 xfail-rounding:ldbl-128ibm.
16571 * math/auto-libm-test-out: Regenerated.
16574 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16575 Increase overflow threshold.
16577 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
16580 * stdio-common/vfprintf.c: Check for integer overflow.
16582 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16584 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16585 the first argument and return value of __tls_get_addr_internal.
16587 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16589 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16590 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16592 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16594 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16595 * sysdeps/s390/rtld-global-offsets.sym: New file.
16596 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16598 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16599 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16600 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16602 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16603 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16605 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16607 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16609 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16610 halfs of GPRs for high_gprs contexts.
16611 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16612 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16614 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16616 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16618 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16619 for high GPRs (uc_high_gprs) and for future extensions
16621 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16622 for future extensions (__reserved).
16623 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16625 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16626 SC_HIGHGPRS offset definition.
16627 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16628 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16630 * Versions.def: Add GLIBC_2.19 for libpthread.
16631 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16632 siglongjmp for libpthread with GLIBC_2.19 symver.
16633 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16634 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16635 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16636 * sysdeps/s390/__longjmp.c: New file.
16637 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16638 * sysdeps/s390/longjmp.c: New file.
16639 * sysdeps/s390/setjmp.S: New file.
16640 * sysdeps/s390/sigjmp.S: New file.
16641 * sysdeps/s390/v1-longjmp.c: New file.
16642 * sysdeps/s390/v1-setjmp.h: New file.
16643 * sysdeps/s390/v1-sigjmp.c: New file.
16644 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16645 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16646 GLIBC_2.19 version.
16647 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16648 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16649 versioned symbols for ____longjmp_chk.
16650 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16658 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16660 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16661 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16662 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16663 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16664 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16665 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16666 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16667 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16668 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16669 * sysdeps/s390/rtld-__longjmp.c: New file.
16670 * sysdeps/s390/rtld-setjmp.S: New file.
16672 2014-01-06 Joseph Myers <joseph@codesourcery.com>
16675 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16676 Return -__logl (x) for small positive arguments without evaluating
16679 2014-01-06 Mike Frysinger <vapier@gentoo.org>
16681 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16683 (__ptrace_peeksiginfo_args): ... this.
16684 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16685 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16686 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16688 2014-01-06 Allan McRae <allan@archlinux.org>
16690 * inet/netinet/in.h: Fix typo in comment.
16692 2014-01-05 Andreas Jaeger <aj@suse.de>
16694 * sysdeps/i386/fpu/libm-test-ulps: Update.
16696 2014-01-05 Allan McRae <allan@archlinux.org>
16698 * po/libc.pot: Regenerated.
16700 * malloc/memusagestat.c: Fix gettext call formatting.
16702 2014-01-04 Sami Kerola <kerolasa@iki.fi>
16704 * nscd/nscd.c: Improve usage() output.
16706 2014-01-04 Mike Frysinger <vapier@gentoo.org>
16708 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16709 * sysdeps/unix/sysv/linux/configure: Regenerated.
16710 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16711 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16713 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16716 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16717 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16719 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16721 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16722 extra tokens at end of #undef directive.
16723 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16724 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16725 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16727 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16729 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16731 * math/auto-libm-test-in: Mark various tests with
16732 xfail-rounding:ldbl-128ibm.
16733 * math/auto-libm-test-out: Regenerated.
16735 2014-01-02 Joseph Myers <joseph@codesourcery.com>
16738 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16739 numbers with subnormal high part when calculating exponent.
16742 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16746 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16748 (__ieee754_acoshl): Use __log1pl not __log1p.
16750 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
16752 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16753 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16754 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16755 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16756 (reused_arena, arena_get2): Convert to GNU style.
16757 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16758 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16759 (memalign_check, __malloc_set_state): Likewise.
16760 * malloc/mallocbug.c (main): Likewise.
16761 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16762 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16763 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16764 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16765 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16766 (__posix_memalign, malloc_info): Likewise.
16767 * malloc/malloc.h: Likewise.
16768 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16769 (mallochook, memalignhook, reallochook, mabort): Likewise.
16770 * malloc/mcheck.h: Likewise.
16771 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16772 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16773 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16774 * malloc/morecore.c (__default_morecore): Likewise.
16775 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16776 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16777 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16778 (print_and_abort): Likewise.
16779 * malloc/obstack.h: Likewise.
16780 * malloc/set-freeres.c (__libc_freeres): Likewise.
16781 * malloc/tst-mallocstate.c (main): Likewise.
16782 * malloc/tst-mtrace.c (main): Likewise.
16783 * malloc/tst-realloc.c (do_test): Likewise.
16785 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16788 * nscd/netgroupcache.c (do_notfound): New function.
16789 (addgetnetgrentX): Use it.
16792 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16793 NSS_STATUS_NOTFOUND.
16795 2014-01-01 Joseph Myers <joseph@codesourcery.com>
16797 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16798 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16800 2014-01-01 Allan McRae <allan@archlinux.org>
16802 * scripts/update-copyrights: Update configure input file suffix.
16804 * NEWS: Update copyright year.
16805 * catgets/gencat.c: Likewise.
16806 * csu/version.c: Likewise.
16807 * debug/catchsegv.sh: Likewise.
16808 * debug/pcprofiledump.c: Likewise.
16809 * debug/xtrace.sh: Likewise.
16810 * elf/ldconfig.c: Likewise.
16811 * elf/ldd.bash.in: Likewise.
16812 * elf/pldd.c: Likewise.
16813 * elf/sotruss.ksh: Likewise.
16814 * elf/sprof.c: Likewise.
16815 * iconv/iconv_prog.c: Likewise.
16816 * iconv/iconvconfig.c: Likewise.
16817 * locale/programs/locale.c: Likewise.
16818 * locale/programs/localedef.c: Likewise.
16819 * login/programs/pt_chown.c: Likewise.
16820 * malloc/memusage.sh: Likewise.
16821 * malloc/memusagestat.c: Likewise.
16822 * malloc/mtrace.pl: Likewise.
16823 * manual/libc.texinfo: Likewise.
16824 * nscd/nscd.c: Likewise.
16825 * nss/getent.c: Likewise.
16826 * nss/makedb.c: Likewise.
16827 * posix/getconf.c: Likewise.
16828 * scripts/test-installation.pl: Likewise.
16830 * All files with FSF copyright notices: Update copyright dates
16831 using scripts/update-copyrights.
16832 * intl/plural.c: Regenerated.
16833 * locale/programs/charmap-kw.h: Likewise.
16834 * locale/programs/locfile-kw.h: Likewise.
16836 2013-12-31 Mike Frysinger <vapier@gentoo.org>
16838 * sysdeps/unix/sysv/linux/configure: Regenerated.
16839 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16840 the linux/fanotify.h header.
16841 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16842 HAVE_LINUX_FANOTIFY_H is defined.
16844 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16846 * benchtests/cos-inputs: New inputs.
16847 * benchtests/sin-inputs: Likewise.
16849 * benchtests/atan-inputs: New inputs. Fix name of multiple
16850 precision fallback inputs.
16852 * benchtests/atanh-inputs: New inputs.
16853 * benchtests/tanh-inputs: Likewise.
16855 * benchtests/acosh-inputs: New inputs.
16856 * benchtests/asinh-inputs: Likewise.
16858 * benchtests/cosh-inputs: New inputs.
16859 * benchtests/sinh-inputs: Likewise.
16861 * benchtests/acos-inputs: Add more inputs.
16862 * benchtests/asin-inputs: Likewise.
16864 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
16867 * manual/arith.texi: Fix spelling.
16868 * manual/charset.texi: Likewise.
16869 * manual/errno.texi: Likewise.
16870 * manual/filesys.texi: Likewise.
16871 * manual/lang.texi: Likewise.
16872 * manual/llio.texi: Likewise.
16873 * manual/locale.texi: Likewise.
16874 * manual/message.texi: Likewise.
16875 * manual/resource.texi: Likewise.
16876 * manual/search.texi: Likewise.
16877 * manual/setjmp.texi: Likewise.
16878 * manual/stdio.texi: Likewise.
16879 * manual/string.texi: Likewise.
16880 * manual/sysinfo.texi: Likewise.
16881 * manual/time.texi: Likewise.
16883 2013-12-27 Carlos O'Donell <carlos@redhat.com>
16885 * po/sl.po: New file.
16887 2013-12-27 Mike Frysinger <vapier@gentoo.org>
16889 * .gitignore: Add core/.gdbinit/.gdb_history.
16891 2013-12-27 Allan McRae <allan@archlinux.org>
16894 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16895 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16897 2013-12-24 Brooks Moses <bmoses@google.com>
16899 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16900 all compilers that claim C++98 compliance, not just GCC.
16901 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16904 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16906 * NEWS: Restore accidentally deleted bug-fix entries.
16908 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16909 Ondřej Bílka <neleai@seznam.cz>
16912 * malloc/malloc.c (_int_free): Perform sanity check only if we
16915 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
16918 * manual/stdio.texi (String Input Conversions): Clarify that character
16919 classes are not supported.
16921 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16923 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16925 2013-12-22 Joseph Myers <joseph@codesourcery.com>
16928 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16929 Calculate results for small negative arguments directly rather
16930 than using reflection formula with special underflow handling.
16932 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16933 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16934 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16935 (fchflags): Likewise.
16936 (revoke): Likewise.
16937 (setlogin): Likewise.
16938 (sigaltstack): Likewise.
16940 (sigblock): Remove.
16941 (sigsetmask): Likewise.
16943 (waitpid): Likewise.
16944 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16945 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16947 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16948 * sysdeps/unix/bsd/Makefile: ... here.
16949 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16950 * sysdeps/unix/bsd/Versions: ... here.
16951 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16952 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16953 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16954 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16955 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16956 * sysdeps/unix/bsd/sigblock.c: ... here.
16957 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16958 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16959 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16960 * sysdeps/unix/bsd/sigvec.c: ... here.
16961 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16962 * sysdeps/unix/bsd/tcdrain.c: ... here.
16963 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16964 * sysdeps/unix/bsd/tcgetattr.c: ... here.
16965 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16966 * sysdeps/unix/bsd/tcsetattr.c: ... here.
16967 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16968 * sysdeps/unix/bsd/wait.c: ... here.
16969 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16970 * sysdeps/unix/bsd/wait3.c: ... here.
16971 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16972 * sysdeps/unix/bsd/waitpid.c: ... here.
16974 2013-12-21 Joseph Myers <joseph@codesourcery.com>
16977 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16978 round-to-nearest for [!USE_AS_EXPM1L].
16979 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16980 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
16981 more tests of exp and exp10. Expect some exp10 tests to miss
16982 exceptions or fail in directed rounding modes.
16983 * math/auto-libm-test-out: Regenerated.
16984 * math/libm-test.inc (exp10_tonearest_test_data): New array.
16985 (exp10_test_tonearest): New function.
16986 (exp10_towardzero_test_data): New array.
16987 (exp10_test_towardzero): New function.
16988 (exp10_downward_test_data): New array.
16989 (exp10_test_downward): New function.
16990 (exp10_upward_test_data): New array.
16991 (exp10_test_upward): New function.
16992 (main): Call the new functions.
16993 * sysdeps/i386/fpu/libm-test-ulps: Update.
16994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16996 2013-12-20 Joseph Myers <joseph@codesourcery.com>
16998 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16999 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17000 * math/auto-libm-test-out: Regenerated.
17001 * math/libm-test.inc (acosh_test_data): Add more tests.
17002 (atanh_test_data): Likewise.
17003 (ceil_test_data): Likewise.
17004 (copysign_test_data): Likewise.
17005 * sysdeps/i386/fpu/libm-test-ulps: Update.
17006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17008 * timezone/checktab.awk: Update from tzcode 2013i.
17009 * timezone/private.h: Likewise.
17010 * timezone/scheck.c: Likewise.
17011 * timezone/tzfile.h: Likewise.
17012 * timezone/tzselect.ksh: Likewise.
17013 * timezone/zdump.c: Likewise.
17014 * timezone/zic.c: Likewise.
17016 * math/auto-libm-test-in: Add tests of cpow.
17017 * math/auto-libm-test-out: Regenerated.
17018 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17019 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17021 (func_calc_desc): Add mpc_cc_c union field.
17022 (test_functions): Add cpow.
17023 (special_fill_2pi): New function.
17024 (special_real_inputs): Add 2pi.
17025 (calc_generic_results): Handle mpc_cc_c.
17026 * sysdeps/i386/fpu/libm-test-ulps: Update.
17027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17029 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17030 csqrt, ctan and ctanh.
17031 * math/auto-libm-test-out: Regenerated.
17032 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17033 (TEST_COND_x86): Likewise.
17034 (ccos_test_data): Use AUTO_TESTS_c_c.
17035 (ccosh_test_data): Likewise.
17036 (cexp_test_data): Likewise.
17037 (clog_test_data): Likewise.
17038 (csqrt_test_data): Likewise.
17039 (ctan_test_data): Likewise.
17040 (ctan_tonearest_test_data): Likewise.
17041 (ctan_towardzero_test_data): Likewise.
17042 (ctan_downward_test_data): Likewise.
17043 (ctan_upward_test_data): Likewise.
17044 (ctanh_test_data): Likewise.
17045 (ctanh_tonearest_test_data): Likewise.
17046 (ctanh_towardzero_test_data): Likewise.
17047 (ctanh_downward_test_data): Likewise.
17048 (ctanh_upward_test_data): Likewise.
17049 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17051 (func_calc_desc): Add mpc_c_c union field.
17052 (FUNC_mpc_c_c): New macro.
17053 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17054 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17056 (special_fill_min_subnorm_p120): New function.
17057 (special_real_inputs): Add min_subnorm_p120.
17058 (calc_generic_results): Handle mpc_c_c.
17059 * sysdeps/i386/fpu/libm-test-ulps: Update.
17060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17062 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17064 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17065 (do_sin_slow): New functions.
17066 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17067 (cslow2, csloww1, csloww2): Use the new functions.
17069 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17070 Use M to change sign of result instead of X. Assume X is
17072 (csloww1): Likewise.
17076 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17077 arguments A and DA.
17081 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17083 (sloww1): Don't adjust sign of DX.
17084 (csloww1): Likewise.
17085 (sloww2): Use X directly and don't adjust sign of DX.
17086 (csloww2): Likewise.
17088 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17090 * math/auto-libm-test-in: Add tests of cabs and carg.
17091 * math/auto-libm-test-out: Regenerated.
17092 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17093 (carg_test_data): Likewise.
17094 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17096 (func_calc_desc): Add mpc_c_f union field.
17097 (test_functions): Add cabs and carg.
17098 (calc_generic_results): Handle mpc_c_f.
17100 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17101 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17102 as a macro and a compat symbol.
17103 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17104 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17105 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17106 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17107 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17108 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17110 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17112 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17114 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17116 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17118 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17120 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17121 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17124 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17128 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17130 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17131 trailing whitespace removed.
17132 * scripts/config.guess: Update to version 2013-11-29.
17133 * scripts/config.sub: Update to version 2013-10-01.
17135 * math/auto-libm-test-in: Add tests of sincos.
17136 * math/auto-libm-test-out: Regenerated.
17137 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17138 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17140 (func_calc_desc): Add mpfr_f_11 union field.
17141 (test_functions): Add sincos.
17142 (calc_generic_results): Handle mpfr_f_11.
17143 * sysdeps/i386/fpu/libm-test-ulps: Update.
17144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17146 2013-12-19 Andreas Schwab <schwab@suse.de>
17148 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17150 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17151 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17152 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17154 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17156 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17157 * sysdeps/i386/fpu/libm-test-ulps: Update.
17158 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17161 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17162 round-to-nearest mode when using frndint.
17163 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17164 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17165 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17167 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17169 * math/auto-libm-test-out: Regenerated.
17170 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17171 (TEST_COND_x86): Likewise.
17172 (expm1_tonearest_test_data): New array.
17173 (expm1_test_tonearest): New function.
17174 (expm1_towardzero_test_data): New array.
17175 (expm1_test_towardzero): New function.
17176 (expm1_downward_test_data): New array.
17177 (expm1_test_downward): New function.
17178 (expm1_upward_test_data): New array.
17179 (expm1_test_upward): New function.
17180 (main): Run the new test functions.
17181 * sysdeps/i386/fpu/libm-test-ulps: Update.
17182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17184 * include/features.h: Update comment documenting feature test
17185 macros. Mention _DEFAULT_SOURCE in comment.
17186 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17187 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17188 _BSD_SOURCE and _SVID_SOURCE.
17189 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17190 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17191 !_SVID_SOURCE]: Likewise.
17192 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17193 (__USE_POSIX_IMPLICITLY): Define.
17194 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17195 (_POSIX_SOURCE): Undefine and redefine.
17196 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17197 (_POSIX_C_SOURCE): Likewise.
17198 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17199 (Feature Test Macros): Update documentation of default features.
17201 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17203 * benchtests/Makefile: Add bench-strtok.
17204 * benchtests/bench-strtok.c: New file: strtok benchtest.
17206 2013-12-19 Allan McRae <allan@archlinux.org>
17208 * manual/install.texi: Suppress menu for plain text output.
17209 * INSTALL: Regenerated.
17211 2013-12-18 Brooks Moses <bmoses@google.com>
17214 * misc/getauxval.c: Include errno.h.
17215 (__getauxval): Set errno to ENOENT if the requested type is not
17217 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17218 don't declare with __attribute_const__.
17219 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17220 * manual/startup.texi: Document that getauxval sets errno.
17222 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17224 * math/auto-libm-test-in: Add tests of jn and yn.
17225 * math/auto-libm-test-out: Regenerated.
17226 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17227 (yn_test_data): Likewise.
17228 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17230 (func_calc_desc): Add mpfr_if_f union field.
17231 (FUNC_mpfr_if_f): New macro.
17232 (test_functions): Add jn and yn.
17233 (calc_generic_results): Assert type of second input for
17234 mpfr_ff_f. Handle mpfr_if_f.
17235 (output_for_one_input_case): Disable all checking for arguments
17236 fitting floating-point types in case of an integer argument.
17237 * sysdeps/i386/fpu/libm-test-ulps: Update.
17238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17240 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17241 Don't expect fegetround reference in libm.so.
17243 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17245 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17246 $(config-cflags-nofma).
17248 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17250 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17251 * math/auto-libm-test-out: Regenerated.
17254 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17255 to determine exponent and adjust argument to have exponent of -1.
17256 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17258 * math/auto-libm-test-out: Regenerated.
17259 * sysdeps/i386/fpu/libm-test-ulps: Update.
17260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17262 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
17264 * manual/probes.texi: Remove cases when per-thread arenas are
17267 2013-12-18 Andreas Schwab <schwab@suse.de>
17269 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17270 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17271 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17272 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17273 * sysdeps/i386/i686/multiarch/Makefile: Update.
17274 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17276 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17278 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17279 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17281 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17284 Support TZ transition times < 00:00:00.
17285 This is needed for version-3 tz-format files; it supports time
17286 stamps past 2037 for America/Godthab (the only entry in the tz
17287 database for which this change is relevant).
17288 * manual/time.texi (TZ Variable): Document transition times
17289 from -167:59:59 through -00:00:01.
17290 * time/tzset.c (tz_rule): Time of day is now signed.
17291 (__tzset_parse_tz): Parse negative time of day.
17293 Document TZ transition times >= 25:00:00.
17294 * manual/time.texi (TZ Variable): Document transition times from
17295 25:00:00 through 167:59:59. These are already supported, and this
17296 support will help with version-3 tz-format files.
17298 * manual/time.texi (TZ Variable): Modernize North America example
17299 to reflect current (i.e., 2007-and-later) daylight saving rules.
17301 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17303 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17305 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17306 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17307 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17308 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17309 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17310 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17311 * sysdeps/unix/bsd/clock.c: Likewise.
17312 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17313 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17314 * sysdeps/unix/bsd/init-posix.c: Likewise.
17315 * sysdeps/unix/bsd/poll.c: Likewise.
17316 * sysdeps/unix/bsd/ptsname.c: Likewise.
17317 * sysdeps/unix/bsd/seekdir.c: Likewise.
17318 * sysdeps/unix/bsd/setegid.c: Likewise.
17319 * sysdeps/unix/bsd/seteuid.c: Likewise.
17320 * sysdeps/unix/bsd/setgid.c: Likewise.
17321 * sysdeps/unix/bsd/setrgid.c: Likewise.
17322 * sysdeps/unix/bsd/setruid.c: Likewise.
17323 * sysdeps/unix/bsd/setsid.c: Likewise.
17324 * sysdeps/unix/bsd/setuid.c: Likewise.
17325 * sysdeps/unix/bsd/sigaction.c: Likewise.
17326 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17327 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17328 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17329 * sysdeps/unix/bsd/telldir.c: Likewise.
17330 * sysdeps/unix/bsd/times.c: Likewise.
17331 * sysdeps/unix/bsd/usleep.c: Likewise.
17333 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17334 ($(objpfx)libbsd-compat.a): Remove rule.
17336 * include/features.h (__FAVOR_BSD): Do not define.
17337 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17338 features conflicting with POSIX.
17339 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17340 (_BSD_SOURCE): Remove description of not being a subset of other
17341 feature test macros.
17342 * manual/job.texi (getpgrp): Do not document BSD version.
17343 (getpgid): Do not document by reference to BSD getpgrp.
17344 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17345 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17346 * signal/signal.h [__FAVOR_BSD]: Likewise.
17347 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17348 instead of making contents conditional on [__FAVOR_BSD].
17349 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17351 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17355 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17358 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17359 values below 2**-450, not 2**-500.
17360 * math/auto-libm-test-in: Don't allow spurious underflow from
17362 * math/auto-libm-test-out: Regenerated.
17366 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17367 values of ha and hb and sort them after adjusting subnormal
17369 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17371 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17372 values of ea and eb and sort them after adjusting subnormal
17374 * math/auto-libm-test-in: Do not expect some hypot tests of
17375 subnormals to fail. Add more hypot tests.
17376 * math/auto-libm-test-out: Regenerated.
17378 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17381 * sysdeps/sh/s_fma.c: New file.
17382 * sysdeps/sh/s_fmaf.c: New file.
17383 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
17385 * sysdeps/sh/Implies: Add sh/soft-fp.
17387 2013-12-16 Roland McGrath <roland@hack.frob.com>
17389 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
17390 level of indirection to members `objname', `errstring', `malloced'.
17391 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17392 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
17393 it as the __longjmp argument (just pass 1 instead).
17394 (_dl_catch_error): Initialize C with argument pointers and address of
17395 volatile local ERRCODE rather than copying values out of C at return.
17397 2013-12-16 Joseph Myers <joseph@codesourcery.com>
17399 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17400 * math/auto-libm-test-out: Regenerated.
17401 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17402 (hypot_test_data): Likewise.
17403 (pow_test_data): Likewise.
17404 (pow_tonearest_test_data): Likewise.
17405 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17407 (func_calc_desc): Add mpfr_ff_f union field.
17408 (FUNC_mpfr_ff_f): New macro.
17409 (test_functions): Add atan2, hypot and pow.
17410 (special_fill_min): New function.
17411 (special_fill_minus_min): Likewise.
17412 (special_fill_min_subnorm): Likewise.
17413 (special_fill_minus_min_subnorm): Likewise.
17414 (special_real_inputs): Add min, -min, min_subnorm and
17416 (calc_generic_results): Handle mpfr_ff_f.
17417 * sysdeps/i386/fpu/libm-test-ulps: Update.
17418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17420 2013-12-16 Will Newton <will.newton@linaro.org>
17422 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17423 (Aligned Memory Blocks): Add documentation for aligned_alloc
17424 and suggest it as an alternative to posix_memalign.
17425 (Hooks for Malloc): Document __memalign_hook is also called
17426 for aligned_alloc. (Summary of Malloc): Add summary for
17427 aligned alloc. Document __memalign_hook is also called
17430 2013-12-16 Will Newton <will.newton@linaro.org>
17432 * manual/memory.texi (Malloc Examples): Clarify default
17433 alignment documentation. Suggest posix_memalign rather
17434 than memalign or valloc.
17435 (Aligned Memory Blocks): Remove suggestion to use memalign
17436 or valloc. Remove obsolete comment about BSD.
17437 Document memalign errno values and mark the function obsolete.
17438 Document posix_memalign returned error codes. Mark valloc
17439 as obsolete. (Hooks for Malloc): __memalign_hook is also
17440 called for posix_memalign and valloc.
17441 (Summary of Malloc): Add posix_memalign to function summary.
17442 __memalign_hook is also called for posix_memalign and valloc.
17444 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17446 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17450 (sloww): Use mynumber union. Expand ternary operator into
17451 if-else statements.
17452 (cslow): use mynumber union.
17454 2013-12-16 Allan McRae <allan@archlinux.org>
17456 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17457 * configure: Regenerated.
17459 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17462 * configure.ac: Added --enable-maintainer-mode. Check for
17463 autoconf when enabled.
17464 * configure: Regenerated.
17466 * nscd/nscd.service: New file.
17467 * nscd/nscd.tmpfiles: New file.
17469 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
17472 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17473 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17474 * sysdeps/x86_64/multiarch/strstr.c: ... here.
17475 (strstr): Add __strstr_sse2_unaligned ifunc.
17476 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17477 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17478 (strcasestr): Remove __strcasestr_sse42 ifunc.
17479 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17480 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17483 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17485 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17486 * sysdeps/sh/bits/fenv.h: ... here.
17487 * sysdeps/sh/sh4/fpu/bits: Remove directory.
17489 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17491 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17493 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17494 hypotf multiarch implementations.
17495 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17496 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17497 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17498 multiarch hypot for PPC64.
17499 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17500 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17501 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17502 multiarch hypotf for PPC64.
17504 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17505 modff multiarch implementations.
17506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17509 multiarch modf for PPC64.
17510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17511 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17512 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17513 multiarch modff for PPC64.
17515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17516 and logl multiarch implementations.
17517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17518 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17520 multiarch logb for PPC64.
17521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17522 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17523 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17524 multiarch logb for PPC64.
17525 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17526 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17527 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17528 multiarch logb for PPC64.
17530 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17531 isinff multiarch implementation.
17532 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17534 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17536 multiarch isinf for PPC64.
17537 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17539 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17540 multiarch isinff for PPC64.
17542 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17543 finitef multiarch implementation.
17544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17548 multiarch finite for PPC64.
17549 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17551 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17552 multiarch finitef for PPC64.
17554 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17555 lrint multiarch implementation.
17556 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17560 multiarch llrint for PPC64.
17561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17562 multiarch lrint for PPC64.
17564 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17565 copysignf multiarch implementation.
17566 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17571 multiarch copysign for PPC64.
17572 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17573 multiarch copysignf for PPC64.
17575 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17576 multiarch implementation.
17577 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17579 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17581 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17585 multiarch llround for PPC64.
17586 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17587 multiarch trunc for PPC64.
17588 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17589 multiarch truncf for PPC64.
17591 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17592 multiarch implementation.
17593 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17599 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17601 multiarch llround for PPC64.
17602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17603 multiarch round for PPC64.
17604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17605 multiarch roundf for PPC64.
17607 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17608 multiarch implementation.
17609 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17617 multiarch llround for PPC64.
17618 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17619 multiarch floor for PPC64.
17620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17621 multiarch floorf for PPC64.
17623 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17624 multiarch implementation.
17625 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17627 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17633 multiarch llround for PPC64.
17634 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17635 multiarch ceil for PPC64.
17636 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17637 multiarch ceilf for PPC64.
17639 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17640 multiarch implementation.
17641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17648 multiarch llround for PPC64.
17649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17650 multiarch lround for PPC64.
17652 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17653 multiarch implementation.
17654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17658 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17660 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17661 multiarch isnan for PPC64.
17662 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17663 multiarch isnanf for PPC64.
17665 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17666 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17667 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17668 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17669 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17672 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17673 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17674 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17675 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17677 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17678 multiarch implementations.
17679 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17680 (__libc_ifunc_impl_list): Likewise.
17681 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17682 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17683 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17684 multiarch stpcpy for PPC64.
17686 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17687 multiarch implementations.
17688 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17689 (__libc_ifunc_impl_list): Likewise.
17690 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17691 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17692 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17693 multiarch strcpy for PPC64.
17695 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17696 redefine function name.
17697 (_wordcopy_fwd_dest_aligned): Likewise.
17698 (_wordcopy_bwd_aligned): Likewise.
17699 (_wordcopy_bwd_dest_aligned): Likewise.
17700 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17701 multiarch implementations.
17702 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17703 (__libc_ifunc_impl_list): Likewise.
17704 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17705 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17706 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17707 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17708 multiarch wcscpy for PPC64.
17710 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17711 multiarch implementations.
17712 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17713 (__libc_ifunc_impl_list): Likewise.
17714 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17715 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17716 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17717 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17718 multiarch wcscpy for PPC64.
17720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17721 multiarch implementations.
17722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17723 (__libc_ifunc_impl_list): Likewise.
17724 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17725 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17726 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17727 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17728 multiarch wcsrchr for PPC64.
17730 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17731 multiarch implementations.
17732 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17733 (__libc_ifunc_impl_list): Likewise.
17734 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17735 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17736 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17737 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17738 multiarch wcschr for PPC64.
17740 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17741 multiarch implementations.
17742 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17743 (__libc_ifunc_impl_list): Likewise.
17744 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17745 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17746 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17747 multiarch strchrnul for PPC64.
17749 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17751 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17752 (__libc_ifunc_impl_list): Likewise.
17753 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17754 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17755 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17756 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17759 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17761 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17762 (__libc_ifunc_impl_list): Likewise.
17763 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17764 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17765 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17766 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17769 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17770 multiarch implementations.
17771 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17772 (__libc_ifunc_impl_list): Likewise.
17773 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17774 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17775 strncasecmp for PPC64.
17776 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17777 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17778 multiarch strncasecmp_l for PPC64.
17780 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17781 multiarch implementations.
17782 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17783 (__libc_ifunc_impl_list): Likewise.
17784 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17785 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17786 multiarch strcasecmp for PPC64.
17787 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17789 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17790 multiarch strcasecmp_l for PPC64.
17792 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17795 (__libc_ifunc_impl_list): Likewise.
17796 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17797 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17798 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17801 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17804 (__libc_ifunc_impl_list): Likewise.
17805 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17806 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17807 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17810 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17812 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17813 (__libc_ifunc_impl_list): Likewise.
17814 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17815 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17816 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17817 rawmemrchr for PPC64.
17819 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17821 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17822 (__libc_ifunc_impl_list): Likewise.
17823 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17824 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17825 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17831 (__libc_ifunc_impl_list): Likewise.
17832 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17833 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17834 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17840 (__libc_ifunc_impl_list): Likewise.
17841 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17842 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17843 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17846 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17847 avoid cretion of __bzero symbol.
17848 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17850 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17852 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17854 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17855 multiarch implementations.
17856 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17857 (__libc_ifunc_impl_list): Likewise.
17858 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17859 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17860 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17861 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17863 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17864 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17865 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17866 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17867 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17869 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17871 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17872 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17874 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17875 (__libc_ifunc_impl_list): Likewise.
17876 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17877 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17878 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17879 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17882 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17883 multiarch for POWER/PPC64.
17884 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17885 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17886 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17887 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17888 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17889 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17890 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17891 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17892 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17895 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17896 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17897 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17898 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17899 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17900 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17901 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17902 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17903 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17904 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17905 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17906 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17907 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17908 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17909 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17918 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17920 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17922 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17924 * benchtests/Makefile (bench): Add exp2 and log2.
17925 (LDLIBS-bench-exp2): Add -lm.
17926 (LDLIBS-bench-log2): Likewise.
17927 * benchtests/exp2-inputs: New inputs file.
17928 * benchtests/log2-inputs: New inputs file.
17929 * benchtests/log-inputs: Add new inputs.
17930 * benchtests/tan-inputs: Likewise.
17932 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17934 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17936 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17937 (csloww2): ... from here.
17939 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17940 instead of structures.
17941 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17942 (POLYNOMIAL): Likewise.
17943 (TAYLOR_SLOW): Likewise.
17949 (sloww1); Likewise.
17950 (sloww2): Likewise.
17951 (bsloww1): Likewise.
17952 (bsloww2): Likewise.
17953 (cslow2): Likewise.
17954 (csloww): Likewise.
17955 (csloww1): Likewise.
17956 (csloww2): Likewise.
17958 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
17960 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17961 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17962 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17963 * malloc/hooks.c (realloc_check): Likewise.
17965 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17966 * malloc/arena.c: Remove PER_THREAD conditional.
17967 [!PER_THREAD]: Remove code.
17968 (ptmalloc_unlock_all2): Likewise.
17969 (ptmalloc_init): Likewise.
17970 (_int_new_arena): Likewise.
17971 (arena_get2): Likewise.
17972 * malloc/hooks.c (__malloc_get_state): Likewise.
17973 (__malloc_set_state): Likewise.
17974 * malloc/malloc.c: Likewise.
17975 (struct malloc_state): Likewise.
17976 (struct malloc_par): Likewise.
17977 (__libc_realloc): Likewise.
17978 (__libc_mallopt): Likewise.
17980 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17982 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17984 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
17986 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17987 macro to a function. Check for zero perturb_byte.
17988 (_int_malloc, _int_free): Remove zero perturb_byte checks.
17990 * malloc/malloc.c: (force_reg): Remove.
17991 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17992 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17993 force_reg by atomic_forced_read.
17994 * malloc/arena.c (ptmalloc_init): Likewise.
17995 * malloc/hooks.c (top_check): Likewise.
17997 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17999 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18001 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18005 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18007 * math/auto-libm-test-in: Add tests of lgamma.
18008 * math/auto-libm-test-out: Regenerated.
18009 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18010 (M_LOG_2_SQRT_PIl): Likewise.
18011 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18012 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18014 (func_calc_desc): Add mpfr_f_f1 union field.
18015 (ARGS1): New macro.
18023 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18024 (test_functions): Add lgamma.
18025 (calc_generic_results): Handle mpfr_f_f1.
18026 * sysdeps/i386/fpu/libm-test-ulps: Update.
18027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18029 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18031 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18032 __mpn_add_n for PowerPC64/POWER7.
18033 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18034 __mpn_sub_n for PowerPC64/POWER7.
18036 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18037 __mpn_addmul_1 for PowerPC64.
18038 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18039 __mpn_submul_1 for PowerPC64.
18040 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18042 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18045 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18048 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18050 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18052 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18054 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18055 add multiarch folders.
18056 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18057 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18058 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18059 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18060 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18061 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18062 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18063 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18064 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18065 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18066 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18067 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18068 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18074 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18075 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18076 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18078 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18080 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18081 multiarch __ieee754_hypot for PowerPC32.
18082 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18084 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18086 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18087 multiarch __ieee754_hypotf for PowerPC32.
18089 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18090 long_double_symbol only if __logbl is defined.
18091 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18092 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18093 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18094 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18095 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18096 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18097 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18098 path for implementation.
18099 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18100 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18101 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18102 logb, and logbl multiarch implementations for PowerPC32.
18103 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18105 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18107 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18108 multiarch logb for PowerPC32.
18109 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18111 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18113 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18114 multiarch logbf for PowerPC32.
18115 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18119 multiarch logbl implementation for PowerPC32.
18121 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18122 and modff multiarch implementations.
18123 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18125 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18127 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18128 multiarch modf for PowerPC32.
18129 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18131 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18133 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18134 multiarch modff for PowerPC32.
18136 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18137 and lrintf multiarch implementations.
18138 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18140 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18142 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18143 multiarch lrint for PowerPC32.
18144 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18145 file: multiarch lrintf for PowerPC32.
18147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18148 and lroundf multiarch implementations.
18149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18151 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18153 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18155 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18156 multiarch lround for PowerPC32.
18157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18158 file: multiarch lroundf for PowerPC32.
18160 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18161 copysign and copysignf multiarch implementations.
18162 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18164 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18166 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18167 file: multiarch copysign for PowerPC32.
18168 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18169 file: multiarch copysignf for PowerPC32.
18171 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18172 and truncf multiarch implementations.
18173 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18175 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18177 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18178 multiarch trunc for PowerPC32.
18179 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18181 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18184 multiarch truncf for PowerPC32.
18186 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18187 and roundf multiarch implementations.
18188 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18190 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18192 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18193 multiarch round for PowerPC32.
18194 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18199 multiarch roundf for PowerPC32.
18201 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18202 and floorf multiarch implementations.
18203 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18205 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18208 multiarch floor for PowerPC32.
18209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18214 multiarch floorf for PowerPC32.
18216 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18217 and ceilf multiarch implementations.
18218 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18220 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18223 multiarch ceil for PowerPC32.
18224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18229 multiarch ceilf for PowerPC32.
18231 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18233 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18234 FINITEF is defined.
18235 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18236 and finitef multiarch implementations.
18237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18242 multiarch finite for PowerPC32.
18243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18246 file: multiarch finitef for PowerPC32.
18248 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18249 and isinff multiarch implementations.
18250 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18255 multiarch isinf for PowerPC32.
18256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18259 multiarch isinff for PowerPC32.
18261 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18262 alias when __isnan is defined.
18263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18264 and isnanf multiarch implementations.
18265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18274 multiarch isnan for PowerPC32.
18275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18280 multiarch isnanf for PowerPC32.
18282 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18283 and sqrtf multiarch implementations.
18284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18289 multiarch sqrt for PowerPC32.
18290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18295 multiarch sqrtf for PowerPC32.
18297 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18298 and llroundf multiarch implementations.
18299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18306 file: multiarch llround for PowerPC32.
18307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18308 file: multiarch llroundf for PowerPC32.
18310 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18311 multiarch PowerPC32 fpu implementations.
18312 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18314 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18316 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18317 multiarch llrint for PowerPC32.
18318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18327 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18329 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18331 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18333 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18334 multiarch wordcopy for PPC32.
18335 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18337 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18338 (__libc_ifunc_impl_list): Likewise.
18339 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18340 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18341 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18342 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18343 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18344 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18346 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18347 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18349 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18351 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18353 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18354 multiarch wcscpy for PPC32.
18355 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18357 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18358 (__libc_ifunc_impl_list): Likewise.
18359 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18360 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18361 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18362 sysdeps/powerpc/power6/wcscpy.c.
18364 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18365 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18367 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18369 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18371 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18372 multiarch wcsrchr for PPC32.
18373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18375 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18376 (__libc_ifunc_impl_list): Likewise.
18377 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18378 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18379 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18380 sysdeps/powerpc/power6/wcsrchr.c.
18382 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18384 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18386 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18387 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18388 multiarch wcschr for PPc32.
18389 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18391 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18392 (__libc_ifunc_impl_list): Likewise.
18393 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18394 * sysdeps/powerpc/power6/wcschr.c: ... to here.
18395 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18396 sysdeps/powerpc/power6/wcschr.c.
18398 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18399 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18401 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18402 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18403 file: multiarch strchr for PPC32.
18404 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18406 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18407 (__libc_ifunc_impl_list): Likewise.
18409 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18411 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18413 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18415 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18416 multiarch strchrnul for PPC32.
18417 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18419 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18420 (__libc_ifunc_impl_list): Likewise.
18422 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18424 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18425 multiarch strncasecmp for PPC32.
18426 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18428 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18429 multiarch strncasecmp_l for PPC32.
18430 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18431 strncasecmp multiarch objects.
18432 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18433 (__libc_ifunc_impl_list): Likewise.
18435 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18437 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18438 multiarch strncasecmp for PPC32.
18439 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18441 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18442 multiarch strcasecmp_l for PPC32.
18443 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18445 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18446 (__libc_ifunc_impl_list): Likewise.
18448 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18450 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18452 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18453 multiarch strncmp for PPC32.
18454 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18456 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18457 (__libc_ifunc_impl_list): Likewise.
18459 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18460 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18462 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18463 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18464 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18466 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18467 (__libc_ifunc_impl_list): Likewise.
18469 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18471 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18473 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18474 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18476 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18477 (__libc_ifunc_impl_list): Likewise.
18479 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18481 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18483 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18484 multiarch rawmemchr for PPC32.
18485 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18487 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18488 (__libc_ifunc_impl_list): Likewise.
18490 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18492 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18494 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18495 file: memrchr multiarch for PPC32.
18496 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18498 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18499 (__libc_ifunc_impl_list): Likewise.
18501 * string/memchr.c (__memchr): Using macro to redefine symbol name.
18502 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18504 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18505 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18506 multiarch memchr for PPC32.
18507 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18509 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18510 (__libc_ifunc_impl_list): Likewise.
18512 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18513 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18515 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18517 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18518 file: multiarch mempcpy for PPC32.
18519 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18521 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18522 (__libc_ifunc_impl_list): Likewise.
18524 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18525 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18526 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18527 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18528 multiarch bzero for PPC32.
18529 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18531 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18533 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18534 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18535 file: multiarch memset for PPC32.
18536 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18537 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18538 memset multiarch objects.
18539 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18540 (__libc_ifunc_impl_list): Likewise.
18542 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18544 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18545 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18547 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18548 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18550 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18551 (__libc_ifunc_impl_list): Likewise.
18553 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18554 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18555 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18557 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18559 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18561 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18562 multiarch memcpy for PPC32.
18563 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18565 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18566 (__libc_ifunc_impl_list): Likewise.
18568 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18569 support multiarch for POWER/PPC32.
18570 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18572 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18574 Implies file to make multiarch folder appers before the fpu and
18575 default folder for power4 configuration.
18577 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18579 * scripts/bench.pl: Append volatile keyword to type.
18581 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18583 * sysdeps/sh/sotruss-lib.c: New file.
18584 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18586 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18590 2013-12-05 Joseph Myers <joseph@codesourcery.com>
18593 * math/w_tgamma.c: Include <errno.h>.
18594 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18595 * math/w_tgammaf.c: Include <errno.h>.
18596 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18597 * math/w_tgammal.c: Include <errno.h>.
18598 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18599 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18600 underflow. Add more tgamma tests.
18601 * math/auto-libm-test-out: Regenerated.
18602 * sysdeps/i386/fpu/libm-test-ulps: Update.
18603 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18605 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18606 sin, sinh, tan, tanh, tgamma, y0 and y1.
18607 * math/auto-libm-test-out: Regenerated.
18608 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18609 (TEST_COND_x86): Likewise.
18610 (M_E2l): Remove macro.
18612 (M_2_SQRT_PIl): Likewise.
18613 (M_SQRT_PIl): Likewise.
18614 (M_1_DIV_El): Likewise.
18615 (log_test_data): Use AUTO_TESTS_f_f.
18616 (log10_test_data): Likewise.
18617 (log1p_test_data): Likewise.
18618 (log2_test_data): Likewise.
18619 (sin_test_data): Likewise.
18620 (sin_tonearest_test_data): Likewise.
18621 (sin_towardzero_test_data): Likewise.
18622 (sin_downward_test_data): Likewise.
18623 (sin_upward_test_data): Likewise.
18624 (sinh_test_data): Likewise.
18625 (sinh_tonearest_test_data): Likewise.
18626 (sinh_towardzero_test_data): Likewise.
18627 (sinh_downward_test_data): Likewise.
18628 (sinh_upward_test_data): Likewise.
18629 (tan_test_data): Likewise.
18630 (tan_tonearest_test_data): Likewise.
18631 (tan_towardzero_test_data): Likewise.
18632 (tan_downward_test_data): Likewise.
18633 (tan_upward_test_data): Likewise.
18634 (tanh_test_data): Likewise.
18635 (tgamma_test_data): Likewise.
18636 (y0_test_data): Likewise.
18637 (y1_test_data): Likewise.
18638 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18639 (special_real_inputs): Add pi/4.
18640 * sysdeps/i386/fpu/libm-test-ulps: Update.
18641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18643 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18645 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18646 "longjmp_target" static probes.
18647 (__longjmp): Rename to __longjmp_symbol.
18648 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18649 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18650 on which longjmp to generate.
18651 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18652 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18654 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18655 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18656 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18657 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18658 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18659 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18661 __longjmp_symbol based on which __longjmp to generate.
18662 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18664 (setjmp): Rename to setjmp_symbol.
18665 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18666 (_setjmp): Rename to _setjmp_symbol.
18667 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18668 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18669 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18670 which setjmp to generate.
18671 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18672 "longjmp_target" static probes.
18674 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18676 * benchtests/README: Add note about output arguments.
18677 * benchtests/bench-sincos.c: Remove file.
18678 * benchtests/sincos-inputs: New file.
18679 * scripts/bench.pl: Identify output arguments and define
18680 static variables for them.
18682 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18685 * Makefile (INSTALL): Add install-plain.texi as the primary
18687 * manual/install-plain.texi: New file.
18688 * manual/install.texi: Include node directive only for
18689 non-plaintext output.
18691 2013-12-04 Joseph Myers <joseph@codesourcery.com>
18693 * stdlib/longlong.h: Update from GCC.
18697 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18698 * math/w_j0f.c (y0f): Likewise.
18699 * math/w_j0l.c (__y0l): Likewise.
18700 * math/w_j1.c (y1): Likewise.
18701 * math/w_j1f.c (y1f): Likewise.
18702 * math/w_j1l.c (__y1l): Likewise
18703 * math/w_jn.c (yn): Likewise.
18704 * math/w_jnf.c (ynf): Likewise.
18705 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18706 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18707 value for Bessel function domain errors outside _SVID_ mode.
18708 Adjust sign of return value for yn (negative integer, 0).
18709 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18710 by zero in return for negative x and set sign appropriately for
18712 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18713 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18714 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18715 expectations in error cases.
18716 (y1_test_data): Likewise.
18717 (yn_test_data): Likewise.
18718 * sysdeps/i386/fpu/libm-test-ulps: Update.
18719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18721 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18723 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18724 "64" to "64-v1". Add "64-v2".
18725 (abi-64-options): Rename to ...
18726 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18727 (abi-64-condition): Rename to ...
18728 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18729 (abi-64-ld-soname): Rename to ...
18730 (abi-64-v1-ld-soname): ... this.
18731 (abi-64-v2-options): Define.
18732 (abi-64-v2-condition): Likewise.
18733 (abi-64-v2-ld-soname): Likewise.
18734 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18735 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18740 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18741 Alan Modra <amodra@gmail.com>
18743 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18744 New versions for use with the ELFv2 ABI.
18745 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18746 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18748 (struct La_ppc64v2_retval): Likewise.
18749 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18750 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18751 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18752 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18753 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18754 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18755 Do not save or restore CR.
18756 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18757 (_dl_profile_resolve): Do no save or restore CR. Support extended
18758 return values for ELFv2 ABI. Fix location of FPR return registers.
18759 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18760 updated values for _CALL_ELF == 2.
18761 (La_regs, La_retval, int_retval): Likewise.
18763 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18765 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18766 (FRAME_MIN_SIZE_PARM): Likewise.
18767 (FRAME_BACKCHAIN): Likewise.
18768 (FRAME_CR_SAVE): Likewise.
18769 (FRAME_LR_SAVE): Likewise.
18770 (FRAME_TOC_SAVE): Likewise.
18771 (FRAME_PARM_SAVE): Likewise.
18772 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18773 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18774 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18775 (call_mcount_parm_offset): New macro.
18776 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18777 (PROF): Use symbolic stack frame offsets.
18778 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18779 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18780 Redefine in terms of FRAME_MIN_SIZE.
18781 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18782 (_dl_profile_resolve): Likewise. Update comment.
18783 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18784 symbols stack frame offsets.
18785 (__sigsetjmp): Likewise.
18786 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18787 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18788 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18789 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18792 (FRAME_BACKCHAIN): Remove.
18793 (FRAME_CR_SAVE): Likewise.
18794 (FRAME_LR_SAVE): Likewise.
18795 (FRAME_COMPILER_DW): Likewise.
18796 (FRAME_LINKER_DW): Likewise.
18797 (FRAME_TOC_SAVE): Likewise.
18798 (FRAME_PARM_SAVE): Likewise.
18799 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18800 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18801 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18803 (CHECK_SP): Use symbolic stack frame offsets.
18804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18805 zone" instead of caller's parameter save area for temp storage.
18806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18807 Likewise. Also, use symbolic stack frame offsets.
18808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18809 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18810 our own stack frame instead of the caller's.
18811 (__socket): Use symbolic stack frame offsets.
18813 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18814 Alan Modra <amodra@gmail.com>
18816 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18818 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18819 (PPC64_LOCAL_ENTRY_OFFSET): Define.
18820 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18822 (elf_machine_fixup_plt): Call it.
18823 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18825 (elf_machine_rela): Update call to elf_machine_plt_conflict.
18826 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18827 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18828 r2 before calling target.
18830 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18831 Alan Modra <amodra@gmail.com>
18833 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18834 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18835 versions of macros to support ELFv2 ABI.
18836 (LOCALENTRY): New macro.
18837 (ENTRY, EALIGN): Use it.
18838 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18839 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18840 fall through into ENTRY entry point.
18841 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18842 Only define if _CALL_ELF != 2.
18844 (elf_machine_matches_host): Verify ABI version matches.
18845 (RTLD_START): Use LOCALENTRY.
18846 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18847 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18848 (PLT_ENTRY_WORDS): New macro.
18849 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18850 (elf_machine_runtime_setup): Support ELFv2 ABI.
18851 (elf_machine_fixup_plt): Likewise.
18852 (elf_machine_plt_conflict): Likewise.
18853 (resolve_ifunc): Likewise.
18854 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18855 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18857 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18858 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18859 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18860 (makecontext): Support ELFv2 ABI.
18861 * elf/elf.h (EF_PPC64_ABI): Define.
18863 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18865 * sysdeps/powerpc/powerpc64/sysdep.h
18866 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18867 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18868 (ENTRY) [ASSEMBLER]: ... but instead here ...
18869 (EALIGN) [ASSEMBLER]: ... and here.
18870 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18871 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18872 (ENTRY_2) [!ASSEMBLER]: Use it.
18873 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18874 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
18875 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18876 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18877 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18879 Use PPC64_LOAD_FUNCPTR.
18881 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18883 2013-12-04 Alan Modra <amodra@gmail.com>
18885 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18886 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18887 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18888 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18890 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18891 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18892 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18893 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18894 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18895 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18897 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18900 (__makecontext): Fix incorrect CFI when backtracing out of
18901 context created via makecontext.
18902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18903 (__setcontext): Fix incorrect CFI during switch to new context.
18904 (__novec_setcontext): Likewise.
18906 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
18909 * time/strptime_l.c (__strptime_internal): Allow modifiers
18911 * time/tst-strptime.c (day_tests): Add testcase.
18913 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18915 * scripts/bench.pl: Skip over blank lines.
18917 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18920 * manual/time.texi (Calendar Time): Clarify what timezone functions
18923 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18927 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
18929 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18931 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18932 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18933 * debug/memset_chk.c (__memset_chk): Likewise.
18934 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18935 * debug/strncpy_chk.c: Likewise.
18937 2013-12-03 Joseph Myers <joseph@codesourcery.com>
18941 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18942 (__ieee754_exp): For possibly underflowing results, check size of
18943 result and force underflow exception if required.
18944 * math/auto-libm-test-in: Add more tests of exp.
18945 * math/auto-libm-test-out: Regenerated.
18946 * sysdeps/i386/fpu/libm-test-ulps: Update.
18947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18950 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18951 * math/w_exp2f.c (__exp2f): Likewise.
18952 * math/w_exp2l.c (__exp2l): Likewise.
18953 * math/auto-libm-test-in: Do not allow missing errno on exp2
18955 * math/auto-libm-test-out: Regenerated.
18957 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
18960 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18961 handle filename validation.
18962 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18965 2013-12-03 Joseph Myers <joseph@codesourcery.com>
18968 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18969 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18970 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18972 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18973 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18974 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18975 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18976 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18977 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18978 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18979 * math/auto-libm-test-in: Don't allow missing errno from erfc.
18980 Add more erfc tests.
18981 * math/auto-libm-test-out: Regenerated.
18982 * sysdeps/i386/fpu/libm-test-ulps: Update.
18983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18985 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18986 exp2, expm1, j0 and j1.
18987 * math/auto-libm-test-out: Regenerated.
18988 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18989 (erfc_test_data): Likewise.
18990 (exp_test_data): Likewise.
18991 (exp_tonearest_test_data): Likewise.
18992 (exp_towardzero_test_data): Likewise.
18993 (exp_downward_test_data): Likewise.
18994 (exp_upward_test_data): Likewise.
18995 (exp10_test_data): Likewise.
18996 (exp2_test_data): Likewise.
18997 (expm1_test_data): Likewise.
18998 (j0_test_data): Likewise.
18999 (j1_test_data): Likewise.
19000 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19001 (input_flag_type): Add flag_xfail_rounding.
19002 (input_flags): Add xfail-rounding.
19003 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19004 (output_for_one_input_case): Handle flag_xfail_rounding.
19005 * sysdeps/i386/fpu/libm-test-ulps: Update.
19006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19008 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19011 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19014 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19017 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19018 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19019 (STAP_PROBE0): New macro.
19020 (STAP_PROBE1): Likewise.
19021 (STAP_PROBE2): Likewise.
19022 (STAP_PROBE3): Likewise.
19023 (STAP_PROBE4): Likewise.
19025 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19027 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19029 2013-12-02 Steve Ellcey <sellcey@mips.com>
19031 * benchtests/Makefile (bench): Add sqrt.
19032 (LDLIBS-bench-sqrt): New.
19033 * benchtests/sqrt-input: New.
19035 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19037 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19038 (GAIH_EAI): Likewise.
19039 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19040 (gaih_inet): Likewise.
19041 (getaddrinfo): Don't use GAIH_EAI.
19043 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19044 (struct gaih): Remove definition.
19046 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19048 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19049 Use HERRNOP directly.
19051 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19055 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19057 * math/gen-auto-libm-tests.c (test_functions): Add more
19058 single-argument functions.
19059 (special_fill_pi_2): New function.
19060 (special_fill_minus_pi_2): Likewise.
19061 (special_fill_pi_6): Likewise.
19062 (special_fill_minus_pi_6): Likewise.
19063 (special_fill_pi_3): Likewise.
19064 (special_fill_2pi_3): Likewise.
19065 (special_fill_e): Likewise.
19066 (special_fill_1_e): Likewise.
19067 (special_fill_e_minus_1): Likewise.
19068 (special_real_inputs): Add more special inputs.
19069 (output_for_one_input_case): Do not require ERANGE on underflow to
19070 zero if round-to-nearest result does not underflow to zero, unless
19071 exact results required.
19072 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19073 atan, atanh, cbrt, cos and cosh.
19074 * math/auto-libm-test-out: Regenerated.
19075 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19076 (acos_tonearest_test_data): Likewise.
19077 (acos_towardzero_test_data): Likewise.
19078 (acos_downward_test_data): Likewise.
19079 (acos_upward_test_data): Likewise.
19080 (acosh_test_data): Likewise.
19081 (asin_test_data): Likewise.
19082 (asin_tonearest_test_data): Likewise.
19083 (asin_towardzero_test_data): Likewise.
19084 (asin_upward_test_data): Likewise.
19085 (asinh_test_data): Likewise.
19086 (atan_test_data): Likewise.
19087 (atanh_test_data): Likewise.
19088 (cbrt_test_data): Likewise.
19089 (cos_test_data): Likewise.
19090 (cos_tonearest_test_data): Likewise.
19091 (cos_towardzero_test_data): Likewise.
19092 (cos_downward_test_data): Likewise.
19093 (cos_upward_test_data): Likewise.
19094 (cosh_test_data): Likewise.
19095 (cosh_tonearest_test_data): Likewise.
19096 (cosh_towardzero_test_data): Likewise.
19097 (cosh_downward_test_data): Likewise.
19098 (cosh_upward_test_data): Likewise.
19099 * sysdeps/i386/fpu/libm-test-ulps: Update.
19100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19102 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19105 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19106 * math/w_exp10f.c (__exp10f): Likewise.
19107 * math/w_exp10l.c (__exp10l): Likewise.
19108 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19109 errno settings in existing tests.
19112 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19113 precision control set to double precision.
19114 * sysdeps/i386/fpu/w_sqrt.c: New file.
19115 * math/auto-libm-test-in: Add more tests.
19116 * math/auto-libm-test-out: Update.
19118 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19119 (sqrt_test_tonearest): New function.
19120 (sqrt_towardzero_test_data): New variable.
19121 (sqrt_test_towardzero): New function.
19122 (sqrt_downward_test_data): New variable.
19123 (sqrt_test_downward): New function.
19124 (sqrt_upward_test_data): New variable.
19125 (sqrt_test_upward): New function.
19126 (main): Call the new functions.
19128 * math/gen-auto-libm-tests.c: New file.
19129 * math/auto-libm-test-in: Likewise.
19130 * math/auto-libm-test-out: New generated file.
19131 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19133 (%beautify): Add generated representations of zero.
19134 (top level): Set $auto_input and call parse_auto_input.
19135 (beautify): Remove trailing "f" from hex float constants.
19136 (parse_args): Handle XFAIL_TEST.
19137 (convert_condition): New function.
19138 (or_value): Likewise.
19139 (or_cond_value): Likewise.
19140 (generate_testfile): Handle AUTO_TESTS_* lines.
19141 (parse_auto_input): New function.
19142 * math/libm-test.inc (XFAIL_TEST): New macro.
19143 (ERRNO_UNCHANGED): Update value.
19144 (ERRNO_EDOM): Likewise.
19145 (ERRNO_ERANGE): Likewise.
19146 (IGNORE_RESULT): Likewise.
19147 (TEST_COND_flt_32): New macro.
19148 (TEST_COND_dbl_64): Likewise.
19149 (TEST_COND_ldbl_96_intel): Likewise.
19150 (TEST_COND_ldbl_96_m68k): Likewise.
19151 (TEST_COND_ldbl_128): Likewise.
19152 (TEST_COND_ldbl_128ibm): Likewise.
19153 (TEST_COND_long32): Likewise.
19154 (TEST_COND_long64): Likewise.
19155 (TEST_COND_before_rounding): Likewise.
19156 (TEST_COND_after_rounding): Likewise.
19157 (enable_test): Handle XFAIL_TEST flag.
19158 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19159 with finite results.
19160 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19161 auto-libm-test-out.
19163 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19164 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19167 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19168 __tls_get_addr_internal instead of __tls_get_offset in order to
19169 avoid GOT pointer dependency. Make rtld export
19170 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19171 __tls_get_addr since we are a __tls_get_offset platform.
19172 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19173 GOT pointer being set up before.
19174 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19176 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19178 * manual/math.texi (Errors in Math Functions): Document accuracy
19182 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19183 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19184 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19185 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19186 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19187 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19188 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19189 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19190 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19191 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19192 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19193 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19194 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19195 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19196 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19197 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19199 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19200 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19201 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19202 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19203 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19205 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19207 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19209 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19210 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19211 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19212 atomic-feupdateenv and flt-rounds.
19213 * sysdeps/powerpc/nofpu/Versions (libc): Add
19214 __atomic_feholdexcept, __atomic_feclearexcept,
19215 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19216 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19217 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19218 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19219 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19224 * manual/arith.texi (FP Exceptions): Document that exceptions may
19225 not be raised when matherr is used.
19226 (Math Error Reporting): Document overflow in directed rounding
19227 modes. Document that errno may not be set when finite values are
19228 returned on overflow. Document intent to set errno on underflow
19229 only for underflow to zero.
19232 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19233 round-to-nearest then adjust result for other rounding modes.
19234 * include/fenv.h (fegetround): Use libm_hidden_proto.
19235 * math/fegetround.c (fegetround): Use libm_hidden_def.
19236 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19237 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19238 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19239 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19241 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19242 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19243 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19244 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19246 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19249 * nss/Versions (libnss_files): Add
19250 _nss_files_gethostbyname3_r.
19251 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19253 (HOST_DB_LOOKUP): Remove macro.
19254 (_nss_files_gethostbyname_r): Implement function without the
19255 HOST_DB_LOOKUP macro.
19256 (_nss_files_gethostbyname2_r): Likewise.
19258 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
19260 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19262 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
19264 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19265 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19268 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19270 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19271 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19272 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19273 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19274 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19275 __fe_nomask_env_priv and attribute_hidden.
19276 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19277 (libc_feupdateenv_test_ppc): Likewise.
19278 (libc_feresetround_ppc): Likewise.
19279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19280 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19281 compat_symbol macro.
19282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19283 (__fe_nomask_env): Likewise.
19284 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19286 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19288 * string/Makefile: Remove ifunc tests.
19289 * string/test-string.h: Define TEST_IFUNC.
19290 * string/test-bcopy-ifunc.c: Remove.
19291 * string/test-bzero-ifunc.c: Likewise.
19292 * string/test-memccpy-ifunc.c: Likewise.
19293 * string/test-memchr-ifunc.c: Likewise.
19294 * string/test-memcmp-ifunc.c: Likewise.
19295 * string/test-memcpy-ifunc.c: Likewise.
19296 * string/test-memmem-ifunc.c: Likewise.
19297 * string/test-memmove-ifunc.c: Likewise.
19298 * string/test-mempcpy-ifunc.c: Likewise.
19299 * string/test-memrchr-ifunc.c: Likewise.
19300 * string/test-memset-ifunc.c: Likewise.
19301 * string/test-rawmemchr-ifunc.c: Likewise.
19302 * string/test-stpcpy-ifunc.c: Likewise.
19303 * string/test-stpncpy-ifunc.c: Likewise.
19304 * string/test-strcasecmp-ifunc.c: Likewise.
19305 * string/test-strcasestr-ifunc.c: Likewise.
19306 * string/test-strcat-ifunc.c: Likewise.
19307 * string/test-strchr-ifunc.c: Likewise.
19308 * string/test-strchrnul-ifunc.c: Likewise.
19309 * string/test-strcmp-ifunc.c: Likewise.
19310 * string/test-strcpy-ifunc.c: Likewise.
19311 * string/test-strcspn-ifunc.c: Likewise.
19312 * string/test-strlen-ifunc.c: Likewise.
19313 * string/test-strncasecmp-ifunc.c: Likewise.
19314 * string/test-strncat-ifunc.c: Likewise.
19315 * string/test-strncmp-ifunc.c: Likewise.
19316 * string/test-strncpy-ifunc.c: Likewise.
19317 * string/test-strnlen-ifunc.c: Likewise.
19318 * string/test-strpbrk-ifunc.c: Likewise.
19319 * string/test-strrchr-ifunc.c: Likewise.
19320 * string/test-strspn-ifunc.c: Likewise.
19321 * string/test-strstr-ifunc.c: Likewise.
19323 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19325 * benchtests/Makefile: Remove ifunc tests.
19326 * benchtests/bench-string.h: Define TEST_IFUNC.
19327 * benchtests/bench-bcopy-ifunc.c: Remove.
19328 * benchtests/bench-bzero-ifunc.c: Likewise.
19329 * benchtests/bench-memccpy-ifunc.c: Likewise.
19330 * benchtests/bench-memchr-ifunc.c: Likewise.
19331 * benchtests/bench-memcmp-ifunc.c: Likewise.
19332 * benchtests/bench-memcpy-ifunc.c: Likewise.
19333 * benchtests/bench-memmem-ifunc.c: Likewise.
19334 * benchtests/bench-memmove-ifunc.c: Likewise.
19335 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19336 * benchtests/bench-memrchr-ifunc.c: Likewise.
19337 * benchtests/bench-memset-ifunc.c: Likewise.
19338 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19339 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19340 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19341 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19342 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19343 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19344 * benchtests/bench-strcat-ifunc.c: Likewise.
19345 * benchtests/bench-strchr-ifunc.c: Likewise.
19346 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19347 * benchtests/bench-strcmp-ifunc.c: Likewise.
19348 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19349 * benchtests/bench-strcpy-ifunc.c: Likewise.
19350 * benchtests/bench-strcspn-ifunc.c: Likewise.
19351 * benchtests/bench-strlen-ifunc.c: Likewise.
19352 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19353 * benchtests/bench-strncat-ifunc.c: Likewise.
19354 * benchtests/bench-strncmp-ifunc.c: Likewise.
19355 * benchtests/bench-strncpy-ifunc.c: Likewise.
19356 * benchtests/bench-strnlen-ifunc.c: Likewise.
19357 * benchtests/bench-strpbrk-ifunc.c: Likewise.
19358 * benchtests/bench-strrchr-ifunc.c: Likewise.
19359 * benchtests/bench-strsep-ifunc.c: Likewise.
19360 * benchtests/bench-strspn-ifunc.c: Likewise.
19361 * benchtests/bench-strstr-ifunc.c: Likewise.
19363 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19365 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19367 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19369 * resolv/netdb.h: Use __glibc_reserved instead __unused.
19370 * rt/aio.h: Likewise.
19371 * sysdeps/gnu/bits/utmp.h: Likewise.
19372 * sysdeps/gnu/bits/utmpx.h: Likewise.
19373 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19374 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19375 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19376 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19377 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19378 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19379 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19380 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19381 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19382 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19383 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19384 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19385 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19387 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19388 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19389 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19390 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19391 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19392 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19393 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19394 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19395 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19396 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19397 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19398 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19399 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19400 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19401 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19402 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19403 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19404 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19405 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19406 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19407 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19408 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19409 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19410 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19411 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19412 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19413 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19414 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19416 2013-11-25 Carlos O'Donell <carlos@redhat.com>
19419 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19420 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19422 2013-11-25 Joseph Myers <joseph@codesourcery.com>
19424 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19425 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19428 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19430 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19431 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19432 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19433 (__fesetround): Remove define.
19434 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19435 rounding and exceptions handling.
19436 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19437 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19438 (__fe_nomask_env): Likewise.
19439 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19440 __fegetround instead of fegetround.
19441 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19442 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19444 2013-11-21 Roland McGrath <roland@hack.frob.com>
19446 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19449 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19451 2013-11-21 Meador Inge <meadori@codesourcery.com>
19454 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19455 (encrypt_r): Likewise.
19456 * malloc/obstack.h (obstack_free): Likewise.
19457 * posix/unistd.h (encrypt): Likewise.
19459 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
19461 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19462 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19463 DL_CALL_DT_FINI() that call the functions directly.
19464 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19465 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19466 * elf/dl-fini.c: Likewise.
19468 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
19470 * malloc/hooks.c (memalign_check): Add alignment rounding.
19471 * malloc/malloc.c (_mid_memalign): New function.
19472 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19473 Implement by calling _mid_memalign.
19474 * manual/probes.texi (Memory Allocation Probes): Remove
19475 memory_valloc_retry and memory_pvalloc_retry.
19477 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19479 * locale/programs/locarchive.c (open_archive): Add const
19480 qualifier to ARCHIVEFNAME and copy default fname to
19484 * libio/tst-widetext.input: Rename Oriya to Odia.
19485 * locale/iso-639.def: Likewise.
19487 * manual/probes.texi (Mathematical Function Probes): Add
19488 documentation for sin, cos, asin and acos probes.
19489 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19490 (__sin32): Add slowasin probe.
19491 (__cos32): Add slowacos probe.
19492 (__mpsin): Add slowsin probe.
19493 (__mpcos): Add slowcos probe.
19495 2013-11-19 Joseph Myers <joseph@codesourcery.com>
19498 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19499 thread-local __sim_exceptions_thread and global
19500 __sim_exceptions_global.
19501 (__sim_disabled_exceptions): Change to thread-local
19502 __sim_disabled_exceptions_thread and global
19503 __sim_disabled_exceptions_global.
19504 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19505 and global __sim_round_mode_global.
19506 (__simulate_exceptions): Use thread-local floating-point state and
19507 set global state from it as needed.
19508 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19509 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19510 __sim_round_mode_thread.
19511 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19512 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19513 and global __sim_exceptions_global.
19514 (__sim_disabled_exceptions): Change to thread-local
19515 __sim_disabled_exceptions_thread and global
19516 __sim_disabled_exceptions_global.
19517 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19518 and global __sim_round_mode_global.
19519 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19520 (SIM_SET_GLOBAL): Likewise.
19521 * sysdeps/powerpc/soft-fp/sfp-machine.h
19522 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19523 __sim_round_mode_thread.
19524 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19525 __sim_disabled_exceptions_thread.
19526 (__sim_exceptions): Change to __sim_exceptions_thread.
19527 (__sim_disabled_exceptions): Change to
19528 __sim_disabled_exceptions_thread.
19529 (__sim_round_mode): Change to __sim_round_mode_thread.
19530 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19531 thread-local floating-point state and set global state from it as
19533 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19534 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19535 (__sim_disabled_exceptions): Remove extern declaration.
19536 (feenableexcept): Use thread-local floating-point state and set
19537 global state from it as needed.
19538 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19539 extern declaration.
19540 (__sim_disabled_exceptions): Likewise.
19541 (__sim_round_mode): Likewise.
19542 (__fegetenv): Use thread-local floating-point state.
19543 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19544 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19545 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19546 floating-point state and set global state from it as needed.
19547 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19548 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19549 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19551 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19552 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19554 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19555 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19556 Use __sim_round_mode_thread.
19557 * math/test-fenv-tls.c: New file.
19558 * math/Makefile (tests): Add test-fenv-tls.
19559 ($(objpfx)test-fenv-tls): Depend on
19560 $(common-objpfx)nptl/libpthread.so.
19562 2013-11-19 Andreas Schwab <schwab@suse.de>
19564 * locale/programs/locale.c (show_info): Decode wordarray elements.
19565 * locale/categories.def (LC_MONETARY): Add element for
19566 _NL_MONETARY_CRNCYSTR.
19567 * locale/C-monetary.c (conversion_rate): New variable.
19568 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19571 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19573 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19574 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19576 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19578 * elf/Makefile (tst-auxv): New test.
19579 * elf/tst-auxv.c: New
19580 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19582 2013-11-18 Joseph Myers <joseph@codesourcery.com>
19584 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19585 (hidden_proto): Caller changed.
19586 (hidden_tls_proto): New macro.
19587 (libc_hidden_tls_proto): Likewise.
19588 (rtld_hidden_tls_proto): Likewise.
19589 (libm_hidden_tls_proto): Likewise.
19590 (libresolv_hidden_tls_proto): Likewise.
19591 (librt_hidden_tls_proto): Likewise.
19592 (libdl_hidden_tls_proto): Likewise.
19593 (libnss_files_hidden_tls_proto): Likewise.
19594 (libnsl_hidden_tls_proto): Likewise.
19595 (libnss_nisplus_hidden_tls_proto): Likewise.
19596 (libutil_hidden_tls_proto): Likewise.
19598 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
19601 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19602 (decompose_rpath): Defer expansion to fillin_rpath.
19603 (_dl_init_paths): Pass linkmap to fillin_rpath.
19605 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19607 * benchtests/Makefile: Add strsep.
19608 * benchtests/bench-strsep.c: New file: strsep benchtest.
19609 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19611 2013-11-18 Andreas Schwab <schwab@suse.de>
19613 * locale/programs/locale.c (show_info) [case byte]: Check for
19614 '\377' instead of '\177'.
19615 * locale/C-monetary.c (not_available): Always use "\377".
19616 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19617 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19618 detect unavailable sign_posn locale elements.
19619 * locale/localeconv.c (__localeconv): For grouping and
19620 mon_grouping handle "\177" and "\377" like no grouping.
19621 (INT_ELEM): New macro. Use it to set all numeric members.
19622 * locale/programs/ld-monetary.c (monetary_read)
19623 <tok_mon_grouping>: Normalize single -1 to the empty string.
19624 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19627 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19630 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19631 when we match (nil).
19632 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19634 2013-11-16 Joseph Myers <joseph@codesourcery.com>
19636 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19637 (NO_TEST_INLINE): Update value.
19638 (ERRNO_UNCHANGED): Likewise.
19639 (ERRNO_EDOM): Likewise.
19640 (ERRNO_ERANGE): Likewise.
19641 (IGNORE_RESULT): Likewise.
19642 (check_float_internal): Check signs of NaN results if
19643 TEST_NAN_SIGN used.
19644 (check_complex): Pass TEST_NAN_SIGN flag through to second
19645 check_float_internal call.
19646 (copysign_test_data): Add tests with quiet NaNs as second
19647 argument. Use TEST_NAN_SIGN.
19648 (fabs_test_data): Add test of negative quiet NaN argument. Use
19650 (signbit_test_data): Add tests of quiet NaN argument.
19651 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19653 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19655 (parse_args): Handle function results specified as IGNORE.
19656 * math/libm-test.inc (IGNORE_RESULT): New macro.
19657 (check_float_internal): Do not check numerical result if flag
19659 (check_complex): Pass through IGNORE_RESULT to second
19660 check_float_internal call.
19661 (check_int): Do not check numerical result if flag IGNORE_RESULT
19663 (check_long): Likewise.
19664 (check_bool): Likewise.
19665 (check_longlong): Likewise.
19666 (lrint_test_data): Add tests of infinite and NaN arguments.
19667 (lrint_tonearest_test_data): Likewise.
19668 (lrint_towardzero_test_data): Likewise.
19669 (lrint_downward_test_data): Likewise.
19670 (lrint_upward_test_data): Likewise.
19671 (llrint_test_data): Likewise.
19672 (llrint_tonearest_test_data): Likewise.
19673 (llrint_towardzero_test_data): Likewise.
19674 (llrint_downward_test_data): Likewise.
19675 (llrint_upward_test_data): Likewise.
19676 (lround_test_data): Likewise.
19677 (llround_test_data): Likewise.
19679 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19680 (ERRNO_UNCHANGED): Update value.
19681 (ERRNO_EDOM): Likewise.
19682 (ERRNO_ERANGE): Likewise.
19683 (NO_TEST_INLINE_FLOAT): New macro.
19684 (NO_TEST_INLINE_DOUBLE): Likewise.
19685 (enable_test): New function.
19686 (RUN_TEST_f_f): Check enable_test before running test.
19687 (RUN_TEST_2_f): Likewise.
19688 (RUN_TEST_fff_f): Likewise.
19689 (RUN_TEST_c_f): Likewise.
19690 (RUN_TEST_f_f1): Likewise.
19691 (RUN_TEST_fF_f1): Likewise.
19692 (RUN_TEST_fI_f1): Likewise.
19693 (RUN_TEST_ffI_f1): Likewise.
19694 (RUN_TEST_c_c): Likewise.
19695 (RUN_TEST_cc_c): Likewise.
19696 (RUN_TEST_f_i): Likewise.
19697 (RUN_TEST_f_i_tg): Likewise.
19698 (RUN_TEST_ff_i_tg): Likewise.
19699 (RUN_TEST_f_b): Likewise.
19700 (RUN_TEST_f_b_tg): Likewise.
19701 (RUN_TEST_f_l): Likewise.
19702 (RUN_TEST_f_L): Likewise.
19703 (RUN_TEST_fFF_11): Likewise.
19704 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19706 (cosh_test_data): Likewise.
19707 (exp_test_data): Likewise.
19708 (expm1_test_data): Likewise.
19709 (hypot_test_data): Likewise.
19710 (pow_test_data): Likewise.
19711 (sinh_test_data): Likewise.
19712 (tanh_test_data): Likewise.
19713 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19716 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19717 tests with quiet NaN input and output.
19718 (acosh_test_data): Likewise.
19719 (asin_test_data): Likewise.
19720 (asinh_test_data): Likewise.
19721 (atan_test_data): Likewise.
19722 (atanh_test_data): Likewise.
19723 (atan2_test_data): Likewise.
19724 (cbrt_test_data): Likewise.
19725 (cos_test_data): Likewise.
19726 (cosh_test_data): Likewise.
19727 (erf_test_data): Likewise.
19728 (erfc_test_data): Likewise.
19729 (exp_test_data): Likewise.
19730 (exp10_test_data): Likewise.
19731 (exp2_test_data): Likewise.
19732 (expm1_test_data): Likewise.
19733 (hypot_test_data): Likewise.
19734 (j0_test_data): Likewise.
19735 (j1_test_data): Likewise.
19736 (jn_test_data): Likewise.
19737 (lgamma_test_data): Likewise.
19738 (log_test_data): Likewise.
19739 (log10_test_data): Likewise.
19740 (log1p_test_data): Likewise.
19741 (log2_test_data): Likewise.
19742 (pow_test_data): Likewise.
19743 (scalb_test_data): Likewise.
19744 (sin_test_data): Likewise.
19745 (sincos_test_data): Likewise.
19746 (sinh_test_data): Likewise.
19747 (tan_test_data): Likewise.
19748 (tanh_test_data): Likewise.
19749 (tgamma_test_data): Likewise.
19750 (y0_test_data): Likewise.
19751 (y1_test_data): Likewise.
19752 (yn_test_data): Likewise.
19755 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19756 argument being NaN and avoid computations with second argument in
19758 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19759 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19760 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19762 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19764 * locale/iso-639.def: Add Chitwani Tharu (the).
19766 2013-11-14 Andreas Schwab <schwab@suse.de>
19768 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19769 word instead of empty string.
19771 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19774 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19776 (__fe_nomask_env): Likewise.
19778 2013-11-13 Steve Ellcey <sellcey@mips.com>
19780 * benchtests/bench-timing.h: Include time.h.
19782 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19785 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19787 * sysdeps/unix/sysv/linux/configure: Regenerated.
19789 2013-11-13 Joseph Myers <joseph@codesourcery.com>
19792 * stdlib/strtod_l.c (round_and_return): Do not consider
19793 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19794 exponent one less than half the least subnormal exponent.
19795 * stdlib/test-strtod-round-data: Add more tests.
19796 * stdlib/tst-strtod-round.c (tests): Regenerated.
19798 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19801 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19802 (__fe_mask_env): Likewise.
19803 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19804 libm_hidden_proto and add function prototype.
19805 (__fe_mask_env): Add function prototype.
19806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19807 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19809 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19811 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19813 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19815 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19816 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19818 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19820 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19821 of htab_find_slot().
19823 2013-11-11 David S. Miller <davem@davemloft.net>
19826 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19827 symbol in the non-vis3 case in static builds.
19828 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19829 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19830 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19831 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19833 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19836 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19839 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19841 * benchtests/Makefile: Add bench-strtod.
19842 * benchtests/bench-strtod.c: New file: strtod benchtest
19844 2013-11-11 Andreas Schwab <schwab@suse.de>
19847 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19848 terminating NUL in key length.
19850 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19852 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19853 Add artificial ODP entry for vDSO symbol for PPC64.
19854 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19855 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19857 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19860 * nss/getent.c (services_keys): Recognize services starting with digit.
19862 2013-11-06 David S. Miller <davem@davemloft.net>
19865 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19866 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19868 2013-11-06 Will Newton <will.newton@linaro.org>
19870 * manual/memory.texi (Malloc Examples): Remove register
19871 keyword from examples.
19873 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
19875 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19877 2013-11-04 Joseph Myers <joseph@codesourcery.com>
19880 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19881 depending on [__GCC_IEC_559 > 0].
19882 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19883 depending on [__GCC_IEC_559_COMPLEX > 0].
19885 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
19887 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19890 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
19892 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19894 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
19897 * malloc/malloc (malloc_info): Do not handle first bin as
19900 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
19902 * locale/iso-639.def: Add Central Nahuatl (nhn).
19904 2013-11-01 Bruno Haible <bruno@clisp.org>
19907 * manual/math.texi (BSD Random): Specify range upper bound as
19910 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
19912 * locale/iso-639.def: Add Meadow Mari (mhr).
19914 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
19916 [BZ #14752], [BZ #15763]
19917 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19919 * rt/tst_shm.c: Add test for escaping directory.
19921 2013-10-31 Andreas Schwab <schwab@suse.de>
19924 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19925 followed by 'x' as part of digit sequence.
19926 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19928 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19931 * configure.ac: allow GNU Make 4.0 and greater.
19932 * configure: Regenerated.
19934 2013-10-30 Will Newton <will.newton@linaro.org>
19937 * malloc/hooks.c (memalign_check): Limit alignment to the
19938 maximum representable power of two.
19939 * malloc/malloc.c (__libc_memalign): Likewise.
19940 * malloc/tst-memalign.c (do_test): Add test for very
19941 large alignment values.
19942 * malloc/tst-posix_memalign.c (do_test): Likewise.
19944 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
19947 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19948 (munmap_chunk): Likewise.
19949 (mremap_chunk): Likewise.
19951 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
19954 * stdlib/div.c (div): Remove obsolete code.
19955 * stdlib/ldiv.c (ldiv): Likewise.
19956 * stdlib/lldiv.c (lldiv): Likewise.
19958 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19961 * nss/nss_files/files-XXX.c (get_contents_ret): New
19963 (get_contents): New function.
19964 (internal_getent): Use it. Expand size of LINEBUFLEN.
19966 2013-10-30 Mike Frysinger <vapier@gentoo.org>
19968 * configure.in: Moved to ...
19969 * configure.ac: ... here. Change reference to configure.in
19971 * sysdeps/arm/preconfigure.ac: ... here.
19972 configure.in to configure.ac.
19973 * sysdeps/gnu/configure.in: Moved to ...
19974 * sysdeps/gnu/configure.ac: ... here.
19975 * sysdeps/i386/configure.in: Moved to ...
19976 * sysdeps/i386/configure.ac: ... here.
19977 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19978 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19979 * sysdeps/mach/configure.in: Moved to ...
19980 * sysdeps/mach/configure.ac: ... here.
19981 * sysdeps/mach/hurd/configure.in: Moved to ...
19982 * sysdeps/mach/hurd/configure.ac: ... here.
19983 * sysdeps/powerpc/configure.in: Moved to ...
19984 * sysdeps/powerpc/configure.ac: ... here.
19985 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19986 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19987 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19988 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19989 * sysdeps/s390/s390-32/configure.in: Moved to ...
19990 * sysdeps/s390/s390-32/configure.ac: ... here.
19991 * sysdeps/s390/s390-64/configure.in: Moved to ...
19992 * sysdeps/s390/s390-64/configure.ac: ... here.
19993 * sysdeps/sh/configure.in: Moved to ...
19994 * sysdeps/sh/configure.ac: ... here.
19995 * sysdeps/sparc/configure.in: Moved to ...
19996 * sysdeps/sparc/configure.ac: ... here.
19997 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19998 * sysdeps/unix/sysv/linux/configure.ac: ... here.
19999 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20000 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20001 * sysdeps/x86_64/configure.in: Moved to ...
20002 * sysdeps/x86_64/configure.ac: ... here.
20003 * sysdeps/x86_64/preconfigure.in: Moved to ...
20004 * sysdeps/x86_64/preconfigure.ac: ... here.
20005 * aclocal.m4: Change reference to configure.in to configure.ac.
20006 * config.h.in: Likewise.
20007 * manual/install.texi: Likewise.
20008 * manual/maint.texi: Likewise.
20009 * Makefile: Likewise.
20010 * malloc/Makefile: Likewise.
20011 * nscd/Makefile: Likewise.
20012 * Makeconfig: Change reference to configure.in and
20013 preconfigure.in to configure.ac and preconfigure.ac
20015 * INSTALL: Regenerated.
20016 * configure: Likewise.
20017 * sysdeps/gnu/configure: Likewise.
20018 * sysdeps/i386/configure: Likewise.
20019 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20020 * sysdeps/mach/configure: Likewise.
20021 * sysdeps/mach/hurd/configure: Likewise.
20022 * sysdeps/powerpc/configure: Likewise.
20023 * sysdeps/powerpc/powerpc32/configure: Likewise.
20024 * sysdeps/powerpc/powerpc64/configure: Likewise.
20025 * sysdeps/s390/s390-32/configure: Likewise.
20026 * sysdeps/s390/s390-64/configure: Likewise.
20027 * sysdeps/sh/configure: Likewise.
20028 * sysdeps/sparc/configure: Likewise.
20029 * sysdeps/unix/sysv/linux/configure: Likewise.
20030 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20031 * sysdeps/x86_64/configure: Likewise.
20032 * sysdeps/x86_64/preconfigure: Likewise.
20034 2013-10-29 Andreas Schwab <schwab@suse.de>
20036 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20038 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20040 * benchtests/pow-inputs: Add new inputs.
20042 * benchtests/exp-inputs: Add new inputs.
20044 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20045 conditional check for return value.
20046 (__cos32): Likewise.
20048 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20050 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20051 to provide a boost for large inputs with word alignment.
20052 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20053 implementation based on optimized PPC64 strcpy.
20054 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20055 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20056 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20057 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20059 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20062 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20064 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20067 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20068 * time/tst-strptime.c (day_tests): Add testcase.
20070 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20073 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20075 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20078 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20079 MAP_FAILED on error.
20081 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20084 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20085 heap for large requests.
20087 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20090 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20091 result if the result has no associated interface.
20092 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20093 interface for all 127.X.Y.Z addresses.
20095 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20097 * locale/iso-639.def: Add Ligurian (lij)
20099 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20102 * sunrpc/rpc_main.c: Document rpcgen -5.
20104 2013-10-19 Michael Stahl <mstahl@redhat.com>
20106 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20108 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20111 * posix/glob.c: Match only directories when trailing slash is present.
20112 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20113 (main): Add testcase.
20115 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20118 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20120 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20122 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20123 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20124 AUTH_DES and cindex for FIPS 140-2.
20125 (DES Encryption): Add cindex FIPS 46-3.
20127 * locale/locarchive.h (struct locarhandle): Add fname.
20128 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20129 if an optional argument was specified to --list-archive,
20131 * locale/programs/locarchive.c (show_archive_content): Take new
20132 argument fname and pass it via ah.fname to open_archive.
20133 * locale/programs/localedef.h: Update decl.
20134 (open_archive): If AH->fname is non-null, open that file
20135 rather than the default file name, and don't ignore ENOENT.
20136 (create_archive): Set AH.fname to NULL.
20137 (delete_locales_from_archive): Likewise.
20138 (add_locales_to_archive): Likewise.
20139 * locale/programs/locfile.c (write_all_categories): Likewise.
20141 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20142 Aldy Hernandez <aldyh@redhat.com>
20144 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20145 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20146 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20147 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20148 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20149 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20150 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20151 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20152 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20153 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20154 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20155 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20156 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20157 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20158 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20160 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20162 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20164 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20166 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20167 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20169 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20170 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20171 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20172 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20174 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20175 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20176 * sysdeps/powerpc/preconfigure: Likewise.
20177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20179 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20180 Replace contents of file by #include of <fenv_libc.h>.
20181 * sysdeps/powerpc/soft-fp/sfp-machine.h
20182 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20184 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20185 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20186 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20187 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20188 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20189 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20190 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20191 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20192 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20193 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20194 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20195 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20197 Allow copysignl PLT reference to be missing.
20199 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20200 Joseph Myers <joseph@codesourcery.com
20203 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20205 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20207 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20209 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20210 * elf/tst-tls1.c: Likewise.
20211 * elf/tst-tls10.h: Likewise.
20212 * elf/tst-tls14.c: Likewise.
20213 * elf/tst-tls2.c: Likewise.
20214 * elf/tst-tls3.c: Likewise.
20215 * elf/tst-tls4.c: Likewise.
20216 * elf/tst-tls5.c: Likewise.
20217 * elf/tst-tls6.c: Likewise.
20218 * elf/tst-tls7.c: Likewise.
20219 * elf/tst-tls8.c: Likewise.
20220 * elf/tst-tls9.c: Likewise.
20221 * elf/tst-tlsmod1.c: Likewise.
20222 * elf/tst-tlsmod13.c: Likewise.
20223 * elf/tst-tlsmod13a.c: Likewise.
20224 * elf/tst-tlsmod14a.c: Likewise.
20225 * elf/tst-tlsmod16a.c: Likewise.
20226 * elf/tst-tlsmod16b.c: Likewise.
20227 * elf/tst-tlsmod2.c: Likewise.
20228 * elf/tst-tlsmod3.c: Likewise.
20229 * elf/tst-tlsmod4.c: Likewise.
20230 * elf/tst-tlsmod5.c: Likewise.
20231 * elf/tst-tlsmod6.c: Likewise.
20233 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
20236 * malloc/malloc.c: remove checks for statistics.
20238 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20241 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20242 * inet/tst-network.c: Add testcase.
20244 2013-10-17 Andreas Schwab <schwab@suse.de>
20247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20248 to determine canonical name.
20250 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20252 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20253 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20254 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20255 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20256 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20257 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20258 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20259 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20260 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20261 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20262 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20263 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20264 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20265 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20266 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20267 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20268 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20269 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20270 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20271 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20272 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20273 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20274 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20275 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20276 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20277 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20278 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20279 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20280 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20281 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20282 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20283 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20284 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20285 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20286 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20287 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20288 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20289 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20290 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20291 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20292 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20293 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20294 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20295 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20296 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20297 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20298 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20299 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20300 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20301 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20302 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20303 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20304 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20305 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20306 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20307 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20308 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20309 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20311 2013-10-17 Joseph Myers <joseph@codesourcery.com>
20314 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20315 make result into a quiet NaN.
20317 2013-10-16 Joseph Myers <joseph@codesourcery.com>
20319 * soft-fp/adddf3.c: Fix horizontal whitespace.
20320 * soft-fp/addsf3.c: Likewise.
20321 * soft-fp/addtf3.c: Likewise.
20322 * soft-fp/divdf3.c: Likewise.
20323 * soft-fp/divsf3.c: Likewise.
20324 * soft-fp/divtf3.c: Likewise.
20325 * soft-fp/double.h: Likewise.
20326 * soft-fp/eqdf2.c: Likewise.
20327 * soft-fp/eqsf2.c: Likewise.
20328 * soft-fp/eqtf2.c: Likewise.
20329 * soft-fp/extenddftf2.c: Likewise.
20330 * soft-fp/extended.h: Likewise.
20331 * soft-fp/extendsfdf2.c: Likewise.
20332 * soft-fp/extendsftf2.c: Likewise.
20333 * soft-fp/extendxftf2.c: Likewise.
20334 * soft-fp/fixdfdi.c: Likewise.
20335 * soft-fp/fixdfsi.c: Likewise.
20336 * soft-fp/fixdfti.c: Likewise.
20337 * soft-fp/fixsfdi.c: Likewise.
20338 * soft-fp/fixsfsi.c: Likewise.
20339 * soft-fp/fixsfti.c: Likewise.
20340 * soft-fp/fixtfdi.c: Likewise.
20341 * soft-fp/fixtfsi.c: Likewise.
20342 * soft-fp/fixtfti.c: Likewise.
20343 * soft-fp/fixunsdfdi.c: Likewise.
20344 * soft-fp/fixunsdfsi.c: Likewise.
20345 * soft-fp/fixunsdfti.c: Likewise.
20346 * soft-fp/fixunssfdi.c: Likewise.
20347 * soft-fp/fixunssfsi.c: Likewise.
20348 * soft-fp/fixunssfti.c: Likewise.
20349 * soft-fp/fixunstfdi.c: Likewise.
20350 * soft-fp/fixunstfsi.c: Likewise.
20351 * soft-fp/fixunstfti.c: Likewise.
20352 * soft-fp/floatdidf.c: Likewise.
20353 * soft-fp/floatdisf.c: Likewise.
20354 * soft-fp/floatditf.c: Likewise.
20355 * soft-fp/floatsidf.c: Likewise.
20356 * soft-fp/floatsisf.c: Likewise.
20357 * soft-fp/floatsitf.c: Likewise.
20358 * soft-fp/floattidf.c: Likewise.
20359 * soft-fp/floattisf.c: Likewise.
20360 * soft-fp/floattitf.c: Likewise.
20361 * soft-fp/floatundidf.c: Likewise.
20362 * soft-fp/floatundisf.c: Likewise.
20363 * soft-fp/floatunditf.c: Likewise.
20364 * soft-fp/floatunsidf.c: Likewise.
20365 * soft-fp/floatunsisf.c: Likewise.
20366 * soft-fp/floatunsitf.c: Likewise.
20367 * soft-fp/floatuntidf.c: Likewise.
20368 * soft-fp/floatuntisf.c: Likewise.
20369 * soft-fp/floatuntitf.c: Likewise.
20370 * soft-fp/fmadf4.c: Likewise.
20371 * soft-fp/fmasf4.c: Likewise.
20372 * soft-fp/fmatf4.c: Likewise.
20373 * soft-fp/gedf2.c: Likewise.
20374 * soft-fp/gesf2.c: Likewise.
20375 * soft-fp/getf2.c: Likewise.
20376 * soft-fp/ledf2.c: Likewise.
20377 * soft-fp/lesf2.c: Likewise.
20378 * soft-fp/letf2.c: Likewise.
20379 * soft-fp/muldf3.c: Likewise.
20380 * soft-fp/mulsf3.c: Likewise.
20381 * soft-fp/multf3.c: Likewise.
20382 * soft-fp/negdf2.c: Likewise.
20383 * soft-fp/negsf2.c: Likewise.
20384 * soft-fp/negtf2.c: Likewise.
20385 * soft-fp/op-1.h: Likewise.
20386 * soft-fp/op-2.h: Likewise.
20387 * soft-fp/op-4.h: Likewise.
20388 * soft-fp/op-8.h: Likewise.
20389 * soft-fp/op-common.h: Likewise.
20390 * soft-fp/quad.h: Likewise.
20391 * soft-fp/single.h: Likewise.
20392 * soft-fp/soft-fp.h: Likewise.
20393 * soft-fp/sqrtdf2.c: Likewise.
20394 * soft-fp/sqrtsf2.c: Likewise.
20395 * soft-fp/sqrttf2.c: Likewise.
20396 * soft-fp/subdf3.c: Likewise.
20397 * soft-fp/subsf3.c: Likewise.
20398 * soft-fp/subtf3.c: Likewise.
20399 * soft-fp/truncdfsf2.c: Likewise.
20400 * soft-fp/trunctfdf2.c: Likewise.
20401 * soft-fp/trunctfsf2.c: Likewise.
20402 * soft-fp/trunctfxf2.c: Likewise.
20403 * soft-fp/unorddf2.c: Likewise.
20404 * soft-fp/unordsf2.c: Likewise.
20405 * soft-fp/unordtf2.c: Likewise.
20407 2013-10-15 Joseph Myers <joseph@codesourcery.com>
20409 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20410 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20412 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
20414 * elf/dl-libc.c: Clear initfini list after freeing.
20416 2013-10-14 Joseph Myers <joseph@codesourcery.com>
20418 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20419 * soft-fp/addsf3.c: Likewise.
20420 * soft-fp/addtf3.c: Likewise.
20421 * soft-fp/divdf3.c: Likewise.
20422 * soft-fp/divsf3.c: Likewise.
20423 * soft-fp/divtf3.c: Likewise.
20424 * soft-fp/double.h: Likewise.
20425 * soft-fp/eqdf2.c: Likewise.
20426 * soft-fp/eqsf2.c: Likewise.
20427 * soft-fp/eqtf2.c: Likewise.
20428 * soft-fp/extenddftf2.c: Likewise.
20429 * soft-fp/extended.h: Likewise.
20430 * soft-fp/extendsfdf2.c: Likewise.
20431 * soft-fp/extendsftf2.c: Likewise.
20432 * soft-fp/extendxftf2.c: Likewise.
20433 * soft-fp/fixdfdi.c: Likewise.
20434 * soft-fp/fixdfsi.c: Likewise.
20435 * soft-fp/fixdfti.c: Likewise.
20436 * soft-fp/fixsfdi.c: Likewise.
20437 * soft-fp/fixsfsi.c: Likewise.
20438 * soft-fp/fixsfti.c: Likewise.
20439 * soft-fp/fixtfdi.c: Likewise.
20440 * soft-fp/fixtfsi.c: Likewise.
20441 * soft-fp/fixtfti.c: Likewise.
20442 * soft-fp/fixunsdfdi.c: Likewise.
20443 * soft-fp/fixunsdfsi.c: Likewise.
20444 * soft-fp/fixunsdfti.c: Likewise.
20445 * soft-fp/fixunssfdi.c: Likewise.
20446 * soft-fp/fixunssfsi.c: Likewise.
20447 * soft-fp/fixunssfti.c: Likewise.
20448 * soft-fp/fixunstfdi.c: Likewise.
20449 * soft-fp/fixunstfsi.c: Likewise.
20450 * soft-fp/fixunstfti.c: Likewise.
20451 * soft-fp/floatdidf.c: Likewise.
20452 * soft-fp/floatdisf.c: Likewise.
20453 * soft-fp/floatditf.c: Likewise.
20454 * soft-fp/floatsidf.c: Likewise.
20455 * soft-fp/floatsisf.c: Likewise.
20456 * soft-fp/floatsitf.c: Likewise.
20457 * soft-fp/floattidf.c: Likewise.
20458 * soft-fp/floattisf.c: Likewise.
20459 * soft-fp/floattitf.c: Likewise.
20460 * soft-fp/floatundidf.c: Likewise.
20461 * soft-fp/floatundisf.c: Likewise.
20462 * soft-fp/floatunsidf.c: Likewise.
20463 * soft-fp/floatunsisf.c: Likewise.
20464 * soft-fp/floatuntidf.c: Likewise.
20465 * soft-fp/floatuntisf.c: Likewise.
20466 * soft-fp/floatuntitf.c: Likewise.
20467 * soft-fp/fmadf4.c: Likewise.
20468 * soft-fp/fmasf4.c: Likewise.
20469 * soft-fp/fmatf4.c: Likewise.
20470 * soft-fp/gedf2.c: Likewise.
20471 * soft-fp/gesf2.c: Likewise.
20472 * soft-fp/getf2.c: Likewise.
20473 * soft-fp/ledf2.c: Likewise.
20474 * soft-fp/lesf2.c: Likewise.
20475 * soft-fp/letf2.c: Likewise.
20476 * soft-fp/muldf3.c: Likewise.
20477 * soft-fp/mulsf3.c: Likewise.
20478 * soft-fp/multf3.c: Likewise.
20479 * soft-fp/negdf2.c: Likewise.
20480 * soft-fp/negsf2.c: Likewise.
20481 * soft-fp/negtf2.c: Likewise.
20482 * soft-fp/op-1.h: Likewise.
20483 * soft-fp/op-2.h: Likewise.
20484 * soft-fp/op-4.h: Likewise.
20485 * soft-fp/op-8.h: Likewise.
20486 * soft-fp/op-common.h: Likewise.
20487 * soft-fp/quad.h: Likewise.
20488 * soft-fp/single.h: Likewise.
20489 * soft-fp/soft-fp.h: Likewise.
20490 * soft-fp/sqrtdf2.c: Likewise.
20491 * soft-fp/sqrtsf2.c: Likewise.
20492 * soft-fp/sqrttf2.c: Likewise.
20493 * soft-fp/subdf3.c: Likewise.
20494 * soft-fp/subsf3.c: Likewise.
20495 * soft-fp/subtf3.c: Likewise.
20496 * soft-fp/truncdfsf2.c: Likewise.
20497 * soft-fp/trunctfdf2.c: Likewise.
20498 * soft-fp/trunctfsf2.c: Likewise.
20499 * soft-fp/trunctfxf2.c: Likewise.
20500 * soft-fp/unorddf2.c: Likewise.
20501 * soft-fp/unordsf2.c: Likewise.
20502 * soft-fp/unordtf2.c: Likewise.
20504 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
20507 * misc/error.c (error_tail): Fix possible buffer overflow.
20509 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
20512 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20515 2013-10-14 P. J. McDermott <pj@pehjota.net>
20518 * elf/ldd.bash.in (try_trace): New function. Delete previous code
20519 testing pipefail option.
20521 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20523 * soft-fp/double.h: Indent preprocessor directives inside #if.
20524 * soft-fp/extended.h: Likewise.
20525 * soft-fp/op-2.h: Likewise.
20526 * soft-fp/op-4.h: Likewise.
20527 * soft-fp/op-common.h: Likewise.
20528 * soft-fp/quad.h: Likewise.
20529 * soft-fp/single.h: Likewise.
20530 * soft-fp/soft-fp.h: Likewise.
20532 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20534 * iconv/iconv_prog.c: Fix typos.
20535 * stdio-common/psiginfo-data.h: Likewise.
20537 2013-10-12 Reuben Thomas <rrt@sc3d.org>
20540 * locale/setlocale.c: Fix typo.
20542 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20545 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20546 signaling NaN arguments.
20547 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20548 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20551 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20552 unordered operands.
20553 * soft-fp/gesf2.c (__gesf2): Likewise.
20554 * soft-fp/getf2.c (__getf2): Likewise.
20555 * soft-fp/ledf2.c (__ledf2): Likewise.
20556 * soft-fp/lesf2.c (__lesf2): Likewise.
20557 * soft-fp/letf2.c (__letf2): Likewise.
20559 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20560 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20561 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20562 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20563 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20564 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20565 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20566 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20567 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20568 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20569 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20570 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20571 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20572 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20573 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20574 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20575 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20576 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20577 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20578 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20579 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20580 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20581 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20582 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20583 * soft-fp/floattidf.c (__floattidf): Likewise.
20584 * soft-fp/floattisf.c (__floattisf): Likewise.
20585 * soft-fp/floattitf.c (__floattitf): Likewise.
20586 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20587 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20588 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20589 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20590 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20591 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20592 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20593 * soft-fp/gesf2.c (__gesf2): Likewise.
20594 * soft-fp/getf2.c (__getf2): Likewise.
20595 * soft-fp/ledf2.c (__ledf2): Likewise.
20596 * soft-fp/lesf2.c (__lesf2): Likewise.
20597 * soft-fp/letf2.c (__letf2): Likewise.
20599 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20600 Undefine and redefine.
20601 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20602 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20603 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20604 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20605 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20606 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20607 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20608 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20609 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20610 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20611 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20612 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20613 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20614 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20615 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20618 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20619 without decrementing exponent if mantissa >= that for the
20620 denominator, not >.
20621 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20622 denominator, not >. Decrement exponent in < case instead of
20623 incrementing in >= case.
20624 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20625 without decrementing exponent if mantissa >= that for the
20626 denominator, not >.
20628 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20629 computing saturated result for unsigned overflow.
20631 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20632 Jeff Law <law@redhat.com>
20634 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20635 (atan2Mp): Add systemtap probe marker.
20636 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20637 (__ieee754_log): Add systemtap probe marker.
20638 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20639 (atanMp): Add systemtap probe marker.
20640 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20641 (tanMp): Add systemtap probe marker.
20642 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20643 (__slowexp): Add systemtap probe marker.
20644 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20645 (__slowpow): Add systemtap probe marker.
20646 * manual/probes.texi: Document probes.
20648 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
20651 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20653 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20655 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20656 written to buffer but not flushed.
20657 * libio/iofwrite_u.c: Likewise.
20658 * libio/iopadn.c: Return bytes returned even if EOF was
20660 * libio/iowpadn.c: Likewise.
20661 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20662 if _IO_padn does not write the whole buffer.
20663 [!COMPILE_WPRINTF] (PAD): Likewise.
20665 2013-10-10 David S. Miller <davem@davemloft.net>
20667 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20670 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20672 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20673 instead of FSF address.
20674 * soft-fp/fixdfti.c: Likewise.
20675 * soft-fp/fixsfti.c: Likewise.
20676 * soft-fp/fixtfti.c: Likewise.
20677 * soft-fp/fixunsdfti.c: Likewise.
20678 * soft-fp/fixunssfti.c: Likewise.
20679 * soft-fp/fixunstfti.c: Likewise.
20680 * soft-fp/floattidf.c: Likewise.
20681 * soft-fp/floattisf.c: Likewise.
20682 * soft-fp/floattitf.c: Likewise.
20683 * soft-fp/floatuntidf.c: Likewise.
20684 * soft-fp/floatuntisf.c: Likewise.
20685 * soft-fp/floatuntitf.c: Likewise.
20686 * soft-fp/trunctfxf2.c: Likewise.
20688 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20689 * soft-fp/fixdfti.c: Likewise.
20690 * soft-fp/fixsfti.c: Likewise.
20691 * soft-fp/fixtfti.c: Likewise.
20692 * soft-fp/fixunsdfti.c: Likewise.
20693 * soft-fp/fixunssfti.c: Likewise.
20694 * soft-fp/fixunstfti.c: Likewise.
20695 * soft-fp/floattidf.c: Likewise.
20696 * soft-fp/floattisf.c: Likewise.
20697 * soft-fp/floattitf.c: Likewise.
20698 * soft-fp/floatuntidf.c: Likewise.
20699 * soft-fp/floatuntisf.c: Likewise.
20700 * soft-fp/floatuntitf.c: Likewise.
20701 * soft-fp/trunctfxf2.c: Likewise.
20703 2013-10-10 David S. Miller <davem@davemloft.net>
20705 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20707 2013-10-10 Joseph Myers <joseph@codsourcery.com>
20709 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20710 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20711 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20712 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20713 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20714 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20715 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20717 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20718 for NaNs before doing comparisons on argument.
20719 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20722 2013-10-10 Will Newton <will.newton@linaro.org>
20724 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20725 passed to _int_memalign does not overflow.
20727 2013-10-10 Torvald Riegel <triegel@redhat.com>
20729 * scripts/bench.pl: Add include-sources directive.
20730 * benchtests/README: Update documentation.
20732 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20734 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20735 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20736 instead of FP_INIT_ROUNDMODE.
20737 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20738 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20741 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20742 copy class of input value.
20743 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20744 not handle exceptions.
20745 * soft-fp/negsf2.c (__negsf2): Likewise.
20746 * soft-fp/negtf2.c (__negtf2): Likewise.
20747 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20749 2013-10-09 Joseph Myers <joseph@codesourcery.com>
20751 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20752 semicolon. From Linux kernel.
20754 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20756 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20758 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20761 * manual/socket.texi: Added statement about buffer
20762 for gethostbyname2_r.
20764 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
20766 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20767 Use .p2align directive instead, throughout.
20768 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20769 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20770 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20771 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20772 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20773 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20774 * sysdeps/x86_64/strchr.S: Likewise.
20775 * sysdeps/x86_64/strrchr.S: Likewise.
20777 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20779 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20781 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20783 * sysdeps/generic/math_private.h (__mpsin1): Remove
20785 (__mpcos1): Likewise.
20786 (__mpsin): New argument __range_reduce.
20787 (__mpcos): Likewise.
20788 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20789 (slow): Use __mpsin and __mpcos.
20793 (sloww1): Likewise.
20794 (sloww2): Likewise.
20795 (bsloww): Likewise.
20796 (bsloww1): Likewise.
20797 (bsloww2): Likewise.
20798 (cslow2): Likewise.
20799 (csloww): Likewise.
20800 (csloww1): Likewise.
20801 (csloww2): Likewise.
20802 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20803 range_reduce. Merge in __mpsin1.
20804 (__mpcos): Likewise.
20805 (__mpsin1): Remove.
20806 (__mpcos1): Likewise.
20808 2013-10-07 Joseph Myers <joseph@codesourcery.com>
20810 * locale/loadlocale.c (_nl_intern_locale_data): Use
20812 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20813 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20814 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20815 obstack data is appropriately aligned.
20816 (obstack_int32_grow_fast): Likewise.
20817 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20818 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20819 (add_locale_uint32_array): Likewise.
20821 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20823 * benchtests/Makefile: Remove ARGLIST and RET variables.
20824 ($(objpfx)bench-%.c): Pass only function name to the script.
20825 * benchtests/README: Update documentation.
20826 * benchtests/acos-inputs: Add new directives.
20827 * benchtests/acosh-inputs: Likewise.
20828 * benchtests/asin-inputs: Likewise.
20829 * benchtests/asinh-inputs: Likewise.
20830 * benchtests/atan-inputs: Likewise.
20831 * benchtests/atanh-inputs: Likewise.
20832 * benchtests/cos-inputs: Likewise.
20833 * benchtests/cosh-inputs: Likewise.
20834 * benchtests/exp-inputs: Likewise.
20835 * benchtests/log-inputs: Likewise.
20836 * benchtests/pow-inputs: Likewise.
20837 * benchtests/rint-inputs: Likewise.
20838 * benchtests/sin-inputs: Likewise.
20839 * benchtests/sinh-inputs: Likewise.
20840 * benchtests/tan-inputs: Likewise.
20841 * benchtests/tanh-inputs: Likewise.
20842 * scripts/bench.pl: Add support for new directives.
20844 2013-10-07 Alan Modra <amodra@gmail.com>
20846 * README: Fix careless merge.
20848 2013-10-05 Alan Modra <amodra@gmail.com>
20850 * NEWS: Mention powerpc64le support and bugs fixed.
20851 * README: Both big-endian and little-endian powerpc64 supported.
20853 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20855 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20856 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20857 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20858 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20860 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20862 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20865 2013-10-04 Joseph Myers <joseph@codesourcery.com>
20867 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20868 Move -mhard-float appending from
20869 ports/sysdeps/powerpc/powerpc32/Makefile.
20870 [$(with-fp) = yes] (ASFLAGS): Likewise.
20871 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20872 * sysdeps/powerpc/nofpu: Move directory from
20873 ports/sysdeps/powerpc/nofpu.
20874 * sysdeps/powerpc/soft-fp: Move directory from
20875 ports/sysdeps/powerpc/soft-fp.
20876 * sysdeps/powerpc/powerpc32/405: Move directory from
20877 ports/sysdeps/powerpc/powerpc32/405.
20878 * sysdeps/powerpc/powerpc32/440: Move directory from
20879 ports/sysdeps/powerpc/powerpc32/440.
20880 * sysdeps/powerpc/powerpc32/464: Move directory from
20881 ports/sysdeps/powerpc/powerpc32/464.
20882 * sysdeps/powerpc/powerpc32/476: Move directory from
20883 ports/sysdeps/powerpc/powerpc32/476.
20884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20885 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20887 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20889 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20891 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20892 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20893 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20894 * README: Update for powerpc-*-linux-gnu software floating point
20897 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20898 case to powerpc/powerpc32*.
20899 * sysdeps/unix/sysv/linux/configure: Regenerated.
20901 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20902 (_FPU_MASK_OM): Define as 0x04.
20903 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20904 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20906 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20908 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20911 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20914 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20917 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20918 and setcontext_e500.
20920 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20922 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20924 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20926 * manual/threads.texi (Default Thread Attributes): Fix typo.
20928 2013-10-04 Will Newton <will.newton@linaro.org>
20930 * malloc/Makefile: Add tst-memalign.
20931 * malloc/tst-memalign.c: New file.
20933 * malloc/tst-posix_memalign.c: Add comments.
20934 (do_test): Add comments and call free on all potentially
20935 allocated pointers. Add space after cast.
20937 * malloc/tst-pvalloc.c: Add comments.
20938 (do_test): Add comments and call free on all potentially
20939 allocated pointers. Remove duplicate check for NULL pointer.
20940 Add space after cast.
20942 * malloc/tst-valloc.c: Add comments.
20943 (do_test): Add comments and call free on all potentially
20944 allocated pointers. Remove duplicate check for NULL pointer.
20945 Add space after cast.
20947 2013-10-04 Alan Modra <amodra@gmail.com>
20949 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20950 Use stdint types in rather than __attribute__((mode())).
20951 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20953 2013-10-04 Alan Modra <amodra@gmail.com>
20955 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20956 Correct handling of unaligned relocs for little-endian.
20957 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20959 2013-10-04 Alan Modra <amodra@gmail.com>
20961 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20962 * configure: Regenerate.
20963 * nptl/shlib-versions: Powerpc*le starts at 2.18.
20964 * shlib-versions: Likewise.
20966 2013-10-04 Alan Modra <amodra@gmail.com>
20968 * string/tester.c (test_memrchr): Increment reported test cycle.
20970 2013-10-04 Alan Modra <amodra@gmail.com>
20972 * string/test-memcpy.c (do_one_test): When reporting errors, print
20973 string address and don't overrun end of string.
20975 2013-10-04 Alan Modra <amodra@gmail.com>
20977 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20978 insrdi. Make better use of reg selection to speed exit slightly.
20979 Schedule entry path a little better. Remove useless "are we done"
20980 checks on entry to main loop. Handle wrapping around zero address.
20981 Correct main loop count. Handle single left-over word from main
20982 loop inline rather than by using loop_small. Remove extra word
20983 case in loop_small caused by wrong loop count. Add little-endian
20985 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20986 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
20988 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20989 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20990 support. Avoid rlwimi.
20991 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20993 2013-10-04 Alan Modra <amodra@gmail.com>
20995 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20996 insrdi. Formatting.
20997 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20998 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20999 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21000 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21001 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21002 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21004 2013-10-04 Alan Modra <amodra@gmail.com>
21006 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21007 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21008 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21009 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21010 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21011 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21012 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21013 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21014 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21015 use of regs. Use power7 mtocrf. Tidy function tails.
21017 2013-10-04 Alan Modra <amodra@gmail.com>
21019 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21020 Formatting. Consistently use rXXX register defines or rN defines.
21021 Use early exit labels that avoid restoring unused non-volatile regs.
21022 Make cr field use more consistent with rWORDn compares. Rename
21023 regs used as shift registers for unaligned loop, using rN defines
21024 for short lifetime/multiple use regs.
21025 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21026 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21027 addi 1,1,64 to pop stack frame. Simplify return value code.
21028 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21030 2013-10-04 Alan Modra <amodra@gmail.com>
21032 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21033 support. Correct typos, formatting. Optimize tail. Use insrdi
21034 rather than rlwimi.
21035 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21036 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21037 little-endian support. Correct typos.
21038 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21039 rather than rlwimi.
21040 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21041 in loop and entry code to keep "and." results.
21042 (strchr): Add little-endian support. Comment. Move cntlzd
21044 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21046 2013-10-04 Alan Modra <amodra@gmail.com>
21048 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21049 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21050 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21051 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21053 2013-10-04 Alan Modra <amodra@gmail.com>
21055 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21056 (rTMP): Define as r11.
21057 (strcmp): Add little-endian support. Optimise tail.
21058 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21059 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21060 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21061 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21062 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21063 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21064 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21066 2013-10-04 Alan Modra <amodra@gmail.com>
21068 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21069 little-endian support. Remove unnecessary "are we done" tests.
21070 Handle "s" wrapping around zero and extremely large "size".
21071 Correct main loop count. Handle single left-over word from main
21072 loop inline rather than by using small_loop. Correct comments.
21073 Delete "zero" tail, use "end_max" instead.
21074 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21076 2013-10-04 Alan Modra <amodra@gmail.com>
21078 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21079 support. Don't branch over align.
21080 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21081 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21082 support. Rearrange tmp reg use to suit. Comment.
21083 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21085 2013-10-04 Alan Modra <amodra@gmail.com>
21087 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21089 2013-10-04 Alan Modra <amodra@gmail.com>
21091 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21092 conditional form of branch and link when obtaining pc.
21093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21095 2013-10-04 Alan Modra <amodra@gmail.com>
21097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21102 2013-10-04 Alan Modra <amodra@gmail.com>
21104 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21105 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21106 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21107 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21108 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21109 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21110 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21111 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21112 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21113 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21115 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21116 Alistair Popple <alistair@ozlabs.au.ibm.com>
21117 Alan Modra <amodra@gmail.com>
21120 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21121 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21122 _dl_hwcap access for little-endian.
21123 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21124 destroy vmx regs when saving unaligned.
21125 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21126 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21127 destroy vmx regs when saving unaligned.
21129 2013-10-04 Alan Modra <amodra@gmail.com>
21131 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21132 Don't use a union to pack hi/low value.
21134 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21136 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21138 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21139 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21140 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21141 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21142 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21144 2013-10-04 Alan Modra <amodra@gmail.com>
21146 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21147 constants to usual value for .cst8 section, and remove redundant
21149 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21150 constant for 0x1p52. Load little-endian words of double from
21151 correct stack offsets.
21153 2013-10-04 Alan Modra <amodra@gmail.com>
21155 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21156 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21157 words of double from correct stack offsets.
21158 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21159 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21160 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21161 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21162 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21163 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21164 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21165 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21166 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21167 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21168 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21169 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21170 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21171 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21172 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21173 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21174 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21176 2013-10-04 Alan Modra <amodra@gmail.com>
21178 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21179 64-bit int/double union.
21180 (_FPU_SETCW): Likewise.
21181 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21182 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21184 2013-10-04 Alan Modra <amodra@gmail.com>
21186 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21187 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21189 2013-10-04 Alan Modra <amodra@gmail.com>
21191 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21192 use vector int constants.
21193 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21195 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21197 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21198 array with long long.
21199 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21200 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21201 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21202 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21203 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21204 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21205 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21206 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21207 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21208 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21209 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21210 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21211 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21213 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21215 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21216 (__signbit): Likewise. Correct for little-endian.
21217 (__signbitl): Call __signbit.
21218 (lrint): Correct for little-endian.
21219 (lrintf): Call lrint.
21221 2013-10-04 Alan Modra <amodra@gmail.com>
21223 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21224 union 32-bit int array member with 64-bit int array.
21225 (t515, tm256): Double rather than long double.
21226 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21228 2013-10-04 Alan Modra <amodra@gmail.com>
21230 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21232 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21233 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21234 version of math_ldbl.h.
21236 2013-10-04 Alan Modra <amodra@gmail.com>
21238 [BZ #15734], [BZ #15735]
21239 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21240 all uses of ieee875 long double macros and unions. Simplify test
21241 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21242 ldbl_extract_mantissa value for ix,iy exponents. Properly
21243 normalize after ldbl_extract_mantissa, and don't add hidden bit
21244 already handled. Don't treat low word of ieee854 mantissa like
21245 low word of IBM long double and mask off bit when testing for
21247 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21248 all uses of ieee875 long double macros and unions. Simplify tests
21249 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21250 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21251 two1022, instead use their values. Recognise that tests for large
21252 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21253 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21254 Rewrite all uses of ieee875 long double macros and unions. Simplify
21255 test for 0.0L and nan. Correct negation.
21256 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21257 ieee875 long double macros and unions. Correct output for large
21258 magnitude x. Correct absolute value calculation.
21259 (__erfcl): Likewise.
21260 * math/libm-test.inc: Add tests for errors discovered in IBM long
21261 double versions of fmodl, remainderl, erfl and erfcl.
21263 2013-10-04 Alan Modra <amodra@gmail.com>
21265 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21266 all uses of ieee854 long double macros and unions. Simplify tests
21267 for long doubles that are fully specified by the high double.
21268 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21270 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21271 Remove dead code too.
21272 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21273 (__ieee754_ynl): Likewise.
21274 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21275 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21276 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21277 Remove dead code too.
21278 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21279 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21280 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21281 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21283 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21285 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21286 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21287 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21288 Comment on variable precision.
21289 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21290 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21292 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21293 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21294 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21295 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21296 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21298 2013-10-04 Alan Modra <amodra@gmail.com>
21300 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21301 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21302 all uses of ieee854 long double macros and unions.
21303 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21304 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21305 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21306 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21307 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21308 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21310 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21311 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21312 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21313 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21314 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21315 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21316 Simplify sign and nan test too.
21317 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21318 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21319 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21320 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21322 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21323 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21325 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21326 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21327 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21328 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21329 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21330 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21332 2013-10-04 Alan Modra <amodra@gmail.com>
21334 * stdio-common/printf_size.c (__printf_size): Don't use
21335 union ieee854_long_double in fpnum union.
21336 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21337 signbit macro to retrieve sign from long double.
21338 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21339 retrieve sign from long double.
21340 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21341 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21342 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21343 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21344 * math/test-misc.c (main): Don't use union ieee854_long_double.
21346 2013-10-04 Alan Modra <amodra@gmail.com>
21349 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21350 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21351 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21352 calculation. Remove unnecessary test for denormal exponent.
21353 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21354 Correct handling of denormals. Avoid undefined shift behaviour.
21355 Correct normalisation of low mantissa when low double is denormal.
21356 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21357 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
21358 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21359 Correct normalisation of low mantissa. Test for overflow of high
21360 mantissa and normalise.
21361 (ldbl_nearbyint): Use more readable constant for two52.
21362 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21363 (__mpn_construct_long_double): Fix test for overflow of high
21364 mantissa and correct normalisation. Avoid undefined shift.
21366 2013-10-04 Alan Modra <amodra@gmail.com>
21368 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21369 (union ibm_extended_long_double): Define as an array of ieee754_double.
21370 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21371 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21372 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21373 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21374 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21375 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21376 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21377 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21378 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21379 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21380 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21382 2013-10-03 Joseph Myers <joseph@codesourcery.com>
21384 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21385 page size instead of calling getpagesize.
21387 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21388 (LOCFILE_ALIGN_MASK): Likewise.
21389 (LOCFILE_ALIGN_UP): Likewise.
21390 (LOCFILE_ALIGNED_P): Likewise.
21391 * locale/programs/ld-collate.c (collate_output): Use the new
21392 macros instead of __alignof__ (int32_t).
21393 * locale/weight.h (findidx): Likewise.
21395 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
21398 * manual/string.texi: Fix strncat and wcsncat.
21400 2013-10-03 Brooks Moses <bmoses@google.com>
21403 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21404 * Makerules: ...here, and adjust associated comments.
21406 2013-10-02 Will Newton <will.newton@linaro.org>
21408 * malloc/Makefile: Add tst-pvalloc.
21409 * malloc/tst-pvalloc.c: New file.
21411 2013-10-02 Will Newton <will.newton@linaro.org>
21413 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21414 improve test coverage.
21416 2013-10-02 Will Newton <will.newton@linaro.org>
21418 * malloc/Makefile: Add tst-posix_memalign.
21419 * malloc/tst-posix_memalign.c: New file.
21421 2013-10-01 Eric Blake <eblake@redhat.com>
21423 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21424 Use __THROWNL rather than __THROW on static functions.
21426 2013-09-30 Petr Machata <pmachata@redhat.com>
21428 * elf/elf.h (R_AARCH64_ABS16): New macro.
21429 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21430 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21431 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21432 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21433 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21434 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21435 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21436 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21437 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21438 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21439 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21440 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21441 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21442 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21443 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21444 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21445 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21446 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21447 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21448 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21449 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21450 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21451 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21452 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21453 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21454 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21455 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21456 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21457 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21458 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21459 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21460 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21461 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21462 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21463 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21464 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21465 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21466 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21467 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21468 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21469 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21470 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21471 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21472 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21473 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21474 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21475 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21476 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21477 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21478 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21479 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21480 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21481 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21482 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21483 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21484 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21485 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21486 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21487 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21488 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21489 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21490 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21491 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21492 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21493 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21494 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21495 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21496 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21497 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21498 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21499 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21500 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21501 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21502 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21503 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21504 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21505 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21506 (R_AARCH64_TLSDESC_LDR): Likewise.
21507 (R_AARCH64_TLSDESC_ADD): Likewise.
21508 (R_AARCH64_TLSDESC_CALL): Likewise.
21510 2013-09-30 Andreas Schwab <schwab@suse.de>
21513 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21514 the nss database lookup.
21515 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21516 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21518 2013-09-28 Mike Frysinger <vapier@gentoo.org>
21520 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21522 2013-09-28 P. J. McDermott <pj@pehjota.net>
21524 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21525 ${Bash-specific parameter/pattern/string} parameter expansion.
21526 * sysdeps/unix/make-syscalls.sh: Likewise.
21528 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21530 * sysdeps/sh/stackguard-macros.h: New file.
21532 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
21534 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21535 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21536 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21537 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21538 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21539 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21541 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21543 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21544 Fix thread ID register.
21546 2013-09-25 Joseph Myers <joseph@codesourcery.com>
21548 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21549 [POSIX || UNIX98]: Require rather than permitting all symbols from
21551 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21552 element of struct sched_param.
21553 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21554 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21555 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21556 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21559 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21561 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21562 argument calculation.
21564 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21566 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21568 [POSIX] (pthread_attr_t): Do not require type.
21569 [POSIX] (pthread_cond_t): Likewise.
21570 [POSIX] (pthread_condattr_t): Likewise.
21571 [POSIX] (pthread_key_t): Likewise.
21572 [POSIX] (pthread_mutex_t): Likewise.
21573 [POSIX] (pthread_mutexattr_t): Likewise.
21574 [POSIX] (pthread_once_t): Likewise.
21575 [POSIX] (pthread_t): Likewise.
21576 [POSIX-based standards] (pthread_atfork): Expect function.
21578 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21579 Richard Sandiford <richard@codesourcery.com>
21581 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21582 (swap_endianness_p): New extern variable.
21583 (set_big_endian): New inline function.
21584 (maybe_swap_uint32): Likewise.
21585 (maybe_swap_uint32_array): Likewise.
21586 (maybe_swap_uint32_obstack): Likewise.
21587 * locale/programs/locfile.c: Include <stdbool.h>.
21588 (swap_endianness_p): New variable.
21589 (add_locale_uint32): Call maybe_swap_uint32.
21590 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21591 (write_locale_data): Call maybe_swap_uint32_array.
21592 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21594 (obstack_int32_grow_fast): Likewise.
21595 (output_weightwc): Call maybe_swap_uint32_obstack.
21596 (collate_output): Likewise.
21597 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21598 (OPT_LITTLE_ENDIAN): Likewise.
21599 (options): Add --little-endian and --big-endian options.
21600 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21601 * locale/programs/locarchive.c: Include "locfile.h".
21605 (create_archive): Use the new macros to access fields of
21606 structures directly mapped from or written to locale archives.
21607 (oldlocrecentcmp): Likewise.
21608 (enlarge_archive): Likewise.
21609 (insert_name): Likewise.
21610 (add_alias): Likewise.
21611 (add_locale): Likewise.
21612 (delete_locales_from_archive): Likewise.
21613 (show_archive_content): Likewise.
21614 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21617 2013-09-24 Roland McGrath <roland@hack.frob.com>
21619 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21620 http://www.gnu.org/doc/freemanuals.texi.
21621 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21623 2013-09-24 Will Newton <will.newton@linaro.org>
21625 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21628 2013-09-23 Joseph Myers <joseph@codesourcery.com>
21630 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21633 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21635 * manual/threads.texi (POSIX Threads): Fix a typo.
21637 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21640 * string/tst-strcoll-overflow.c: New test case.
21641 * string/Makefile (xtests): Add tst-strcoll-overflow.
21642 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21643 cache if string sizes may cause integer overflow.
21646 * string/strcoll_l.c (coll_seq): New members rule, idx,
21647 save_idx and back_us.
21648 (get_next_seq_nocache): New function.
21649 (do_compare_nocache): New function.
21650 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21653 2013-09-23 Carlos O'Donell <carlos@redhat.com>
21656 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21657 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21658 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21661 * elf/Makefile (tests): Add tst-ptrguard1.
21662 (tests-static): Add tst-ptrguard1-static.
21663 (tst-ptrguard1-ARGS): Define.
21664 (tst-ptrguard1-static-ARGS): Define.
21665 * elf/tst-ptrguard1.c: New file.
21666 * elf/tst-ptrguard1-static.c: New file.
21667 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21668 * sysdeps/i386/stackguard-macros.h: Likewise.
21669 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21670 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21671 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21672 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21673 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21674 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21676 2013-09-23 Hector Marco <hecmargi@upv.es>
21677 Ismael Ripoll <iripoll@disca.upv.es>
21678 Carlos O'Donell <carlos@redhat.com>
21681 * sysdeps/generic/stackguard-macros.h: Define
21682 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21683 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21684 Define __pointer_chk_guard_local.
21685 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21686 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21688 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21691 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21693 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21695 * include/string.h (__ffs): Declare as hidden.
21696 * string/ffs.c (__ffs): Define as hidden.
21697 * sysdeps/i386/ffs.c (__ffs): Likewise.
21698 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21699 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21700 * sysdeps/s390/ffs.c (__ffs): Likewise.
21701 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21703 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
21705 * NEWS: Mention malloc probes.
21707 * malloc/arena.c (new_heap): New memory_heap_new probe.
21708 (grow_heap): New memory_heap_more probe.
21709 (shrink_heap): New memory_heap_less probe.
21710 (heap_trim): New memory_heap_free probe.
21711 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21712 (systrim): New memory_sbrk_less probe.
21713 * manual/probes.texi: Document them.
21715 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21716 * manual/probes.texi: Document it.
21718 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21719 (__libc_realloc): Add memory_realloc_retry probe.
21720 (__libc_memalign): Add memory_memalign_retry probe.
21721 (__libc_valloc): Add memory_valloc_retry probe.
21722 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21723 (__libc_calloc): Add memory_calloc_retry probe.
21724 * manual/probes.texi: Document them.
21726 * malloc/arena.c (get_free_list): Add probe
21727 memory_arena_reuse_free_list.
21728 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21729 and memory_arena_reuse.
21730 (arena_get2) [!PER_THREAD]: Likewise.
21731 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21732 memory_arena_reuse_realloc.
21733 * manual/probes.texi: Document them.
21735 * malloc/malloc.c (__libc_free): Add
21736 memory_mallopt_free_dyn_thresholds probe.
21737 (__libc_mallopt): Add multiple memory_mallopt probes.
21738 * manual/probes.texi: Document them.
21740 * malloc/malloc.c: Include stap-probe.h.
21741 (__libc_mallopt): Add memory_mallopt probe.
21742 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21743 * manual/probes.texi: New.
21744 * manual/Makefile (chapters): Add probes.
21745 * manual/threads.texi: Set next node.
21747 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
21749 [BZ #15963, #13985]
21750 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21751 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21752 Add `Chinese' to `nan' entry name.
21754 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21756 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21757 (POLYNOMIAL): Likewise.
21758 (TAYLOR_SINCOS): Likewise.
21759 (TAYLOR_SLOW): Likewise.
21760 (__sin): Use TAYLOR_SINCOS.
21762 (slow): Use TAYLOR_SLOW.
21764 (bsloww): Likewise.
21765 (csloww): Likewise.
21767 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21769 * stdlib/strtod_l.c: Fix buffer overrun.
21771 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21773 * benchtests/Makefile (bench): Add sincos.
21774 * benchtests/bench-sincos.c: New file.
21776 * math/libm-test.inc (cos_test_data): New test inputs.
21777 (sin_test_data): Likewise.
21779 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21785 (sloww1): Likewise.
21786 (sloww2): Likewise.
21787 (bsloww1): Likewise.
21788 (bsloww2): Likewise.
21789 (cslow2): Likewise.
21790 (csloww1): Likewise.
21791 (csloww2): Likewise.
21793 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21798 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21802 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21804 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21805 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21806 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21807 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21808 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21809 * elf/cache.c (print_entry): Handle the new cache flags.
21811 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21812 Aldy Hernandez <aldyh@redhat.com>
21814 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21815 Change condition to [_SOFT_FLOAT].
21816 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21817 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21818 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21819 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21820 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21821 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21822 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21823 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21824 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21825 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21826 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21827 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21828 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21829 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21830 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21831 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21834 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21836 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21837 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21838 (__longjmp): Use LOAD_GP to load saved GPRs.
21839 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21840 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21841 (__sigsetjmp): Use SAVE_GP to save GPRs.
21843 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21844 Do not append -msoft-float.
21845 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21847 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21849 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21851 2013-09-17 Joseph Myers <joseph@codesourcery.com>
21854 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21855 (_FPU_GETCW): Use initial "__" on variable and field names but not
21856 on macro parameter name.
21857 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21858 parentheses around reference to macro parameter.
21860 2013-09-13 Richard Sandiford <richard@codesourcery.com>
21862 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21864 (ctype_startup): Use uint32_t in cast and sizeof for
21867 2013-09-11 Jia Liu <proljc@gmail.com>
21869 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21871 [__FreeBSD__]: Likewise.
21873 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
21875 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21876 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21877 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21878 (strchr): Remove __strchr_sse42 ifunc selection.
21879 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21880 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21882 2013-09-11 Will Newton <will.newton@linaro.org>
21884 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21885 parameter to RES. Remove hardcoded 1000 value.
21886 * benchtests/bench-skeleton.c (main): Pass RES parameter
21887 to TIMING_INIT and multiply result by 1000.
21889 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21891 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21893 2013-09-11 Andreas Schwab <schwab@suse.de>
21895 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21897 (O_TMPFILE) [__USE_GNU]: Define.
21898 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21901 2013-09-11 Will Newton <will.newton@linaro.org>
21904 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21907 2013-09-11 Will Newton <will.newton@linaro.org>
21910 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21913 2013-09-11 Will Newton <will.newton@linaro.org>
21916 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21919 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
21921 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21922 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21923 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21924 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21925 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21927 2013-09-10 Allan McRae <allan@archlinux.org>
21930 * manual/arith.texi (Parsing of Floats): Clarify
21934 * manual/install.texi (Running make install): Mention
21936 * INSTALL: Regenerated.
21938 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21940 * csu/init-first.c (_init): Remove the !SHARED condition around
21941 FPU control word initialization.
21942 * elf/dl-support.c (_dl_fpu_control): New variable.
21943 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21944 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21945 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21946 * math/test-fpucw-static.c: New file.
21947 * math/test-fpucw-ieee.c: New file.
21948 * math/test-fpucw-ieee-static.c: New file.
21949 * math/Makefile (tests): Add `test-fpucw-ieee' and
21951 (tests-static): New variable.
21952 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21954 [($(build-shared),yes)]
21955 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21957 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21960 2013-09-09 Allan McRae <allan@archlinux.org>
21963 * manual/string.texi (Collation Functions): Fix typo in
21965 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21968 * stdlib/isomac.c (get_null_defines): Fix memory leak.
21971 * libio/memstream.c (open_memstream): Fix memory leak.
21972 * libio/wmemstream.c (open_wmemstream): Likewise.
21975 * nscd/netgroupcache.c: Fix nesting of ifdefs.
21977 2013-09-09 Will Newton <will.newton@linaro.org>
21979 * malloc/Makefile: Add tst-realloc to tests.
21980 * malloc/tst-realloc.c: New file.
21982 2013-09-09 Allan McRae <allan@archlinux.org>
21985 * COPYING: Update from GNU website to fix FSF address.
21986 * COPYING.LIB: Likewise.
21988 2013-09-06 David S. Miller <davem@davemloft.net>
21990 * po/zh_TW.po: Update Chinese (traditional) translation from
21991 translation project.
21993 2013-09-06 Richard Sandiford <richard@codesourcery.com>
21994 Joseph Myers <joseph@codesourcery.com>
21996 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21998 (obstack_chunk_alloc): New macro.
21999 (obstack_chunk_free): Likewise.
22000 (record_offset): New function.
22001 (init_locale_data): Likewise.
22002 (align_locale_data): Likewise.
22003 (add_locale_empty): Likewise.
22004 (add_locale_raw_data): Likewise.
22005 (add_locale_raw_obstack): Likewise.
22006 (add_locale_string): Likewise.
22007 (add_locale_wstring): Likewise.
22008 (add_locale_uint32): Likewise.
22009 (add_locale_uint32_array): Likewise.
22010 (add_locale_char): Likewise.
22011 (start_locale_structure): Likewise.
22012 (end_locale_structure): Likewise.
22013 (start_locale_prelude): Likewise.
22014 (end_locale_prelude): Likewise.
22015 (write_locale_data): Take locale_file structure rather than an
22017 * locale/programs/locfile.h: Include "obstack.h".
22018 (struct locale_file): Change to store locale file contents instead
22020 (init_locale_data): New prototype.
22021 (align_locale_data): Likewise.
22022 (add_locale_empty): Likewise.
22023 (add_locale_raw_data): Likewise.
22024 (add_locale_raw_obstack): Likewise.
22025 (add_locale_string): Likewise.
22026 (add_locale_wstring): Likewise.
22027 (add_locale_uint32): Likewise.
22028 (add_locale_uint32_array): Likewise.
22029 (add_locale_char): Likewise.
22030 (start_locale_structure): Likewise.
22031 (end_locale_structure): Likewise.
22032 (start_locale_prelude): Likewise.
22033 (end_locale_prelude): Likewise.
22034 (write_locale_data): Update prototype.
22035 * locale/programs/3level.h (struct TABLE): Remove result field.
22036 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22037 Use new locale_file interface.
22038 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22039 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22040 * locale/programs/ld-address.c (address_output): Use new
22041 locale_file interface.
22042 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22044 (collate_finish): Don't call collseq_table_finalize.
22045 (collate_output): Use new locale_file interface.
22046 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22048 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22049 (TABLE): Move defines earlier in file.
22050 (ELEMENT): Likewise.
22051 (DEFAULT): Likewise.
22052 (wctrans_table_add): Move macro and inline function earlier in
22054 (struct wctype_table): Move type earlier in file.
22055 (add_locale_wctype_table): New static prototype.
22056 (struct locale_ctype_t): Use logical types instead of struct iovec
22057 pointers for members.
22058 (ctype_output): Use new locale_file interface.
22059 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22060 new locale_file interface.
22061 (allocate_arrays): Update for use of new locale_file interface.
22062 * locale/programs/ld-identification.c (identification_output): Use
22063 new locale_file interface.
22064 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22065 * locale/programs/ld-messages.c (messages_output): Likewise.
22066 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22067 * locale/programs/ld-name.c (name_output): Likewise.
22068 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22069 * locale/programs/ld-paper.c (paper_output): Likewise.
22070 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22071 * locale/programs/ld-time.c (time_output): Likewise.
22073 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22075 * benchtests/Makefile: Add memrchr benchmark.
22076 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22077 benchmark as memrchr.
22078 * benchtests/bench-memrchr-ifunc.c: New file.
22079 * benchtests/bench-memrchr.c: New file.
22081 2013-09-06 Will Newton <will.newton@linaro.org>
22083 * benchtests/Makefile (string-bench): Add memcpy.
22085 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22086 Cong Wang <amwang@redhat.com>
22089 * sysdeps/unix/sysv/linux/bits/in.h
22090 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22091 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22092 before __USE_KERNEL_IPV6_DEFS uses.
22093 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22095 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22096 sockaddr_in6, or ipv6_mreq.
22098 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22100 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22101 memory access for final bytes in some large inputs.
22102 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22104 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22106 * string/test-memrchr.c: New file.
22107 * string/test-memrchr-ifunc.c: New file.
22108 * string/Makefile: Add new memrchr testcase.
22110 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22112 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22113 fanotify_init returns EPERM.
22115 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22117 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22119 (top level): Treat second token from macro or constant entries for
22120 allowed headers as allowed.
22121 * include/complex.h: Condition internal declarations on
22123 * include/fenv.h: Condition include of <stdbool.h> and internal
22124 declarations on [!_ISOMAC].
22126 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22129 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22131 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22133 * configure.in (--enable-versioning): Remove configure option.
22134 (libc_cv_asm_symver_directive): Remove configure test.
22135 (libc_cv_ld_version_script_option): Likewise.
22136 (VERSIONING): Remove variable and AC_SUBST.
22137 (DO_VERSIONING): Remove AC_DEFINE.
22138 * configure: Regenerated.
22139 * config.h.in (DO_VERSIONING): Remove macro.
22140 * Makerules [$(versioning) = yes]: Change conditionals to
22141 [$(build-shared) = yes].
22142 * config.make.in (versioning): Remove variable.
22143 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22144 [$(build-shared) = yes].
22145 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22146 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22147 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22148 [$(build-shared) = yes].
22149 * extra-lib.mk [$(versioning) = yes]: Likewise.
22150 * hurd/Makefile [$(versioning) = yes]: Likewise.
22151 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22153 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22155 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22156 [SHARED && !NO_HIDDEN].
22157 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22159 [SHARED && DO_VERSIONING]: Likewise..
22160 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22161 [$(build-shared) = yes].
22162 * manual/install.texi (--disable-versioning): Remove
22164 * INSTALL: Regenerated.
22165 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22167 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22168 [$(build-shared) = yes].
22169 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22170 * sysdeps/i386/i686/multiarch/strstr-c.c
22171 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22172 [SHARED && !NO_HIDDEN].
22173 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22174 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22175 * sysdeps/powerpc/powerpc32/dl-machine.c
22176 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22177 * sysdeps/powerpc/powerpc32/sysdep.h
22178 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22179 to [SHARED && PIC && !NO_HIDDEN].
22180 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22181 conditional to [SHARED].
22183 2013-09-04 Will Newton <will.newton@linaro.org>
22185 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22186 * benchtests/bench-string.h: Include bench-timing.h instead
22187 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22188 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22189 call to HP_TIMING_DIFF_INIT.
22190 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22191 instead of hp-timing.h macros.
22192 * benchtests/bench-memchr.c: Likewise.
22193 * benchtests/bench-memcmp.c: Likewise.
22194 * benchtests/bench-memcpy.c: Likewise.
22195 * benchtests/bench-memmem.c: Likewise.
22196 * benchtests/bench-memmove.c: Likewise.
22197 * benchtests/bench-memset.c: Likewise.
22198 * benchtests/bench-rawmemchr.c: Likewise.
22199 * benchtests/bench-strcasecmp.c: Likewise.
22200 * benchtests/bench-strcasestr.c: Likewise.
22201 * benchtests/bench-strcat.c: Likewise.
22202 * benchtests/bench-strchr.c: Likewise.
22203 * benchtests/bench-strcmp.c: Likewise.
22204 * benchtests/bench-strcpy.c: Likewise.
22205 * benchtests/bench-strcpy_chk.c: Likewise.
22206 * benchtests/bench-strlen.c: Likewise.
22207 * benchtests/bench-strncasecmp.c: Likewise.
22208 * benchtests/bench-strncat.c: Likewise.
22209 * benchtests/bench-strncmp.c: Likewise.
22210 * benchtests/bench-strncpy.c: Likewise.
22211 * benchtests/bench-strnlen.c: Likewise.
22212 * benchtests/bench-strpbrk.c: Likewise.
22213 * benchtests/bench-strrchr.c: Likewise.
22214 * benchtests/bench-strspn.c: Likewise.
22215 * benchtests/bench-strstr.c: Likewise.
22217 2013-09-04 Will Newton <will.newton@linaro.org>
22219 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22221 2013-09-03 Joseph Myers <joseph@codesourcery.com>
22224 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22225 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22226 * math/libm-test.inc (lgamma_test_data): Add more tests.
22227 * sysdeps/i386/fpu/libm-test-ulps: Update.
22228 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22230 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
22232 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22233 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22235 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22236 Add strcmp-sse2-unaligned
22237 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22239 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22241 * Versions.def (libc): Add GLIBC_2.19.
22243 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22245 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22246 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22248 2013-09-02 Joseph Myers <joseph@codesourcery.com>
22251 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22252 intermediate calculations in recurrence.
22253 (__ieee754_ynf): Likewise.
22254 * math/libm-test.inc (jn_test_data): Do not allow spurious
22255 underflow exception. Add more tests.
22256 (yn_test_data): Add more tests.
22257 * sysdeps/i386/fpu/libm-test-ulps: Update.
22258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22260 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
22262 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22264 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22266 * csu/init-first.c: Fix then/than typos.
22267 * locale/programs/ld-collate.c: Likewise.
22268 * locale/programs/linereader.h: Likewise.
22269 * manual/charset.texi: Likewise.
22270 * manual/filesys.texi: Likewise.
22271 * manual/stdio.texi: Likewise.
22272 * manual/string.texi: Likewise.
22273 * stdlib/fmtmsg.c: Likewise.
22274 * sysdeps/i386/stpncpy.S: Likewise.
22275 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22276 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22277 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22278 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22280 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22282 * elf/dl-open.c: Fix typos.
22283 * iconvdata/gbbig5.c: Likewise.
22284 * iconvdata/iso-2022-jp.c: Likewise.
22285 * iconv/gconv_int.h: Likewise.
22286 * iconv/loop.c: Likewise.
22287 * nis/rpcsvc/nis.h: Likewise.
22288 * resolv/ns_name.c: Likewise.
22289 * stdio-common/vfscanf.c: Likewise.
22290 * streams/stropts.h: Likewise.
22291 * sunrpc/rpc_thread.c: Likewise.
22292 * sysdeps/i386/strpbrk.S: Likewise.
22293 * sysdeps/ieee754/k_standard.c: Likewise.
22294 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22295 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22296 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22297 * sysdeps/mach/hurd/profil.c: Likewise.
22298 * sysdeps/s390/dl-procinfo.h: Likewise.
22299 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22300 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22301 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22302 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22303 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22305 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22307 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22308 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22310 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22312 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22313 aix specific files.
22314 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22315 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22316 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22317 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22318 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22319 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22320 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22321 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22323 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22324 Roland McGrath <roland@hack.frob.com>
22326 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22327 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22329 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22331 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22332 __executable_start symbol instead of _start.
22334 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22336 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22337 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22339 * sysdeps/gnu/ldsodefs.h: ... this new file.
22341 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22342 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22343 instead of ELFOSABI_LINUX.
22345 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22346 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22347 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22348 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22350 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22351 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22352 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22354 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22355 (ibm_extended_long_double): Add ieee_nan member.
22356 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22357 (do_test): New function.
22359 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22361 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22362 functions, renamed from truncdfsf_test, trunctfsf_test,
22364 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22366 (do_test): Run all these.
22368 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22370 * argp/argp-help.c: Fix typos.
22371 * argp/argp-parse.c: Likewise.
22372 * debug/backtracesyms.c: Likewise.
22373 * elf/elf.h: Likewise.
22374 * malloc/malloc.c: Likewise.
22375 * nis/nis_print.c: Likewise.
22376 * resolv/res_comp.c: Likewise.
22377 * stdlib/stdlib.h: Likewise.
22378 * sunrpc/clnt_tcp.c: Likewise.
22379 * sunrpc/clnt_udp.c: Likewise.
22380 * sunrpc/clnt_unix.c: Likewise.
22381 * sysdeps/unix/bsd/ptsname.c: Likewise.
22382 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22383 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22390 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22392 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22394 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22395 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22397 2013-08-27 Mike Frysinger <vapier@gentoo.org>
22400 * dlfcn/Makefile (tests): Add bug-dl-leaf.
22401 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22402 ($(objpfx)bug-dl-leaf): New rule.
22403 ($(objpfx)bug-dl-leaf.so): Likewise.
22404 ($(objpfx)bug-dl-leaf.out): Likewise.
22405 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22406 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22407 * dlfcn/bug-dl-leaf.c: New test.
22408 * dlfcn/bug-dl-leaf-lib.c: Likewise.
22409 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22410 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22411 (dlclose): Likewise.
22412 (dlmopen): Likewise.
22414 2013-08-27 Roland McGrath <roland@hack.frob.com>
22416 * include/netdb.h [!_ISOMAC]:
22417 Don't include <tls.h>.
22418 (h_errno, __libc_h_errno): Move declaration and macros out of
22421 * include/resolv.h [_RESOLV_H_]:
22422 Don't include <tls.h>.
22423 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22424 * resolv/res_libc.c: Don't include <tls.h>.
22425 (_res): Use __attribute__ ((nocommon)) in place of
22426 __attribute__ ((section (".bss"))).
22428 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22429 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22431 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22433 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22434 only under [SIOCGIFCONF && SIOCGIFNETMASK].
22436 * resolv/res_mkquery.c: Include <sys/time.h>.
22438 * inet/ifreq.c: Moved to ...
22439 * sysdeps/unix/ifreq.c: ... here.
22440 * inet/ifreq.c: New file, true stub version.
22442 * socket/sa_len.c: New file.
22443 * socket/Makefile (aux): Add it.
22444 * sysdeps/unix/sysv/linux/Makefile
22445 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22446 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22447 and #include <socket/sa_len.c>.
22448 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22449 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22451 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22452 * bits/socket.h: ... here.
22454 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22455 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22456 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22458 2013-08-27 Andreas Schwab <schwab@suse.de>
22461 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22462 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22463 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22464 * string/test-strcasecmp.c (test_main): Run tests in several
22466 * string/test-strncasecmp.c (test_main): Likewise.
22468 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22469 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22470 to __strcasecmp_nonascii and __strncasecmp_nonascii.
22471 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22472 (__strncasecmp_ssse3) [PIC]: Likewise.
22474 2013-08-26 Roland McGrath <roland@hack.frob.com>
22476 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22478 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22479 instead of explicitly declaring xdecrypt.
22480 * nis/nss_nis/nis-publickey.c: Likewise.
22482 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22485 * nscd/aicache.c: Include res_hconf.h.
22486 (addhstaiX): Initialize res_hconf.
22488 2013-08-26 Andreas Schwab <schwab@suse.de>
22490 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22491 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22493 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22495 * nscd/aicache.c (addhstaiX): Fix indentation.
22497 2013-08-25 Mike Frysinger <vapier@gentoo.org>
22499 * configure.ac: Quote $build_pt_chown test.
22500 * configure: Regenerated.
22502 2013-08-23 Joseph Myers <joseph@codesourcery.com>
22505 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22506 * math/s_cexpf.c (__cexpf): Likewise.
22507 * math/s_cexpl.c (__cexpl): Likewise.
22508 * math/libm-test.inc (cexp_test_data): Correct expected return
22509 value for NaN + i0. Add another test.
22511 2013-08-22 David S. Miller <davem@davemloft.net>
22513 * po/ca.po: Update Catalan translation from translation project.
22514 * po/uk.po: Add Ukrainian translations from translation project.
22516 2013-08-21 Joseph Myers <joseph@codesourcery.com>
22519 * math/s_fdim.c (__fdim): Check for infinite arguments if result
22520 is infinite, not alongside NaN test.
22521 * math/s_fdimf.c (__fdimf): Likewise.
22522 * math/s_fdiml.c (__fdiml): Likewise.
22523 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
22524 errno is unchanged.
22526 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
22528 * argp/argp-help.c: Fix typos.
22529 * crypt/speeds.c: Likewise.
22530 * csu/check_fds.c: Likewise.
22531 * elf/dl-load.c: Likewise.
22532 * elf/dl-open.c: Likewise.
22533 * elf/reldep3.c: Likewise.
22534 * elf/reldep.c: Likewise.
22535 * elf/sprof.c: Likewise.
22536 * iconv/iconv_charmap.c: Likewise.
22537 * iconv/skeleton.c: Likewise.
22538 * iconv/strtab.c: Likewise.
22539 * io/lockf64.c: Likewise.
22540 * libio/libioP.h: Likewise.
22541 * resolv/gai_notify.c: Likewise.
22542 * resolv/ns_name.c: Likewise.
22543 * resolv/ns_samedomain.c: Likewise.
22544 * resolv/res_send.c: Likewise.
22545 * stdlib/random.c: Likewise.
22546 * sunrpc/rpc/xdr.h: Likewise.
22547 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22548 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22549 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22550 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22551 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22552 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22553 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22554 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22555 * sysdeps/mach/hurd/check_fds.c: Likewise.
22556 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22557 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22558 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22559 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22560 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22561 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22562 * sysdeps/pthread/aio_notify.c: Likewise.
22563 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22564 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22565 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22566 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22567 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22569 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22571 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22572 version if bit_Slow_SSE4_2 is set.
22573 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22574 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22576 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22579 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22580 trampoline stack frame information.
22581 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22582 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22583 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22584 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22585 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22586 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22587 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22588 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22590 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22591 interrupting a syscall and set with option SA_SIGINFO.
22593 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22596 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22597 argument is infinite.
22598 * math/s_cprojf.c (__cprojf): Likewise.
22599 * math/s_cprojl.c (__cprojl): Likewise.
22600 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22601 * math/libm-test.inc (cproj_test_data): Add more tests.
22603 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22605 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22606 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22607 size. Use __ffs to determine corresponding shift.
22609 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22610 Roland McGrath <roland@hack.frob.com>
22612 * Makefile (INSTALL): Remove trailing blank lines from output of
22615 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22617 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22618 Align 32 bit compat elf_greg to 8 bytes.
22620 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22622 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22624 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22626 * string/strcoll_l.c (coll_seq): New structure.
22627 (get_next_seq_cached): New function.
22628 (get_next_seq): New function.
22629 (do_compare): New function.
22630 (STRCOLL): Use GNU style definition. Simplify implementation
22631 by using get_next_seq, get_next_seq_cached and do_compare.
22633 2013-08-16 Florian Weimer <fweimer@redhat.com>
22637 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22639 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22641 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22642 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22643 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22645 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22646 GETDENTS_64BIT_ALIGNED.
22647 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22648 * manual/filesys.texi (Reading/Closing Directory): Document
22649 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22651 * manual/conf.texi (Limits for Files): Add portability note to
22652 NAME_MAX, PATH_MAX.
22653 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22655 2013-08-13 Andreas Schwab <schwab@suse.de>
22658 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22660 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22661 LDBL_MAX_EXP >= 16384]: Add tests for it.
22663 2013-08-12 David S. Miller <davem@davemloft.net>
22665 * version.h (RELEASE): Set to "development".
22666 (VERSION): Set to "2.18.90".
22667 * NEWS: Add 2.19 section.
22669 2013-08-03 David S. Miller <davem@davemloft.net>
22671 * po/ko.po: Update Korean translation from translation project.
22673 2013-08-01 David S. Miller <davem@davemloft.net>
22675 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22676 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22679 2013-07-30 David S. Miller <davem@davemloft.net>
22681 * po/fr.po: Update French translation from translation project.
22683 2013-07-28 David S. Miller <davem@davemloft.net>
22685 * po/cs.po: Update Czech translation from translation project.
22687 * po/sv.po: Update Swedish translation from translation project.
22689 2013-07-27 David S. Miller <davem@davemloft.net>
22691 * po/eo.po: Update Esperanto translation from translation project.
22693 * po/vi.po: Update Vietnamese translation from translation project.
22695 * po/de.po: Update German translation from translation project.
22697 2013-07-26 David S. Miller <davem@davemloft.net>
22699 * po/bg.po: Update Bulgarian translation from translation project.
22701 * po/nl.po: Update Dutch translation from translation project.
22702 * po/pl.po: Update Polish translation from translation project.
22703 * po/ru.po: Update Russian translation from translation project.
22705 2013-07-24 David S. Miller <davem@davemloft.net>
22707 * po/libc.pot: Update.
22709 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22711 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22712 variable page size.
22713 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22714 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22715 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22717 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22719 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22721 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22722 Andreas Schwab <schwab@suse.de>
22723 Roland McGrath <roland@hack.frob.com>
22724 Joseph Myers <joseph@codesourcery.com>
22725 Carlos O'Donell <carlos@redhat.com>
22728 * config.h.in: Define HAVE_PT_CHOWN.
22729 * config.make.in (build-pt-chown): New variable.
22730 * configure.in (--enable-pt_chown): New configure option.
22731 * configure: Regenerate.
22732 * login/Makefile: Include Makeconfig. Build pt_chown only if
22733 build-pt-chown is enabled.
22734 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22735 pt_chown to fix pty ownership.
22736 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22738 * manual/install.texi (Configuring and compiling): Mention
22739 --enable-pt_chown. Add @findex for grantpt.
22740 * INSTALL: Regenerate.
22742 2013-07-20 David S. Miller <davem@davemloft.net>
22744 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22745 difference between 32-bit and 64-bit.
22747 2013-07-15 Carlos O'Donell <carlos@redhat.com>
22750 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22751 Avoid system header dependency with -ffreestanding.
22752 ($(objpfx)bits/syscall%d): Likewise.
22754 2013-07-13 David S. Miller <davem@davemloft.net>
22756 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22757 underflows from atanl/atan2l due to bug 15319.
22758 (casinh_test_data): Likewise.
22760 2013-07-07 David S. Miller <davem@davemloft.net>
22762 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22764 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22766 * sysdeps/i386/fpu/libm-test-ulps: Update.
22767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22769 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22771 * configure.in (--enable-lock-elision): Fix message text.
22772 * INSTALL: Regenerate.
22773 * configure: Regenerate.
22775 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22777 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22779 2013-07-03 Andreas Jaeger <aj@suse.de>
22781 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22783 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22784 (ptrace_peeksiginfo_args): Add.
22785 (__ptrace_peeksiginfo_flags): Add.
22786 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22787 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22788 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22790 2013-07-03 Allan McRae <allan@archlinux.org>
22792 * sysdeps/i386/fpu/libm-test-ulps: Update.
22794 2013-07-02 David S. Miller <davem@davemloft.net>
22796 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22798 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22800 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22802 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22804 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22807 2013-07-02 Andi Kleen <ak@linux.intel.com>
22809 * config.h.in (ENABLE_LOCK_ELISION): Add.
22810 * configure.in (--enable-lock-elision): Add option.
22811 * manual/install.texi: Document --enable lock elision.
22812 * configure: Regenerate
22813 * INSTALL: Regenerate.
22815 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22817 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22818 SSE4.2 strcasecmp for libc.a.
22819 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22821 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22824 * soft-fp/op-common.h (_FP_FMA): New macro.
22825 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22826 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22827 (_FP_MUL_MEAT_1_imm): ... here.
22828 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22829 (_FP_MUL_MEAT_1_wide): ... here.
22830 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22831 (_FP_MUL_MEAT_1_hard): ... here.
22832 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22833 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22834 (_FP_MUL_MEAT_2_wide): ... here.
22835 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22836 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22837 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22838 (_FP_MUL_MEAT_2_gmp): ... here.
22839 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22840 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22841 (_FP_MUL_MEAT_4_wide): ... here.
22842 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22843 (_FP_MUL_MEAT_4_gmp): ... here.
22844 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22845 (_FP_WFRACBITS_DW_S): Likewise.
22846 (_FP_WFRACXBITS_DW_S): Likewise.
22847 (_FP_HIGHBIT_DW_S): Likewise.
22848 (FP_FMA_S): Likewise.
22849 (_FP_FRAC_HIGH_DW_S): Likewise.
22850 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22851 (_FP_WFRACBITS_DW_D): Likewise.
22852 (_FP_WFRACXBITS_DW_D): Likewise.
22853 (_FP_HIGHBIT_DW_D): Likewise.
22854 (FP_FMA_D): Likewise.
22855 (_FP_FRAC_HIGH_DW_D): Likewise.
22856 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22857 (_FP_WFRACBITS_DW_E): Likewise.
22858 (_FP_WFRACXBITS_DW_E): Likewise.
22859 (_FP_HIGHBIT_DW_E): Likewise.
22860 (FP_FMA_E): Likewise.
22861 (_FP_FRAC_HIGH_DW_E): Likewise.
22862 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22863 (_FP_WFRACBITS_DW_Q): Likewise.
22864 (_FP_WFRACXBITS_DW_Q): Likewise.
22865 (_FP_HIGHBIT_DW_Q): Likewise.
22866 (FP_FMA_Q): Likewise.
22867 (_FP_FRAC_HIGH_DW_Q): Likewise.
22868 * soft-fp/fmasf4.c: New file.
22869 * soft-fp/fmadf4.c: Likewise.
22870 * soft-fp/fmatf4.c: Likewise.
22872 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22874 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22875 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22877 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22879 (index_Slow_SSE4_2): Likewise.
22880 (index_Prefer_PMINUB_for_stringop): Likewise.
22881 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22882 bit_Slow_SSE4_2 is set.
22883 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22884 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22886 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22888 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22889 rtld_global._dl_hwcap2.
22890 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22892 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22893 POWER8 feature descriptions defined in _dl_hwcap2.
22894 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22895 string handling for POWER8 feature bits.
22896 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22897 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22898 _dl_powerpc_cap_flags.
22899 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22900 * sysdeps/powerpc/rtld-global-offsets.sym
22901 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22902 _dl_hwcap2 in the rtld_global_ro structure.
22904 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22906 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22907 hardware capabilities in support of AT_HWCAP2.
22908 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22909 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22911 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22912 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22913 explicitly the unknown a_type display mechanism is used.
22914 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22915 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22917 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22918 to macro prototype for AT_HWCAP2 support.
22919 * sysdeps/i386/dl-procinfo.h: Likewise.
22920 * sysdeps/s390/dl-procinfo.h: Likewise.
22921 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22922 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22923 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22924 return -1 for unknown a_type display fallback.
22925 * sysdeps/sparc/dl-procinfo.h: Likewise.
22926 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22927 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22929 2013-06-28 Joseph Myers <joseph@codesourcery.com>
22931 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22932 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22934 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22937 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22938 mprotect making __stack_prot writable.
22940 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22941 Joseph Myers <joseph@codesourcery.com>
22943 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22944 as being properly aligned.
22946 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22948 * dlfcn/modstatic5.c: New file.
22949 * dlfcn/tststatic5.c: New file.
22950 * dlfcn/Makefile (tests): Add tststatic5.
22951 (tests-static): Likewise.
22952 (modules-names): Add modstatic5.
22953 (tststatic5-ENV): New variable.
22954 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22957 * elf/dl-support.c (_dl_main_map): New variable.
22958 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22959 (_dl_nns, _dl_load_adds): Set to 1.
22960 (_dl_initial_searchlist): Refer to _dl_main_map.
22961 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22962 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22963 call to _dl_get_origin.
22964 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22966 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22967 * dlfcn/modstatic3.c: New file.
22968 * dlfcn/tststatic3.c: New file.
22969 * dlfcn/tststatic4.c: New file.
22970 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22971 (tests-static): Likewise.
22972 (modules-names): Add modstatic3.
22973 (tststatic3-ENV, tststatic4-ENV): New variables.
22974 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22975 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22977 2013-06-26 Joseph Myers <joseph@codesourcery.com>
22979 * configure.in (CC): Require GCC version 4.4 or later.
22980 * configure: Regenerated.
22981 * manual/install.texi (Tools for Compilation): Update GCC version
22983 * INSTALL: Regenerated.
22985 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22988 * string/test-memcmp.c (check2): New.
22989 (main): Call check2.
22991 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22993 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
22996 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22998 (dl_open_worker) [!SHARED]: ... here.
23000 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23002 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23004 2013-06-25 Richard Henderson <rth@redhat.com>
23006 * locale/programs/locarchive.c: Include <libc-internal.h>
23008 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23010 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23011 trailing whitespace removed.
23013 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23016 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23017 * locale/programs/locarchive.c: Include libc-mmap.h.
23018 (prepare_address_space): Take two new outputs (the mmap base and len).
23019 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23021 (create_archive): Declare new mmap base and len values for
23022 prepare_address_space, and store the result in ah.
23023 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23024 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23025 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23026 Declare new mmap base and len values for
23027 prepare_address_space, and store the result in new_ah.
23028 (open_archive): Declare new mmap base and len values for
23029 prepare_address_space, and store the result in ah.
23030 (close_archive): If ah->mmap_base is not NULL, use that and
23031 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23032 * sysdeps/generic/libc-mmap.h: New file.
23034 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23036 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23037 (ALIGN_UP): Likewise.
23038 (PTR_ALIGN_DOWN): Likewise.
23039 (PTR_ALIGN_UP): Likewise.
23041 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23043 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23044 entry mapped to PPC_PLATFORM_POWER8.
23045 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23047 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23048 (_dl_string_platform): Add case for exporting platform position for
23050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23051 search path to sysdeps/powerpc/powerpc32/power8 directory.
23052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23053 search path to sysdeps/powerpc/powerpc64/power8 directory.
23054 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23055 power7 directories.
23056 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23057 power7 directories.
23059 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23061 * INSTALL: Regenerate.
23063 * nscd/connections.c (nscd_init): Fix comment.
23065 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23067 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23070 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23071 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23073 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23075 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23077 (DL_DST_REQ_STATIC): Remove macro.
23079 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23082 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23083 with a shift of 0 bits.
23085 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23087 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23090 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23093 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23095 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23097 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23098 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23099 accepts -fno-tree-loop-distribute-patterns.
23100 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23101 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23103 * string/memset.c (memset): Likewise.
23104 * string/test-memmove.c (simple_memmove): Disable loop transformation
23106 * string/test-memset.c (simple_memset): Likewise.
23107 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23108 * benchtests/bench-memset.c (simple_memset): Likewise.
23109 * configure: Regenerated.
23111 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23113 * math/test-misc.c (main): Ignore fesetround failure when failures
23114 of subsequent rounding tests would be ignored.
23117 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23118 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23119 * math/fegetenv.c (__fegetenv): Return 0.
23120 * math/fegetexcept.c (fegetexcept): Return 0.
23121 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23123 * math/feholdexcpt.c (feholdexcept): Return 0.
23124 * math/fesetenv.c (__fesetenv): Return 0.
23125 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23126 argument FE_TONEAREST.
23127 * math/feupdateenv.c (__feupdateenv): Return 0.
23128 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23130 2013-06-18 Roland McGrath <roland@hack.frob.com>
23132 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23133 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23134 ($(objpfx)rtld-%.os rules): Use them.
23136 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23138 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23141 2013-06-17 Roland McGrath <roland@hack.frob.com>
23143 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23144 length of target pattern, then descending length of dependency pattern.
23145 * configure.in (AWK): Require gawk 3.1.2 or newer.
23146 * manual/install.texi (Tools for Compilation): Say that we do.
23147 * configure: Regenerated.
23149 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23150 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23151 * scripts/sysd-rules.awk: ... this new script.
23152 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23153 than a glob-style pattern.
23155 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23157 * math/test-misc.c (main): Do not treat incorrectly rounded
23158 conversions as failure unless ROUNDING_TESTS passes.
23160 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23163 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23164 restore exception state around main square root computation, then
23165 check for inexactness explicitly.
23167 * math/libm-test.inc (fma_test_data): Add another test.
23169 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23171 * manual/threads.texi (Non-POSIX Extensions): New document
23172 node. Document pthread_getattr_default_np and
23173 pthread_setattr_default_np.
23175 * Versions.def (libpthread): Add GLIBC_2.18.
23176 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23181 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23185 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23187 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23189 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23193 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23196 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23198 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23199 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23201 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23202 H.J. Lu <hjl.tools@gmail.com>
23205 * sysdeps/x86_64/rtld-memset.c: Remove file.
23206 * sysdeps/x86_64/rtld-memset.S: New file.
23208 2013-06-14 Joseph Myers <joseph@codesourcery.com>
23210 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23211 (test_in_one_mode): Take arguments for whether the rounding mode
23212 is supported for each floating-point type.
23213 (do_test): Pass new arguments to test_in_one_mode using
23216 2013-06-13 Roland McGrath <roland@hack.frob.com>
23218 * posix/tst-waitid.c (do_test): Distinguish different instances of
23219 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23220 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23221 before entering the kernel for waitpid.
23223 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23225 * NEWS: Fix note on clock function precision. Text by Roland
23228 2013-06-13 Roland McGrath <roland@hack.frob.com>
23230 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23231 it into place only when and if the sanity check passes.
23233 2013-06-13 Joseph Myers <joseph@codesourcery.com>
23235 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23236 output for whether conversion result is exact. Take argument
23237 indicating whether type is IBM long double.
23238 (round_for_all): Change need_exact field to ibm_ld.
23239 * stdlib/tst-strtod-round.c (struct exactness): New type.
23240 (struct test): Change bool ld_ok field to struct exactness exact.
23241 (TEST): Update all definitions for change to field.
23242 (tests): Regenerate array contents.
23243 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23244 field value. Check for IBM long double here.
23245 (do_test): Update calls to test_in_one_mode.
23247 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23250 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23251 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23253 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23256 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23257 generated by the compiler on loop optimizations.
23258 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23259 general definitions.
23261 2013-06-12 Joseph Myers <joseph@codesourcery.com>
23263 * math/bug-nextafter.c: Include <math-tests.h>.
23264 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23266 * math/bug-nexttoward.c: Include <math-tests.h>.
23267 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23269 * math/test-misc.c: Include <math-tests.h>.
23270 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23273 2013-06-12 Andreas Jaeger <aj@suse.de>
23275 * po/ia.po: Update Interlingua translation from translation
23278 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23280 * include/fenv.h: Include stdbool.h.
23281 (struct rm_ctx): New structure.
23282 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23284 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23285 (SET_RESTORE_ROUNDF): Likewise.
23286 (SET_RESTORE_ROUNDL): Likewise.
23287 (SET_RESTORE_ROUND_NOEX): Likewise.
23288 (SET_RESTORE_ROUND_NOEXF): Likewise.
23289 (SET_RESTORE_ROUND_NOEXL): Likewise.
23290 (SET_RESTORE_ROUND_53BIT): Likewise.
23291 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23292 (libc_feresetround_noexf_ctx): Likewise.
23293 (libc_feresetround_noexl_ctx): Likewise.
23294 (libc_feholdsetround_53bit_ctx): Likewise.
23295 (libc_feresetround_53bit_ctx): Likewise.
23296 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23297 (libc_feholdexcept_setround_sse_ctx): New function.
23298 (libc_fesetenv_sse_ctx): Likewise.
23299 (libc_feupdateenv_sse_ctx): Likewise.
23300 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23301 (libc_feholdexcept_setround_387_ctx): Likewise.
23302 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23303 (libc_feholdsetround_387_prec_ctx): Likewise.
23304 (libc_feholdsetround_387_ctx): Likewise.
23305 (libc_feholdsetround_387_53bit_ctx): Likewise.
23306 (libc_feholdsetround_sse_ctx): Likewise.
23307 (libc_feresetround_sse_ctx): Likewise.
23308 (libc_feresetround_387_ctx): Likewise.
23309 (libc_feupdateenv_387_ctx): Likewise.
23310 (libc_feholdexcept_setroundf_ctx): Define macro.
23311 (libc_fesetenvf_ctx): Likewise.
23312 (libc_feupdateenvf_ctx): Likewise.
23313 (libc_feholdsetroundf_ctx): Likewise.
23314 (libc_feresetroundf_ctx): Likewise.
23315 (libc_feholdexcept_setround_ctx): Likewise.
23316 (libc_fesetenv_ctx): Likewise.
23317 (libc_feupdateenv_ctx): Likewise.
23318 (libc_feholdsetround_ctx): Likewise.
23319 (libc_feresetround_ctx): Likewise.
23320 (libc_feholdexcept_setroundl_ctx): Likewise.
23321 (libc_feupdateenvl_ctx): Likewise.
23322 (libc_feholdsetroundl_ctx): Likewise.
23323 (libc_feresetroundl_ctx): Likewise.
23324 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23325 (libc_feresetround_53bit_ctx): Likewise.
23327 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23329 * locale/iso-639.def: Convert to UTF-8.
23331 2013-06-11 Joseph Myers <joseph@codesourcery.com>
23333 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23334 (EXCEPTION_TESTS_double): Likewise.
23335 (EXCEPTION_TESTS_long_double): Likewise.
23336 (EXCEPTION_TESTS): Likewise.
23337 * math/libm-test.inc (test_exceptions): Only test exceptions if
23338 EXCEPTION_TESTS (FLOAT).
23340 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23342 * benchtests/Makefile (string-bench): Add strcpy_chk and
23344 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23345 * benchtests/bench-stpcpy_chk.c: New file.
23346 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23347 * benchtests/bench-strcpy_chk.c: New file.
23348 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23350 (do_test): Likewise.
23352 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23354 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23355 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23356 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23357 with tabs where appropriate.
23358 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23360 [PPC_PLATFORM_PPC440]: Likewise.
23361 [PPC_PLATFORM_PPC464]: Likewise.
23362 [PPC_PLATFORM_PPC476]: Likewise.
23363 (_dl_string_platform): Add support for detecting ppc405, ppc440,
23364 ppc464, and ppc476 platform strings merging from ports/
23367 2013-06-11 Andreas Schwab <schwab@suse.de>
23370 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23371 (from_ucs4_idx): Regenerate.
23372 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23373 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23374 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23375 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23376 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23377 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23378 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23379 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23380 from FROM_LOOP and TO_LOOP specific macros.
23381 (BODY): Handle combining characters.
23382 * iconvdata/BIG5HKSCS.irreversible: Update.
23383 * iconvdata/BIG5HKSCS.precomposed: New file.
23384 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23386 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23388 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23390 * include/sys/time.h: Fix indentation and add copyright header.
23392 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23393 (do_test): Likewise.
23394 * string/test-memchr.c (do_one_test): Likewise.
23395 (do_test): Likewise.
23396 * string/test-memcmp.c (do_one_test): Likewise.
23397 (do_test): Likewise.
23398 * string/test-memcpy.c (do_one_test): Likewise.
23399 (do_test): Likewise.
23400 * string/test-memmem.c (do_one_test): Likewise.
23401 (do_test): Likewise.
23402 (do_random_tests): Likewise.
23403 * string/test-memmove.c (do_one_test): Likewise.
23404 (do_test): Likewise.
23405 * string/test-memset.c (do_one_test): Likewise.
23406 (do_test): Likewise.
23407 * string/test-rawmemchr.c (do_one_test): Likewise.
23408 (do_test): Likewise.
23409 * string/test-strcasecmp.c (do_one_test): Likewise.
23410 (do_test): Likewise.
23411 * string/test-strcasestr.c (do_one_test): Likewise.
23412 (do_test): Likewise.
23413 * string/test-strcat.c (do_one_test): Likewise.
23414 (do_test): Likewise.
23415 * string/test-strchr.c (do_one_test): Likewise.
23416 (do_test): Likewise.
23417 * string/test-strcmp.c (do_one_test): Likewise.
23418 (do_test): Likewise.
23419 * string/test-strcpy.c (do_one_test): Likewise.
23420 (do_test): Likewise.
23421 * string/test-string.h: Likewise.
23422 (test_init): Likewise.
23423 * string/test-strlen.c (do_one_test): Likewise.
23424 (do_test): Likewise.
23425 * string/test-strncasecmp.c (do_one_test): Likewise.
23426 (do_test): Likewise.
23427 * string/test-strncat.c (do_one_test): Likewise.
23428 (do_test): Likewise.
23429 * string/test-strncmp.c (do_one_test): Likewise.
23430 (do_test_limit): Likewise.
23431 (do_test): Likewise.
23432 * string/test-strncpy.c (do_one_test): Likewise.
23433 (do_test): Likewise.
23434 * string/test-strnlen.c (do_one_test): Likewise.
23435 (do_test): Likewise.
23436 * string/test-strpbrk.c (do_one_test): Likewise.
23437 (do_test): Likewise.
23438 * string/test-strrchr.c (do_one_test): Likewise.
23439 (do_test): Likewise.
23440 * string/test-strspn.c (do_one_test): Likewise.
23441 (do_test): Likewise.
23442 * string/test-strstr.c (do_one_test): Likewise.
23443 (do_test): Likewise.
23445 * benchtests/Makefile (string-bench): Add string benchmarks.
23446 * benchtests/bench-bcopy-ifunc.c: New file.
23447 * benchtests/bench-bcopy.c: New file.
23448 * benchtests/bench-bzero-ifunc.c: New file.
23449 * benchtests/bench-bzero.c: New file.
23450 * benchtests/bench-memccpy-ifunc.c: New file.
23451 * benchtests/bench-memccpy.c: New file.
23452 * benchtests/bench-memchr-ifunc.c: New file.
23453 * benchtests/bench-memchr.c: New file.
23454 * benchtests/bench-memcmp-ifunc.c: New file.
23455 * benchtests/bench-memcmp.c: New file.
23456 * benchtests/bench-memmem-ifunc.c: New file.
23457 * benchtests/bench-memmem.c: New file.
23458 * benchtests/bench-memmove-ifunc.c: New file.
23459 * benchtests/bench-memmove.c: New file.
23460 * benchtests/bench-mempcpy-ifunc.c: New file.
23461 * benchtests/bench-mempcpy.c: New file.
23462 * benchtests/bench-memset-ifunc.c: New file.
23463 * benchtests/bench-memset.c: New file.
23464 * benchtests/bench-rawmemchr-ifunc.c: New file.
23465 * benchtests/bench-rawmemchr.c: New file.
23466 * benchtests/bench-stpcpy-ifunc.c: New file.
23467 * benchtests/bench-stpcpy.c: New file.
23468 * benchtests/bench-stpncpy-ifunc.c: New file.
23469 * benchtests/bench-stpncpy.c: New file.
23470 * benchtests/bench-strcasecmp-ifunc.c: New file.
23471 * benchtests/bench-strcasecmp.c: New file.
23472 * benchtests/bench-strcasestr-ifunc.c: New file.
23473 * benchtests/bench-strcasestr.c: New file.
23474 * benchtests/bench-strcat-ifunc.c: New file.
23475 * benchtests/bench-strcat.c: New file.
23476 * benchtests/bench-strchr-ifunc.c: New file.
23477 * benchtests/bench-strchr.c: New file.
23478 * benchtests/bench-strchrnul-ifunc.c: New file.
23479 * benchtests/bench-strchrnul.c: New file.
23480 * benchtests/bench-strcmp-ifunc.c: New file.
23481 * benchtests/bench-strcmp.c: New file.
23482 * benchtests/bench-strcpy-ifunc.c: New file.
23483 * benchtests/bench-strcpy.c: New file.
23484 * benchtests/bench-strcspn-ifunc.c: New file.
23485 * benchtests/bench-strcspn.c: New file.
23486 * benchtests/bench-strlen-ifunc.c: New file.
23487 * benchtests/bench-strlen.c: New file.
23488 * benchtests/bench-strncasecmp-ifunc.c: New file.
23489 * benchtests/bench-strncasecmp.c: New file.
23490 * benchtests/bench-strncat-ifunc.c: New file.
23491 * benchtests/bench-strncat.c: New file.
23492 * benchtests/bench-strncmp-ifunc.c: New file.
23493 * benchtests/bench-strncmp.c: New file.
23494 * benchtests/bench-strncpy-ifunc.c: New file.
23495 * benchtests/bench-strncpy.c: New file.
23496 * benchtests/bench-strnlen-ifunc.c: New file.
23497 * benchtests/bench-strnlen.c: New file.
23498 * benchtests/bench-strpbrk-ifunc.c: New file.
23499 * benchtests/bench-strpbrk.c: New file.
23500 * benchtests/bench-strrchr-ifunc.c: New file.
23501 * benchtests/bench-strrchr.c: New file.
23502 * benchtests/bench-strspn-ifunc.c: New file.
23503 * benchtests/bench-strspn.c: New file.
23504 * benchtests/bench-strstr-ifunc.c: New file.
23505 * benchtests/bench-strstr.c: New file.
23507 * benchtests/Makefile: Disable parallel execution of targets.
23508 (string-bench): Add memcpy.
23509 (benchset): New variable to store a list of benchmark sets.
23510 (bench-func): Renamed from bench.
23511 (bench-set): New target.
23512 (bench): Depend on bench-func and bench-set.
23513 * benchtests/README: Add section on benchmark sets.
23514 * benchtests/bench-memcpy-ifunc.c: New file.
23515 * benchtests/bench-memcpy.c: New file.
23516 * benchtests/bench-string.h: New file.
23518 2013-06-11 Andreas Schwab <schwab@suse.de>
23521 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23522 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23523 values in the triple.
23524 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23525 terminator in the group key.
23527 2013-06-11 Andreas Jaeger <aj@suse.de>
23529 * po/zh_TW.po: Update Chinese (traditional) translation from
23530 translation project.
23532 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23534 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23535 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23536 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23537 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23538 (clock_getcpuclockid): Likewise.
23539 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23540 Add weak_alias and libc_hidden_def.
23541 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23542 * rt/clock_gettime.c (clock_gettime): Rename to
23543 __clock_gettime. Add weak_alias and libc_hidden_def.
23544 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23545 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23546 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23547 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23548 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23550 * rt/clock_settime.c (clock_settime): Rename to
23551 __clock_settime. Add weak_alias and libc_hidden_def.
23552 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23554 2013-06-10 Joseph Myers <joseph@codesourcery.com>
23556 * mach/err_boot.sub: Remove trailing whitespace.
23557 * mach/err_ipc.sub: Likewise.
23558 * mach/err_mach.sub: Likewise.
23560 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23561 (ROUNDING_TESTS_double): Likewise.
23562 (ROUNDING_TESTS_long_double): Likewise.
23563 (ROUNDING_TESTS): Likewise.
23564 * math/libm-test.inc: Include <math-tests.h>.
23565 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23566 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23567 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23568 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23570 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23572 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23575 2013-06-08 Joseph Myers <joseph@codesourcery.com>
23577 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23578 otherwise empty TRANS lines.
23579 * sysdeps/gnu/errlist.c: Regenerated.
23581 * catgets/gencat.c (error_print): Use (void) in function
23583 * crypt/crypt_util.c (__init_des): Likewise.
23584 * crypt/speeds.c (Stop): Likewise.
23586 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23587 * inet/ruserpass.c (token): Likewise.
23588 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23589 * intl/localealias.c (extend_alias_table): Likewise.
23590 * intl/plural-exp.c (init_germanic_plural): Likewise.
23591 * libio/fcloseall.c (__fcloseall): Likewise.
23592 * libio/genops.c (_IO_flush_all): Likewise.
23593 (_IO_flush_all_linebuffered): Likewise.
23594 (_IO_cleanup): Likewise.
23595 (_IO_iter_begin): Likewise.
23596 (_IO_iter_end): Likewise.
23597 (_IO_list_lock): Likewise.
23598 (_IO_list_unlock): Likewise.
23599 (_IO_list_resetlock): Likewise.
23600 * libio/getchar.c (getchar): Likewise.
23601 * libio/getchar_u.c (getchar_unlocked): Likewise.
23602 * libio/getwchar.c (getwchar): Likewise.
23603 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23604 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23605 * login/getpt.c (__getpt): Likewise.
23606 * login/tst-utmp.c (main): Likewise.
23607 * malloc/hooks.c (__malloc_check_init): Likewise.
23608 * malloc/malloc.c (__malloc_stats): Likewise.
23609 * malloc/mtrace.c (tr_break): Likewise.
23610 (mtrace): Likewise.
23611 (muntrace): Likewise.
23612 * misc/fstab.c (endfsent): Likewise.
23613 * misc/getclktck.c (__getclktck): Likewise.
23614 * misc/getdtsz.c (__getdtablesize): Likewise.
23615 * misc/gethostid.c (gethostid): Likewise.
23616 * misc/getpagesize.c (__getpagesize): Likewise.
23617 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23618 (__get_nprocs): Likewise.
23619 (__get_phys_pages): Likewise.
23620 (__get_avphys_pages): Likewise.
23621 * misc/getttyent.c (getttyent): Likewise.
23622 (setttyent): Likewise.
23623 (endttyent): Likewise.
23624 * misc/getusershell.c (getusershell): Likewise.
23625 (endusershell): Likewise.
23626 (setusershell): Likewise.
23627 (initshells): Likewise.
23628 * misc/hsearch.c (__hdestroy): Likewise.
23629 * misc/sync.c (sync): Likewise.
23630 * misc/syslog.c (closelog_internal): Likewise.
23631 (closelog): Likewise.
23632 * misc/ttyslot.c (ttyslot): Likewise.
23633 * misc/vhangup.c (vhangup): Likewise.
23634 * posix/fork.c (__fork): Likewise.
23635 * posix/getegid.c (__getegid): Likewise.
23636 * posix/geteuid.c (__geteuid): Likewise.
23637 * posix/getgid.c (__getgid): Likewise.
23638 * posix/getpid.c (__getpid): Likewise.
23639 * posix/getppid.c (__getppid): Likewise.
23640 * posix/getuid.c (__getuid): Likewise.
23641 * posix/pause.c (pause): Likewise.
23642 * posix/setpgrp.c (setpgrp): Likewise.
23643 * posix/setsid.c (__setsid): Likewise.
23644 * posix/test-vfork.c (noop): Likewise.
23645 * resolv/gethnamaddr.c (_endhtent): Likewise.
23646 (_gethtent): Likewise.
23647 (ht_endhostent): Likewise.
23648 (gethostent): Likewise.
23649 (dns_service): Likewise.
23650 * stdlib/drand48.c (drand48): Likewise.
23651 * stdlib/lrand48.c (lrand48): Likewise.
23652 * stdlib/mrand48.c (mrand48): Likewise.
23653 * stdlib/rand.c (rand): Likewise.
23654 * stdlib/random.c (__random): Likewise.
23655 * stdlib/setenv.c (clearenv): Likewise.
23656 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23657 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23658 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23659 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23660 (__get_nprocs): Likewise.
23661 (__get_phys_pages): Likewise.
23662 (__get_avphys_pages): Likewise.
23663 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23664 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23665 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23666 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23667 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23668 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23669 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23670 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23671 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23672 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23673 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23674 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23675 * sysdeps/posix/clock.c (clock): Likewise.
23676 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23677 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23678 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23679 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23680 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23681 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23682 (__get_nprocs_conf): Likewise.
23683 (__get_phys_pages): Likewise.
23684 (__get_avphys_pages): Likewise.
23685 * time/clock.c (clock): Likewise.
23686 * time/tzset.c (__tzname_max): Likewise.
23688 2013-06-07 Joseph Myers <joseph@codesourcery.com>
23690 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23691 (__bswap_32): Do not use "register".
23692 * crypt/crypt.c (_ufc_doit_r): Likewise.
23693 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23694 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23695 * gmon/gmon.c (__monstartup): Likewise.
23696 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23697 * hurd/hurdmalloc.c (more_memory): Likewise.
23698 (malloc): Likewise.
23700 (realloc): Likewise.
23701 (malloc_fork_prepare): Likewise.
23702 (malloc_fork_parent): Likewise.
23703 (malloc_fork_child): Likewise.
23704 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23705 (_svcauth_des): Likewise.
23706 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23707 * inet/inet_net.c (inet_network): Likewise.
23708 * inet/inet_netof.c (inet_netof): Likewise.
23709 * inet/rcmd.c (__validuser2_sa): Likewise.
23710 * io/fts.c (fts_open): Likewise.
23711 (fts_load): Likewise.
23712 (fts_close): Likewise.
23713 (fts_read): Likewise.
23714 (fts_children): Likewise.
23715 (fts_build): Likewise.
23716 (fts_stat): Likewise.
23717 (fts_sort): Likewise.
23718 (fts_alloc): Likewise.
23719 (fts_lfree): Likewise.
23720 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23721 (_IO_file_xsgetn): Likewise.
23722 (_IO_file_xsgetn_mmap): Likewise.
23723 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23724 (_IO_cookie_write): Likewise.
23725 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23726 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23727 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23728 * malloc/obstack.c (_obstack_begin): Likewise.
23729 (_obstack_begin_1): Likewise.
23730 (_obstack_newchunk): Likewise.
23731 (_obstack_allocated_p): Likewise.
23732 (obstack_free): Likewise.
23733 (_obstack_memory_used): Likewise.
23734 * misc/getttyent.c (getttynam): Likewise.
23735 (getttyent): Likewise.
23738 * misc/getusershell.c (initshells): Likewise.
23739 * misc/syslog.c (__vsyslog_chk): Likewise.
23740 * misc/ttyslot.c (ttyslot): Likewise.
23741 * nis/nis_hash.c (__nis_hash): Likewise.
23742 * posix/fnmatch_loop.c (FCT): Likewise.
23743 * posix/getconf.c (print_all): Likewise.
23745 * posix/getopt.c (exchange): Likewise.
23746 * posix/glob.c (globfree): Likewise.
23747 (prefix_array): Likewise.
23748 (__glob_pattern_type): Likewise.
23749 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23750 (NS_GET32): Likewise.
23751 (NS_PUT16): Likewise.
23752 (NS_PUT32): Likewise.
23753 * resolv/gethnamaddr.c (getanswer): Likewise.
23754 (gethostbyname2): Likewise.
23755 (gethostbyaddr): Likewise.
23756 (_gethtent): Likewise.
23757 (_gethtbyname2): Likewise.
23758 (_gethtbyaddr): Likewise.
23759 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23760 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23761 * resolv/res_init.c (__res_vinit): Likewise.
23762 (net_mask): Likewise.
23763 * resolv/res_mkquery.c (outchar): Likewise.
23765 * stdio-common/printf_fp.c (outchar): Likewise.
23767 * stdio-common/printf_fphex.c (outchar): Likewise.
23769 * stdio-common/printf_size.c (outchar): Likewise.
23771 * stdio-common/test_rdwr.c (main): Likewise.
23772 * stdio-common/tfformat.c (matches): Likewise.
23773 * stdio-common/vfprintf.c (outchar): Likewise.
23774 (printf_unknown): Likewise.
23775 (buffered_vfprintf): Likewise.
23776 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23777 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23778 (ReadFile): Likewise.
23779 * stdlib/qsort.c (SWAP): Likewise.
23780 (_quicksort): Likewise.
23781 * stdlib/setenv.c (__add_to_environ): Likewise.
23782 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23783 * stdlib/strtol_l.c (__strtol_l): Likewise.
23784 * stdlib/tst-strtod.c (main): Likewise.
23785 * stdlib/tst-strtol.c (main): Likewise.
23786 * stdlib/tst-strtoll.c (main): Likewise.
23787 * string/bits/string2.h (__strcmp_cc): Likewise.
23788 (__strcmp_cg): Likewise.
23789 (__strcspn_c1): Likewise.
23790 (__strcspn_c2): Likewise.
23791 (__strcspn_c3): Likewise.
23792 (__strspn_c1): Likewise.
23793 (__strspn_c2): Likewise.
23794 (__strspn_c3): Likewise.
23795 (__strsep_1c): Likewise.
23796 (__strsep_2c): Likewise.
23797 (__strsep_3c): Likewise.
23798 * string/memccpy.c (__memccpy): Likewise.
23799 * string/stpcpy.c (__stpcpy): Likewise.
23800 * string/strcmp.c (strcmp): Likewise.
23801 * string/strrchr.c (strrchr): Likewise.
23802 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23804 * sysdeps/mach/hurd/getcwd.c
23805 (_hurd_canonicalize_directory_name_internal): Likewise.
23806 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23807 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23808 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23809 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23810 Likewise, in both definitions.
23811 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23813 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23814 64] (__bswap_64): Likewise.
23815 * time/test_time.c (main): Likewise.
23816 * time/tzfile.c (__tzfile_read): Likewise.
23817 (__tzfile_compute): Likewise.
23818 * time/tzset.c (__tzset_parse_tz): Likewise.
23819 (tzset_internal): Likewise.
23820 (compute_change): Likewise.
23821 * wcsmbs/wcscat.c (__wcscat): Likewise.
23822 * wcsmbs/wcschr.c (wcschr): Likewise.
23823 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23824 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23825 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23826 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23827 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23828 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23829 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23830 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23831 * wcsmbs/wmemset.c (wmemset): Likewise.
23833 2013-06-06 Joseph Myers <joseph@codesourcery.com>
23835 * scripts/config.guess: Update to version 2013-05-16.
23836 * scripts/config.sub: Update to version 2013-04-24.
23837 * scripts/install-sh: Update to version 2011-11-20.07.
23838 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23839 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23841 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
23843 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23844 * elf/sln.c: Likewise.
23845 * hurd/hurd/ioctl.h: Likewise.
23846 * hurd/hurdmalloc.c: Likewise.
23847 * hurd/xattr.c: Likewise.
23848 * include/shlib-compat.h: Likewise.
23849 * inet/ruserpass.c: Likewise.
23850 * libio/iofgets_u.c: Likewise.
23851 * libio/iofgetws_u.c: Likewise.
23852 * locale/programs/ld-identification.c: Likewise.
23853 * locale/programs/ld-time.c: Likewise.
23854 * mach/msg-destroy.c: Likewise.
23855 * nss/nss_files/files-netgrp.c: Likewise.
23856 * resolv/res_data.c: Likewise.
23857 * soft-fp/op-1.h: Likewise.
23858 * soft-fp/op-2.h: Likewise.
23859 * soft-fp/op-4.h: Likewise.
23860 * soft-fp/op-common.h: Likewise.
23861 * stdio-common/printf_fphex.c: Likewise.
23862 * stdlib/strtod_l.c: Likewise.
23863 * sunrpc/rpc/clnt.h: Likewise.
23864 * sysdeps/generic/framestate.c: Likewise.
23865 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23866 * sysdeps/i386/bsd-setjmp.S: Likewise.
23867 * sysdeps/i386/__longjmp.S: Likewise.
23868 * sysdeps/i386/setjmp.S: Likewise.
23869 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23870 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23871 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23872 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23873 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23874 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23875 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23876 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23877 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23878 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23879 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23880 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23881 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23882 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23883 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23884 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23885 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23886 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23887 * sysdeps/ieee754/support.c: Likewise.
23888 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23889 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23890 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23891 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23892 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23893 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23894 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23895 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23896 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23897 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23898 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23899 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23900 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23901 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23902 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23903 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23904 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23907 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
23909 * posix/transbug.c: Remove executable mode.
23911 2013-06-05 Joseph Myers <joseph@codesourcery.com>
23913 * crypt/speeds.c: Remove trailing whitespace.
23914 * dlfcn/default.c: Likewise.
23915 * elf/ifuncdep2.c: Likewise.
23916 * elf/ifuncmain1.c: Likewise.
23917 * elf/ifuncmain1vis.c: Likewise.
23918 * elf/testobj.h: Likewise.
23919 * elf/tst-stackguard1.c: Likewise.
23920 * gmon/sys/gmon.h: Likewise.
23921 * hurd/hurdmsg.c: Likewise.
23922 * hurd/new-fd.c: Likewise.
23923 * hurd/ports-get.c: Likewise.
23924 * iconvdata/ibm1008_420.c: Likewise.
23925 * inet/tst-getni1.c: Likewise.
23926 * inet/tst-getni2.c: Likewise.
23927 * libio/ioungetc.c: Likewise.
23928 * libio/wfiledoalloc.c: Likewise.
23929 * manual/libm-err-tab.pl: Likewise.
23930 * math/w_dremf.c: Likewise.
23931 * misc/ftruncate.c: Likewise.
23932 * posix/bug-glob2.c: Likewise.
23933 * posix/tst-pcre.c: Likewise.
23934 * posix/wait4.c: Likewise.
23935 * resolv/README: Likewise.
23936 * resolv/res_debug.h: Likewise.
23937 * resolv/tst-inet_ntop.c: Likewise.
23938 * setjmp/bug269-setjmp.c: Likewise.
23939 * soft-fp/extended.h: Likewise.
23940 * soft-fp/op-1.h: Likewise.
23941 * soft-fp/op-2.h: Likewise.
23942 * soft-fp/op-4.h: Likewise.
23943 * soft-fp/op-8.h: Likewise.
23944 * soft-fp/testit.c: Likewise.
23945 * stdio-common/bug16.c: Likewise.
23946 * stdlib/random.c: Likewise.
23947 * sunrpc/rpcsvc/rquota.x: Likewise.
23948 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23949 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23950 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23951 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23952 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23953 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23954 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23955 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23956 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23957 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23958 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23959 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23960 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23961 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23962 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23963 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23964 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23965 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23966 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23967 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23968 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23969 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23970 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23971 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23972 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23973 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23974 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23975 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23976 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23977 * sysdeps/ieee754/s_lib_version.c: Likewise.
23978 * sysdeps/mach/hurd/check_fds.c: Likewise.
23979 * sysdeps/mach/hurd/getsockname.c: Likewise.
23980 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23981 * sysdeps/mach/hurd/recvfrom.c: Likewise.
23982 * sysdeps/powerpc/bits/link.h: Likewise.
23983 * sysdeps/powerpc/dl-procinfo.c: Likewise.
23984 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23985 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23986 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23987 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23988 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23989 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23990 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23991 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23992 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23993 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23994 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23995 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23996 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23997 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23998 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23999 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24000 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24001 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24002 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24003 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24004 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24005 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24006 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24007 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24008 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24009 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24010 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24011 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24012 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24013 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24014 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24015 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24016 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24017 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24018 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24019 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24020 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24021 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24022 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24023 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24024 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24025 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24026 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24027 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24028 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24029 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24030 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24031 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24032 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24033 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24034 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24035 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24036 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24037 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24038 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24039 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24040 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24041 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24042 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24043 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24044 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24045 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24046 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24047 * sysdeps/powerpc/sysdep.h: Likewise.
24048 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24049 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24050 * sysdeps/sh/dl-trampoline.S: Likewise.
24051 * sysdeps/sh/memset.S: Likewise.
24052 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24053 * sysdeps/sh/strlen.S: Likewise.
24054 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24055 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24056 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24057 * sysdeps/sparc/sparc32/rem.S: Likewise.
24058 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24059 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24060 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24061 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24062 * sysdeps/sparc/sparc32/urem.S: Likewise.
24063 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24064 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24065 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24066 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24067 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24068 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24069 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24070 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24071 * sysdeps/unix/bsd/times.c: Likewise.
24072 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24073 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24077 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24078 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24079 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24080 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24081 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24082 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24083 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24084 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24085 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24086 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24087 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24088 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24089 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24090 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24091 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24092 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24093 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24094 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24095 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24096 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24097 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24098 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24099 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24100 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24101 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24102 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24103 * sysdeps/x86_64/strcspn.S: Likewise.
24105 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24107 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24108 generated file. Regenerate properly from gen-translit.pl.
24109 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24110 locale/C-translit.h.
24112 2013-06-05 Andreas Schwab <schwab@suse.de>
24115 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24116 week as 6 instead of -1.
24117 * time/tst-strptime.c (day_tests): Add test case.
24119 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24121 * sysdeps/generic/math_private.h
24122 (libc_feholdexcept_setround_53bit): Replace with
24123 libc_feholdsetround_53bit.
24124 (libc_feupdateenv_53bit): Replace with
24125 libc_feresetround_53bit.
24126 (SET_RESTORE_ROUND_53BIT): Adjust.
24128 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24130 * string/test-strchrnul.c: Add copyright header.
24132 * posix/tst-getaddrinfo4.c: Increase test timeout.
24134 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24137 * math/libm-test.inc (MAX_EXP): Remove
24139 (ulp): Use MIN_EXP - MANT_DIG.
24140 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24142 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24144 * po/be.po: Revert last change.
24145 * po/zh_CN.po: Likewise.
24146 * po/header.pot: Likewise.
24148 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24150 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24151 link-libc-deps to empty as target-specific variable.
24152 * Makerules (link-libc-args): New variable.
24153 (libc-for-link): Likewise.
24154 (link-libc-deps): Likewise.
24155 (lib%.so): Depend on $(link-libc-deps). Link with
24157 (build-module): Link with $(link-libc-args).
24158 (build-module-asneeded): Likewise.
24159 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24161 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24162 target-specific variable.
24163 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24164 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24165 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24167 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24169 ($(objpfx)libpcprofile.so): Likewise.
24170 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24172 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24173 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24174 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24176 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24177 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24178 * login/Makefile ($(objpfx)libutil.so): Likewise.
24179 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24180 * math/Makefile ($(objpfx)libm.so): Likewise.
24181 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24182 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24183 variable instead of depending directly on libc.
24184 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24185 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24187 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24189 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24190 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24191 ($(objpfx)libanl.so): Likewise.
24192 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24194 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24196 * sysdeps/i386/fpu/Makefile: Remove file.
24197 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24198 ($(objpfx)libm.so): Remove dependency on ld.so.
24200 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
24203 * nis/yp_xdr.c (XDRMAXNAME): Define.
24204 (XDRMAXRECORD): Define.
24205 (xdr_domainname): Use XDRMAXNAME.
24206 (xdr_mapname): Likewise.
24207 (xdr_peername): Likewise.
24208 (xdr_keydat): Use XDRMAXRECORD.
24209 (xdr_valdat): Likewise.
24211 2013-05-30 Jeff Law <law@redhat.com>
24214 * manual/errno.texi (ESTALE): Update to account for more than
24215 just NFS file systems.
24216 * sysdeps/gnu/errlist.c: Regenerated.
24218 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24221 * elf/Makefile (tests): Add tst-null-argv.
24222 (modules-names): Add tst-null-argv-lib.
24223 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24224 (tst-null-argv-ENV): Set environment for tst-null-argv.
24225 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24226 (RTLD_PROGNAME): New macro.
24227 * elf/tst-null-argv.c: New test case.
24228 * elf/tst-null-argv-lib.c: Library for test case.
24229 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24230 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24231 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24232 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24233 * elf/dl-init.c (call_init): Likewise.
24234 (_dl_init): Likewise.
24235 * elf/dl-load.c (print_search_path): Likewise.
24236 (_dl_map_object): Likewise.
24237 * elf/dl-lookup.c (do_lookup_x): Likewise.
24238 (add_dependency): Likewise.
24239 (_dl_lookup_symbol_x): Likewise.
24240 (_dl_debug_bindings): Likewise.
24241 * elf/dl-open.c (_dl_show_scope): Likewise.
24242 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24243 * elf/dl-version.c (match_symbol): Likewise.
24244 (_dl_check_map_versions): Likewise.
24245 * elf/rtld.c (dl_main): Likewise.
24246 (print_unresolved): Use RTLD_PROGNAME.
24247 (print_missing_version): Likewise.
24248 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24249 (elf_machine_rela): Likewise.
24250 * sysdeps/powerpc/powerpc32/dl-machine.c
24251 (__process_machine_rela): Likewise.
24252 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24254 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24256 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24258 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24259 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24261 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24263 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24265 2013-05-28 Carlos O'Donell <carlos@redhat.com>
24267 * po/be.po: Add descriptive title.
24268 * po/zh_CN.po: Likewise.
24269 * po/header.pot: Likewise.
24271 2013-05-28 Mike Frysinger <vapier@gentoo.org>
24273 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24275 (enlarge_archive): Likewise.
24277 2013-05-28 Ben North <ben@redfrontdoor.org>
24279 * manual/arith.texi (frexp): It is the magnitude of the return
24280 value which lies in [0.5, 1), not the return value itself.
24282 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24286 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24288 * stdio-common/bug26.c (main): Correct fscanf template.
24290 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24291 declare _dl_skip_args.
24293 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24296 * manual/platform.texi: Add missing @end deftypefun.
24298 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24301 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24302 bit of mantissa of 2^16382.
24303 * math/libm-test.inc (hypot_test_data): Add more tests.
24305 * math/libm-test.inc: Add drem and pow10 to list of tested
24307 (pow10_test): New function.
24308 (drem_test): Likewise.
24309 (drem_test_tonearest): Likewise.
24310 (drem_test_towardzero): Likewise.
24311 (drem_test_downward): Likewise.
24312 (drem_test_upward): Likewise.
24313 (main): Call the new functions.
24315 * math/libm-test.inc (finite_test_data): Remove.
24316 (finite_test): Run tests from isfinite_test_data.
24317 (gamma_test_data): Remove.
24318 (gamma_test): Run tests from lgamma_test_data.
24319 * sysdeps/i386/fpu/libm-test-ulps: Update.
24320 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24322 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24324 * manual/platform.texi: Add PowerPC PPR function set documentation.
24325 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24328 2013-05-24 Carlos O'Donell <carlos@redhat.com>
24330 * math/libm-test.inc (MAX_EXP): Define.
24332 (ulp): New function.
24333 (check_float_internal): Use ULPDIFF.
24334 (cpow_test): Disable failing test.
24335 (check_ulp): Test ulp() implemetnation.
24336 (main): Call check_ulp before starting tests.
24338 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24340 * math/gen-libm-test.pl (generate_testfile): Do not handle
24341 START_DATA and END_DATA.
24342 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24344 (acos_tonearest_test_data): Likewise.
24345 (acos_towardzero_test_data): Likewise.
24346 (acos_downward_test_data): Likewise.
24347 (acos_upward_test_data): Likewise.
24348 (acosh_test_data): Likewise.
24349 (asin_test_data): Likewise.
24350 (asin_tonearest_test_data): Likewise.
24351 (asin_towardzero_test_data): Likewise.
24352 (asin_downward_test_data): Likewise.
24353 (asin_upward_test_data): Likewise.
24354 (asinh_test_data): Likewise.
24355 (atan_test_data): Likewise.
24356 (atanh_test_data): Likewise.
24357 (atan2_test_data): Likewise.
24358 (cabs_test_data): Likewise.
24359 (cacos_test_data): Likewise.
24360 (cacosh_test_data): Likewise.
24361 (carg_test_data): Likewise.
24362 (casin_test_data): Likewise.
24363 (casinh_test_data): Likewise.
24364 (catan_test_data): Likewise.
24365 (catanh_test_data): Likewise.
24366 (cbrt_test_data): Likewise.
24367 (ccos_test_data): Likewise.
24368 (ccosh_test_data): Likewise.
24369 (ceil_test_data): Likewise.
24370 (cexp_test_data): Likewise.
24371 (cimag_test_data): Likewise.
24372 (clog_test_data): Likewise.
24373 (clog10_test_data): Likewise.
24374 (conj_test_data): Likewise.
24375 (copysign_test_data): Likewise.
24376 (cos_test_data): Likewise.
24377 (cos_tonearest_test_data): Likewise.
24378 (cos_towardzero_test_data): Likewise.
24379 (cos_downward_test_data): Likewise.
24380 (cos_upward_test_data): Likewise.
24381 (cosh_test_data): Likewise.
24382 (cosh_tonearest_test_data): Likewise.
24383 (cosh_towardzero_test_data): Likewise.
24384 (cosh_downward_test_data): Likewise.
24385 (cosh_upward_test_data): Likewise.
24386 (cpow_test_data): Likewise.
24387 (cproj_test_data): Likewise.
24388 (creal_test_data): Likewise.
24389 (csin_test_data): Likewise.
24390 (csinh_test_data): Likewise.
24391 (csqrt_test_data): Likewise.
24392 (ctan_test_data): Likewise.
24393 (ctan_tonearest_test_data): Likewise.
24394 (ctan_towardzero_test_data): Likewise.
24395 (ctan_downward_test_data): Likewise.
24396 (ctan_upward_test_data): Likewise.
24397 (ctanh_test_data): Likewise.
24398 (ctanh_tonearest_test_data): Likewise.
24399 (ctanh_towardzero_test_data): Likewise.
24400 (ctanh_downward_test_data): Likewise.
24401 (ctanh_upward_test_data): Likewise.
24402 (erf_test_data): Likewise.
24403 (erfc_test_data): Likewise.
24404 (exp_test_data): Likewise.
24405 (exp_tonearest_test_data): Likewise.
24406 (exp_towardzero_test_data): Likewise.
24407 (exp_downward_test_data): Likewise.
24408 (exp_upward_test_data): Likewise.
24409 (exp10_test_data): Likewise.
24410 (exp2_test_data): Likewise.
24411 (expm1_test_data): Likewise.
24412 (fabs_test_data): Likewise.
24413 (fdim_test_data): Likewise.
24414 (finite_test_data): Likewise.
24415 (floor_test_data): Likewise.
24416 (fma_test_data): Likewise.
24417 (fma_towardzero_test_data): Likewise.
24418 (fma_downward_test_data): Likewise.
24419 (fma_upward_test_data): Likewise.
24420 (fmax_test_data): Likewise.
24421 (fmin_test_data): Likewise.
24422 (fmod_test_data): Likewise.
24423 (fpclassify_test_data): Likewise.
24424 (frexp_test_data): Likewise.
24425 (gamma_test_data): Likewise.
24426 (hypot_test_data): Likewise.
24427 (ilogb_test_data): Likewise.
24428 (isfinite_test_data): Likewise.
24429 (isgreater_test_data): Likewise.
24430 (isgreaterequal_test_data): Likewise.
24431 (isinf_test_data): Likewise.
24432 (isless_test_data): Likewise.
24433 (islessequal_test_data): Likewise.
24434 (islessgreater_test_data): Likewise.
24435 (isnan_test_data): Likewise.
24436 (isnormal_test_data): Likewise.
24437 (issignaling_test_data): Likewise.
24438 (isunordered_test_data): Likewise.
24439 (j0_test_data): Likewise.
24440 (j1_test_data): Likewise.
24441 (jn_test_data): Likewise.
24442 (ldexp_test_data): Likewise.
24443 (lgamma_test_data): Likewise.
24444 (lrint_test_data): Likewise.
24445 (lrint_tonearest_test_data): Likewise.
24446 (lrint_towardzero_test_data): Likewise.
24447 (lrint_downward_test_data): Likewise.
24448 (lrint_upward_test_data): Likewise.
24449 (llrint_test_data): Likewise.
24450 (llrint_tonearest_test_data): Likewise.
24451 (llrint_towardzero_test_data): Likewise.
24452 (llrint_downward_test_data): Likewise.
24453 (llrint_upward_test_data): Likewise.
24454 (log_test_data): Likewise.
24455 (log10_test_data): Likewise.
24456 (log1p_test_data): Likewise.
24457 (log2_test_data): Likewise.
24458 (logb_test_data): Likewise.
24459 (logb_downward_test_data): Likewise.
24460 (lround_test_data): Likewise.
24461 (llround_test_data): Likewise.
24462 (modf_test_data): Likewise.
24463 (nearbyint_test_data): Likewise.
24464 (nextafter_test_data): Likewise.
24465 (nexttoward_test_data): Likewise.
24466 (pow_test_data): Likewise.
24467 (pow_tonearest_test_data): Likewise.
24468 (pow_towardzero_test_data): Likewise.
24469 (pow_downward_test_data): Likewise.
24470 (pow_upward_test_data): Likewise.
24471 (remainder_test_data): Likewise.
24472 (remainder_tonearest_test_data): Likewise.
24473 (remainder_towardzero_test_data): Likewise.
24474 (remainder_downward_test_data): Likewise.
24475 (remainder_upward_test_data): Likewise.
24476 (remquo_test_data): Likewise.
24477 (rint_test_data): Likewise.
24478 (rint_tonearest_test_data): Likewise.
24479 (rint_towardzero_test_data): Likewise.
24480 (rint_downward_test_data): Likewise.
24481 (rint_upward_test_data): Likewise.
24482 (round_test_data): Likewise.
24483 (scalb_test_data): Likewise.
24484 (scalbn_test_data): Likewise.
24485 (scalbln_test_data): Likewise.
24486 (signbit_test_data): Likewise.
24487 (sin_test_data): Likewise.
24488 (sin_tonearest_test_data): Likewise.
24489 (sin_towardzero_test_data): Likewise.
24490 (sin_downward_test_data): Likewise.
24491 (sin_upward_test_data): Likewise.
24492 (sincos_test_data): Likewise.
24493 (sinh_test_data): Likewise.
24494 (sinh_tonearest_test_data): Likewise.
24495 (sinh_towardzero_test_data): Likewise.
24496 (sinh_downward_test_data): Likewise.
24497 (sinh_upward_test_data): Likewise.
24498 (sqrt_test_data): Likewise.
24499 (tan_test_data): Likewise.
24500 (tan_tonearest_test_data): Likewise.
24501 (tan_towardzero_test_data): Likewise.
24502 (tan_downward_test_data): Likewise.
24503 (tan_upward_test_data): Likewise.
24504 (tanh_test_data): Likewise.
24505 (tgamma_test_data): Likewise.
24506 (trunc_test_data): Likewise.
24507 (y0_test_data): Likewise.
24508 (y1_test_data): Likewise.
24509 (yn_test_data): Likewise.
24510 (significand_test_data): Likewise.
24512 * math/gen-libm-test.pl (@functions): Remove variable.
24513 (generate_testfile): Don't handle START and END lines.
24514 * math/libm-test.inc (START): New macro.
24516 (END_COMPLEX): Likewise.
24517 (acos_test): Use END macro without arguments.
24518 (acos_test_tonearest): Likewise.
24519 (acos_test_towardzero): Likewise.
24520 (acos_test_downward): Likewise.
24521 (acos_test_upward): Likewise.
24522 (acosh_test): Likewise.
24523 (asin_test): Likewise.
24524 (asin_test_tonearest): Likewise.
24525 (asin_test_towardzero): Likewise.
24526 (asin_test_downward): Likewise.
24527 (asin_test_upward): Likewise.
24528 (asinh_test): Likewise.
24529 (atan_test): Likewise.
24530 (atanh_test): Likewise.
24531 (atan2_test): Likewise.
24532 (cabs_test): Likewise.
24533 (cacos_test): Use END_COMPLEX macro without arguments.
24534 (cacosh_test): Likewise.
24535 (carg_test): Use END macro without arguments.
24536 (casin_test): Use END_COMPLEX macro without arguments.
24537 (casinh_test): Likewise.
24538 (catan_test): Likewise.
24539 (catanh_test): Likewise.
24540 (cbrt_test): Use END macro without arguments.
24541 (ccos_test): Use END_COMPLEX macro without arguments.
24542 (ccosh_test): Likewise.
24543 (ceil_test): Use END macro without arguments.
24544 (cexp_test): Use END_COMPLEX macro without arguments.
24545 (cimag_test): Use END macro without arguments.
24546 (clog_test): Use END_COMPLEX macro without arguments.
24547 (clog10_test): Likewise.
24548 (conj_test): Likewise.
24549 (copysign_test): Use END macro without arguments.
24550 (cos_test): Likewise.
24551 (cos_test_tonearest): Likewise.
24552 (cos_test_towardzero): Likewise.
24553 (cos_test_downward): Likewise.
24554 (cos_test_upward): Likewise.
24555 (cosh_test): Likewise.
24556 (cosh_test_tonearest): Likewise.
24557 (cosh_test_towardzero): Likewise.
24558 (cosh_test_downward): Likewise.
24559 (cosh_test_upward): Likewise.
24560 (cpow_test): Use END_COMPLEX macro without arguments.
24561 (cproj_test): Likewise.
24562 (creal_test): Use END macro without arguments.
24563 (csin_test): Use END_COMPLEX macro without arguments.
24564 (csinh_test): Likewise.
24565 (csqrt_test): Likewise.
24566 (ctan_test): Likewise.
24567 (ctan_test_tonearest): Likewise.
24568 (ctan_test_towardzero): Likewise.
24569 (ctan_test_downward): Likewise.
24570 (ctan_test_upward): Likewise.
24571 (ctanh_test): Likewise.
24572 (ctanh_test_tonearest): Likewise.
24573 (ctanh_test_towardzero): Likewise.
24574 (ctanh_test_downward): Likewise.
24575 (ctanh_test_upward): Likewise.
24576 (erf_test): Use END macro without arguments.
24577 (erfc_test): Likewise.
24578 (exp_test): Likewise.
24579 (exp_test_tonearest): Likewise.
24580 (exp_test_towardzero): Likewise.
24581 (exp_test_downward): Likewise.
24582 (exp_test_upward): Likewise.
24583 (exp10_test): Likewise.
24584 (exp2_test): Likewise.
24585 (expm1_test): Likewise.
24586 (fabs_test): Likewise.
24587 (fdim_test): Likewise.
24588 (finite_test): Likewise.
24589 (floor_test): Likewise.
24590 (fma_test): Likewise.
24591 (fma_test_towardzero): Likewise.
24592 (fma_test_downward): Likewise.
24593 (fma_test_upward): Likewise.
24594 (fmax_test): Likewise.
24595 (fmin_test): Likewise.
24596 (fmod_test): Likewise.
24597 (fpclassify_test): Likewise.
24598 (frexp_test): Likewise.
24599 (gamma_test): Likewise.
24600 (hypot_test): Likewise.
24601 (ilogb_test): Likewise.
24602 (isfinite_test): Likewise.
24603 (isgreater_test): Likewise.
24604 (isgreaterequal_test): Likewise.
24605 (isinf_test): Likewise.
24606 (isless_test): Likewise.
24607 (islessequal_test): Likewise.
24608 (islessgreater_test): Likewise.
24609 (isnan_test): Likewise.
24610 (isnormal_test): Likewise.
24611 (issignaling_test): Likewise.
24612 (isunordered_test): Likewise.
24613 (j0_test): Likewise.
24614 (j1_test): Likewise.
24615 (jn_test): Likewise.
24616 (ldexp_test): Likewise.
24617 (lgamma_test): Likewise.
24618 (lrint_test): Likewise.
24619 (lrint_test_tonearest): Likewise.
24620 (lrint_test_towardzero): Likewise.
24621 (lrint_test_downward): Likewise.
24622 (lrint_test_upward): Likewise.
24623 (llrint_test): Likewise.
24624 (llrint_test_tonearest): Likewise.
24625 (llrint_test_towardzero): Likewise.
24626 (llrint_test_downward): Likewise.
24627 (llrint_test_upward): Likewise.
24628 (log_test): Likewise.
24629 (log10_test): Likewise.
24630 (log1p_test): Likewise.
24631 (log2_test): Likewise.
24632 (logb_test): Likewise.
24633 (logb_test_downward): Likewise.
24634 (lround_test): Likewise.
24635 (llround_test): Likewise.
24636 (modf_test): Likewise.
24637 (nearbyint_test): Likewise.
24638 (nextafter_test): Likewise.
24639 (nexttoward_test): Likewise.
24640 (pow_test): Likewise.
24641 (pow_test_tonearest): Likewise.
24642 (pow_test_towardzero): Likewise.
24643 (pow_test_downward): Likewise.
24644 (pow_test_upward): Likewise.
24645 (remainder_test): Likewise.
24646 (remainder_test_tonearest): Likewise.
24647 (remainder_test_towardzero): Likewise.
24648 (remainder_test_downward): Likewise.
24649 (remainder_test_upward): Likewise.
24650 (remquo_test): Likewise.
24651 (rint_test): Likewise.
24652 (rint_test_tonearest): Likewise.
24653 (rint_test_towardzero): Likewise.
24654 (rint_test_downward): Likewise.
24655 (rint_test_upward): Likewise.
24656 (round_test): Likewise.
24657 (scalb_test): Likewise.
24658 (scalbn_test): Likewise.
24659 (scalbln_test): Likewise.
24660 (signbit_test): Likewise.
24661 (sin_test): Likewise.
24662 (sin_test_tonearest): Likewise.
24663 (sin_test_towardzero): Likewise.
24664 (sin_test_downward): Likewise.
24665 (sin_test_upward): Likewise.
24666 (sincos_test): Likewise.
24667 (sinh_test): Likewise.
24668 (sinh_test_tonearest): Likewise.
24669 (sinh_test_towardzero): Likewise.
24670 (sinh_test_downward): Likewise.
24671 (sinh_test_upward): Likewise.
24672 (sqrt_test): Likewise.
24673 (tan_test): Likewise.
24674 (tan_test_tonearest): Likewise.
24675 (tan_test_towardzero): Likewise.
24676 (tan_test_downward): Likewise.
24677 (tan_test_upward): Likewise.
24678 (tanh_test): Likewise.
24679 (tgamma_test): Likewise.
24680 (trunc_test): Likewise.
24681 (y0_test): Likewise.
24682 (y1_test): Likewise.
24683 (yn_test): Likewise.
24684 (significand_test): Likewise.
24686 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
24689 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24691 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24694 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24695 __ppc_mdoio and __ppc_mdoom.
24696 * manual/platform.texi: Document new functions __ppc_yield,
24697 __ppc_mdoio and __ppc_mdoom.
24699 2013-05-22 Carlos O'Donell <carlos@redhat.com>
24701 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24702 (main): Mention "tls" pseudo-hwcap is legacy.
24703 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24705 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24707 * math/gen-libm-test.pl (parse_args): Output only string of
24708 arguments as text for test name, not full call or descriptions of
24709 tests for extra outputs.
24710 (generate_testfile): Do not pass function name to parse_args.
24711 Generate this_func variable from START.
24712 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24714 (struct test_ff_f_data): Likewise.
24715 (test_ff_f_data_nexttoward): Likewise.
24716 (struct test_fi_f_data): Likewise.
24717 (struct test_fl_f_data): Likewise.
24718 (struct test_if_f_data): Likewise.
24719 (struct test_fff_f_data): Likewise.
24720 (struct test_c_f_data): Likewise.
24721 (struct test_f_f1_data): Likewise. Remove field extra_name.
24722 (struct test_fF_f1_data): Likewise.
24723 (struct test_ffI_f1_data): Likewise.
24724 (struct test_c_c_data): Rename test_name field to arg_str.
24725 (struct test_cc_c_data): Likewise.
24726 (struct test_f_i_data): Likewise.
24727 (struct test_ff_i_data): Likewise.
24728 (struct test_f_l_data): Likewise.
24729 (struct test_f_L_data): Likewise.
24730 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24732 (COMMON_TEST_SETUP): New macro.
24733 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24734 (COMMON_TEST_CLEANUP): Likewise.
24735 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24736 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24738 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24739 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24741 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24742 (RUN_TEST_fff_f): Take argument string. Call new setup and
24744 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24745 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24747 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24748 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24750 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24751 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24753 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24754 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24756 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24757 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24759 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24760 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24762 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24763 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24765 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24766 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24768 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24769 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24771 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24772 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24774 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24775 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24777 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24778 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24780 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24781 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24783 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24784 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24786 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24787 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24789 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24791 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24793 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24794 to _sifields.sigfault.
24795 (si_addr_lsb): Define new macro.
24796 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24797 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24798 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24800 2013-05-03 Carlos O'Donell <carlos at redhat.com>
24803 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24805 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24807 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24808 loading the domain.
24810 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24812 * math/gen-libm-test.pl (parse_args): Do not include expected
24813 result in test name.
24814 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24815 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24816 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24817 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24818 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24819 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24821 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24823 * benchtests/Makefile: Sort function entries.
24825 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24826 tanh, asinh, acosh, atanh.
24827 * benchtests/acos-inputs: New file.
24828 * benchtests/acosh-inputs: New file.
24829 * benchtests/asin-inputs: New file.
24830 * benchtests/asinh-inputs: New file.
24831 * benchtests/atanh-inputs: New file.
24832 * benchtests/cosh-inputs: New file.
24833 * benchtests/log-inputs: New file.
24834 * benchtests/sinh-inputs: New file.
24835 * benchtests/tanh-inputs: New file.
24837 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24840 * posix/tst-getaddrinfo4.c: New test.
24841 * posix/Makefile (tests): Add it.
24843 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24846 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24847 when no services were used.
24848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24849 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24851 2013-05-21 Andreas Schwab <schwab@suse.de>
24854 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24855 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24857 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24858 redundant variable declarations and reallocation of buffer when
24859 parsing as IPv6 address. Always set NSS status when called from
24860 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24861 buffer too small. Correct computation of needed size.
24862 * nss/Makefile (tests): Add test-digits-dots.
24863 * nss/test-digits-dots.c: New test.
24865 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24867 * benchtests/Makefile: Remove instructions for adding
24869 * benchtests/README: New file to explain how to execute and
24870 enhance the benchmark tests.
24872 2013-05-21 Andreas Schwab <schwab@suse.de>
24875 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24876 * setjmp/tst-sigsetjmp.c: New test.
24878 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
24880 * sysdeps/x86_64/memset.S (memset): New implementation.
24881 (__bzero): Likewise.
24882 (__memset_tail): New function.
24884 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
24886 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24887 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24888 __memcpy_sse2_unaligned ifunc selection.
24889 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24890 Add memcpy-sse2-unaligned.S.
24891 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24892 Add: __memcpy_sse2_unaligned.
24894 2013-05-19 Joseph Myers <joseph@codesourcery.com>
24897 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24898 math_force_eval before restoring floating-point envrionment.
24899 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24900 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24902 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24904 (__nearbyintl): Use math_force_eval before restoring
24905 floating-point environment.
24906 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24908 * math/gen-libm-test.pl (special_functions): Remove.
24909 (parse_args): Don't handle TEST_extra. Handle functions with no
24911 * math/libm-test.inc (struct test_sincos_data): Replace with
24912 struct test_fFF_11_data.
24913 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24914 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24915 (sincos_test_data): Change element type to struct
24916 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24917 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24918 RUN_TEST_LOOP_sincos.
24919 * math/README.libm-test: Don't mention special handling of
24920 individual functions.
24921 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24922 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24923 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24924 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24925 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24928 * math/gen-libm-test.pl (get_variable): Remove function.
24929 (parse_args): Don't show pointer parameters to call in test
24930 names. Use "extra output N" in test names for extra outputs
24931 rather than naming variables.
24933 2013-05-18 Joseph Myers <joseph@codesourcery.com>
24936 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24937 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24938 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24940 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24942 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24945 * math/gen-libm-test.pl (@tests): Remove variable.
24946 ($count): Likewise.
24947 (new_test): Remove function.
24948 (show_exceptions): New function.
24949 (special_functions): Use show_exceptions instead of new_test.
24950 (parse_args): Likewise.
24951 (generate_testfile): Pass only function name in generated call to
24952 print_max_error or print_complex_max_error.
24953 (get_ulps): Do not handle complex tests specially.
24954 (output_test): Rename to ...
24955 (get_all_ulps_for_test): ... this. Return a string rather than
24956 printing to a file. Require ulps to be present.
24957 (output_ulps): Generate arrays rather than #defines.
24958 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24959 (struct ulp_data): New type.
24960 (BUILD_COMPLEX_ULP): Remove macro.
24961 (compare_ulp_data): New function.
24962 (find_ulps): Likewise.
24963 (find_test_ulps): Likewise.
24964 (find_function_ulps): Likewise.
24965 (find_complex_function_ulps): Likewise.
24966 (print_max_error): Determine allowed ulps using
24967 find_function_ulps.
24968 (print_complex_max_error): Determine allowed ulps using
24969 find_complex_function_ulps.
24970 (check_float_internal): Determine max ulps using find_test_ulps.
24971 (check_float): Do not take max_ulp parameter. Update call to
24972 check_float_internal.
24973 (check_complex): Likewise.
24974 (check_int): Do not take max_ulp parameter.
24975 (check_long): Likewise.
24976 (check_bool): Likewise.
24977 (check_longlong): Likewise.
24978 (struct test_f_f_data): Remove max_ulp field.
24979 (struct test_ff_f_data): Likewise.
24980 (struct test_ff_f_data_nexttoward): Likewise.
24981 (struct test_fi_f_data): Likewise.
24982 (struct test_fl_f_data): Likewise.
24983 (struct test_if_f_data): Likewise.
24984 (struct test_fff_f_data): Likewise.
24985 (struct test_c_f_data): Likewise.
24986 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24987 (struct test_fF_f1_data): Likewise.
24988 (struct test_ffI_f1_data): Likewise.
24989 (struct test_c_c_data): Remove max_ulp field.
24990 (struct test_cc_c_data): Likewise.
24991 (struct test_f_i_data): Likewise.
24992 (struct test_ff_i_data): Likewise.
24993 (struct test_f_l_data): Likewise.
24994 (struct test_f_L_data): Likewise.
24995 (struct test_sincos_data): Likewise.
24996 (RUN_TEST_f_f): Do not handle ulps.
24997 (RUN_TEST_LOOP_f_f): Likewise.
24998 (RUN_TEST_2_f): Likewise.
24999 (RUN_TEST_LOOP_2_f): Likewise.
25000 (RUN_TEST_fff_f): Likewise.
25001 (RUN_TEST_LOOP_fff_f): Likewise.
25002 (RUN_TEST_c_f): Likewise.
25003 (RUN_TEST_LOOP_c_f): Likewise.
25004 (RUN_TEST_f_f1): Likewise.
25005 (RUN_TEST_LOOP_f_f1): Likewise.
25006 (RUN_TEST_fF_f1): Likewise.
25007 (RUN_TEST_LOOP_fF_f1): Likewise.
25008 (RUN_TEST_fI_f1): Likewise.
25009 (RUN_TEST_LOOP_fI_f1): Likewise.
25010 (RUN_TEST_ffI_f1): Likewise.
25011 (RUN_TEST_LOOP_ffI_f1): Likewise.
25012 (RUN_TEST_c_c): Likewise.
25013 (RUN_TEST_LOOP_c_c): Likewise.
25014 (RUN_TEST_cc_c): Likewise.
25015 (RUN_TEST_LOOP_cc_c): Likewise.
25016 (RUN_TEST_f_i): Likewise.
25017 (RUN_TEST_LOOP_f_i): Likewise.
25018 (RUN_TEST_f_i_tg): Likewise.
25019 (RUN_TEST_LOOP_f_i_tg): Likewise.
25020 (RUN_TEST_ff_i_tg): Likewise.
25021 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25022 (RUN_TEST_f_b): Likewise.
25023 (RUN_TEST_LOOP_f_b): Likewise.
25024 (RUN_TEST_f_b_tg): Likewise.
25025 (RUN_TEST_LOOP_f_b_tg): Likewise.
25026 (RUN_TEST_f_l): Likewise.
25027 (RUN_TEST_LOOP_f_l): Likewise.
25028 (RUN_TEST_f_L): Likewise.
25029 (RUN_TEST_LOOP_f_L): Likewise.
25030 (RUN_TEST_sincos): Likewise.
25031 (RUN_TEST_LOOP_sincos): Likewise.
25033 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25037 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25038 main case of finite arguments, set rounding mode to FE_TONEAREST
25039 and discard exceptions.
25040 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25042 (remainder_tonearest_test_data): New variable.
25043 (remainder_test_tonearest): New function.
25044 (remainder_towardzero_test_data): New variable.
25045 (remainder_test_towardzero): New function.
25046 (remainder_downward_test_data): New variable.
25047 (remainder_test_downward): New function.
25048 (remainder_upward_test_data): New variable.
25049 (remainder_test_upward): New function.
25050 (main): Call the new test functions.
25052 * math/libm-test.inc (struct test_f_f1_data): Remove field
25054 (struct test_fF_f1_data): Likewise.
25055 (struct test_ffI_f1_data): Likewise.
25056 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25057 based on value of EXTRA_EXPECTED.
25058 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25059 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25060 EXTRA_VAR based on value of EXTRA_EXPECTED.
25061 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25062 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25063 EXTRA_VAR based on value of EXTRA_EXPECTED.
25064 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25065 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25066 EXTRA_VAR based on value of EXTRA_EXPECTED.
25067 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25068 * math/gen-libm-test.pl (parse_args): Don't output initializers
25069 for extra output values.
25071 * math/libm-test.inc (check_int): Expect result to be exactly
25072 equal to expected value and do not handle ulps.
25073 (check_long): Likewise.
25074 (check_longlong): Likewise.
25076 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25078 (cimag_test_data): Likewise.
25079 (conj_test_data): Likewise.
25080 (copysign_test_data): Likewise.
25081 (cproj_test_data): Likewise.
25082 (creal_test_data): Likewise.
25083 (fabs_test_data): Likewise.
25084 (fdim_test_data): Likewise.
25085 (finite_test_data): Likewise.
25086 (floor_test_data): Likewise.
25087 (fmax_test_data): Likewise.
25088 (fmin_test_data): Likewise.
25089 (fmod_test_data): Likewise.
25090 (fpclassify_test_data): Likewise.
25091 (frexp_test_data): Likewise.
25092 (ilogb_test_data): Likewise.
25093 (isfinite_test_data): Likewise.
25094 (isgreater_test_data): Likewise.
25095 (isgreaterequal_test_data): Likewise.
25096 (isinf_test_data): Likewise.
25097 (isless_test_data): Likewise.
25098 (islessequal_test_data): Likewise.
25099 (islessgreater_test_data): Likewise.
25100 (isnan_test_data): Likewise.
25101 (isnormal_test_data): Likewise.
25102 (issignaling_test_data): Likewise.
25103 (isunordered_test_data): Likewise.
25104 (ldexp_test_data): Likewise.
25105 (lrint_test_data): Likewise.
25106 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25107 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25108 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25109 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25110 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25111 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25113 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25114 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25115 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25116 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25118 (lrint_downward_test_data): Test for "inexact" exceptions.
25119 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25120 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25121 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25123 (lrint_upward_test_data): Test for "inexact" exceptions.
25124 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25126 (llrint_test_data): Test for "inexact" exceptions.
25127 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25128 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25129 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25130 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25131 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25132 (llrint_downward_test_data): Test for "inexact" exceptions.
25133 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25134 (llrint_upward_test_data): Test for "inexact" exceptions.
25135 (logb_test_data): Likewise.
25136 (logb_downward_test_data): Likewise.
25137 (nextafter_test_data): Likewise.
25138 (nexttoward_test_data): Likewise.
25139 (remainder_test_data): Likewise.
25140 (remquo_test_data): Likewise.
25141 (scalbn_test_data): Likewise.
25142 (scalbln_test_data): Likewise.
25143 (signbit_test_data): Likewise.
25144 (sqrt_test_data): Likewise.
25145 (significand_test_data): Likewise.
25147 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25150 * benchtests/bench-modf.c (struct args): Mark arg0 as
25152 * scripts/bench.pl: Mark members of struct args as volatile.
25154 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25157 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25158 negative infinity on POWER6 or lower.
25159 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25161 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25164 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25165 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25166 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25167 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25168 (_FP_SETQNAN): New macro.
25169 (_FP_SETQNAN_SEMIRAW): Likewise.
25170 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25171 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25172 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25173 (FP_EXTEND): Use _FP_FRAC_SNANP.
25174 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25175 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25177 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25179 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25182 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25184 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25185 with DIVIDE_BY_ZERO_EXCEPTION.
25186 (gamma_test_data): Likewise.
25187 (lgamma_test_data): Likewise.
25188 (log_test_data): Likewise.
25189 (log10_test_data): Likewise.
25190 (log2_test_data): Likewise.
25191 (tgamma_test_data): Likewise.
25193 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25194 (acos_test_tonearest): Likewise.
25195 (acos_test_towardzero): Likewise.
25196 (acos_test_downward): Likewise.
25197 (acos_test_upward): Likewise.
25198 (acosh_test): Likewise.
25199 (asin_test): Likewise.
25200 (asin_test_tonearest): Likewise.
25201 (asin_test_towardzero): Likewise.
25202 (asin_test_downward): Likewise.
25203 (asin_test_upward): Likewise.
25204 (asinh_test): Likewise.
25205 (atan_test): Likewise.
25206 (atanh_test): Likewise.
25207 (atan2_test): Likewise.
25208 (cabs_test): Likewise.
25209 (cacos_test): Likewise.
25210 (cacosh_test): Likewise.
25211 (casin_test): Likewise.
25212 (casinh_test): Likewise.
25213 (catan_test): Likewise.
25214 (catanh_test): Likewise.
25215 (cbrt_test): Likewise.
25216 (ccos_test): Likewise.
25217 (ccosh_test): Likewise.
25218 (cexp_test): Likewise.
25219 (clog_test): Likewise.
25220 (clog10_test): Likewise.
25221 (cos_test): Likewise.
25222 (cos_test_tonearest): Likewise.
25223 (cos_test_towardzero): Likewise.
25224 (cos_test_downward): Likewise.
25225 (cos_test_upward): Likewise.
25226 (cosh_test): Likewise.
25227 (cosh_test_tonearest): Likewise.
25228 (cosh_test_towardzero): Likewise.
25229 (cosh_test_downward): Likewise.
25230 (cosh_test_upward): Likewise.
25231 (cpow_test): Likewise.
25232 (csin_test): Likewise.
25233 (csinh_test): Likewise.
25234 (csqrt_test): Likewise.
25235 (ctan_test): Likewise.
25236 (ctan_test_tonearest): Likewise.
25237 (ctan_test_towardzero): Likewise.
25238 (ctan_test_downward): Likewise.
25239 (ctan_test_upward): Likewise.
25240 (ctanh_test): Likewise.
25241 (ctanh_test_tonearest): Likewise.
25242 (ctanh_test_towardzero): Likewise.
25243 (ctanh_test_downward): Likewise.
25244 (ctanh_test_upward): Likewise.
25245 (erf_test): Likewise.
25246 (erfc_test): Likewise.
25247 (exp_test): Likewise.
25248 (exp_test_tonearest): Likewise.
25249 (exp_test_towardzero): Likewise.
25250 (exp_test_downward): Likewise.
25251 (exp_test_upward): Likewise.
25252 (exp10_test): Likewise.
25253 (exp2_test): Likewise.
25254 (expm1_test): Likewise.
25255 (fmod_test): Likewise.
25256 (gamma_test): Likewise.
25257 (hypot_test): Likewise.
25258 (j0_test): Likewise.
25259 (j1_test): Likewise.
25260 (jn_test): Likewise.
25261 (lgamma_test): Likewise.
25262 (log_test): Likewise.
25263 (log10_test): Likewise.
25264 (log1p_test): Likewise.
25265 (log2_test): Likewise.
25266 (logb_test_downward): Likewise.
25267 (pow_test): Likewise.
25268 (pow_test_tonearest): Likewise.
25269 (pow_test_towardzero): Likewise.
25270 (pow_test_downward): Likewise.
25271 (pow_test_upward): Likewise.
25272 (remainder_test): Likewise.
25273 (remquo_test): Likewise.
25274 (sin_test): Likewise.
25275 (sin_test_tonearest): Likewise.
25276 (sin_test_towardzero): Likewise.
25277 (sin_test_downward): Likewise.
25278 (sin_test_upward): Likewise.
25279 (sincos_test): Likewise.
25280 (sinh_test): Likewise.
25281 (sinh_test_tonearest): Likewise.
25282 (sinh_test_towardzero): Likewise.
25283 (sinh_test_downward): Likewise.
25284 (sinh_test_upward): Likewise.
25285 (sqrt_test): Likewise.
25286 (tan_test): Likewise.
25287 (tan_test_tonearest): Likewise.
25288 (tan_test_towardzero): Likewise.
25289 (tan_test_downward): Likewise.
25290 (tan_test_upward): Likewise.
25291 (tanh_test): Likewise.
25292 (tgamma_test): Likewise.
25293 (y0_test): Likewise.
25294 (y1_test): Likewise.
25295 (yn_test): Likewise.
25297 * math/gen-libm-test.pl (adjust_arg): Remove function.
25298 (special_function): Remove argument $in_func. Only handle
25299 generating output for tables of tests, not inside functions.
25300 (parse_args): Likewise.
25301 (generate_testfile): Remove variable $in_func. Update call to
25303 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25304 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25305 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25306 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25307 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25308 (MAX_VALUE_INIT): Rename macro to max_value.
25309 (MIN_VALUE_INIT): Rename macro to min_value.
25310 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25311 (plus_zero): Remove variable.
25312 (minus_zero): Likewise.
25313 (plus_infty): Likewise.
25314 (minus_infty): Likewise.
25315 (qnan_value): Likewise.
25316 (max_value): Likewise.
25317 (min_value): Likewise.
25318 (min_subnorm_value): Likewise.
25320 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25322 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25323 uint64_t or uint32_t usage.
25324 * crypt/sha256-block.c: Likewise.
25325 * crypt/sha256-crypt.c: Likewise.
25326 * crypt/sha256.c: Likewise.
25327 * crypt/sha512-block.c: Likewise.
25328 * crypt/sha512-crypt.c: Likewise.
25329 * crypt/sha512.c: Likewise.
25330 * debug/backtrace-tst.c: Likewise.
25331 * debug/pcprofiledump.c: Likewise.
25332 * elf/cache.c: Likewise.
25333 * elf/dl-cache.c: Likewise.
25334 * elf/dl-misc.c: Likewise.
25335 * elf/dl-profile.c: Likewise.
25336 * elf/dl-support.c: Likewise.
25337 * elf/ldconfig.c: Likewise.
25338 * elf/sprof.c: Likewise.
25339 * iconv/dummy-repertoire.c: Likewise.
25340 * iconv/iconv_charmap.c: Likewise.
25341 * iconv/skeleton.c: Likewise.
25342 * iconvdata/8bit-generic.c: Likewise.
25343 * iconvdata/cp737.h: Likewise.
25344 * iconvdata/cp775.h: Likewise.
25345 * iconvdata/ibm1008.h: Likewise.
25346 * iconvdata/ibm1025.h: Likewise.
25347 * iconvdata/ibm1046.h: Likewise.
25348 * iconvdata/ibm1097.h: Likewise.
25349 * iconvdata/ibm1112.h: Likewise.
25350 * iconvdata/ibm1122.h: Likewise.
25351 * iconvdata/ibm1123.h: Likewise.
25352 * iconvdata/ibm1124.h: Likewise.
25353 * iconvdata/ibm1129.h: Likewise.
25354 * iconvdata/ibm1130.h: Likewise.
25355 * iconvdata/ibm1132.h: Likewise.
25356 * iconvdata/ibm1133.h: Likewise.
25357 * iconvdata/ibm1137.h: Likewise.
25358 * iconvdata/ibm1140.h: Likewise.
25359 * iconvdata/ibm1141.h: Likewise.
25360 * iconvdata/ibm1142.h: Likewise.
25361 * iconvdata/ibm1143.h: Likewise.
25362 * iconvdata/ibm1144.h: Likewise.
25363 * iconvdata/ibm1145.h: Likewise.
25364 * iconvdata/ibm1146.h: Likewise.
25365 * iconvdata/ibm1147.h: Likewise.
25366 * iconvdata/ibm1148.h: Likewise.
25367 * iconvdata/ibm1149.h: Likewise.
25368 * iconvdata/ibm1153.h: Likewise.
25369 * iconvdata/ibm1154.h: Likewise.
25370 * iconvdata/ibm1155.h: Likewise.
25371 * iconvdata/ibm1156.h: Likewise.
25372 * iconvdata/ibm1157.h: Likewise.
25373 * iconvdata/ibm1158.h: Likewise.
25374 * iconvdata/ibm1160.h: Likewise.
25375 * iconvdata/ibm1161.h: Likewise.
25376 * iconvdata/ibm1162.h: Likewise.
25377 * iconvdata/ibm1163.h: Likewise.
25378 * iconvdata/ibm1164.h: Likewise.
25379 * iconvdata/ibm1166.h: Likewise.
25380 * iconvdata/ibm1167.h: Likewise.
25381 * iconvdata/ibm12712.h: Likewise.
25382 * iconvdata/ibm1390.h: Likewise.
25383 * iconvdata/ibm1399.h: Likewise.
25384 * iconvdata/ibm16804.h: Likewise.
25385 * iconvdata/ibm4517.h: Likewise.
25386 * iconvdata/ibm4899.h: Likewise.
25387 * iconvdata/ibm4909.h: Likewise.
25388 * iconvdata/ibm4971.h: Likewise.
25389 * iconvdata/ibm5347.h: Likewise.
25390 * iconvdata/ibm803.h: Likewise.
25391 * iconvdata/ibm856.h: Likewise.
25392 * iconvdata/ibm901.h: Likewise.
25393 * iconvdata/ibm902.h: Likewise.
25394 * iconvdata/ibm9030.h: Likewise.
25395 * iconvdata/ibm9066.h: Likewise.
25396 * iconvdata/ibm921.h: Likewise.
25397 * iconvdata/ibm922.h: Likewise.
25398 * iconvdata/ibm9448.h: Likewise.
25399 * iconvdata/isiri-3342.h: Likewise.
25400 * iconvdata/jis0201.h: Likewise.
25401 * include/link.h: Likewise.
25402 * include/netdb.h: Likewise.
25403 * inet/check_native.c: Likewise.
25404 * inet/check_pf.c: Likewise.
25405 * inet/getipv4sourcefilter.c: Likewise.
25406 * inet/getnameinfo.c: Likewise.
25407 * inet/getsourcefilter.c: Likewise.
25408 * inet/htonl.c: Likewise.
25409 * inet/setipv4sourcefilter.c: Likewise.
25410 * inet/setsourcefilter.c: Likewise.
25411 * inet/test-inet6_opt.c: Likewise.
25412 * inet/tst-network.c: Likewise.
25413 * locale/C-collate.c: Likewise.
25414 * locale/C-ctype.c: Likewise.
25415 * locale/C-time.c: Likewise.
25416 * locale/C-translit.h: Likewise.
25417 * locale/loadarchive.c: Likewise.
25418 * locale/programs/3level.h: Likewise.
25419 * locale/programs/charmap.c: Likewise.
25420 * locale/programs/charmap.h: Likewise.
25421 * locale/programs/ld-address.c: Likewise.
25422 * locale/programs/ld-collate.c: Likewise.
25423 * locale/programs/ld-ctype.c: Likewise.
25424 * locale/programs/ld-identification.c: Likewise.
25425 * locale/programs/ld-measurement.c: Likewise.
25426 * locale/programs/ld-messages.c: Likewise.
25427 * locale/programs/ld-monetary.c: Likewise.
25428 * locale/programs/ld-name.c: Likewise.
25429 * locale/programs/ld-numeric.c: Likewise.
25430 * locale/programs/ld-paper.c: Likewise.
25431 * locale/programs/ld-telephone.c: Likewise.
25432 * locale/programs/ld-time.c: Likewise.
25433 * locale/programs/linereader.c: Likewise.
25434 * locale/programs/locale.c: Likewise.
25435 * locale/programs/locarchive.c: Likewise.
25436 * locale/programs/locfile.h: Likewise.
25437 * locale/programs/repertoire.c: Likewise.
25438 * locale/programs/simple-hash.c: Likewise.
25439 * locale/programs/simple-hash.h: Likewise.
25440 * malloc/memusage.c: Likewise.
25441 * malloc/memusagestat.c: Likewise.
25442 * nis/nis_defaults.c: Likewise.
25443 * nis/nis_hash.c: Likewise.
25444 * nis/nis_print.c: Likewise.
25445 * nis/nis_xdr.c: Likewise.
25446 * nscd/connections.c: Likewise.
25447 * nscd/hstcache.c: Likewise.
25448 * nscd/nscd_gethst_r.c: Likewise.
25449 * nscd/nscd_getserv_r.c: Likewise.
25450 * nscd/nscd_helper.c: Likewise.
25451 * nscd/servicescache.c: Likewise.
25452 * nss/makedb.c: Likewise.
25453 * nss/nss_db/db-XXX.c: Likewise.
25454 * nss/nss_db/db-initgroups.c: Likewise.
25455 * nss/nss_db/db-netgrp.c: Likewise.
25456 * nss/nss_files/files-network.c: Likewise.
25457 * nss/nss_files/files-parse.c: Likewise.
25458 * posix/bug-regex5.c: Likewise.
25459 * posix/fnmatch_loop.c: Likewise.
25460 * posix/regcomp.c: Likewise.
25461 * posix/regexec.c: Likewise.
25462 * posix/tst-rfc3484-2.c: Likewise.
25463 * posix/tst-rfc3484-3.c: Likewise.
25464 * posix/tst-rfc3484.c: Likewise.
25465 * resolv/nss_dns/dns-canon.c: Likewise.
25466 * resolv/nss_dns/dns-network.c: Likewise.
25467 * resolv/res_init.c: Likewise.
25468 * resolv/res_mkquery.c: Likewise.
25469 * resolv/tst-aton.c: Likewise.
25470 * stdlib/cxa_atexit.c: Likewise.
25471 * stdlib/cxa_finalize.c: Likewise.
25472 * stdlib/gen-fpioconst.c: Likewise.
25473 * stdlib/strtol_l.c: Likewise.
25474 * string/tst-endian.c: Likewise.
25475 * sunrpc/auth_des.c: Likewise.
25476 * sunrpc/clnt_udp.c: Likewise.
25477 * sunrpc/rtime.c: Likewise.
25478 * sunrpc/svcauth_des.c: Likewise.
25479 * sunrpc/xdr.c: Likewise.
25480 * sunrpc/xdr_intXX_t.c: Likewise.
25481 * sunrpc/xdr_rec.c: Likewise.
25482 * sysdeps/generic/ldconfig.h: Likewise.
25483 * sysdeps/generic/ldsodefs.h: Likewise.
25484 * sysdeps/generic/memusage.h: Likewise.
25485 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25486 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25487 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25488 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25489 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25490 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25491 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25492 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25493 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25494 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25495 * sysdeps/posix/getaddrinfo.c: Likewise.
25496 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25497 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25498 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25499 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25500 * sysdeps/powerpc/test-gettimebase.c: Likewise.
25501 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25502 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25503 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25504 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25505 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25506 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25507 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25508 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25509 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25510 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25511 * sysdeps/x86_64/dl-tls.h: Likewise.
25512 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25513 * time/alt_digit.c: Likewise.
25514 * time/era.c: Likewise.
25515 * wcsmbs/tst-c16c32-1.c: Likewise.
25517 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25519 * math/libm-test.inc (struct test_sincos_data): New type.
25520 (RUN_TEST_LOOP_sincos): New macro.
25521 (sincos_test_data): New variable.
25522 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25524 2013-05-16 Richard Henderson <rth@redhat.com>
25526 * math/atest-exp2.c (LIMB64): New macro.
25527 (CONSTSZ): New macro.
25528 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25530 (print_mpn_fp): ... to function scope.
25531 (read_mpn_hex): Remove.
25532 (get_log2): Remove.
25533 (exp2_mpn): Use mp_log2.
25534 (main): Use mp_exp1.
25536 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25538 * math/libm-test.inc: Remove comment about not testing "inexact"
25540 (INEXACT_EXCEPTION): New macro.
25541 (NO_INEXACT_EXCEPTION): Likewise.
25542 (INVALID_EXCEPTION_OK): Update value.
25543 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25544 (OVERFLOW_EXCEPTION_OK): Likewise.
25545 (UNDERFLOW_EXCEPTION_OK): Likewise.
25546 (IGNORE_ZERO_INF_SIGN): Likewise.
25547 (ERRNO_UNCHANGED): Likewise.
25548 (ERRNO_EDOM): Likewise.
25549 (ERRNO_ERANGE): Likewise.
25550 (test_exceptions): Handle testing "inexact" exceptions.
25551 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25552 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25553 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25554 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25556 (rint_towardzero_test_data): Likewise.
25557 (rint_downward_test_data): Likewise.
25558 (rint_upward_test_data): Likewise.
25560 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25561 with OVERFLOW_EXCEPTION.
25562 (exp10_test_data): Likewise.
25563 (exp2_test_data): Likewise.
25564 (expm1_test_data): Likewise.
25565 (lgamma_test_data): Likewise.
25566 (pow_test_data): Likewise.
25567 (tgamma_test_data): Likewise.
25568 (yn_test_data): Remove duplicate test of overflow.
25570 * math/libm-test.inc (struct test_cc_c_data): New type.
25571 (RUN_TEST_LOOP_cc_c): New macro.
25572 (cpow_test_data): New variable.
25573 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25575 * math/libm-test.inc (struct test_f_L_data): New type.
25576 (RUN_TEST_LOOP_f_L): New macro.
25577 (llrint_test_data): New variable.
25578 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25579 (llrint_tonearest_test_data): New variable.
25580 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25581 (llrint_towardzero_test_data): New variable.
25582 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25583 (llrint_downward_test_data): New variable.
25584 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25585 (llrint_upward_test_data): New variable.
25586 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25587 (llround_test_data): New variable.
25588 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25590 2013-05-13 Peter Collingbourne <pcc@google.com>
25592 * math/atest-exp2.c (get_log2): Remove const attribute.
25594 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25596 * math/libm-test.inc (struct test_f_l_data): New type.
25597 (RUN_TEST_LOOP_f_l): New macro.
25598 (lrint_test_data): New variable.
25599 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25600 (lrint_tonearest_test_data): New variable.
25601 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25602 (lrint_towardzero_test_data): New variable.
25603 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25604 (lrint_downward_test_data): New variable.
25605 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25606 (lrint_upward_test_data): New variable.
25607 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25608 (lround_test_data): New variable.
25609 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25611 2013-05-15 Peter Collingbourne <pcc@google.com>
25613 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25614 (EXTRACT_WORDS64) Use where appropriate.
25615 (INSERT_WORDS64) Likewise.
25617 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25618 constraints with x constraints.
25619 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25621 * malloc/obstack.c (_obstack_compat): Add initializer.
25623 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25625 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25626 si_trapno and add si_addr_lsb to _sifields.sigfault.
25627 (si_trapno): Remove macro.
25628 (si_addr_lsb): Define new macro.
25629 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25631 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25633 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25634 instead of TEST_f_l.
25635 (llrint_test_tonearest): Likewise.
25636 (llrint_test_towardzero): Likewise.
25637 (llrint_test_downward): Likewise.
25638 (llrint_test_upward): Likewise.
25639 (llround_test): Likewise.
25641 * math/libm-test.inc (struct test_f_i_data): Add comment.
25642 (RUN_TEST_LOOP_f_b): New macro.
25643 (RUN_TEST_LOOP_f_b_tg): Likewise.
25644 (finite_test_data): New variable.
25645 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25646 (isfinite_test_data): New variable.
25647 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25648 (isinf_test_data): New variable.
25649 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25650 (isnan_test_data): New variable.
25651 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25652 (isnormal_test_data): New variable.
25653 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25654 (issignaling_test_data): New variable.
25655 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25656 (signbit_test_data): New variable.
25657 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25659 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25660 with INVALID_EXCEPTION.
25661 (acosh_test_data): Likewise.
25662 (asin_test_data): Likewise.
25663 (atanh_test_data): Likewise.
25664 (fmod_test_data): Likewise.
25665 (log_test_data): Likewise.
25666 (log10_test_data): Likewise.
25667 (log2_test_data): Likewise.
25668 (pow_test_data): Likewise.
25669 (sqrt_test_data): Likewise.
25670 (y0_test_data): Likewise.
25671 (y1_test_data): Likewise.
25672 (yn_test_data): Likewise.
25674 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25677 * math/libm-test.inc (struct test_ff_i_data): New type.
25678 (RUN_TEST_LOOP_ff_i_tg): New macro.
25679 (isgreater_test_data): New variable.
25680 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25681 (isgreaterequal_test_data): New variable.
25682 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25683 (isless_test_data): New variable.
25684 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25685 (islessequal_test_data): New variable.
25686 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25687 (islessgreater_test_data): New variable.
25688 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25689 (isunordered_test_data): New variable.
25690 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25692 2013-05-14 David S. Miller <davem@davemloft.net>
25694 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25696 2013-05-14 Joseph Myers <joseph@codesourcery.com>
25698 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25700 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25702 (struct test_f_i_data): Change type of max_ulp to int.
25704 * math/libm-test.inc (test_ffI_f1_data): New type.
25705 (RUN_TEST_LOOP_ffI_f1): New macro.
25706 (remquo_test_data): New variable.
25707 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25709 * setjmp/tst-setjmp-fp.c: New file.
25710 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25711 (link-libm): New variable.
25712 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25714 * math/libm-test.inc (struct test_f_i_data): New type.
25715 (RUN_TEST_LOOP_f_i): New macro.
25716 (RUN_TEST_LOOP_f_i_tg): Likewise.
25717 (fpclassify_test_data): New variable.
25718 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25719 (ilogb_test_data): New variable.
25720 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25722 * math/libm-test.inc (scalbln_test): Correct function name in END
25725 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25726 (RUN_TEST_LOOP_fI_f1): New macro.
25727 (frexp_test_data): New variable.
25728 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25730 * math/libm-test.inc (struct test_fF_f1_data): New type.
25731 (RUN_TEST_LOOP_fF_f1): New macro.
25732 (modf_test_data): New variable.
25733 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25735 * math/libm-test.inc (struct test_f_f1_data): New type.
25736 (RUN_TEST_LOOP_f_f1): New macro.
25737 (gamma_test_data): New variable.
25738 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25739 (lgamma_test_data): New variable.
25740 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25742 2013-05-13 Carlos O'Donell <carlos@redhat.com>
25744 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25745 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25746 (main): Comment "tls" pseudo-hwcap.
25748 2013-05-13 Joseph Myers <joseph@codesourcery.com>
25750 * math/libm-test.inc (struct test_fl_f_data): New type.
25751 (RUN_TEST_LOOP_fl_f): New variable.
25752 (scalbln_test_data): New variable.
25753 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25755 * math/libm-test.inc (struct test_fi_f_data): New type.
25756 (RUN_TEST_LOOP_fi_f): New macro.
25757 (ldexp_test_data): New variable.
25758 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25759 (scalbn_test_data): New variable.
25760 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25762 * math/libm-test.inc (struct test_c_f_data): New type.
25763 (RUN_TEST_LOOP_c_f): New macro.
25764 (cabs_test_data): New variable.
25765 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25766 (carg_test_data): New variable.
25767 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25768 (cimag_test_data): New variable.
25769 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25770 (creal_test_data): New variable.
25771 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25773 * math/libm-test.inc (struct test_if_f_data): New type.
25774 (RUN_TEST_LOOP_if_f): New macro.
25775 (jn_test_data): New variable.
25776 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25777 (yn_test_data): New variable.
25778 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25780 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25782 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25784 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25785 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25787 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25789 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25790 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25791 (bench-deps): Add bench-timing.h.
25792 * benchtests-bench-skeleton.c: Include bench-timing.h.
25793 (main): Use TIMING_* macros instead of clock_gettime.
25794 * benchtests/bench-timing.h: New file.
25797 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25798 Renamed from _LIB_VERSION.
25799 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25801 2013-05-12 Joseph Myers <joseph@codesourcery.com>
25803 * math/libm-test.inc (struct test_fff_f_data): New type.
25804 (RUN_TEST_LOOP_fff_f): New macro.
25805 (fma_test_data): New variable.
25806 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25807 (fma_towardzero_test_data): New variable.
25808 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25809 (fma_downward_test_data): New variable.
25810 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25811 (fma_upward_test_data): New variable.
25812 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25814 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25815 (struct test_c_c_data): New type.
25816 (RUN_TEST_LOOP_c_c): New macro.
25817 (cacos_test_data): New variable.
25818 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25819 (cacosh_test_data): New variable.
25820 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25821 (casin_test_data): New variable.
25822 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25823 (casinh_test_data): New variable.
25824 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25825 (catan_test_data): New variable.
25826 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25827 (catanh_test_data): New variable.
25828 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25829 (ccos_test_data): New variable.
25830 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25831 (ccosh_test_data): New variable.
25832 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25833 (cexp_test_data): New variable.
25834 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25835 (clog_test_data): New variable.
25836 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25837 (clog10_test_data): New variable.
25838 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25839 (conj_test_data): New variable.
25840 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25841 (cproj_test_data): New variable.
25842 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25843 (csin_test_data): New variable.
25844 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25845 (csinh_test_data): New variable.
25846 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25847 (csqrt_test_data): New variable.
25848 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25849 (ctan_test_data): New variable.
25850 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25851 (ctan_tonearest_test_data): New variable.
25852 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25853 (ctan_towardzero_test_data): New variable.
25854 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25855 (ctan_downward_test_data): New variable.
25856 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25857 (ctan_upward_test_data): New variable.
25858 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25859 (ctanh_test_data): New variable.
25860 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25861 (ctanh_tonearest_test_data): New variable.
25862 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25863 (ctanh_towardzero_test_data): New variable.
25864 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25865 (ctanh_downward_test_data): New variable.
25866 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25867 (ctanh_upward_test_data): New variable.
25868 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25869 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25872 * math/libm-test.inc (struct test_ff_f_data): New type.
25873 (struct test_ff_f_data_nexttoward): Likewise.
25874 (RUN_TEST_LOOP_2_f): New macro.
25875 (RUN_TEST_LOOP_ff_f): Likewise.
25876 (atan2_test_data): New variable.
25877 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25878 (copysign_test_data): New variable.
25879 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25880 (fdim_test_data): New variable.
25881 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25882 (fmax_test_data): New variable.
25883 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25884 (fmin_test_data): New variable.
25885 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25886 (fmod_test_data): New variable.
25887 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25888 (hypot_test_data): New variable.
25889 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25890 (nextafter_test_data): New variable.
25891 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25892 (nexttoward_test_data): New variable.
25893 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25894 (pow_test_data): New variable.
25895 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25896 (pow_tonearest_test_data): New variable.
25897 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25898 (pow_towardzero_test_data): New variable.
25899 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25900 (pow_downward_test_data): New variable.
25901 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25902 (pow_upward_test_data): New variable.
25903 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25904 (remainder_test_data): New variable.
25905 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25906 (scalb_test_data): New variable.
25907 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25908 * sysdeps/i386/fpu/libm-test-ulps: Update.
25910 2013-05-11 Joseph Myers <joseph@codesourcery.com>
25912 * math/libm-test.inc (fma_test): Use max_value instead of local
25914 (nextafter_test): Likewise.
25916 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25917 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25918 (acos_downward_test_data): New variable.
25919 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25920 (acos_upward_test_data): New variable.
25921 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25922 (acosh_test_data): New variable.
25923 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25924 (asin_test_data): New variable.
25925 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25926 (asin_tonearest_test_data): New variable.
25927 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25928 (asin_towardzero_test_data): New variable.
25929 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25930 (asin_downward_test_data): New variable.
25931 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25932 (asin_upward_test_data): New variable.
25933 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25934 (asinh_test_data): New variable.
25935 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25936 (atan_test_data): New variable.
25937 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25938 (atanh_test_data): New variable.
25939 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25940 (cbrt_test_data): New variable.
25941 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25942 (ceil_test_data): New variable.
25943 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25944 (cos_test_data): New variable.
25945 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25946 (cos_tonearest_test_data): New variable.
25947 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25948 (cos_towardzero_test_data): New variable.
25949 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25950 (cos_downward_test_data): New variable.
25951 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25952 (cos_upward_test_data): New variable.
25953 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25954 (cosh_test_data): New variable.
25955 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25956 (cosh_tonearest_test_data): New variable.
25957 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25958 (cosh_towardzero_test_data): New variable.
25959 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25960 (cosh_downward_test_data): New variable.
25961 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25962 (cosh_upward_test_data): New variable.
25963 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25964 (erf_test_data): New variable.
25965 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25966 (erfc_test_data): New variable.
25967 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25968 (exp_test_data): New variable.
25969 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25970 (exp_tonearest_test_data): New variable.
25971 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25972 (exp_towardzero_test_data): New variable.
25973 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25974 (exp_downward_test_data): New variable.
25975 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25976 (exp_upward_test_data): New variable.
25977 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25978 (exp10_test_data): New variable.
25979 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25980 (exp2_test_data): New variable.
25981 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25982 (expm1_test_data): New variable.
25983 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25984 (fabs_test_data): New variable.
25985 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25986 (floor_test_data): New variable.
25987 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25988 (j0_test_data): New variable.
25989 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25990 (j1_test_data): New variable.
25991 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25992 (log_test_data): New variable.
25993 (log_test): Run tests with RUN_TEST_LOOP_f_f.
25994 (log10_test_data): New variable.
25995 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25996 (log1p_test_data): New variable.
25997 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25998 (log2_test_data): New variable.
25999 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26000 (logb_test_data): New variable.
26001 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26002 (logb_downward_test_data): New variable.
26003 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26004 (nearbyint_test_data): New variable.
26005 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26006 (rint_test_data): New variable.
26007 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26008 (rint_tonearest_test_data): New variable.
26009 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26010 (rint_towardzero_test_data): New variable.
26011 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26012 (rint_downward_test_data): New variable.
26013 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26014 (rint_upward_test_data): New variable.
26015 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26016 (round_test_data): New variable.
26017 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26018 (sin_test_data): New variable.
26019 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26020 (sin_tonearest_test_data): New variable.
26021 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26022 (sin_towardzero_test_data): New variable.
26023 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26024 (sin_downward_test_data): New variable.
26025 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26026 (sin_upward_test_data): New variable.
26027 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26028 (sinh_test_data): New variable.
26029 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26030 (sinh_tonearest_test_data): New variable.
26031 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26032 (sinh_towardzero_test_data): New variable.
26033 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26034 (sinh_downward_test_data): New variable.
26035 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26036 (sinh_upward_test_data): New variable.
26037 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26038 (sqrt_test_data): New variable.
26039 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26040 (tan_test_data): New variable.
26041 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26042 (tan_tonearest_test_data): New variable.
26043 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26044 (tan_towardzero_test_data): New variable.
26045 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26046 (tan_downward_test_data): New variable.
26047 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26048 (tan_upward_test_data): New variable.
26049 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26050 (tanh_test_data): New variable.
26051 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26052 (tgamma_test_data): New variable.
26053 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26054 (trunc_test_data): New variable.
26055 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26056 (y0_test_data): New variable.
26057 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26058 (y1_test_data): New variable.
26059 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26060 (significand_test_data): New variable.
26061 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26063 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26066 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26068 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26070 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26072 2013-05-10 Andreas Jaeger <aj@suse.de>
26075 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26076 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26078 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26080 * math/gen-libm-test.pl (adjust_arg): New function.
26081 (special_functions): Handle generating output in both functions
26083 (parse_args): Likewise.
26084 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26085 $in_func argument to parse_args.
26086 * math/libm-test.inc (struct test_f_f_data): New type.
26087 (IF_ROUND_INIT_): New macro.
26088 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26089 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26090 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26091 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26092 (ROUND_RESTORE_): Likewise.
26093 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26094 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26095 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26096 (ROUND_RESTORE_FE_UPWARD): Likewise.
26097 (RUN_TEST_LOOP_f_f): New macro.
26098 (acos_test_data): New variable.
26099 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26100 (acos_tonearest_test_data): New variable.
26101 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26103 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26105 * benchtests/bench-skeleton.c (startup): Fix coding style.
26107 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26110 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26111 negative infinity argument.
26112 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26113 negative infinity argument.
26114 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26115 negative infinity argument.
26116 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26119 2013-05-10 Florian Weimer <fweimer@redhat.com>
26121 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26122 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26123 * iconv/iconv_prog.c (main): Likewise.
26124 * locale/programs/charmap-dir.c (charmap_readdir)
26125 (fopen_uncompressed): Likewise.
26126 * locale/programs/locfile.c (siblings_uncached)
26127 (write_locale_data): Use lstat64 instead of lstat.
26128 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26131 2013-05-10 Andreas Jaeger <aj@suse.de>
26134 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26136 Include <locale.h>.
26138 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26140 * elf/dl-close.c (_dl_close_worker): Add comments.
26142 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26145 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26147 (__ieee754_rem_pio2l): Update comments.
26150 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26152 (__ieee754_rem_pio2l): Update comments.
26154 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26155 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26157 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26160 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26161 (M_PI_34_LOG10El): Likewise.
26162 (M_PI2_LOG10El): Likewise.
26163 (M_PI4_LOG10El): Likewise.
26164 (M_PI_LOG10El): Likewise.
26166 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26170 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26172 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26173 (MINUS_ZERO_INIT): Likewise.
26174 (PLUS_INFTY_INIT): Likewise.
26175 (MINUS_INFTY_INIT): Likewise.
26176 (QNAN_VALUE_INIT): Likewise.
26177 (MAX_VALUE_INIT): Likewise.
26178 (MIN_VALUE_INIT): Likewise.
26179 (MIN_SUBNORM_VALUE_INIT): Likewise.
26180 (plus_zero): Initialize with PLUS_ZERO_INIT.
26181 (minus_zero): Initialize with MINUS_ZERO_INIT.
26182 (plus_infty): Initialize with PLUS_INFTY_INIT.
26183 (minus_infty): Initialize with MINUS_INFTY_INIT.
26184 (qnan_value): Initialize with QNAN_VALUE_INIT.
26185 (max_value): Initialize with MAX_VALUE_INIT.
26186 (min_value): Initialize with MIN_VALUE_INIT.
26187 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26189 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26190 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26191 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26192 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26194 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26195 (RUN_TEST_2_f): Likewise.
26196 (RUN_TEST_ff_f): Likewise.
26197 (RUN_TEST_fi_f): Likewise.
26198 (RUN_TEST_fl_f): Likewise.
26199 (RUN_TEST_fff_f): Likewise.
26200 (RUN_TEST_c_f): Likewise.
26201 (RUN_TEST_f_f1): Likewise.
26202 (RUN_TEST_fF_f1): Likewise.
26203 (RUN_TEST_fI_f1): Likewise.
26204 (RUN_TEST_ffI_f1): Likewise.
26205 (RUN_TEST_c_c): Likewise.
26206 (RUN_TEST_cc_c): Likewise.
26207 (RUN_TEST_f_i): Likewise.
26208 (RUN_TEST_f_i_tg): Likewise.
26209 (RUN_TEST_ff_i_tg): Likewise.
26210 (RUN_TEST_f_b): Likewise.
26211 (RUN_TEST_f_b_tg): Likewise.
26212 (RUN_TEST_f_l): Likewise.
26213 (RUN_TEST_f_L): Likewise.
26214 (RUN_TEST_sincos): Likewise.
26215 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26216 whether to show exceptions. Do not include ");\n" in return
26218 (special_functions): Output call to RUN_TEST_sincos instead of
26219 check_float calls. Update calls to new_test.
26220 (parse_args): Output call to single RUN_TEST_* macro instead of
26221 check_* calls and other assignments. Update calls to new_test.
26227 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26228 input to result for tgamma overflow.
26229 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26230 (gamma_coeff): New variable.
26231 (NCOEFF): New macro.
26232 (gamma_positive): New function.
26233 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26234 underflow here. Use gamma_positive instead of exp (lgamma) for
26236 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26237 (gamma_coeff): New variable.
26238 (NCOEFF): New macro.
26239 (gammaf_positive): New function.
26240 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26241 underflow here. Use gamma_positive instead of exp (lgamma) for
26243 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26244 (gamma_coeff): New variable.
26245 (NCOEFF): New macro.
26246 (gammal_positive): New function.
26247 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26248 underflow here. Use gamma_positive instead of exp (lgamma) for
26250 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26251 (gamma_coeff): New variable.
26252 (NCOEFF): New macro.
26253 (gammal_positive): New function.
26254 (__ieee754_gammal_r): Handle positive infinity, overflow and
26255 underflow here. Handle NaN the same as positive infinity. Remove
26256 check x < 0xffffffff for negative integers. Use gamma_positive
26257 instead of exp (lgamma) for other arguments.
26258 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26259 (gamma_coeff): New variable.
26260 (NCOEFF): New macro.
26261 (gammal_positive): New function.
26262 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26263 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26264 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26265 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26266 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26267 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26268 * sysdeps/generic/math_private.h (__gamma_productf): New
26270 (__gamma_product): Likewise.
26271 (__gamma_productl): Likewise.
26272 * math/Makefile (libm-calls): Add gamma_product.
26273 * math/libm-test.inc (tgamma_test): Add more tests.
26274 * sysdeps/i386/fpu/libm-test-ulps: Update.
26275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26277 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
26279 * benchtests/bench-skeleton.c (main): Preheat CPU.
26281 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26283 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26285 2013-05-07 Roland McGrath <roland@hack.frob.com>
26287 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26288 and _dl_skip_args_internal.
26290 2013-05-07 Carlos O'Donell <carlos@redhat.com>
26292 * manual/message.texi (Message Translation): Talk about users.
26293 Message to key mapping impacts design.
26295 2013-05-06 Roland McGrath <roland@hack.frob.com>
26297 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26299 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26301 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26302 * sysdeps/wordsize-64/glob64.c: ... here.
26304 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26305 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26308 * debug/getlogin_r_chk.c: Moved to ...
26309 * login/getlogin_r_chk.c: ... here.
26310 * debug/Makefile (routines): Move getlogin_r_chk to ...
26311 * login/Makefile (routines): ... here.
26312 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26313 * login/Versions (libc: GLIBC_2.4): ... here.
26315 * io/poll.c (__poll): Renamed from poll.
26316 Add libc_hidden_def.
26317 (poll): Define as weak alias.
26319 * debug/ptsname_r_chk.c: Moved to ...
26320 * login/ptsname_r_chk.c: ... here.
26321 * debug/Makefile (routines): Move ptsname_r_chk to ...
26322 * login/Makefile (routines): ... here.
26323 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26324 * login/Versions (libc: GLIBC_2.4): ... here.
26326 * posix/getlogin.c: Moved to ...
26327 * login/getlogin.c: ... here.
26328 * posix/getlogin_r.c: Moved to ...
26329 * login/getlogin_r.c: ... here.
26330 * posix/getlogin_r.c: Moved to ...
26331 * login/getlogin_r.c: ... here.
26332 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26333 * login/Makefile (routines): ... here.
26334 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26335 * login/Versions (libc: GLIBC_2.0): ... here.
26337 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26338 (setrlimit): Define as weak alias.
26340 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26341 Call __ names for open, ftruncate, and close.
26342 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26343 (truncate): Define as weak alias.
26345 2013-05-06 Joseph Myers <joseph@codesourcery.com>
26347 * math/gen-libm-test.pl (parse_args): Initialize x before each
26348 test of frexp, modf and remquo.
26350 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26351 test signgam value.
26353 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26357 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26359 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26361 2013-05-06 Roland McGrath <roland@hack.frob.com>
26363 * elf/dl-writev.h: New file.
26364 * elf/dl-misc.c: Include it.
26365 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26366 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26368 2013-05-04 Joseph Myers <joseph@codesourcery.com>
26370 * math/libm-test.inc (noXFails): Remove variable.
26371 (noXPasses): Likewise.
26372 (BUILD_COMPLEX_INT): Remove macro.
26373 (print_screen): Remove xfail argument.
26374 (print_screen_max_error): Likewise.
26375 (update_stats): Likewise.
26376 (print_max_error): Likewise. Update calls to other affected
26378 (print_complex_max_error): Likewise.
26379 (test_single_exception): Update calls to print_screen.
26380 (test_single_errno): Likewise.
26381 (check_float_internal): Remove xfail argument. Update calls to
26382 other affected functions.
26383 (check_float): Likewise.
26384 (check_complex): Likewise.
26385 (check_int): Likewise.
26386 (check_long): Likewise.
26387 (check_bool): Likewise.
26388 (check_longlong): Likewise.
26389 (main): Don't print noXFails and noXPasses.
26390 * math/gen-libm-test.pl (top level): Don't mention expected
26391 failure handling in comment.
26392 (new_test): Don't handle expected failures.
26393 (parse_args): Don't mention expected failure handling in comment.
26394 (generate_testfile): Don't handle expected failures.
26395 (parse_ulps): Likewise.
26396 (print_ulps_file): Likewise.
26397 (get_failure): Remove function.
26398 (output_test): Don't handle expected failures.
26399 * make/README.libm-test: Don't mention expected failure handling.
26401 * math/libm-test.inc (plus_zero): Make const. Add initializer.
26402 (minus_zero): Likewise.
26403 (plus_infty): Likewise.
26404 (minus_infty): Likewise.
26405 (qnan_value): Likewise.
26406 (max_value): Likewise.
26407 (min_value): Likewise.
26408 (min_subnorm_value): Likewise.
26409 (initialize): Do not initialize those variables dynamically.
26411 2013-05-03 Roland McGrath <roland@hack.frob.com>
26413 * io/open.c (__open_2): Moved to ...
26414 * io/open_2.c: ... this new file.
26415 * io/open64.c (__open64_2): Moved to ...
26416 * io/open64_2.c: ... this new file.
26417 * io/openat.c (__openat_2): Moved to ...
26418 * io/openat_2.c: ... this new file.
26419 * io/openat64.c (__openat64_2): Moved to ...
26420 * io/openat64_2.c: ... this new file.
26421 * io/Makefile (routines): Add them.
26422 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26423 * sysdeps/unix/sysv/linux/open_2.c: File removed.
26424 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26425 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26426 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26427 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26428 (__openat64): Add hidden_ver.
26429 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26430 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26432 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26433 Separately conditionalize setting of GLRO(dl_sysinfo) so
26434 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26435 as well, but the actual setting is only under [NEED_DL_SYSINFO].
26437 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26439 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26440 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26442 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26443 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26444 (_libc_vdso_platform_setup): Add __vdso_time initialization.
26445 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26446 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26448 2013-05-03 Joseph Myers <joseph@codesourcery.com>
26450 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26451 test signgam value.
26453 * math/libm-test.inc (hypot_test): Do not use
26454 IGNORE_ZERO_INF_SIGN.
26456 2013-05-03 Andreas Jaeger <aj@suse.de>
26458 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26460 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26461 (PF_MAX): Adjust for VSOCK change.
26463 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26465 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26467 2013-05-02 Carlos O'Donell <carlos@redhat.com>
26470 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26471 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26472 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26474 2013-05-02 David S. Miller <davem@davemloft.net>
26476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26478 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
26480 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26482 2013-05-01 Roland McGrath <roland@hack.frob.com>
26484 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26486 2013-05-01 Richard Smith <richard@metafoo.co.uk>
26489 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26490 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26491 Use __attribute__ ((__gnu_inline__)).
26492 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26493 Don't use __attribute__ ((__gnu_inline__)).
26495 2013-05-01 Joseph Myers <joseph@codesourcery.com>
26498 * math/s_catan.c (__catan): Handle small real or imaginary part of
26499 input specially to avoid spurious underflow.
26500 * math/s_catanf.c (__catanf): Likewise.
26501 * math/s_catanh.c (__catanh): Likewise.
26502 * math/s_catanhf.c (__catanhf): Likewise.
26503 * math/s_catanhl.c (__catanhl): Likewise.
26504 * math/s_catanl.c (__catanl): Likewise.
26505 * math/libm-test.inc (catan_test): Add more tests.
26506 (catanh_test): Likewise.
26507 * sysdeps/i386/fpu/libm-test-ulps: Update.
26508 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26510 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26514 2013-04-30 Joseph Myers <joseph@codesourcery.com>
26517 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26518 accurately for denominator in atan2.
26519 * math/s_catanf.c (__catanf): Likewise.
26520 * math/s_catanh.c (__catanh): Likewise.
26521 * math/s_catanhf.c (__catanhf): Likewise.
26522 * math/s_catanhl.c (__catanhl): Likewise.
26523 * math/s_catanl.c (__catanl): Likewise.
26524 * math/libm-test.inc (catan_test): Add more tests.
26525 (catanh_test): Likewise.
26526 * sysdeps/i386/fpu/libm-test-ulps: Update.
26527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26529 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26531 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26533 * benchtests/Makefile (bench): Remove slow benchmarks.
26534 * benchtests/atan-inputs: Add slow benchmark inputs.
26535 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26536 (BENCH_FUNC): Accept variant offset.
26538 * benchtests/bench-skeleton.c (main): Run benchmark for each
26540 * benchtests/cos-inputs: Add slow benchmark inputs.
26541 * benchtests/exp-inputs: Likewise.
26542 * benchtests/pow-inputs: Likewise.
26543 * benchtests/sin-inputs: Likewise.
26544 * benchtests/slowatan-inputs: Remove.
26545 * benchtests/slowatan.c: Remove.
26546 * benchtests/slowcos-inputs: Remove.
26547 * benchtests/slowcos.c: Remove.
26548 * benchtests/slowexp-inputs: Remove.
26549 * benchtests/slowexp.c: Remove.
26550 * benchtests/slowpow-inputs: Remove.
26551 * benchtests/slowpow.c: Remove.
26552 * benchtests/slowsin-inputs: Remove.
26553 * benchtests/slowsin.c: Remove.
26554 * benchtests/slowtan-inputs: Remove.
26555 * benchtests/slowtan.c: Remove.
26556 * benchtests/tan-inputs: Add slow benchmark inputs.
26557 * scripts/bench.pl: Parse comments and directives.
26559 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26561 ($(objpfx)bench-%.c): Remove *-ITER.
26562 * benchtests/bench-modf.c: Remove definition of ITER.
26563 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26564 (main): Loop for DURATION seconds instead of fixed number of
26566 * scripts/bench.pl: Don't expect iterations in parameters.
26568 2013-04-29 Roland McGrath <roland@hack.frob.com>
26570 * io/fchdir.c (__fchdir): Renamed from fchdir.
26571 (fchdir): Define as weak alias.
26573 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26575 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26576 (ERRNO_EDOM): Likewise.
26577 (ERRNO_ERANGE): Likewise.
26578 (noErrnoTests): New variable.
26579 (init_max_error): Set errno to 0.
26580 (test_single_errno): New function.
26581 (test_errno): Likewise.
26582 (check_float_internal): Call test_errno. Set errno to 0.
26583 (check_complex): Refer to errno tests in comment.
26584 (check_int): Call test_errno. Set errno to 0.
26585 (check_long): Likewise.
26586 (check_bool): Likewise.
26587 (check_longlong): Likewise.
26588 (cos_test): Use ERRNO_* flags for errno tests instead of
26590 (expm1_test): Likewise.
26591 (fmod_test): Likewise.
26592 (ilogb_test): Likewise.
26593 (lgamma_test): Likewise.
26594 (pow_test): Likewise.
26595 (remainder_test): Likewise.
26596 (sin_test): Likewise.
26597 (tan_test): Likewise.
26598 (yn_test): Likewise.
26599 (initialize): Set errno to 0.
26600 (main): Print number of errno tests.
26601 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26603 2013-04-29 Andreas Jaeger <aj@suse.de>
26606 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26610 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26611 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26615 * stdlib/random.c (__initstate): Return NULL if
26619 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26620 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26623 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26627 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26629 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26630 of individual tests.
26631 (casin_test): Likewise.
26632 (casinh_test): Likewise.
26634 2013-04-27 Joseph Myers <joseph@codesourcery.com>
26637 * math/s_catan.c (__catan): Handle arguments with large real or
26638 imaginary part separately without squaring.
26639 * math/s_catanf.c (__catanf): Likewise.
26640 * math/s_catanh.c (__catanh): Likewise.
26641 * math/s_catanhf.c (__catanhf): Likewise.
26642 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26644 (__catanhl): Handle arguments with large real or imaginary part
26645 separately without squaring.
26646 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26648 (__catanl): Handle arguments with large real or imaginary part
26649 separately without squaring.
26650 * math/libm-test.inc (catan_test): Add more tests.
26651 (catanh_test): Likewise.
26652 * sysdeps/i386/fpu/libm-test-ulps: Update.
26653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26655 2013-04-27 Andreas Jaeger <aj@suse.de>
26658 * stdlib/stdlib.h: Update guards for qecvt.
26659 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26662 2013-04-27 Allan McRae <allan@archlinux.org>
26664 * sysdeps/i386/fpu/libm-test-ulps: Update.
26666 2013-04-26 Joseph Myers <joseph@codesourcery.com>
26669 * math/s_catan.c: Include <float.h>.
26670 (__catan): Ensure underflow exception occurs for underflowed
26672 * math/s_catanf.c: Include <float.h>.
26673 (__catanf): Ensure underflow exception occurs for underflowed
26675 * math/s_catanh.c: Include <float.h>.
26676 (__catanh): Ensure underflow exception occurs for underflowed
26678 * math/s_catanhf.c: Include <float.h>.
26679 (__catanhf): Ensure underflow exception occurs for underflowed
26681 * math/s_catanhl.c: Include <float.h>.
26682 (__catanhl): Ensure underflow exception occurs for underflowed
26684 * math/s_catanl.c: Include <float.h>.
26685 (__catanl): Ensure underflow exception occurs for underflowed
26687 * math/libm-test.inc (catan_test): Add more tests.
26688 (catanh_test): Likewise.
26691 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26692 underflowed result.
26693 * math/s_ccoshf.c (__ccoshf): Likewise.
26694 * math/s_ccoshl.c (__ccoshl): Likewise.
26695 * math/s_csin.c (__csin): Likewise.
26696 * math/s_csinf.c (__csinf): Likewise.
26697 * math/s_csinh.c (__csinh): Likewise.
26698 * math/s_csinhf.c (__csinhf): Likewise.
26699 * math/s_csinhl.c (__csinhl): Likewise.
26700 * math/s_csinl.c (__csinl): Likewise.
26701 * math/libm-test.inc (ccos_test): Add more tests.
26702 (ccosh_test): Likewise.
26703 (csin_test): Likewise.
26704 (csinh_test): Likewise.
26706 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26708 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26709 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26710 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26711 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26712 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26713 powerpc/power5+/fpu folders.
26714 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26717 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26719 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26721 2013-04-25 Joseph Myers <joseph@codesourcery.com>
26723 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26724 additions to variable.
26725 [$(config-machine) = x86_64] (modules-names): Likewise.
26726 ($(objpfx)tst-audit3): Remove dependency.
26727 ($(objpfx)tst-audit3.out): Likewise.
26728 ($(objpfx)tst-audit4): Likewise.
26729 ($(objpfx)tst-audit4.out): Likewise.
26730 ($(objpfx)tst-audit5): Likewise.
26731 ($(objpfx)tst-audit5.out): Likewise.
26732 ($(objpfx)tst-audit6): Likewise.
26733 ($(objpfx)tst-audit6.out): Likewise.
26734 ($(objpfx)tst-audit7): Likewise.
26735 ($(objpfx)tst-audit7.out): Likewise.
26736 (tst-audit3-ENV): Remove variable.
26737 (tst-audit4-ENV): Likewise.
26738 (tst-audit5-ENV): Likewise.
26739 (tst-audit6-ENV): Likewise.
26740 (tst-audit7-ENV): Likewise.
26741 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26742 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26743 addition to variable.
26744 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26745 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26746 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26747 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26748 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26749 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26750 tst-audit3, tst-audit4 and tst-audit5.
26751 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26752 tst-audit6 and tst-audit7.
26753 [$(subdir) = elf] (modules-names): Add audit modules for those
26755 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26756 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26757 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26758 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26759 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26760 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26761 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26762 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26763 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26764 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26765 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26766 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26767 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26768 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26769 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26770 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26772 [$(subdir) = elf && $(config-cflags-avx) = yes]
26773 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26774 [$(subdir) = elf && $(config-cflags-avx) = yes]
26775 (CFLAGS-tst-auditmod4a.c): Likewise.
26776 [$(subdir) = elf && $(config-cflags-avx) = yes]
26777 (CFLAGS-tst-auditmod4b.c): Likewise.
26778 [$(subdir) = elf && $(config-cflags-avx) = yes]
26779 (CFLAGS-tst-auditmod6b.c): Likewise.
26780 [$(subdir) = elf && $(config-cflags-avx) = yes]
26781 (CFLAGS-tst-auditmod6c.c): Likewise.
26782 [$(subdir) = elf && $(config-cflags-avx) = yes]
26783 (CFLAGS-tst-auditmod7b.c): Likewise.
26784 * elf/tst-audit3.c: Move to ...
26785 * sysdeps/x86_64/tst-audit3.c: ... here.
26786 * elf/tst-audit4.c: Move to ...
26787 * sysdeps/x86_64/tst-audit4.c: ... here.
26788 * elf/tst-audit5.c: Move to ...
26789 * sysdeps/x86_64/tst-audit5.c: ... here.
26790 * elf/tst-audit6.c: Move to ...
26791 * sysdeps/x86_64/tst-audit6.c: ... here.
26792 * elf/tst-audit7.c: Move to ...
26793 * sysdeps/x86_64/tst-audit7.c: ... here.
26794 * elf/tst-auditmod3a.c: Move to ...
26795 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26796 * elf/tst-auditmod3b.c: Move to ...
26797 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26798 * elf/tst-auditmod4a.c: Move to ...
26799 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26800 * elf/tst-auditmod4b.c: Move to ...
26801 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26802 * elf/tst-auditmod5a.c: Move to ...
26803 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26804 * elf/tst-auditmod5b.c: Move to ...
26805 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26806 * elf/tst-auditmod6a.c: Move to ...
26807 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26808 * elf/tst-auditmod6b.c: Move to ...
26809 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26810 * elf/tst-auditmod6c.c: Move to ...
26811 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26812 * elf/tst-auditmod7a.c: Move to ...
26813 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26814 * elf/tst-auditmod7b.c: Move to ...
26815 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26817 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26820 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26821 define unconditionally.
26822 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26823 define unconditionally.
26824 (INT8_C, INT16_C, etc.): Likewise.
26826 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26828 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26829 __ehdr_start with hidden visibility.
26831 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26833 2013-04-24 Carlos O'Donell <carlos@redhat.com>
26835 * math/libm-test.inc (cos_test): Use accurate hex constants.
26836 (sincost_test): Likewise.
26838 2013-04-24 Joseph Myers <joseph@codesourcery.com>
26840 * math/libm-test.inc (catan_test): Add more tests.
26841 (catanh_test): Likewise.
26843 * math/s_catanf.c (__catanf): Use suffixed floating-point
26845 * math/s_catanhf.c (__catanhf): Likewise.
26846 * math/s_catanhl.c (__catanhl): Likewise.
26847 * math/s_catanl.c (__catanl): Likewise.
26850 * math/s_catan.c (__catan): Calculate imaginary part of result
26851 with log1p not log unless computing log of number close to 0.
26852 * math/s_catanf.c (__catanf): Likewise.
26853 * math/s_catanl.c (__catanl): Likewise.
26854 * math/s_catanh.c (__catanh): Calculate real part of result with
26855 log1p not log unless computing log of number close to 0.
26856 * math/s_catanhf.c (__catanhf): Likewise.
26857 * math/s_catanhl.c (__catanhl): Likewise.
26858 * math/libm-test.inc (catan_test): Add more tests.
26859 (catanh_test): Likewise.
26860 * sysdeps/i386/fpu/libm-test-ulps: Update.
26861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26863 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26865 * benchtests/Makefile: Mention files in which fast and slow
26866 paths of math functions are implemented.
26868 2013-04-23 Roland McGrath <roland@hack.frob.com>
26870 * sysdeps/posix/timespec_get.c: New file.
26872 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26874 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26876 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26878 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26879 powerpc/power5/fpu folders.
26880 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26881 * benchtests/Makefile: Add modf testcase.
26882 * benchtests/bench-modf.c: New file: Benchmark test for mo
26884 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26887 * time/Makefile (tests): Add tst-strptime-whitespace.
26888 * time/strptime_l.c (get_number): Use ISSPACE.
26889 (__strptime_internal): Likewise.
26890 * time/tst-strptime-whitespace.c: New test case.
26892 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26894 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26896 (_nss_files_init): Set it here.
26898 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26900 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26901 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26904 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26906 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26908 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26910 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26913 2013-04-21 David S. Miller <davem@davemloft.net>
26915 * po/ru.po: Update Russion translation from translation project.
26917 2013-04-17 Adam Conrad <adconrad@0c3.net>
26919 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26922 2013-04-17 Carlos O'Donell <carlos@redhat.com>
26924 * configure.in: Remove i386 configure warning. Remove i386 case.
26925 * configure: Regenerate.
26926 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26927 Add example to error message.
26928 * sysdeps/i386/configure: Regenerate.
26930 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26932 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26934 * benchtests/cos-inputs: New file.
26935 * benchtests/slowcos-inputs: New file.
26936 * benchtests/slowcos.c: New file.
26937 * benchtests/slowtan-inputs: New file.
26938 * benchtests/slowtan.c: New file.
26939 * benchtests/tan-inputs: New file.
26941 2013-04-16 Roland McGrath <roland@hack.frob.com>
26943 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26946 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26948 * benchtests/Makefile: Include cppflags-iterator.mk to add
26949 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26951 * Makefile.in (bench-clean): New target.
26952 * benchtests/Makefile (bench-clean): Likewise.
26954 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26956 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26958 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26960 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26962 2013-04-15 Andreas Schwab <schwab@suse.de>
26964 * nscd/grpcache.c (cache_addgr): Properly check for short write.
26965 * nscd/initgrcache.c (addinitgroupsX): Likewise.
26966 * nscd/pwdcache.c (cache_addpw): Likewise.
26967 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
26970 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26972 * benchtests/Makefile (bench): Write all output to
26973 bench-out.tmp together.
26975 2013-04-15 Andreas Schwab <schwab@suse.de>
26977 * nscd/nscd.c (main): Don't fork again after closing files.
26979 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
26981 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26983 * benchtests/Rules (bench-deps): Collect dependencies into a
26984 single variable. Add Makefile to dependencies.
26985 ($(objpfx)bench-%.c): Depend on bench-deps.
26987 2013-04-12 Roland McGrath <roland@hack.frob.com>
26988 Xavier Roche <roche+kml2@exalead.com>
26991 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26992 just that it's a file descriptor.
26993 * manual/llio.texi (Synchronizing AIO Operations): Update description
26994 for EBADF error from aio_fsync.
26996 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
26998 * Rules (bench): Move target definition...
26999 * benchtests/Makefile: ... here.
27001 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27003 * math/libm-test.inc (cos_test): Fix PI/2 test.
27004 (sincos_test): Likewise.
27005 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27006 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27008 2013-04-11 Andreas Schwab <schwab@suse.de>
27011 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27012 accept exponent character only when digits were seen.
27013 * stdio-common/Makefile (tests): Add bug26.
27014 * stdio-common/bug26.c: New file.
27017 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27020 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27022 * Makeconfig (rtld-prefix): Define built linker prefix.
27023 * Rules (run-bench): Use it.
27024 * math/Makefile (run-regen-ulps): Likewise.
27026 * Rules (bench): Remove eval.
27028 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27029 Roland McGrath <roland@hack.frob.com>
27030 Ondrej Bilka <neleai@seznam.cz>
27033 * time/getdate.c: Include ctype.h and alloca.h.
27034 (__getdate_r): Trim leading and trailing spaces of input.
27035 * time/tst-getdate.c (tests): Add tests with leading and
27038 2013-04-08 Roland McGrath <roland@hack.frob.com>
27041 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27042 when computing value.
27044 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27046 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27047 Use testrun.sh to run libm tests.
27050 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27052 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27055 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27057 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27059 * Makefile.in (regen-ulps): New target.
27060 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27061 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27062 [ifneq (no,$(PERL)] (regen-ulps): New target.
27063 [ifeq (no,$(PERL)] (regen-ulps): New target.
27064 * math/libm-test.inc (ulps_file_name): Define.
27065 (output_dir): New variable.
27066 (options): Add "output-dir" option.
27067 (parse_opt): Handle 'o' case.
27068 (main): If output_dir is non-NULL use it as a prefix
27070 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27072 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27074 [BZ #10060, #10062]
27075 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27076 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27077 fail configure if __sync_val_compare_and_swap is not inlined.
27078 * sysdeps/i386/configure: Regenerate.
27079 * configure.in: Build for i686 when configured for i386.
27080 * configure: Regenerate.
27081 * README: Remove i386 reference.
27083 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27085 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27086 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27088 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27090 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27091 (lmsnanval): New variables.
27092 (F): Add conversion tests.
27093 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27094 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27096 * stdio-common/tstdiomisc.c (F): Properly collect individual
27099 [BZ #14686, #15336]
27100 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27101 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27102 Instead, use input NaN values or generate a qNaN by arithmetic
27103 operation. Also fix bugs to comply with the standard.
27104 * math/libm-test.inc (remainder_test): Add more tests.
27106 [BZ #15335, #15342]
27107 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27108 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27109 input NaN values or generate a qNaN by arithmetic operation.
27111 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27114 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27117 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27120 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27121 underflowed result.
27122 * math/s_cexpf.c (__cexpf): Likewise.
27123 * math/s_cexpl.c (__cexpl): Likewise.
27124 * math/libm-test.inc (cexp_test): Add more tests.
27126 2013-04-03 Andreas Schwab <schwab@suse.de>
27129 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27130 order arrays from heap if bigger than alloca cutoff.
27132 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27134 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27135 (SNAN_TESTS_double): Refer to GCC PR56831.
27136 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27139 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27141 * Rules (bench): Move bench.out after the run is complete.
27143 * Rules (bench): Echo currently running benchmark.
27145 * benchtests/Makefile (bench): Add atan and slowatan.
27146 * benchtests/atan-inputs: New file.
27147 * benchtests/slowatan-inputs: New file.
27148 * benchtests/slowatan.c: New file.
27150 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27151 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27155 * sysdeps/unix/sysv/linux/kernel-features.h
27156 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27157 __ASSUME_XFS_RESTRICTED_CHOWN.
27158 * sysdeps/unix/sysv/linux/pathconf.c
27159 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27160 Save and restore errno.
27162 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27165 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27166 arguments using __kernel_casinh.
27167 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27168 arguments using __kernel_casinhf.
27169 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27170 arguments using __kernel_casinhl.
27171 * math/libm-test.inc (cacosh_test): Add more tests.
27172 * sysdeps/i386/fpu/libm-test-ulps: Update.
27173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27175 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27177 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27178 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27180 * bench/Makefile (bench): Add sin and slowsin.
27181 * benchtests/sin-inputs: New file.
27182 * benchtests/slowsin-inputs: New file.
27183 * benchtests/slowsin.c: New file.
27185 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27186 (bench): Add slowexp and slowpow.
27187 (exp-ITER): Increase iterations.
27188 (pow-ITER): Likewise.
27189 * benchtests/exp-inputs: Change input.
27190 * benchtests/pow-inputs: Likewise.
27191 * benchtests/slowexp-inputs: New file.
27192 * benchtests/slowexp.c: New file.
27193 * benchtests/slowpow-inputs: New file.
27194 * benchtests/slowpow.c: New file.
27196 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27198 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27200 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27201 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27202 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27203 * benchtests/Makefile: Add rint benchtest.
27204 * benchtests/rint-inputs: Input for rint benchtest.
27206 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27208 * Versions.def (libm): Add GLIBC_2.18.
27209 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27210 hidden libm prototypes.
27211 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27212 * math/Makefile (libm-calls): Add s_issignaling.
27213 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27214 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27215 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27217 * math/math.h [__USE_GNU] (issignaling): New macro.
27218 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27219 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27220 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27221 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27222 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27223 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27224 * manual/arith.texi (issignaling): New section.
27225 * manual/libm-err-tab.pl (@all_functions): Update comment.
27226 * math/gen-libm-test.pl (parse_args): Apply special handling for
27228 * math/libm-test.inc (print_float, issignaling_test): New
27230 (check_float_internal): Add issignaling checks.
27231 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27232 default definition.
27233 * sysdeps/powerpc/math-tests.h: New file.
27234 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27236 * math/test-snan.c (TEST_FUNC): Likewise.
27238 2013-03-30 David S. Miller <davem@davemloft.net>
27240 * po/de.po: Update from translation team.
27242 2013-03-30 Joseph Myers <joseph@codesourcery.com>
27245 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27246 imaginary part less than 1.0 and real part less than 0.5
27248 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27249 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27250 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27251 (cacos_test): Add more tests.
27252 (casin_test): Likewise.
27253 (casinh_test): Likewise.
27254 * sysdeps/i386/fpu/libm-test-ulps: Update.
27255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27257 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27259 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27260 ONE with its value.
27262 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27263 (__pow_mp): Replace ONE and MONE with their values.
27264 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27265 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27266 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27267 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27268 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27269 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27271 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27273 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27274 (__pow_mp): Replace ZERO and MZERO with their values.
27275 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27276 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27277 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27278 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27279 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27280 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27283 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27285 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27287 2013-03-28 Roland McGrath <roland@hack.frob.com>
27289 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27290 Declare with __attribute__ ((weak)).
27291 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27292 Call __call_tls_dtors only if it's not NULL.
27294 2013-03-28 Roland McGrath <roland@hack.frob.com>
27296 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27297 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27298 magic __ehdr_start linker symbol if it's defined.
27299 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27300 them up here if it was already done.
27302 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27303 (_dl_aux_init): Use const in cast when setting it.
27304 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27305 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27306 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27308 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27310 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27311 * csu/libc-tls.c: Nor here.
27312 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27314 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27315 (__libc_message): Never call vsyslog.
27317 2013-03-28 Alan Modra <amodra@gmail.com>
27319 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27321 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27324 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27327 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27329 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27331 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27334 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27335 Don't add gid passed as argument.
27337 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27339 2013-03-27 Joseph Myers <joseph@codesourcery.com>
27342 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27343 imaginary part between 1.0 and 1.5 and real part less than 0.5
27345 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27346 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27347 * math/libm-test.inc (cacos_test): Add more tests.
27348 (casin_test): Likewise.
27349 (casinh_test): Likewise.
27350 * sysdeps/i386/fpu/libm-test-ulps: Update.
27351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27353 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27355 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27358 (denorm): Likewise.
27359 (__dbl_mp): Likewise.
27360 (add_magnitudes): Likewise.
27361 (sub_magnitudes): Likewise.
27369 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27371 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27372 (__dubcos): Likewise.
27373 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27374 (__ieee754_acos): Likewise.
27375 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27376 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27377 (__exp1): Likewise.
27378 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27379 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27381 (my_log2): Likewise.
27382 (checkint): Likewise.
27383 * sysdeps/ieee754/dbl-64/e_remainder.c
27384 (__ieee754_remainder): Likewise.
27385 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27386 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27387 (bsloww): Likewise.
27388 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27390 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27391 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27392 MANTISSA_STORE_T to store computations on mantissa. Use
27393 macros for rounding and division.
27394 (denorm): Likewise.
27395 (__dbl_mp): Likewise.
27396 (add_magnitudes): Likewise.
27397 (sub_magnitudes): Likewise.
27400 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27401 powers of two in terms of TWOPOW macro.
27402 (mp_no): Make type of mantissa as MANTISSA_T.
27403 [!RADIXI]: Define RADIXI.
27404 [!TWO52]: Define TWO52.
27405 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27407 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27409 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27410 llroundl symbol when building for PPC32.
27412 2013-03-24 Mark H Weaver <mhw@netris.org>
27414 * manual/arith.texi (Normalization Functions): Fix prototypes for
27415 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27417 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27420 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27421 high value to check if expl overflow.
27422 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27423 to check for underflow and overflow.
27424 * math/libm-test.inc: Add exp test.
27426 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
27429 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27432 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27434 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27437 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
27439 * math/gen-libm-test.pl (parse_args, special_functions): Properly
27440 wrap blocks consisting of several statements.
27442 * sysdeps/generic/math-tests.h: New file.
27443 * sysdeps/i386/fpu/math-tests.h: Likewise.
27444 * math/test-snan.c: Include it.
27445 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27447 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27450 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27451 (__ieee754_j0l): Do not improve calculations using cos of twice
27452 input for inputs above LDBL_MAX / 2.0L.
27453 (__ieee754_y0l): Likewise.
27454 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27455 (__ieee754_j1l): Do not improve calculations using cos of twice
27456 input for inputs above LDBL_MAX / 2.0L.
27457 (__ieee754_y1l): Likewise.
27458 * math/libm-test.inc (j0_test): Add another test.
27459 (j1_test): Likewise.
27460 (y0_test): Likewise.
27461 (y1_test): Likewise.
27462 * sysdeps/i386/fpu/libm-test-ulps: Update.
27464 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27466 * Rules ($(objpfx)bench-%.c): Include code from a C source
27469 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27472 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27473 imaginary part 1.0 and real part less than 0.5 specially.
27474 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27475 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27476 * math/libm-test.inc (cacos_test): Add more tests.
27477 (casin_test): Likewise.
27478 (casinh_test): Likewise.
27479 * sysdeps/i386/fpu/libm-test-ulps: Update.
27480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27482 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27484 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27485 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27487 2013-03-20 Joseph Myers <joseph@codesourcery.com>
27489 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27490 * config.make.in (config-cflags-sse4): Remove variable.
27491 (config-cflags-avx): Likewise.
27492 (config-cflags-sse2avx): Likewise.
27493 (config-cflags-novzeroupper): Likewise.
27494 (config-asflags-i686): Likewise.
27495 (have-mfma4): Likewise.
27496 (have-as-vis3): Likewise.
27498 * configure.in (MIG): Do not AC_SUBST.
27499 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27500 (libc_cv_cc_sse4): Do not AC_SUBST.
27501 (libc_cv_cc_avx): Likewise.
27502 (libc_cv_cc_sse2avx): Likewise.
27503 (libc_cv_cc_novzeroupper): Likewise.
27504 (libc_cv_cc_fma4): Likewise.
27505 (libc_cv_as_i686): Likewise.
27506 (libc_cv_sparc_as_vis3): Likewise.
27507 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27509 (config-asflags-i686): Likewise.
27510 (config-cflags-avx): Likewise.
27511 (config-cflags-sse2avx): Likewise.
27512 (have-mfma4): Likewise.
27513 (config-cflags-novzeroupper): Likewise.
27514 * sysdeps/mach/configure.in (MIG): Likewise.
27515 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27516 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27518 (config-cflags-avx): Likewise.
27519 (config-cflags-sse2avx): Likewise.
27520 (have-mfma4): Likewise.
27521 (config-cflags-novzeroupper): Likewise.
27522 * configure: Regenerated.
27523 * sysdeps/i386/configure: Likewise.
27524 * sysdeps/mach/configure: Likewise.
27525 * sysdeps/sparc/configure: Likewise.
27526 * sysdeps/x86_64/configure: Likewise.
27528 2013-03-20 Roland McGrath <roland@hack.frob.com>
27531 * locale/programs/localedef.c (options): Put N_ translation marker
27532 on argument names, not just descriptions.
27534 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27536 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27538 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
27541 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27543 2013-03-19 Roland McGrath <roland@hack.frob.com>
27545 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27546 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27547 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27548 [!BEFORE_ABORT] (before_abort): New function.
27549 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27550 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27551 (writev_for_fatal): New function.
27552 (WRITEV_FOR_FATAL): New macro; call that.
27553 (backtrace_and_maps): New function.
27554 (BEFORE_ABORT): New macro; call that.
27555 (struct str_list): Type removed.
27556 (__libc_message, __libc_fatal): Functions removed.
27557 Include <sysdeps/posix/libc_fatal.c> instead.
27559 2013-03-19 Joseph Myers <joseph@codesourcery.com>
27561 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27563 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27566 2013-03-19 Andreas Schwab <schwab@suse.de>
27568 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27569 * sysdeps/gnu/configure: Regenerate.
27571 * configure.in: Substitute libc_cv_rtlddir.
27572 * configure: Regenerate.
27573 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27574 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27575 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27576 * elf/Makefile (install-others, CFLAGS-interp.c)
27577 (ldso_install, common-ldd-rewrite): Likewise.
27578 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27579 $(inst_slibdir)/$(rtld-installed-name).
27580 * scripts/rellns-sh: Add -p option.
27581 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27584 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27586 * manual/nptl.texi: Renamed to ...
27587 * manual/threads.texi: ... this.
27588 * manual/Makefile (chapters): Update.
27590 2013-03-18 Roland McGrath <roland@hack.frob.com>
27593 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27594 on argument names, not just descriptions.
27595 * malloc/memusagestat.c (options): Likewise.
27596 * nss/getent.c (options): Likewise.
27598 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
27601 * iconv/iconv_prog.c (options): Put N_ translation marker
27602 on argument names, not just descriptions.
27603 * iconv/iconvconfig.c (options): Likewise.
27605 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
27607 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27608 implementation which is faster on all x86_64 architectures.
27609 Tested on AMD, Intel Nehalem, SNB, IVB.
27610 * sysdeps/x86_64/strnlen.S: Likewise.
27612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27613 Remove all multiarch strlen and strnlen versions.
27614 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27615 Remove strlen and strnlen related parts.
27617 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27618 Inline strlen part.
27619 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27621 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27622 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27623 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27624 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27625 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27626 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27628 2013-03-17 Carlos O'Donell <carlos@redhat.com>
27630 * manual/memory.texi (Malloc Tunable Parameters):
27631 Sort parameters alphabetically. Add comments for missing entries.
27633 2013-03-17 David S. Miller <davem@davemloft.net>
27635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27637 2013-03-16 Joseph Myers <joseph@codesourcery.com>
27640 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27641 for arguments at most half maximum finite value.
27642 * math/libm-test.inc (j0_test): Add more tests.
27643 (j1_test): Likewise.
27644 (y0_test): Likewise.
27645 (y1_test): Likewise.
27646 * sysdeps/i386/fpu/libm-test-ulps: Update.
27647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27650 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27651 1 / x and functions P and Q for arguments above 0x1p256L.
27652 (__ieee754_y0l): Likewise.
27653 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27654 (__ieee754_y1l): Likewise.
27655 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27656 (j1_test): Likewise.
27657 (y0_test): Likewise.
27658 (y1_test): Likewise.
27660 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27662 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27665 2013-03-15 Roland McGrath <roland@hack.frob.com>
27667 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27668 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27669 zero since it's initialized to EXEC_PAGESIZE.
27671 * sysdeps/unix/sysv/linux/ldsodefs.h
27672 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27673 * sysdeps/generic/ldsodefs.h: ... here.
27675 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27677 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27679 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27681 * math/test-snan.c: Renamed from
27682 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27683 * math/Makefile (tests): Add test-snan.
27684 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27687 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27688 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27690 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27691 __builtin_nan family of functions.
27692 * math/libm-test.inc (initialize): Initialize qnan_value with
27693 __builtin_nan family of functions.
27694 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27696 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27698 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27699 storage class. Initialize qNaN_var and sNaN_var with
27700 __builtin_nan and __builtin_nans families of functions,
27703 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27704 (sqrt_test): Remove duplicate test with qNaN input.
27705 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27706 (round_test, signbit_test, significand_test): Note missing +/-Inf
27707 as well as qNaN tests.
27709 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27710 qNaN_var. Fix a few strings, too.
27711 * math/libm-test.inc (nan_value): Rename to qnan_value.
27712 * math/gen-libm-test.pl (%beautify): Adjust to that.
27713 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27714 * math/test-misc.c (main): Likewise.
27715 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27716 to __qnan_bytes, and __qnan_union, respectively.
27717 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27719 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27720 and lqnanval, respectively.
27721 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27722 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27723 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27724 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27726 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27727 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27730 * math/test-misc.c (main): Fix copy'n'pastos.
27731 * misc/tst-efgcvt.c (special): Likewise.
27733 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27734 Remove declarations.
27736 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27738 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27739 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27740 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27741 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27743 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27745 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27746 macro to return vdso values correctly in IFUNC implementations.
27747 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27748 Optimization by using IFUNC.
27750 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27751 Richard Henderson <rth@redhat.com>
27752 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27754 * Makefile.in (bench): New target.
27755 * NEWS: Mention the benchmark framework.
27756 * Rules (bench): Likewise.
27757 (binaries-bench): Generate binaries for functions to
27759 * benchtests/Makefile: New makefile for benchmark tests.
27760 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27762 * benchtests/exp-inputs: New input file for EXP function.
27763 * benchtests/pow-inputs: New input file for POW function.
27764 * scripts/bench.pl: New script to generate source files for
27765 benchmark programs.
27767 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27769 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27770 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27771 computations on mantissa. Use macros for rounding and
27773 (denorm): Likewise.
27774 (__dbl_mp): Likewise.
27775 (add_magnitudes): Likewise.
27776 (sub_magnitudes): Likewise.
27779 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27780 powers of two in terms of TWOPOW macro.
27781 (mp_no): Make type of mantissa as MANTISSA_T.
27782 [!RADIXI]: Define RADIXI.
27783 [!TWO52]: Define TWO52.
27784 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27786 * manual/nptl.texi (cindex): Modify threads to pthreads.
27788 2013-03-15 Joseph Myers <joseph@codesourcery.com>
27790 * sysdeps/x86_64/preconfigure: Regenerated.
27792 2013-03-14 Joseph Myers <joseph@codesourcery.com>
27795 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27797 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27798 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27800 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27801 * math/libm-test.inc (j0_test): Do not allow one spurious
27802 underflow exception.
27803 (y1_test): Likewise.
27805 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27807 * manual/Makefile (chapters): Add nptl.
27808 * manual/debug.texi (Debugging Support): Add link to Threads
27810 * manual/nptl.texi: New file.
27812 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27814 2013-03-14 Petr Baudis <pasky@ucw.cz>
27816 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27817 for non-NULL pointer before the memory validity test. Pointed
27818 out by Holger Brunck <holger.brunck@keymile.com>.
27820 2013-03-13 Andreas Schwab <schwab@suse.de>
27822 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27825 2013-03-13 Joseph Myers <joseph@codesourcery.com>
27827 * timezone/zic.c: Update from tzcode 2013b.
27829 2013-03-12 Carlos O'Donell <carlos@redhat.com>
27831 * manual/install.texi (Configuring and compiling):
27832 Mention i686 and i586.
27833 * INSTALL: Regenerate.
27835 2013-03-12 Roland McGrath <roland@hack.frob.com>
27837 * sysdeps/init_array/elf-init.c: New file.
27839 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27840 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27842 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27843 __gmon_start__ as global, but as static with a .preinit_array pointer.
27844 * sysdeps/init_array/gmon-start.c: New file. Use that.
27845 * sysdeps/init_array/crti.S: New file, empty except for comments.
27846 * sysdeps/init_array/crtn.S: Likewise.
27848 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
27850 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27852 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27853 Remove Prefer_SSE_for_memop.
27854 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27855 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27856 HAS_PREFER_SSE_FOR_MEMOP.
27857 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27859 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27860 Remove bzero, memset ifunc support.
27861 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27862 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27863 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27864 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27866 2013-03-11 Andreas Schwab <schwab@suse.de>
27869 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27871 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27872 (GLIBC_2.16): Remove pthread_atfork.
27874 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27876 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27877 (ptestcases.h): Likewise.
27879 2013-03-08 Roland McGrath <roland@hack.frob.com>
27881 * Makeconfig ($(common-objpfx)config.status): Depend on
27882 sysdeps/*/preconfigure{,.in} too.
27884 2013-03-08 Joseph Myers <joseph@codesourcery.com>
27886 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27887 (__free_hook): Use void * instead of __malloc_ptr_t.
27888 (__malloc_hook): Likewise.
27889 (__realloc_hook): Likewise.
27890 (__memalign_hook): Likewise.
27891 (__after_morecore_hook): Likewise.
27892 * malloc/arena.c (save_malloc_hook): Likewise.
27893 (save_free_hook): Likewise.
27894 * malloc/hooks.c (malloc_hook_ini): Likewise.
27895 (realloc_hook_ini): Likewise.
27896 (memalign_hook_ini): Likewise.
27897 * malloc/malloc.c (malloc_hook_ini): Likewise.
27898 (realloc_hook_ini): Likewise.
27899 (memalign_hook_ini): Likewise.
27900 (__free_hook): Likewise.
27901 (__malloc_hook): Likewise.
27902 (__realloc_hook): Likewise.
27903 (__memalign_hook): Likewise.
27904 (__libc_malloc): Likewise.
27905 (__libc_free): Likewise.
27906 (__libc_realloc): Likewise.
27907 (__libc_memalign): Likewise.
27908 (__libc_valloc): Likewise.
27909 (__libc_pvalloc): Likewise.
27910 (__libc_calloc): Likewise.
27911 (__posix_memalign): Likewise.
27912 * malloc/morecore.c (__sbrk): Likewise.
27913 (__default_morecore): Likewise.
27915 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27917 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27918 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27919 __malloc_ptrdiff_t.
27921 * malloc/malloc.h (__malloc_size_t): Remove macro.
27922 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27924 (old_memalign_hook): Likewise.
27925 (old_realloc_hook): Likewise.
27926 (struct hdr): Likewise.
27928 (mallochook): Likewise.
27929 (memalignhook): Likewise.
27930 (reallochook): Likewise.
27931 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27932 (tr_old_realloc_hook): Likewise.
27933 (tr_old_memalign_hook): Likewise.
27934 (tr_mallochook): Likewise.
27935 (tr_reallochook): Likewise.
27936 (tr_memalignhook): Likewise.
27938 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27940 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27941 default_ldbl_pack and using as default implementation.
27942 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27944 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27945 redundant definition.
27946 (ldbl_insert_mantissa): Likewise.
27947 (ldbl_canonicalize): Likewise.
27948 (ldbl_nearbyint): Likewise.
27949 (ldbl_pack): Rename to ldbl_pack_ppc.
27950 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27951 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27952 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27954 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27956 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27957 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27958 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27959 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27960 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27961 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27962 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27963 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27965 2013-03-07 Andreas Jaeger <aj@suse.de>
27967 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27970 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
27972 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27973 Include mpa.h and declare __MPEXP.
27974 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27975 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27976 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27977 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27978 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27979 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27980 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27982 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27983 (__slowpow): Use long double EXPL and LOGL functions to
27985 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27986 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27987 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27988 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27989 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27990 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27993 intermediate variable to calculate exponent.
27995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27999 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28000 [!NO__SQR]: Define __sqr.
28001 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28002 and NO__SQR. Remove all code except __mul and __sqr. Include
28003 sysdeps/ieee754/dbl-64/mpa.c.
28004 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28007 * posix/Makefile (tests): Add tst-pathconf.
28008 * posix/tst-pathconf.c: New test case.
28009 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28011 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28013 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28015 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28017 2013-03-06 Andreas Jaeger <aj@suse.de>
28019 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28020 definition via __MAP_ANONYMOUS.
28022 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28023 it's not part of Linux headers.
28025 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28026 (MAP_HUGE_MASK): Define.
28028 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28030 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28031 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28033 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28034 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28036 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28037 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28039 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28041 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28042 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28043 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28044 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28045 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28046 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28048 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28051 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28052 Handle f2fs and efivarfs.
28054 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28057 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28058 (EFIVARFS_MAGIC): Add.
28059 (F2FS_LINK_MAX): Add.
28061 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28063 * stdio-common/vfprintf.c: Replace __builtin_expect with
28066 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28069 * sysdeps/generic/bp-sym.h: Remove file.
28070 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28071 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28072 <bp-sym.h> and <bp-asm.h>.
28073 (__longjmp): Don't use BP_SYM.
28074 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28076 (memcpy): Don't use BP_SYM.
28077 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28078 <bp-sym.h> and <bp-asm.h>.
28079 (memcpy): Don't use BP_SYM.
28080 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28082 (memcpy): Don't use BP_SYM.
28083 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28085 (memset): Don't use BP_SYM.
28086 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28087 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28088 (__bzero): Don't use BP_SYM.
28089 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28090 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28091 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28092 <bp-sym.h> and <bp-asm.h>.
28093 (memcmp): Don't use BP_SYM. Remove comment about bounded
28095 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28096 <bp-sym.h> and <bp-asm.h>.
28097 (memcpy): Don't use BP_SYM.
28098 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28099 <bp-sym.h> and <bp-asm.h>.
28100 (memset): Don't use BP_SYM.
28101 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28102 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28103 (__bzero): Don't use BP_SYM.
28104 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28105 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28106 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28107 <bp-sym.h> and <bp-asm.h>.
28108 (strncmp): Don't use BP_SYM. Remove comment about bounded
28110 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28111 <bp-sym.h> and <bp-asm.h>.
28112 (memcpy): Don't use BP_SYM.
28113 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28114 <bp-sym.h> and <bp-asm.h>.
28115 (memset): Don't use BP_SYM.
28116 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28117 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28118 (__bzero): Don't use BP_SYM.
28119 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28120 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28121 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28122 <bp-sym.h> and <bp-asm.h>.
28123 (__memchr): Don't use BP_SYM.
28124 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28125 <bp-sym.h> and <bp-asm.h>.
28126 (memcmp): Don't use BP_SYM. Remove comment about bounded
28128 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28129 <bp-sym.h> and <bp-asm.h>.
28130 (memcpy): Don't use BP_SYM.
28131 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28132 <bp-sym.h> and <bp-asm.h>.
28133 (__mempcpy): Don't use BP_SYM.
28134 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28135 <bp-sym.h> and <bp-asm.h>.
28136 (__memrchr): Don't use BP_SYM.
28137 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28138 <bp-sym.h> and <bp-asm.h>.
28139 (memset): Don't use BP_SYM.
28140 (__bzero): Likewise.
28141 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28142 <bp-sym.h> and <bp-asm.h>.
28143 (__rawmemchr): Don't use BP_SYM.
28144 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28145 <bp-sym.h> and <bp-asm.h>.
28146 (__STRCMP): Don't use BP_SYM.
28147 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28148 <bp-sym.h> and <bp-asm.h>.
28149 (strchr): Don't use BP_SYM.
28150 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28151 <bp-sym.h> and <bp-asm.h>.
28152 (__strchrnul): Don't use BP_SYM.
28153 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28154 <bp-sym.h> and <bp-asm.h>.
28155 (strlen): Don't use BP_SYM.
28156 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28157 <bp-sym.h> and <bp-asm.h>.
28158 (strncmp): Don't use BP_SYM. Remove comment about bounded
28160 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28161 <bp-sym.h> and <bp-asm.h>.
28162 (__strnlen): Don't use BP_SYM.
28163 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28164 <bp-sym.h> and <bp-asm.h>.
28165 (__GI__setjmp): Don't use BP_SYM.
28166 (_setjmp): Likewise.
28167 (__sigsetjmp): Likewise.
28168 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28169 (L(start_addresses)): Don't use BP_SYM.
28170 (_start): Likewise.
28171 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28173 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28174 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28175 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28176 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28177 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28179 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28180 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28181 about bounded pointers.
28182 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28183 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28184 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28186 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28187 about bounded pointers. Remove GKM FIXME comments.
28188 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28189 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28191 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28192 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28193 Remove GKM FIXME comments.
28194 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28195 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28196 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28198 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28199 about bounded pointers. Remove GKM FIXME comment.
28200 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28202 (strncmp): Don't use BP_SYM. Remove comment about bounded
28204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28205 <bp-sym.h> and <bp-asm.h>.
28206 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28208 <bp-sym.h> and <bp-asm.h>.
28209 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28212 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28214 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28217 2013-03-05 David S. Miller <davem@davemloft.net>
28219 * po/es.po: Update from translation team.
28221 2013-03-05 Andreas Jaeger <aj@suse.de>
28223 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28224 <bits/mman-linux.h>.
28225 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28227 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28228 <bits/mman-linux.h> to end of file.
28229 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28231 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28232 <bits/mman-linux.h> to end of file.
28233 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28235 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28236 <bits/mman-linux.h> to end of file.
28238 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28239 (MCL_CURRENT, MCL_FUTURE): Define here.
28241 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28244 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28246 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28248 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28250 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28251 fourth parameter needed for rt_sigprocmask syscall.
28252 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28253 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28254 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28255 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28256 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28257 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28259 2013-03-04 Joseph Myers <joseph@codesourcery.com>
28262 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28263 comment about bounded pointers.
28264 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28265 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28267 2013-03-04 Andreas Jaeger <aj@suse.de>
28269 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28270 common definitions.
28272 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28273 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28274 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28275 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28276 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28277 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28279 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28282 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28283 __ieee754_sqrl instead of __sqrl.
28285 2013-03-01 Joseph Myers <joseph@codesourcery.com>
28287 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28288 * sysdeps/powerpc/fpu_control.h: ... here.
28289 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28290 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28291 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28292 * sysdeps/powerpc/bits/mathinline.h: ... here.
28294 2013-03-01 Roland McGrath <roland@hack.frob.com>
28296 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28297 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28298 to just [NEED_DL_SYSINFO_DSO].
28299 * elf/dl-support.c: Likewise.
28300 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28301 * elf/rtld.c (dl_main): Likewise.
28302 * elf/setup-vdso.h (setup_vdso): Likewise.
28303 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28304 * sysdeps/unix/sysv/linux/dl-sysdep.c
28305 (_dl_discover_osversion): Likewise.
28307 2013-03-01 Carlos O'Donell <carlos@redhat.com>
28309 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28310 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28312 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28314 * NEWS: Mention libm performance improvements and non-x86 PI
28317 * csu/libc-start.c (__pthread_initialize_minimal): Change
28318 function arguments.
28319 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28321 2013-02-28 Joseph Myers <joseph@codesourcery.com>
28324 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28325 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28326 <bp-sym.h> and <bp-asm.h>.
28327 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28328 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28330 (memcpy): Don't use BP_SYM.
28331 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28333 (__mpn_add_n): Don't use BP_SYM.
28334 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28335 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28337 (__mpn_addmul_1): Don't use BP_SYM.
28338 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28339 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28341 (_setjmp): Don't use BP_SYM.
28342 (__novmx_setjmp): Likewise.
28343 (__GI__setjmp): Likewise.
28344 (__vmx_setjmp): Likewise.
28345 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28347 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28348 (__bzero): Don't use BP_SYM.
28349 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28350 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28351 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28352 <bp-sym.h> and <bp-asm.h>.
28353 (memcpy): Don't use BP_SYM.
28354 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28355 <bp-sym.h> and <bp-asm.h>.
28356 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28357 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28358 <bp-sym.h> and <bp-asm.h>.
28359 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28360 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28362 (__mpn_lshift): Don't use BP_SYM.
28363 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28364 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28366 (memset): Don't use BP_SYM.
28367 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28368 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28369 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28371 (__mpn_mul_1): Don't use BP_SYM.
28372 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28373 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28374 <bp-sym.h> and <bp-asm.h>.
28375 (memcmp): Don't use BP_SYM.
28376 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28377 <bp-sym.h> and <bp-asm.h>.
28378 (memcpy): Don't use BP_SYM.
28379 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28380 <bp-sym.h> and <bp-asm.h>.
28381 (memset): Don't use BP_SYM.
28382 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28383 <bp-sym.h> and <bp-asm.h>.
28384 (strncmp): Don't use BP_SYM.
28385 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28386 <bp-sym.h> and <bp-asm.h>.
28387 (memcpy): Don't use BP_SYM.
28388 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28389 <bp-sym.h> and <bp-asm.h>.
28390 (memset): Don't use BP_SYM.
28391 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28392 <bp-sym.h> and <bp-asm.h>.
28393 (__memchr): Don't use BP_SYM.
28394 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28395 <bp-sym.h> and <bp-asm.h>.
28396 (memcmp): Don't use BP_SYM.
28397 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28398 <bp-sym.h> and <bp-asm.h>.
28399 (memcpy): Don't use BP_SYM.
28400 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28401 <bp-sym.h> and <bp-asm.h>.
28402 (__mempcpy): Don't use BP_SYM.
28403 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28404 <bp-sym.h> and <bp-asm.h>.
28405 (__memrchr): Don't use BP_SYM.
28406 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28407 <bp-sym.h> and <bp-asm.h>.
28408 (memset): Don't use BP_SYM.
28409 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28410 <bp-sym.h> and <bp-asm.h>.
28411 (__rawmemchr): Don't use BP_SYM.
28412 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28413 <bp-sym.h> and <bp-asm.h>.
28414 (__STRCMP): Don't use BP_SYM.
28415 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28416 <bp-sym.h> and <bp-asm.h>.
28417 (strchr): Don't use BP_SYM.
28418 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28419 <bp-sym.h> and <bp-asm.h>.
28420 (__strchrnul): Don't use BP_SYM.
28421 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28422 <bp-sym.h> and <bp-asm.h>.
28423 (strlen): Don't use BP_SYM.
28424 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28425 <bp-sym.h> and <bp-asm.h>.
28426 (strncmp): Don't use BP_SYM.
28427 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28428 <bp-sym.h> and <bp-asm.h>.
28429 (__strnlen): Don't use BP_SYM.
28430 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28432 (__mpn_rshift): Don't use BP_SYM.
28433 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28434 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28435 <bp-sym.h> and <bp-asm.h>.
28436 (__sigsetjmp): Don't use BP_SYM.
28437 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28438 (L(start_addresses)): Don't use BP_SYM.
28439 (_start): Likewise.
28440 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28442 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28443 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28444 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28445 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28447 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28448 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28449 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28450 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28452 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28454 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28455 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28457 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
28459 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28460 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28461 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28463 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28465 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28467 (strncmp): Don't use BP_SYM,
28468 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28470 (__mpn_sub_n): Don't use BP_SYM.
28471 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28472 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28474 (__mpn_submul_1): Don't use BP_SYM.
28475 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28477 <bp-sym.h> and <bp-asm.h>.
28478 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28480 <bp-sym.h> and <bp-asm.h>.
28481 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28484 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28487 Use ZK to minimize writes to Z.
28488 (sub_magnitudes): Simplify code a bit.
28489 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28490 Use ZK to minimize writes to Z.
28491 (sub_magnitudes): Simplify code a bit.
28493 2013-02-27 Roland McGrath <roland@hack.frob.com>
28495 * csu/gmon-start.c: Add special exception to license text.
28497 2013-02-27 Richard Henderson <rth@redhat.com>
28499 * scripts/config.guess: Update from config.git.
28500 * scripts/config.sub: Likewise.
28502 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28504 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28506 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28508 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28510 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28512 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28514 2013-02-26 Roland McGrath <roland@hack.frob.com>
28516 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28517 [$(build-shared = yes].
28519 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28521 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28522 (__mul): Reduce iterations for calculating mantissa.
28524 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28526 (__mpranred): Likewise.
28529 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28530 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28532 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28534 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28535 Define __attribute__.
28537 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28539 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28541 * posix/regex_internal.h (__attribute): Remove.
28542 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28543 (re_string_context_at): Likewise.
28544 (bitset_not): Use __attribute__ and mark function as possibly
28546 (bitset_merge): Likewise.
28547 (bitset_mask): Likewise.
28548 (re_string_char_size_at): Likewise.
28549 (re_string_wchar_at): Likewise.
28550 (re_string_elem_size_at): Likewise.
28552 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28554 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28558 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28562 (denorm): Likewise.
28563 (__dbl_mp): Likewise.
28564 (add_magnitudes): Likewise.
28565 (sub_magnitudes): Likewise.
28569 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28572 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28575 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28578 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28579 up changes with default code.
28580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28583 2013-02-24 Allan McRae <allan@archlinux.org>
28585 * manual/socket.texi (The Internet Namespace): Order menu items
28586 to match that in the file.
28588 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28589 node listing of the info page menu.
28591 2013-02-21 Joseph Myers <joseph@codesourcery.com>
28594 * sysdeps/i386/bp-asm.h: Remove file.
28595 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28596 (PARMS): Do not use macros from bp-asm.h.
28600 (__mpn_add_n): Do not use BP_SYM
28601 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28603 (PARMS): Do not use macros from bp-asm.h.
28606 (__mpn_addmul_1): Do not use BP_SYM
28607 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28609 (PARMS): Do not use macros from bp-asm.h.
28610 (SIGMSK): Likewise.
28611 (_setjmp): Likewise. Do not use BP_SYM.
28612 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28614 (PARMS): Do not use macros from bp-asm.h.
28615 (SIGMSK): Likewise.
28616 (setjmp): Likewise. Do not use BP_SYM.
28617 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28619 (PARMS): Do not use macros from bp-asm.h.
28620 (__frexp): Do not use BP_SYM.
28622 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28624 (PARMS): Do not use macros from bp-asm.h.
28625 (__frexpf): Do not use BP_SYM.
28626 (frexpf): Likewise.
28627 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28629 (PARMS): Do not use macros from bp-asm.h.
28630 (__frexpl): Do not use BP_SYM.
28631 (frexpl): Likewise.
28632 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28634 (PARMS): Do not use macros from bp-asm.h.
28635 (__remquo): Do not use BP_SYM.
28636 (remquo): Likewise.
28637 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28639 (PARMS): Do not use macros from bp-asm.h.
28640 (__remquof): Do not use BP_SYM.
28641 (remquof): Likewise.
28642 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28644 (PARMS): Do not use macros from bp-asm.h.
28645 (__remquol): Do not use BP_SYM.
28646 (remquol): Likewise.
28647 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28649 (PARMS): Do not use macros from bp-asm.h.
28652 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28653 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28655 (PARMS): Do not use macros from bp-asm.h.
28656 (strlen): Do not use BP_SYM.
28657 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28659 (PARMS): Do not use macros from bp-asm.h.
28663 (__mpn_add_n): Do not use BP_SYM.
28664 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28666 (PARMS): Do not use macros from bp-asm.h.
28669 (__mpn_addmul_1): Do not use BP_SYM.
28670 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28673 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28675 (PARMS): Do not use macros from bp-asm.h.
28678 (__mpn_lshift): Do not use BP_SYM.
28679 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28681 (PARMS): Do not use macros from bp-asm.h.
28685 (memcpy): Likewise. Do not use BP_SYM.
28686 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28687 libc_hidden_def and weak_alias.
28688 (mempcpy): Do not use BP_SYM in weak_alias.
28689 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28691 (PARMS): Do not use macros from bp-asm.h.
28694 [!BZERO_P] (CHR): Likewise.
28695 (memset): Likewise. Do not use BP_SYM.
28696 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28698 (PARMS): Do not use macros from bp-asm.h.
28701 (__mpn_mul_1): Do not use BP_SYM.
28702 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28704 (PARMS): Do not use macros from bp-asm.h.
28707 (__mpn_rshift): Do not use BP_SYM.
28708 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28710 (PARMS): Do not use macros from bp-asm.h.
28713 (strchr): Likewise. Do not use BP_SYM.
28714 (index): Do not use BP_SYM in weak_alias.
28715 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28717 (PARMS): Do not use macros from bp-asm.h.
28720 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28721 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28723 (PARMS): Do not use macros from bp-asm.h.
28724 (strlen): Do not use BP_SYM.
28725 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28727 (PARMS): Do not use macros from bp-asm.h.
28731 (__mpn_sub_n): Do not use BP_SYM.
28732 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28734 (PARMS): Do not use macros from bp-asm.h.
28737 (__mpn_submul_1): Do not use BP_SYM.
28738 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28740 (PARMS): Do not use macros from bp-asm.h.
28744 (__mpn_add_n): Do not use BP_SYM.
28745 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28748 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28750 (PARMS): Do not use macros from bp-asm.h.
28753 (memcmp): Do not use BP_SYM.
28754 (bcmp): Do not use BP_SYM in weak_alias.
28755 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28757 (PARMS): Do not use macros from bp-asm.h.
28761 (memcpy): Likewise. Do not use BP_SYM.
28762 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28764 (PARMS): Do not use macros from bp-asm.h.
28768 (memmove): Likewise. Do not use BP_SYM.
28769 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28771 (PARMS): Do not use macros from bp-asm.h.
28775 (__mempcpy): Likewise. Do not use BP_SYM.
28776 (mempcpy): Do not use BP_SYM in weak_alias.
28777 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28779 (PARMS): Do not use macros from bp-asm.h.
28782 [!BZERO_P] (CHR): Likewise.
28783 (memset): Likewise. Do not use BP_SYM.
28784 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28786 (PARMS): Do not use macros from bp-asm.h.
28788 (strcmp): Do not use BP_SYM.
28789 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28791 (PARMS): Do not use macros from bp-asm.h.
28794 [USE_AS_STRTOK_R] (SAVE): Likewise.
28795 (FUNCTION): Likewise. Do not use BP_SYM.
28796 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28798 (strtok_r): Likewise.
28799 (__GI___strtok_r): Likewise.
28800 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28801 (PARMS): Do not use macros from bp-asm.h.
28804 (__mpn_lshift): Do not use BP_SYM.
28805 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28806 (PARMS): Do not use macros from bp-asm.h.
28809 (__memchr): Do not use BP_SYM.
28810 (memchr): Do not use BP_SYM in weak_alias.
28811 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28812 (PARMS): Do not use macros from bp-asm.h.
28815 (memcmp): Do not use BP_SYM.
28816 (bcmp): Do not use BP_SYM in weak_alias.
28817 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28818 (PARMS): Do not use macros from bp-asm.h.
28821 (__mpn_mul_1): Do not use BP_SYM.
28822 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28824 (PARMS): Do not use macros from bp-asm.h.
28827 (__rawmemchr): Do not use BP_SYM.
28828 (rawmemchr): Do not use BP_SYM in weak_alias.
28829 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28830 (PARMS): Do not use macros from bp-asm.h.
28833 (__mpn_rshift): Do not use BP_SYM.
28834 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28835 (PARMS): Do not use macros from bp-asm.h.
28836 (SIGMSK): Likewise.
28837 (__sigsetjmp): Likewise. Do not use BP_SYM.
28838 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28839 (_start): Do not use BP_SYM.
28840 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28841 (PARMS): Do not use macros from bp-asm.h.
28844 (__stpcpy): Likewise. Do not use BP_SYM.
28845 (stpcpy): Do not use BP_SYM in weak_alias.
28846 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28848 (PARMS): Do not use macros from bp-asm.h.
28852 (__stpncpy): Likewise. Do not use BP_SYM.
28853 (stpncpy): Do not use BP_SYM in weak_alias.
28854 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28855 (PARMS): Do not use macros from bp-asm.h.
28858 (strchr): Likewise. Do not use BP_SYM.
28859 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28861 (PARMS): Do not use macros from bp-asm.h.
28864 (__strchrnul): Likewise. Do not use BP_SYM.
28865 (strchrnul): Do not use BP_SYM in weak_alias.
28866 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28868 (PARMS): Do not use macros from bp-asm.h.
28870 (strcspn): Do not use BP_SYM.
28871 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28873 (PARMS): Do not use macros from bp-asm.h.
28876 (strpbrk): Likewise. Do not use BP_SYM.
28877 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28879 (PARMS): Do not use macros from bp-asm.h.
28882 (strrchr): Likewise. Do not use BP_SYM.
28883 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28884 (PARMS): Do not use macros from bp-asm.h.
28886 (strspn): Do not use BP_SYM.
28887 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28888 (PARMS): Do not use macros from bp-asm.h.
28892 (FUNCTION): Likewise. Do not use BP_SYM.
28893 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28895 (strtok_r): Likewise.
28896 (__GI___strtok_r): Likewise.
28897 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28898 (PARMS): Do not use macros from bp-asm.h.
28902 (__mpn_sub_n): Do not use BP_SYM.
28903 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28905 (PARMS): Do not use macros from bp-asm.h.
28908 (__mpn_submul_1): Do not use BP_SYM.
28909 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28911 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28913 (PARMS): Do not use macros from bp-asm.h.
28918 (__clone): Do not use BP_SYM.
28919 (clone): Do not use BP_SYM in weak_alias.
28920 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28922 (PARMS): Do not use macros from bp-asm.h.
28924 (__mmap64): Do not use BP_SYM.
28925 (mmap64): Do not use BP_SYM in weak_alias.
28926 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28927 <bp-sym.h> and <bp-asm.h>.
28928 (PARMS): Do not use macros from bp-asm.h.
28929 (__posix_fadvise64_l64): Do not use BP_SYM.
28930 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28931 (PARMS): Do not use macros from bp-asm.h.
28933 (semtimedop): Do not use BP_SYM.
28934 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28937 2013-02-21 Allan McRae <allan@archlinux.org>
28939 * manual/message.texi (Charset conversion in gettext):
28940 Move @end statement to beginning of line.
28942 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28944 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28946 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28949 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28950 (denorm): Likewise.
28951 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28954 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28956 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28957 tail-call to the resolved function if pltexit isn't needed.
28959 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28961 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28962 or Y being zero as being unlikely.
28963 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28966 2013-02-20 Carlos O'Donell <carlos@redhat.com>
28968 * manual/nss.texi (System Databases and Name Service Switch):
28969 Remove frobnicate @pxref.
28971 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
28973 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28974 __attribute__ ((unused)) to __attribute__ ((__unused__)).
28976 2013-02-20 Petr Machata <pmachata@redhat.com>
28978 * elf/elf.h (R_ARM_TARGET1): New macro.
28979 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28980 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28981 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28982 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28983 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28984 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28985 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28986 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28987 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28988 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28989 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28990 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28991 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28992 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28993 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28994 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28995 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28996 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28997 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28998 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28999 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29000 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29001 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29002 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29003 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29004 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29005 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29006 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29007 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29008 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29009 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29010 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29011 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29012 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29013 (R_ARM_THM_GOT_BREL12): Likewise.
29014 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29015 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29016 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29017 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29018 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29019 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29020 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29021 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29022 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29024 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29026 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29027 __attribute_used__ to __attribute__ ((unused)).
29029 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29031 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29034 comment formatting.
29035 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29037 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29040 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29042 (ENTER): Remove both macro definitions.
29044 (CHECK_BOUNDS_LOW): Likewise.
29045 (CHECK_BOUNDS_HIGH): Likewise.
29046 (CHECK_BOUNDS_BOTH): Likewise.
29047 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29048 (RETURN_BOUNDED_POINTER): Likewise.
29049 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29050 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29051 (POP_ERRNO_LOCATION_RETURN): Likewise.
29052 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29053 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29054 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29056 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29057 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29058 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29059 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29060 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29061 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29062 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29063 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29064 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29065 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29066 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29067 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29068 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29069 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29071 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29072 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29074 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29075 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29076 * sysdeps/i386/i586/memset.S (memset): Likewise.
29077 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29078 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29079 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29081 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29082 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29083 Change uses of L(2) to L(out).
29084 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29085 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29086 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29087 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29088 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29090 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29091 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29093 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29094 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29095 (RETURN): Do not use macro LEAVE.
29096 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29097 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29098 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29099 * sysdeps/i386/i686/memset.S (memset): Likewise.
29100 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29101 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29102 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29103 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29105 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29106 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29107 L(1_2) and L(1_3) into L(1).
29108 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29109 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29110 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29111 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29112 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29113 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29114 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29115 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29116 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29118 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29119 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29120 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29121 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29122 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29123 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29124 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29125 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29126 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29127 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29128 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29129 * sysdeps/i386/strspn.S (strspn): Likewise.
29130 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29132 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29133 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29134 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29135 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29136 L(1_3) into L(1_1).
29137 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29138 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29139 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29141 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29143 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29145 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29148 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29150 * math/atest-exp.c (exp_mpn): Remove ROUND.
29151 * math/atest-exp2.c (exp_mpn): Likewise.
29152 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29154 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29155 * stdlib/tst-tls-atexit-lib.c: Likewise.
29156 * stdlib/tst-tls-atexit.c: Likewise.
29158 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29160 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29161 and __attribute_alloc_size__.
29163 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29165 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29166 __attribute_alloc_size__.
29167 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29168 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29170 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29172 * include/programs/xmalloc.h: New file.
29173 * catgets/gencat.c: Include it.
29174 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29175 * elf/pldd.c: Likewise.
29176 * iconv/iconv_charmap.c: Likewise.
29177 * iconv/iconvconfig.c: Likewise.
29178 * iconv/strtab.c: Likewise.
29179 * locale/programs/locale.c: Likewise.
29180 * locale/programs/localedef.h: Likewise.
29181 * locale/programs/simple-hash.c: Likewise.
29182 * nscd/nscd.h: Likewise.
29183 * nss/makedb.c: Likewise.
29184 * sysdeps/generic/ldconfig.h: Likewise.
29186 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29188 * Versions.def: Add GLIBC_2.18.
29189 * include/link.h (struct link_map): New member l_tls_dtor_count.
29190 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29191 (__call_tls_dtors): Likewise.
29192 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29193 __cxa_thread_atexit_impl.
29194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29202 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29205 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29208 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29210 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29211 (tests): Add test case tst-tls-atexit.
29212 (modules-names): Add shared library for tst-tls-atexit.
29213 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29214 (GLIBC_PRIVATE): Add __call_tls_dtors.
29215 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29217 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29218 * stdlib/tst-tls-atexit.c: New test case.
29219 * stdlib/tst-tls-atexit-lib.c: New test case.
29221 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29223 * elf/Versions (ld): Add _dl_find_dso_for_object.
29224 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29225 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29226 (dl_open_worker): Use _dl_find_dso_for_object.
29227 * elf/dl-sym.c (do_sym): Likewise.
29228 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29230 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29232 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29233 Syntactic changes only.
29234 (_dl_runtime_profile): Do a tail-call to the resolved function.
29236 2013-02-17 Joseph Myers <joseph@codesourcery.com>
29239 * sysdeps/x86_64/bp-asm.h: Remove file.
29240 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29241 <bp-sym.h> and <bp-asm.h>.
29242 (__clone): Do not use BP_SYM.
29243 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29244 <bp-sym.h> and <bp-asm.h>.
29245 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29246 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29248 (_setjmp): Do not use BP_SYM.
29249 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29251 (setjmp): Do not use BP_SYM.
29252 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29254 (mempcpy): Do not use BP_SYM in weak_alias.
29255 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29257 (strchr): Do not use BP_SYM.
29258 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29260 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29261 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29262 (_start): Do not use BP_SYM.
29263 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29265 (strcat): Do not use BP_SYM.
29266 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29268 (STRCMP): Do not use BP_SYM.
29269 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29271 (STRCPY): Do not use BP_SYM.
29272 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29274 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29276 (FUNCTION): Do not use BP_SYM.
29277 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29279 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29281 2013-02-17 Andreas Jaeger <aj@suse.de>
29283 * time/Versions: Sort entries.
29284 * string/Versions: Likewise.
29285 * resolv/Versions: Likewise.
29286 * posix/Versions: Likewise.
29287 * iconv/Versions: Likewise.
29288 * elf/Versions: Likewise.
29289 * wcsmbs/Versions: Likewise.
29291 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29293 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29294 loop termination condition.
29296 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29297 variable to calculate EZ.
29300 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29301 the lower precision input.
29303 2013-02-15 Joseph Myers <joseph@codesourcery.com>
29306 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29307 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29308 (run-via-rtld-prefix): Do not handle %-bp tests.
29309 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29310 (all-object-suffixes): Remove .ob.
29311 (bppfx): Remove variable.
29312 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29313 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29314 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29315 [$(build-bounded) = yes] (libtype.ob): Likewise.
29316 * Makerules (elide-routines.ob): Remove variable.
29317 (do-tests-clean): Do not handle *-bp.out.
29318 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29319 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29320 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29321 (tests): Do not include $(tests-bp.out).
29322 (xtests): Do not include $(xtests-bp.out).
29323 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29324 [$(build-bounded) = yes] ($(addprefix
29325 $(objpfx),$(binaries-bounded))): Remove rule.
29326 ($(objpfx)%-bp.out): Remove rule.
29327 * config.make.in (build-bounded): Remove variable.
29328 * crypt/Makefile [$(build-bounded) = yes]
29329 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29330 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29331 append to variable.
29332 [$(build-bounded) = yes] (install-lib): Likewise.
29333 [$(build-bounded) = yes] (generated): Likewise.
29334 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29336 * intl/Makefile [$(build-bounded) = yes]
29337 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29338 * math/Makefile [$(build-bounded) = yes]
29339 ($(tests:%=$(objpfx)%-bp): Likewise.
29340 * misc/Makefile [$(build-bounded) = yes]
29341 ($(objpfx)tst-tsearch-bp): Likewise.
29342 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29343 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29345 * string/Makefile (o-objects.ob): Remove variable.
29346 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29347 (CFLAGS-.ob): Remove variable.
29348 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29349 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29350 both definitions of variable.
29351 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29352 (ASFLAGS-.ob): Remove variable.
29354 2013-02-14 Joseph Myers <joseph@codesourcery.com>
29357 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29358 Remove __BOUNDED_POINTERS__ from condition.
29359 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29360 * string/bits/string2.h [!__NO_STRING_INLINES &&
29361 !__BOUNDED_POINTERS__]: Likewise.
29362 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29364 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29365 Remove conditional code.
29366 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29367 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29368 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29372 * csu/libc-start.c: Do not include <bp-sym.h>.
29373 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29374 * elf/dl-open.c: Do not include <bp-sym.h>.
29375 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29376 * math/fegetenv.c: Do not include <bp-sym.h>.
29377 (fegetenv): Do not use BP_SYM in versioned symbols.
29378 * nptl/sysdeps/pthread/bits/libc-lockP.h
29379 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29381 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29382 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29383 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29384 (__pthread_mutex_destroy): Likewise.
29385 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29386 (__pthread_mutex_lock): Likewise.
29387 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29388 (__pthread_mutex_trylock): Likewise.
29389 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29390 (__pthread_mutex_unlock): Likewise.
29391 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29392 (__pthread_mutexattr_init): Likewise.
29393 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29394 (__pthread_mutexattr_destroy): Likewise.
29395 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29396 (__pthread_mutexattr_settype): Likewise.
29397 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29398 (__pthread_rwlock_init): Likewise.
29399 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29400 (__pthread_rwlock_destroy): Likewise.
29401 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29402 (__pthread_rwlock_rdlock): Likewise.
29403 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29404 (__pthread_rwlock_tryrdlock): Likewise.
29405 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29406 (__pthread_rwlock_wrlock): Likewise.
29407 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29408 (__pthread_rwlock_trywrlock): Likewise.
29409 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29410 (__pthread_rwlock_unlock): Likewise.
29411 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29412 (__pthread_key_create): Likewise.
29413 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29414 (__pthread_setspecific): Likewise.
29415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29416 (__pthread_getspecific): Likewise.
29417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29420 (_pthread_cleanup_push_defer): Likewise.
29421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29422 (_pthread_cleanup_pop_restore): Likewise.
29423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29424 (pthread_setcancelstate): Likewise.
29425 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29427 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29428 (memchr): Do not use BP_SYM in weak_alias.
29429 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29430 (fegetenv): Do not use BP_SYM in versioned symbols.
29431 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29432 (fesetenv): Do not use BP_SYM in versioned symbols.
29433 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29434 (feupdateenv): Do not use BP_SYM in versioned symbols.
29435 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29436 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29437 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29438 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29439 (open64): Do not use BP_SYM in weak_alias.
29440 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29441 (fegetenv): Do not use BP_SYM in versioned symbols.
29442 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29443 (fesetenv): Do not use BP_SYM in versioned symbols.
29444 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29445 (feupdateenv): Do not use BP_SYM in versioned symbols.
29446 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29447 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29448 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29449 (feraiseexcept): Do not use BP_SYM in versioned symbols.
29450 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29451 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29452 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29454 (__libc_start_main): Do not use BP_SYM.
29456 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29459 redundant return line.
29461 (denorm): Likewise.
29462 (dbl_mp): Likewise.
29463 (sub_magnitudes): Likewise.
29469 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29471 (denorm): Likewise.
29472 (dbl_mp): Likewise.
29473 (sub_magnitudes): Likewise.
29480 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29482 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29483 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29486 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29487 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29488 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29489 of __mul for squares.
29490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29492 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29494 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29495 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29497 2013-02-13 Joseph Myers <joseph@codesourcery.com>
29500 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29502 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29503 prototype or function definition. Rename ubp_* variables and
29504 parameters. Remove argv definitions conditional on
29505 [__BOUNDED_POINTERS__].
29506 * debug/backtrace.c (__backtrace): Do not use __unbounded.
29507 * elf/dl-runtime.c (_dl_fixup): Likewise.
29508 * include/set-hooks.h (RUN_HOOK): Likewise.
29509 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29511 * string/strcpy.c (strcpy): Do not use __unbounded.
29512 * sysdeps/generic/frame.h (struct layout): Likewise.
29513 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29514 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29515 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29516 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29517 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29518 (__backtrace): Likewise.
29519 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29521 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29522 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29523 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29525 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29526 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29527 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29528 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29529 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29530 Do not use __unbounded.
29531 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29532 Rename __unboundedrlimits parameter to rlimits in prototype.
29533 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29534 Do not use __unbounded.
29535 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29536 not use __ptrvalue.
29537 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29538 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29539 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29540 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29541 __ptrvalue or __unbounded.
29542 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29543 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29545 (__new_msgctl): Do not use __ptrvalue.
29546 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29548 (__libc_msgrcv): Do not use __ptrvalue.
29549 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29550 startup_info): Do not use __unbounded.
29551 (__libc_start_main): Likewise. Rename ubp_* variables and
29552 parameters. Remove argv definitions conditional on
29553 [__BOUNDED_POINTERS__].
29554 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29556 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29558 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29560 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29562 (__new_shmctl): Do not use __ptrvalue.
29563 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29564 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29566 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29567 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29568 (__libc_sigaction): Likewise.
29569 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29570 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29572 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29574 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
29576 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29578 * string/mempcpy.c: Implement by calling memcpy.
29580 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29582 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29584 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29587 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29588 values in the mantissa.
29590 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29591 minimize writes to Z.
29592 (sub_magnitudes): Simplify code a bit.
29594 2013-02-12 Roland McGrath <roland@hack.frob.com>
29596 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29597 from the message. The linker prefixes all warnings with that already.
29599 2013-02-12 Andreas Schwab <schwab@suse.de>
29602 * posix/regexec.c (extend_buffers): Add parameter min_len.
29603 (check_matching): Pass minimum needed length.
29604 (clean_state_log_if_needed): Likewise.
29605 (get_subexp): Likewise.
29606 * posix/Makefile (tests): Add bug-regex34.
29607 (bug-regex34-ENV): Define.
29608 * posix/bug-regex34.c: New file.
29611 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29612 elements compare against the byte sequence of it, not its name.
29613 * posix/Makefile (tests): Add bug-regex35.
29614 (bug-regex35-ENV): Define.
29615 * posix/bug-regex35.c: New file.
29617 2013-02-11 Tom de Vries <tom@codesourcery.com>
29619 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29621 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29622 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29623 (CHECK_EOL): Add undef.
29625 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
29627 * bits/stdlib-bsearch.h: New file.
29628 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29629 * stdlib/stdlib.h: Likewise.
29631 2013-02-11 Roland McGrath <roland@hack.frob.com>
29633 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29634 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29636 * manual/search.texi (Array Search Function): Add missing const in
29638 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29639 declaration to use rlim_t.
29640 (Basic Scheduling Functions): Remove erroneous const from
29641 sched_getparam prototype. Remove erroneous * from
29642 sched_get_priority_max and sched_get_priority_min prototypes.
29643 (Resource Usage): Fix summary @comment on vtimes to refer to
29644 sys/vtimes.h rather than vtimes.h.
29645 Add missing *s in vtimes prototype.
29646 (Limits on Resources): Fix ulimit prototype to return long int.
29647 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29648 prototypes to use long int rather than double.
29649 (BSD Random): Fix initstate and setstate to use char *, not void *.
29650 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29651 prototype to make second argument 'struct aiocb64 *const[]'.
29652 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29653 (Status of AIO Operations): Remove erroneous const in aio_return and
29654 aio_return64 prototypes.
29655 (Synchronizing I/O): Fix sync prototype to return void.
29656 * manual/startup.texi (Suboptions): Remove an erroneous const in
29657 getsubopt prototype.
29658 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29659 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29660 use size_t rather than int.
29661 (Scanning All Users): Likewise for getpwent_r.
29662 (Setting Groups): Add missing const to setgroups prototype.
29663 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29664 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29665 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29666 'const void *' rather than 'const char *'.
29667 (Host Address Functions): Likewise for inet_ntop.
29668 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29669 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29670 ssize_t for return value.
29671 (Sending Data): Likewise for send, sendto, sendmsg.
29672 (Socket Option Functions): Add a missing const in setsockopt prototype.
29673 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29674 use wchar_t for the argument.
29675 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29676 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29678 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29679 double/float/long double for second argument.
29680 Fix return types of significand, significandf, significandl.
29681 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29682 argument in fchmod prototype.
29683 (File Owner): Use uid_t and gid_t in fchown prototype.
29684 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29685 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29686 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29687 use 'const struct dirent **' as argument types to CMP function pointer
29689 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29690 (File Times): Fix summary magic @comment for struct utimbuf and utime
29691 to refer to utime.h, not time.h.
29692 * manual/string.texi (Argz Functions): Add missing const in
29693 argz_extract and argz_next prototypes.
29694 (Finding Tokens in a String): Likewise for basename.
29695 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29696 (Copying and Concatenation): Fix typo in wmemmove prototype.
29697 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29698 (Signal Stack): Remove erroneous const in sigstack prototype.
29699 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29701 (Simple Calendar Time): Likewise for stime.
29702 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29704 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29705 say sys/sysctl.h instead.
29706 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29707 and vsyslog prototypes.
29709 2013-02-11 Tom de Vries <tom@codesourcery.com>
29711 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29714 2013-02-11 Roland McGrath <roland@hack.frob.com>
29716 * misc/sys/mman.h: Fix typo in mremap comment.
29718 2013-02-08 Roland McGrath <roland@hack.frob.com>
29720 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29721 the '\0' terminator.
29723 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29726 * debug/segfault.c: Don't include <bp-checks.h>.
29727 * sysdeps/generic/bp-checks.h: Remove file.
29728 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29729 (__GETDENTS): Don't use CHECK_N.
29730 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29731 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29732 (__getgroups): Don't use CHECK_N.
29733 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29734 (setgroups): Don't use CHECK_N.
29735 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29736 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29737 (__libc_msgrcv): Don't use CHECK_N.
29738 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29739 (__libc_msgsnd): Don't use CHECK_N.
29740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29742 (__libc_pread): Don't use CHECK_N.
29743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29744 include <bp-checks.h>.
29745 (__libc_pread64): Don't use CHECK_N.
29746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29747 include <bp-checks.h>.
29748 (__libc_pwrite): Don't use CHECK_N.
29749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29750 include <bp-checks.h>.
29751 (__libc_pwrite64): Don't use CHECK_N.
29752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29754 (__libc_pread): Don't use CHECK_N.
29755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29756 include <bp-checks.h>.
29757 (__libc_pread64): Don't use CHECK_N.
29758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29759 include <bp-checks.h>.
29760 (__libc_pwrite): Don't use CHECK_N.
29761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29762 include <bp-checks.h>.
29763 (__libc_pwrite64): Don't use CHECK_N.
29764 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29765 (do_pread): Don't use CHECK_N.
29766 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29767 (do_pread64): Don't use CHECK_N.
29768 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29769 (do_pwrite): Don't use CHECK_N.
29770 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29771 (do_pwrite64): Don't use CHECK_N.
29772 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29773 (__libc_readv): Don't use CHECK_N.
29774 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29775 (semop): Don't use CHECK_N.
29776 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29778 (semtimedop): Don't use CHECK_N.
29779 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29780 (__libc_pread): Don't use CHECK_N.
29781 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29783 (__libc_pread64): Don't use CHECK_N.
29784 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29786 (__libc_pwrite): Don't use CHECK_N.
29787 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29789 (__libc_pwrite64): Don't use CHECK_N.
29790 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29792 (__libc_msgrcv): Don't use CHECK_N.
29793 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29794 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29795 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29796 (__libc_writev): Don't use CHECK_N.
29798 2013-02-08 Roland McGrath <roland@hack.frob.com>
29800 * string/strcpy.c: Removed unused variable.
29802 * Makeconfig (+sysdep-includes): Define with := rather than =.
29803 Use an existing include/ subdir of each sysdeps dir before it.
29805 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29807 * nscd/connection.c (register_traced_file): Comment function.
29808 [HAVE_INOTIFY] (union __inev): Define.
29809 [HAVE_INOTIFY] (inotify_check_files): New function.
29810 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29811 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29813 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29815 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29817 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29818 loaded if not already and that a failure is permanent.
29820 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29823 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29824 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29826 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29829 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29830 (CHECK_1_NULL_OK): Likewise.
29831 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29832 (__fxstat): Do not use CHECK_1.
29833 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29835 (___fxstat64): Do not use CHECK_1.
29836 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29838 (__fxstatat): Do not use CHECK_1.
29839 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29841 (__fxstatat64): Do not use CHECK_1.
29842 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29844 (__fxstat): Do not use CHECK_1.
29845 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29847 (__fxstatat): Do not use CHECK_1.
29848 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29850 (__getresgid): Do not use CHECK_1.
29851 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29853 (__getresuid): Do not use CHECK_1.
29854 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29856 (__lxstat): Do not use CHECK_1.
29857 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29859 (__old_msgctl): Do not use CHECK_1.
29860 (__new_msgctl): Likewise.
29861 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29863 (__new_setrlimit): Do not use CHECK_1.
29864 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29866 (__old_shmctl): Do not use CHECK_1.
29867 (__new_shmctl): Likewise.
29868 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29870 (__xstat): Do not use CHECK_1.
29871 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29872 (__lxstat): Do not use CHECK_1.
29873 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29875 (___lxstat64): Do not use CHECK_1.
29876 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29877 (__old_msgctl): Do not use CHECK_1.
29878 (__new_msgctl): Likewise.
29879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29881 (__gettimeofday): Do not use CHECK_1.
29882 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29883 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29884 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29886 (__gettimeofday): Do not use CHECK_1.
29887 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29888 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29889 (__new_shmctl): Do not use CHECK_1.
29890 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29892 (do_sigtimedwait): Do not use CHECK_1.
29893 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29895 (do_sigwaitinfo): Do not use CHECK_1.
29896 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29898 (msgctl): Do not use CHECK_1.
29899 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29901 (shmctl): Do not use CHECK_1.
29902 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29903 (ustat): Do not use CHECK_1.
29904 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29906 (__fxstat): Do not use CHECK_1.
29907 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29909 (__fxstatat): Do not use CHECK_1.
29910 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29912 (__lxstat): Do not use CHECK_1.
29913 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29915 (__xstat): Do not use CHECK_1.
29916 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29917 (__xstat): Do not use CHECK_1.
29918 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29919 (___xstat64): Do not use CHECK_1.
29922 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29924 (CHECK_BOUNDS_HIGH): Likewise.
29925 * string/strcpy.c: Do not include <bp-checks.h>.
29926 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29928 2013-02-07 Roland McGrath <roland@hack.frob.com>
29930 * nscd/nscd-client.h (__nscd_drop_map_ref):
29931 Add __attribute__ ((unused)).
29932 * nis/nss-nisplus.h (niserr2nss): Likewise.
29934 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29935 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29937 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29938 Remove inline keyword.
29939 * include/rounding-mode.h (round_away): Likewise.
29940 * libio/wfileops.c (adjust_wide_data): Likewise.
29941 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29942 (__m128i_strloadu_tolower): Likewise.
29943 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29944 (__m128i_strloadu_tolower): Likewise.
29945 * time/mktime.c (ydhms_diff): Likewise.
29946 * locale/elem-hash.h (elem_hash): Likewise.
29947 * locale/setlocale.c (setdata): Likewise.
29948 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29949 (re_string_wchar_at): Likewise.
29950 (bitset_not, bitset_merge, bitset_mask): Likewise.
29951 [!(__GNUC__ > 3)] (inline): Remove macro.
29952 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29953 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29954 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29955 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29956 * string/memcmp.c (memcmp_bytes): Likewise.
29957 * locale/programs/locarchive.c (compute_hashval): Likewise.
29958 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29959 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29960 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29961 * nss/getent.c (print_rpc, print_protocols): Likewise.
29962 (print_passwd, print_group, print_aliases): Likewise.
29963 * nis/nss-nisplus.h (niserr2nss): Likewise.
29964 * nscd/connections.c (restart_p): Likewise.
29965 Change return type to bool.
29967 2013-02-05 Roland McGrath <roland@hack.frob.com>
29969 * Makeconfig (all-Depend-files): Add existing
29970 $(sorted-subdirs:=/Depend) files.
29971 (all-subdirs): Remove nss.
29972 * sysdeps/unix/inet/Subdirs: Add it here instead.
29973 * hesiod/Depend: New file.
29975 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29976 instead of calling alloca.
29978 * io/lseek.c (__lseek): Rename to __libc_lseek.
29979 Define __lseek as an alias.
29981 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29983 2013-02-04 Carlos O'Donell <carlos@redhat.com>
29985 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29986 else clause and remove check for non-standard endianness.
29988 2013-02-04 David S. Miller <davem@davemloft.net>
29990 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29992 2013-02-04 Joseph Myers <joseph@codesourcery.com>
29995 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29996 (__ubp_memchr): Remove prototype.
29997 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29998 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29999 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30000 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30001 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30003 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30004 (__ubp_memchr): Likewise.
30005 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30006 (__ubp_memchr): Likewise.
30007 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30008 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30009 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30010 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30012 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30013 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30014 (__getcwd): Do not use CHECK_STRING.
30015 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30017 (__real_chown): Do not use CHECK_STRING.
30018 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30020 (fchownat): Do not use CHECK_STRING.
30021 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30023 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30025 (__lchown): Do not use CHECK_STRING.
30026 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30027 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30028 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30029 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30031 include <bp-checks.h>.
30032 (truncate64): Do not use CHECK_STRING.
30033 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30035 (__real_chown): Do not use CHECK_STRING.
30036 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30038 (__lchown): Do not use CHECK_STRING.
30039 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30041 (__chown): Do not use CHECK_STRING.
30042 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30044 (truncate64): Do not use CHECK_STRING.
30045 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30047 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30048 (__xmknod): Do not use CHECK_STRING.
30049 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30051 (__xmknodat): Do not use CHECK_STRING.
30052 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30053 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30055 2013-02-04 Andreas Schwab <schwab@suse.de>
30058 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30059 * include/netdb.h: Likewise for h_errno.
30060 * elf/tst-stackguard1.c: Include <tls.h>.
30062 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30064 * elf/link.h (struct link_map): Extend the l_addr comment.
30065 * include/link.h (struct link_map): Likewise.
30067 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30070 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30071 (BOUNDED_1): Remove macro.
30072 * debug/backtrace.c: Don't include <bp-checks.h>.
30073 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30074 (__backtrace): Likewise.
30075 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30077 (__backtrace): Don't use BOUNDED_1.
30078 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30080 (__backtrace): Don't use BOUNDED_1.
30081 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30082 (__backtrace): Don't use BOUNDED_1.
30083 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30084 (shmat): Don't use BOUNDED_N.
30086 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30089 * sysdeps/generic/bp-start.h: Remove file.
30090 * csu/libc-start.c: Don't include <bp-start.h>.
30091 (LIBC_START_MAIN): Set up __environ directly instead of using
30092 INIT_ARGV_and_ENVIRON.
30093 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30097 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30099 (CHECK_FCNTL): Likewise.
30100 (CHECK_N_PAGES): Likewise.
30103 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30105 (CHECK_SIGSET_NULL_OK): Likewise.
30106 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30108 (sigpending): Don't use CHECK_SIGSET.
30109 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30111 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30112 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30114 (do_sigsuspend): Don't use CHECK_SIGSET.
30115 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30117 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30118 (do_sigwait): Don't use CHECK_SIGSET.
30119 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30121 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30122 include <bp-checks.h>.
30123 (sigpending): Don't use CHECK_SIGSET.
30124 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30125 include <bp-checks.h>.
30126 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30127 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30129 (sigpending): Don't use CHECK_SIGSET.
30130 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30132 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30135 * sysdeps/generic/bp-semctl.h: Remove file.
30136 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30137 <bp-checks.h> and <bp-semctl.h>.
30138 (__old_semctl): Don't use CHECK_SEMCTL.
30139 (__new_semctl): Likewise.
30140 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30142 (__old_semctl): Don't use CHECK_SEMCTL.
30143 (__new_semctl): Likewise.
30144 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30145 <bp-checks.h> and <bp-semctl.h>.
30146 (__old_semctl): Don't use CHECK_SEMCTL.
30147 (__new_semctl): Likewise.
30148 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30149 <bp-checks.h> and <bp-semctl.h>.
30150 (semctl): Don't use CHECK_SEMCTL.
30153 * Makerules (elide-bp-thunks): Remove variable.
30154 (elide-routines.oS): Don't use $(elide-bp-thunks).
30155 (elide-routines.os): Likewise.
30156 (elide-routines.o): Likewise.
30157 (elide-routines.op): Likewise.
30158 (elide-routines.og): Likewise.
30159 (objects): Don't use $(bp-thunks).
30160 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30162 (common-generated): Do not add s-proto-bp.d.
30163 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30166 Do not generate makefile rules for bounded-pointer thunks.
30167 * sysdeps/generic/bp-thunks.h: Remove file.
30168 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30169 * sysdeps/unix/s-proto-bp.S: Likewise.
30172 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30173 parts of result separately when argument is not close to line from
30174 -i to i and one part of argument is small.
30175 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30176 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30177 * math/libm-test.inc (cacos_test): Add more tests.
30178 (casin_test): Likewise.
30179 (casinh_test): Likewise.
30180 * sysdeps/i386/fpu/libm-test-ulps: Update.
30181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30183 2013-01-31 David S. Miller <davem@davemloft.net>
30185 * po/de.po: Update from translation team.
30187 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30189 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30191 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30193 * configure.in (_AC_PROG_CC_C89): New definition.
30194 * configure: Regenerate.
30196 * configure.in (AC_PROG_CPP): New definition.
30197 * configure: Regenerate.
30199 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30201 * debug/tst-backtrace.h: New file.
30202 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30203 (ret): Remove variable.
30205 (FAIL): Remove macro.
30206 (NO_INLINE): Likewise.
30207 (fn1): Use match function instead of strstr.
30208 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30209 (ret): Remove variable.
30211 (FAIL): Remove macro.
30212 (NO_INLINE): Likewise.
30213 (fn): Use match function instead of strstr.
30214 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30215 (ret): Remove variable.
30217 (FAIL): Remove macro.
30218 (NO_INLINE): Likewise.
30219 (handle_signal): Use match function instead of strstr.
30220 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30221 (ret): Remove variable.
30223 (FAIL): Remove macro.
30224 (NO_INLINE): Likewise.
30225 (handle_signal): Use match function instead of strstr.
30227 2013-01-23 Roland McGrath <roland@hack.frob.com>
30229 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30231 2013-01-23 David S. Miller <davem@davemloft.net>
30233 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30234 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30235 argument of CAS if possible.
30236 * sysdeps/sparc/sparc64/bits/atomic.h
30237 (__arch_compare_and_exchange_val_32_acq): Likewise.
30238 (__arch_compare_and_exchange_val_64_acq): Likewise.
30240 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30242 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30243 * sysdeps/posix/ulimit.c: ... this.
30244 Include <limits.h>.
30245 * sysdeps/unix/bsd/ulimit.c: Remove file.
30247 2013-01-23 Adam Conrad <adconrad@0c3.net>
30249 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30250 (LDFLAGS-tst-array5): Likewise.
30252 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30255 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30256 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30257 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30258 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30260 2013-01-21 David S. Miller <davem@davemloft.net>
30262 * sysdeps/sparc/backtrace.c: New file.
30263 * sysdeps/sparc/sparc32/backtrace.h: New file.
30264 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30265 * sysdeps/sparc/sparc64/backtrace.h: New file.
30266 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30267 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30270 2013-01-21 Andreas Schwab <schwab@suse.de>
30273 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30276 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30280 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30282 2013-01-18 Joseph Myers <joseph@codesourcery.com>
30283 Mark Mitchell <mark@codesourcery.com>
30284 Tom de Vries <tom@codesourcery.com>
30285 Paul Pluzhnikov <ppluzhnikov@google.com>
30287 * debug/tst-backtrace2.c: New file.
30288 * debug/tst-backtrace3.c: Likewise.
30289 * debug/tst-backtrace4.c: Likewise.
30290 * debug/tst-backtrace5.c: Likewise.
30291 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30292 (CFLAGS-tst-backtrace3.c): Likewise.
30293 (CFLAGS-tst-backtrace4.c): Likewise.
30294 (CFLAGS-tst-backtrace5.c): Likewise.
30295 (LDFLAGS-tst-backtrace2): Likewise.
30296 (LDFLAGS-tst-backtrace3): Likewise.
30297 (LDFLAGS-tst-backtrace4): Likewise.
30298 (LDFLAGS-tst-backtrace5): Likewise.
30299 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30300 tst-backtrace4 and tst-backtrace5.
30302 2013-01-18 Anton Blanchard <anton@samba.org>
30303 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30305 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30306 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30307 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30308 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30310 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30311 "+r" and remove output regs list as redundant. Add explicit inline
30312 asm to specify register of return val to work around compiler codegen
30313 bug. Remove (int) cast on return value. Add return type parameter to
30314 use in macro so that this macro does not truncate return value for
30316 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30317 pass to INTERNAL_VSYSCALL_NCS.
30318 (INLINE_VSYSCALL): Add 'long int' as return type to
30319 INTERNAL_VSYSCALL_NCS macro invocation.
30320 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30321 INTERNAL_VSYSCALL_NCS macro invocation.
30322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30324 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30327 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30328 Fix application of SIMD FP exception mask.
30330 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30331 mp_no from a power of two.
30332 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30333 __mpexp_twomm1. Use __pow_mp.
30335 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30338 2013-01-17 David S. Miller <davem@davemloft.net>
30340 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30342 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30345 * include/complex.h: Condition contents on [!_COMPLEX_H].
30346 (__kernel_casinhf): New prototype.
30347 (__kernel_casinh): Likewise.
30348 (__kernel_casinhl): Likewise.
30349 * math/Makefile (libm_calls): Add k_casinh.
30350 * math/k_casinh.c: New file.
30351 * math/k_casinhf.c: Likewise.
30352 * math/k_casinhl.c: Likewise.
30353 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30354 finite nonzero arguments.
30355 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30356 finite nonzero arguments.
30357 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30358 finite nonzero arguments.
30359 * math/s_casinh.c: Do not include <float.h>.
30360 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30361 * math/s_casinhf.c: Do not include <float.h>.
30362 (__casinhf): Move code for finite nonzero arguments to
30364 * math/s_casinhl.c: Do not include <float.h>.
30365 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30367 (__casinhl): Move code for finite nonzero arguments to
30369 * math/libm-test.inc (cacos_test): Add more tests.
30370 * sysdeps/i386/fpu/libm-test-ulps: Update.
30371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30373 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
30375 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30376 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30377 [!HAVE_MREMAP]: Remove [defined linux] case.
30378 * malloc/arena.c: Do not include <malloc-sysdep.h>.
30380 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30382 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30384 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
30386 * elf/elf.h (R_386_SIZE32): New relocation.
30387 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30389 (elf_machine_rela): Likewise.
30390 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30391 R_X86_64_SIZE64 and R_X86_64_SIZE32.
30393 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30395 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30396 (FP_FAST_FMA): Do not define.
30397 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30398 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30399 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30400 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30401 !_SOFT_FLOAT]: Likewise.
30402 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30403 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30405 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30406 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30407 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30408 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30409 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30410 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30413 2013-01-16 Andreas Schwab <schwab@suse.de>
30416 * include/stdlib.h (__mktemp): Add declaration.
30417 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30418 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30420 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30422 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30424 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30425 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30426 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30428 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30429 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30431 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30433 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30434 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30435 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30437 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30438 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30440 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30442 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30444 2013-01-15 David S. Miller <davem@davemloft.net>
30446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30447 trunc{,f} to libm-sysdep_routes.
30448 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30451 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30454 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30456 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30457 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30458 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30459 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30460 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30461 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30462 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30463 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30465 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30466 nearbyint{,f} to libm-sysdep_routes.
30467 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30468 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30472 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30474 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30476 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30477 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30478 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30480 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30481 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30483 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30484 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30485 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30487 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30488 libc_feholdexcept and libc_fesetenv.
30490 2013-01-15 Mike Frysinger <vapier@gentoo.org>
30492 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30494 2013-01-14 David S. Miller <davem@davemloft.net>
30496 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30497 (SPARC_ASM_VIS2_IFUNC): Likewise.
30498 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30499 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30500 use of 'siam' instruction.
30501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30503 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30505 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30507 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30508 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30509 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30510 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30511 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30513 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30515 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30517 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30519 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30520 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30521 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30522 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30523 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30525 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30526 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30527 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30529 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30530 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30532 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30534 routines to libm-sysdep_routines.
30535 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30538 fdim/fdimf to libm-sysdep_routines.
30539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30544 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30545 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30547 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30548 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30549 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30550 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30552 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30554 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30555 to optimize copies.
30557 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30558 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30562 local variable MPTWO.
30563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30566 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30568 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30571 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30573 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30575 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30577 * manual/pattern.texi (glob_t): Document gl_flags.
30578 (glob64_t): Likewise.
30580 2013-01-11 David S. Miller <davem@davemloft.net>
30582 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30583 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30584 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
30585 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30586 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30587 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30588 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30589 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30590 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30591 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30592 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30593 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30594 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30596 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30597 sparc V9 rather than using V8 code.
30598 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30599 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30601 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30603 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30606 2013-01-11 Roland McGrath <roland@hack.frob.com>
30608 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30609 not in the main loop.
30610 * configure: Regenerated.
30612 2013-01-11 Joseph Myers <joseph@codesourcery.com>
30614 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30615 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30617 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30618 [!__GLIBC_HAVE_LONG_LONG] case.
30619 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30620 condition to just #else.
30621 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30622 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30623 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30624 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30626 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30627 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30628 #elif condition to just #else.
30629 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30630 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30631 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30632 #elif condition to just #else.
30634 2013-01-11 Steve Ellcey <sellcey@mips.com>
30636 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30637 (EF_MIPS_ARCH_64): Fix value.
30638 (EF_MIPS_ARCH_32R2): New.
30639 (EF_MIPS_ARCH_64R2): New.
30641 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30643 * Makeconfig (+link-pie-before-libc): New.
30644 (+link-pie-after-libc): Likewise.
30645 (+link-pie-tests): Likewise.
30646 (+link-pie): Rewritten.
30647 (link-before-libc): Remove $(config-LDFLAGS).
30648 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30649 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30650 (config-LDFLAGS): Renamed to ...
30651 (rtld-LDFLAGS): This.
30652 (rtld-tests-LDFLAGS): New macro.
30653 (link-libc-rpath-link): Likewise.
30654 (link-libc-tests-rpath-link): Likewise.
30655 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30656 (link-libc): Prepand $(link-libc-rpath-link).
30657 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30658 (test-program-prefix): New macro.
30659 (test-via-rtld-prefix): Likewise.
30660 (test-program-cmd): Likewise.
30661 (host-test-program-cmd): Likewise.
30662 * Makefile ($(common-objpfx)testrun.sh): Replace
30663 $(run-program-prefix) with $(test-program-prefix).
30664 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30666 ($(common-objpfx)shlib.lds): Likewise.
30667 (build-module-helper): Likewise.
30668 ($(common-objpfx)format.lds): Likewise.
30669 * Rules (binaries-pie-tests): New.
30670 (binaries-pie-notests): Likewise.
30671 (binaries-pie): Rewritten.
30672 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30673 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30674 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30675 (make-test-out): Replace $(host-built-program-cmd) with
30676 $(host-test-program-cmd).
30677 * config.make.in (build-hardcoded-path-in-tests): New variable.
30678 * configure.in (--enable-hardcoded-path-in-tests): New configure
30680 (hardcoded_path_in_tests): New AC_SUBST.
30681 * configure: Regenerated.
30682 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30683 $(built-program-cmd) with $(test-program-cmd).
30684 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30685 (test_program_cmd): This.
30686 * elf/Makefile ($(objpfx)order.out): Run test with
30687 $(test-program-prefix).
30688 ($(objpfx)order2.out): Likewise.
30689 ($(objpfx)tst-initorder.out): Likewise.
30690 ($(objpfx)tst-initorder2.out): Likewise.
30691 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30692 $(test-program-cmd).
30693 ($(objpfx)tst-array1-static.out): Likewise.
30694 ($(objpfx)tst-array2.out): Likewise.
30695 ($(objpfx)tst-array3.out): Likewise.
30696 ($(objpfx)tst-array4.out): Likewise.
30697 ($(objpfx)tst-array5.out): Likewise.
30698 ($(objpfx)tst-array5-static.out): Likewise.
30699 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30700 $(test-program-cmd).
30701 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30702 $(run-program-prefix) with $(test-program-prefix).
30703 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30704 (test_program_prefix): This.
30705 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30706 $(run-program-prefix) with $(test-program-prefix).
30707 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30708 (test_program_prefix): This.
30709 * iconvdata/tst-tables.sh: Likewise.
30710 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30711 $(run-program-prefix) with $(test-program-prefix).
30712 ($(objpfx)tst-translit.out): Likewise.
30713 ($(objpfx)tst-gettext2.out): Likewise.
30714 ($(objpfx)tst-gettext4.out): Likewise.
30715 ($(objpfx)tst-gettext6.out): Likewise.
30716 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30717 (test_program_prefix): This.
30718 * intl/tst-gettext2.sh: Likewise.
30719 * intl/tst-gettext4.sh Likewise.
30720 * intl/tst-gettext6.sh: Likewise.
30721 * intl/tst-translit.sh: Likewise.
30722 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30723 with $(test-program-cmd).
30724 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30725 $(run-program-prefix) with $(test-program-prefix).
30726 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30727 (test_program_prefix): This.
30728 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30729 $(run-program-prefix) with $(test-program-prefix).
30730 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30731 (test_program_prefix): This.
30732 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30733 * posix/Makefile ($(objpfx)globtest.out): Replace
30734 $(run-via-rtld-prefix) and $(test-wrapper) with
30735 $(test-program-prefix) and $(test-via-rtld-prefix).
30736 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30737 $(test-program-prefix).
30738 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30739 $(host-test-program-cmd).
30740 (tst-spawn-ARGS): Likewise.
30741 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30742 $(test-program-prefix).
30743 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30744 (test_via_rtld_prefix): This.
30745 (test_wrapper): Renamed to ...
30746 (test_program_prefix): This.
30747 (run_program_prefix): Replaced by test_program_prefix.
30748 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30749 (test_program_prefix): This.
30750 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30751 with $(host-test-program-cmd).
30752 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30753 $(run-program-prefix) with $(test-program-prefix).
30754 ($(objpfx)tst-printf.out): Likewise.
30755 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30756 $(test-program-cmd).
30757 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30758 (test_program_prefix): This.
30759 * stdio-common/tst-unbputc.sh: Likewise.
30760 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30761 $(run-program-prefix) with $(test-program-prefix).
30762 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30763 (test_program_prefix): This.
30764 * string/Makefile ($(objpfx)tst-svc.out): Replace
30765 $(built-program-cmd) with $(test-program-cmd).
30767 2013-01-11 Andreas Jaeger <aj@suse.de>
30770 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30771 value. Sync with Linux 3.7.
30773 2013-01-10 David S. Miller <davem@davemloft.net>
30775 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30776 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30777 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30779 2013-01-10 Roland McGrath <roland@hack.frob.com>
30781 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30783 * configure: Regenerated.
30785 2013-01-10 David S. Miller <davem@davemloft.net>
30787 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30788 sparc V9 rather than using V8 code.
30789 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30790 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30792 2013-01-10 Roland McGrath <roland@hack.frob.com>
30794 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30795 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30796 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30797 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30798 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30799 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30800 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30801 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30802 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30803 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30804 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30805 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30806 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30807 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30808 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30809 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30810 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30811 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30812 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30813 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30814 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30815 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30816 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30817 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30818 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30819 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30820 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30822 2013-01-10 David S. Miller <davem@davemloft.net>
30824 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30826 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30828 * posix/Makefile (tests-static): New variable.
30829 (tests): Add $(tests-static).
30830 (tst-exec-static-ARGS): New variable.
30831 (tst-spawn-static-ARGS): Likewise.
30832 * posix/tst-exec-static.c: New file.
30833 * posix/tst-spawn-static.c: Likewise.
30834 * posix/tst-exec.c: Support run directly.
30835 * posix/tst-spawn.c: Likewise.
30837 2013-01-10 Joseph Myers <joseph@codesourcery.com>
30839 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30841 * math/bits/mathcalls.h (llrint): Likewise.
30842 (llround): Likewise.
30843 * stdlib/stdlib.h (struct drand48_data): Likewise.
30844 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30845 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30846 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30848 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30850 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30851 (elf_greg_t): Likewise.
30852 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30853 (__jmp_buf): Likewise.
30854 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30856 (llrint): Likewise, for all definitions.
30857 (llrintl): Likewise.
30859 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30860 Remove [__GNUC__] condition.
30861 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30862 condition to just [__USE_ISOC99].
30863 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30865 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30868 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30869 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30871 (_POSIX_V6_ILP32_OFF32): Likewise.
30872 (_XBS5_ILP32_OFF32): Likewise.
30873 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30874 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30876 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30878 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30880 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30881 doubles __mpexp_twomm1. Adjust usage.
30882 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30885 2013-01-10 Andreas Schwab <schwab@suse.de>
30888 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30889 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30891 2013-01-09 David S. Miller <davem@davemloft.net>
30894 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30895 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30896 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30897 (TCP_FASTOPEN): Define.
30898 (tcp_repair_opt): New structure.
30899 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30901 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30902 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30903 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30904 (tcp_cookie_transactions): New structure.
30906 2013-01-09 Anton Blanchard <anton@samba.org>
30908 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30909 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30910 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30911 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30913 2013-01-09 Joseph Myers <joseph@codesourcery.com>
30915 * include/features.h (__USE_ANSI): Remove.
30917 2013-01-09 Roland McGrath <roland@hack.frob.com>
30919 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30921 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30923 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30925 * sysdeps/s390/fpu/libm-test-ulps: Update.
30927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30929 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30933 (denorm): Likewise.
30934 (__mp_dbl): Likewise.
30935 (__dbl_mp): Likewise.
30936 (add_magnitudes): Likewise.
30937 (sub_magnitudes): Likewise.
30943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30947 (denorm): Likewise.
30948 (__mp_dbl): Likewise.
30949 (__dbl_mp): Likewise.
30950 (add_magnitudes): Likewise.
30951 (sub_magnitudes): Likewise.
30957 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30961 (denorm): Likewise.
30962 (__mp_dbl): Likewise.
30963 (__dbl_mp): Likewise.
30964 (add_magnitudes): Likewise.
30965 (sub_magnitudes): Likewise.
30972 2013-01-08 Joseph Myers <joseph@codesourcery.com>
30974 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30975 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30976 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30977 2 && __USE_EXTERN_INLINES]: Likewise.
30979 2013-01-08 Andreas Jaeger <aj@suse.de>
30982 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30984 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30985 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30987 2013-01-07 Anton Blanchard <anton@samba.org>
30989 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30990 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30991 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30992 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30993 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30994 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30995 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30996 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30998 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30999 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31000 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31001 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31002 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31003 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31004 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31005 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31006 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31007 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31008 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31009 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31010 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31011 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31012 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31013 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31014 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31015 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31016 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31017 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31018 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31019 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31021 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31022 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31023 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31024 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31025 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31026 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31027 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31028 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31029 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31030 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31031 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31033 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31035 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31036 (__MALLOC_PMT): Likewise.
31037 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31038 [__GNUC__], only on [_LIBC].
31039 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31040 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31041 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31042 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31043 forward declaration.
31044 (realloc_hook_ini): Likewise.
31045 (memalign_hook_ini): Likewise.
31046 (__libc_memalign): Do not use __MALLOC_PMT in variable
31048 (__libc_valloc): Likewise.
31049 (__libc_pvalloc): Likewise.
31050 (__libc_calloc): Likewise.
31051 (__posix_memalign): Likewise.
31054 * math/s_casinh.c: Include <float.h>.
31055 (__casinh): Do not do computation with squaring and square root
31056 for large arguments.
31057 * math/s_casinhf.c: Include <float.h>.
31058 (__casinhf): Do not do computation with squaring and square root
31059 for large arguments.
31060 * math/s_casinhl.c: Include <float.h>.
31061 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31062 (__casinhl): Do not do computation with squaring and square root
31063 for large arguments.
31064 * math/libm-test.inc (casin_test): Add more tests.
31065 (casinh_test): Likewise.
31066 * sysdeps/i386/fpu/libm-test-ulps: Update.
31067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31069 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31071 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31072 (__x86_64_raw_data_cache_size): Likewise.
31073 (__x86_64_data_cache_size_half): Likewise.
31074 (__x86_64_raw_data_cache_size_half): Likewise.
31075 (__x86_64_shared_cache_size): Likewise.
31076 (__x86_64_raw_shared_cache_size): Likewise.
31077 (__x86_64_shared_cache_size_half): Likewise.
31078 (__x86_64_raw_shared_cache_size_half): Likewise.
31079 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31081 (__x86_data_cache_size): This.
31082 (__x86_64_raw_data_cache_size): Renamed to ...
31083 (__x86_raw_data_cache_size): This.
31084 (__x86_64_data_cache_size_half): Renamed to ...
31085 (__x86_data_cache_size_half): This.
31086 (__x86_64_raw_data_cache_size_half): Renamed to ...
31087 (__x86_raw_data_cache_size_half): This.
31088 (__x86_64_shared_cache_size): Renamed to ...
31089 (__x86_shared_cache_size): This.
31090 (__x86_64_raw_shared_cache_size): Renamed to ...
31091 (__x86_raw_shared_cache_size): This.
31092 (__x86_64_shared_cache_size_half): Renamed to ...
31093 (__x86_shared_cache_size_half): This.
31094 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31095 (__x86_raw_shared_cache_size_half): This.
31096 * sysdeps/x86_64/memcpy.S: Updated.
31097 * sysdeps/x86_64/memset.S: Likewise.
31098 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31099 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31100 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31102 2013-01-04 David S. Miller <davem@davemloft.net>
31104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31106 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31108 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31109 1 to avoid redefinition warning.
31110 (__USE_GNU): Don't define.
31111 (init_signaling_nan): Protoize.
31113 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31115 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31117 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31118 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31119 (__cpymn): Likewise.
31120 (norm): Remove commented code.
31121 (denorm): Likewise.
31122 (__mp_dbl): Likewise.
31124 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31125 (__cpymn): Likewise.
31126 (norm): Remove commented code.
31127 (denorm): Likewise.
31128 (__mp_dbl): Likewise.
31131 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31132 mp_no value for 1.0 and 2.0.
31133 (norm): Use RADIXI instead of radixi.d.
31134 (denorm): Likewise.
31135 (__mul): Use 0.0 instead of zero.d.
31136 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31137 mp_no value for 1.0 and 2.0.
31138 (norm): Use RADIXI instead of radixi.d.
31139 (denorm): Likewise.
31140 (__mul): Use 0.0 instead of zero.d.
31142 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31145 * math/s_casinh.c (__casinh): Reduce finite argument to first
31146 quadrant then set signs of results at the end.
31147 * math/s_casinhf.c (__casinhf): Likewise.
31148 * math/s_casinhl.c (__casinhl): Likewise.
31149 * math/libm-test.inc (casin_test): Add more tests.
31150 (casinh_test): Likewise.
31151 * sysdeps/i386/fpu/libm-test-ulps: Update.
31152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31154 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31156 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31158 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31160 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31162 (denorm): Likewise.
31163 (__mp_dbl): Likewise.
31166 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31167 and adjust the header comment.
31169 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31170 variable name from declaration.
31172 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31174 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31175 Initialize COMMON_CPUID_INDEX_7 element.
31176 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31177 (CPUID_RTM): Likewise.
31178 (HAS_RTM): Likewise.
31179 (COMMON_CPUID_INDEX_7): New enum.
31181 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31184 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31185 size is zero, record memory as freed.
31187 2013-01-03 Andreas Jaeger <aj@suse.de>
31189 * po/ia.po: Add new Interlingua translation.
31191 2012-01-03 Allan McRae <allan@archlinux.org>
31193 * locale/programs/localedef.c: Fix description of '--posix' flag.
31195 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31197 * NEWS: Update dates in second copyright notice.
31198 * README: Update copyright dates in example.
31199 * manual/libc.texinfo: Update copyright dates.
31200 * scripts/test-installation.pl: Update copyright date in --version
31203 * hurd/ctty-input.c: Fix copyright notice formatting.
31204 * hurd/ctty-output.c: Likewise.
31205 * hurd/dtable.c: Likewise.
31206 * hurd/hurd-raise.c: Likewise.
31207 * hurd/hurdprio.c: Likewise.
31208 * hurd/msgportdemux.c: Likewise.
31209 * misc/sys/file.h: Likewise.
31210 * misc/sys/ioctl.h: Likewise.
31211 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31212 * sysdeps/mach/hurd/chdir.c: Likewise.
31213 * sysdeps/mach/hurd/fchdir.c: Likewise.
31214 * sysdeps/mach/hurd/rename.c: Likewise.
31215 * sysdeps/mach/hurd/rmdir.c: Likewise.
31216 * sysdeps/mach/hurd/seekdir.c: Likewise.
31217 * sysdeps/mach/hurd/setsid.c: Likewise.
31218 * sysdeps/posix/wait3.c: Likewise.
31220 * All files with FSF copyright notices: Update copyright dates
31221 using scripts/update-copyrights.
31222 * intl/plural.c: Regenerated.
31223 * locale/programs/charmap-kw.h: Likewise.
31224 * locale/programs/locfile-kw.h: Likewise.
31226 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31228 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31231 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31232 calculation loop and add branch prediction.
31234 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31235 check access beyond bounds of m1np.
31237 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31239 (__inv): Remove local variable MPTWO to use the global
31241 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31242 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31244 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31245 MP3HALFS static const.
31247 2013-01-01 David S. Miller <davem@davemloft.net>
31249 * po/ca.po: Update from translation team.
31251 2013-01-01 Joseph Myers <joseph@codesourcery.com>
31253 * scripts/update-copyrights: New file.
31254 * Makeconfig: Reformat copyright notice.
31255 * ctype/ctype.h: Likewise.
31256 * debug/swprintf_chk.c: Likewise.
31257 * elf/dl-cache.c: Likewise.
31258 * elf/dl-debug.c: Likewise.
31259 * elf/dl-object.c: Likewise.
31260 * grp/initgroups.c: Likewise.
31261 * hurd/Makefile: Likewise.
31262 * hurd/hurd/signal.h: Likewise.
31263 * hurd/hurdfault.c: Likewise.
31264 * hurd/hurdioctl.c: Likewise.
31265 * hurd/hurdlookup.c: Likewise.
31266 * hurd/intr-msg.c: Likewise.
31267 * iconv/gconv_open.c: Likewise.
31268 * libio/swprintf.c: Likewise.
31269 * locale/lc-ctype.c: Likewise.
31270 * locale/nl_langinfo.c: Likewise.
31271 * mach/Machrules: Likewise.
31272 * mach/Makefile: Likewise.
31273 * malloc/obstack.h: Likewise.
31274 * manual/Makefile: Likewise.
31275 * manual/tsort.awk: Likewise.
31276 * misc/bits/stab.def: Likewise.
31277 * nis/nis_print_group_entry.c: Likewise.
31278 * nis/nis_table.c: Likewise.
31279 * nis/nss_compat/compat-pwd.c: Likewise.
31280 * nis/nss_compat/compat-spwd.c: Likewise.
31281 * po/Makefile: Likewise.
31282 * posix/fnmatch.c: Likewise.
31283 * posix/regex.h: Likewise.
31284 * resolv/Makefile: Likewise.
31285 * resolv/nss_dns/dns-network.c: Likewise.
31286 * resolv/res_hconf.c: Likewise.
31287 * scripts/gen-sorted.awk: Likewise.
31288 * soft-fp/soft-fp.h: Likewise.
31289 * stdio-common/printf.h: Likewise.
31290 * stdlib/monetary.h: Likewise.
31291 * stdlib/random.c: Likewise.
31292 * stdlib/random_r.c: Likewise.
31293 * sysdeps/generic/Makefile: Likewise.
31294 * sysdeps/gnu/Makefile: Likewise.
31295 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31296 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31297 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31298 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31299 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31300 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31301 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31302 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31303 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31304 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31305 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31306 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31307 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31308 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31309 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31310 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31311 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31312 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31313 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31314 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31315 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31316 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31317 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31318 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31319 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31320 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31321 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31322 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31323 * sysdeps/mach/hurd/errnos.awk: Likewise.
31324 * sysdeps/mach/hurd/fork.c: Likewise.
31325 * sysdeps/mach/hurd/getcwd.c: Likewise.
31326 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31327 * sysdeps/mach/hurd/mmap.c: Likewise.
31328 * sysdeps/mach/hurd/utimes.c: Likewise.
31329 * sysdeps/mach/hurd/xmknod.c: Likewise.
31330 * sysdeps/posix/profil.c: Likewise.
31331 * sysdeps/posix/readdir_r.c: Likewise.
31332 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31333 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31334 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31335 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31336 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31337 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31338 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31339 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31340 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31341 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31342 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31343 * sysdeps/pthread/lio_listio.c: Likewise.
31344 * sysdeps/sparc/dl-procinfo.h: Likewise.
31345 * sysdeps/unix/i386/sysdep.S: Likewise.
31346 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31347 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31348 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31349 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31351 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31352 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31353 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31354 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31355 * sysdeps/wordsize-32/divdi3.c: Likewise.
31356 * time/sys/time.h: Likewise.
31357 * wcsmbs/Makefile: Likewise.
31359 2013-01-01 David S. Miller <davem@davemloft.net>
31361 * po/fr.po: Update from translation team.
31363 * catgets/gencat.c: Update copyright year.
31364 * csu/version.c: Likewise.
31365 * debug/catchsegv.sh: Likewise.
31366 * debug/pcprofiledump.c: Likewise.
31367 * debug/xtrace.sh: Likewise.
31368 * elf/ldconfig.c: Likewise.
31369 * elf/ldd.bash.in: Likewise.
31370 * elf/pldd.c: Likewise.
31371 * elf/sotruss.ksh: Likewise.
31372 * elf/sprof.c: Likewise.
31373 * iconv/iconv_prog.c: Likewise.
31374 * iconv/iconvconfig.c: Likewise.
31375 * locale/programs/locale.c: Likewise.
31376 * locale/programs/localedef.c: Likewise.
31377 * login/programs/pt_chown.c: Likewise.
31378 * malloc/memusage.sh: Likewise.
31379 * malloc/memusagestat.c: Likewise.
31380 * malloc/mtrace.pl: Likewise.
31381 * nscd/nscd.c: Likewise.
31382 * nss/getent.c: Likewise.
31383 * nss/makedb.c: Likewise.
31384 * posix/getconf.c: Likewise.
31386 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31388 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31391 2012-12-30 Mike Frysinger <vapier@gentoo.org>
31393 * math/bits/mathcalls.h (modf): Use __nonnull.
31395 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31397 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31398 (split): Use macro CN instead of the bare value.
31399 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31401 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31402 instead of the bare value.
31403 (power1): Likewise.
31405 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31407 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31409 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31411 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31413 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31414 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31415 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31416 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31418 2012-12-28 Andreas Jaeger <aj@suse.de>
31420 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
31421 values are from Linux 3.7.
31423 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31424 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
31426 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31428 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31431 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31433 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31434 variables with preprocessor constants.
31435 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31436 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31437 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31439 2012-12-27 Bruno Haible <bruno@clisp.org>
31442 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31445 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31447 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31448 and use variable directly.
31449 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31451 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31453 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31454 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31456 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31457 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31458 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31459 include directive. Remove local variable MPONE.
31460 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31461 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31462 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31464 2012-12-25 David S. Miller <davem@davemloft.net>
31466 * version.h (RELEASE): Set to "development".
31467 (VERSION): Set to "2.17.90".
31468 * NEWS: Add 2.18 section.
31470 2012-12-21 David S. Miller <davem@davemloft.net>
31472 * po/hr.po: Update from translation team.
31474 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31476 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31478 2012-12-19 Steve Ellcey <sellcey@mips.com>
31480 * NEWS: Mention new memcpy for MIPS.
31482 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31484 * manual/contrib.texi (Contributors): Spelling correction.
31486 2012-12-15 David S. Miller <davem@davemloft.net>
31488 * po/ru.po: Update from translation team.
31490 2012-12-13 David S. Miller <davem@davemloft.net>
31492 * NEWS: Mention IFUNC testsuite enhancements.
31494 * po/pl.po: Update from translation team.
31495 * po/bg.po: Likewise.
31497 * manual/contrib.texi (Contributors): Update entries for Hongjiu
31498 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
31500 2012-12-11 David S. Miller <davem@davemloft.net>
31502 * po/sv.po: Update from translation team.
31504 * po/vi.po: Update from translation team.
31506 * po/cs.po: Update from translation team.
31508 * po/de.po: Update from translation team.
31509 * po/eo.po: Likewise.
31510 * po/nl.po: Likewise.
31512 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31515 * manual/argp.texi (Argp Helper Functions): Move node to follow
31516 Argp Parsing State.
31519 * manual/conf.texi (Limits on File System Capacity): Mention if
31520 terminating null is included in the max size.
31522 2012-12-10 Andreas Jaeger <aj@suse.de>
31524 * po/cs.po: Update from translation team.
31526 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31528 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31529 void pointer and cast to uintptr_t.
31530 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31532 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31533 * sysdeps/s390/s390-64/memset.S: Likewise.
31535 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
31538 * menual/message.texi (Message Translation): Fix typos.
31539 (Helper programs for gettext): Likewise.
31541 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31544 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31547 2012-12-07 David S. Miller <davem@davemloft.net>
31549 * po/libc.pot: Update.
31551 2012-12-07 Richard Henderson <rth@redhat.com>
31554 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31555 normal/normal case to before the switch.
31556 (_FP_DIV): Likewise.
31558 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31559 Mike Frysinger <vapier@gentoo.org>
31561 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31562 check for __NR_fadvise64_64.
31564 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31566 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31567 0, not just to plain "0" as a statement.
31568 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31571 2012-12-06 Joseph Myers <joseph@codesourcery.com>
31573 * NEWS: Use sourceware.org in Bugzilla URL.
31575 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31578 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31580 * stdio-common/tst-put-error.c (do_test): Add newline to the
31581 padded test to ensure flush.
31583 2012-12-05 Jeff Law <law@redhat.com>
31585 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31587 2012-12-05 Joseph Myers <joseph@codesourcery.com>
31589 * README: Don't refer to ports add-on as distributed separately.
31590 Mention AArch64 in list of systems supported in the ports add-on.
31592 * LICENSES: Add more non-FSF copyright and license notices.
31594 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31597 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31599 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31600 10000 as width of padded output.
31602 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31604 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31606 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31607 variable LX with __attribute__ ((unused)).
31608 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31610 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31611 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31612 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31613 with __attribute__ ((unused)).
31615 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
31617 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31619 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31621 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31622 (CFLAGS-nldbl-acos.c): New variable.
31623 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31624 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31625 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31626 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31627 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31628 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31629 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31630 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31631 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31632 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31633 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31634 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31635 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31636 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31637 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31638 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31639 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31640 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31641 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31642 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31643 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31644 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31645 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31646 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31647 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31648 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31649 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31650 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31651 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31652 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31653 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31654 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31655 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31656 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31657 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31658 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31659 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31660 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31661 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31662 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31663 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31664 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31665 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31666 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31667 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31668 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31669 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31670 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31671 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31672 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31673 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31674 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31675 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31676 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31677 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31678 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31679 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31680 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31681 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31682 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31683 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31684 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31685 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31686 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31687 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31688 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31689 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31690 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31691 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31692 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31693 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31694 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31695 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31696 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31697 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31698 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31699 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31700 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31701 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31702 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31703 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31704 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31705 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31706 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31707 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31708 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31709 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31710 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31711 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31712 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31713 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31714 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31715 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31716 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31717 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31718 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31719 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31722 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31725 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31726 whole low double instead of just low 47 bits when splitting values
31729 2012-12-03 Allan McRae <allan@archlinux.org>
31731 * manual/stdio.texi (Predefined Printf Handlers): Remove
31732 @hsep and @vsep usage.
31734 2012-12-03 Mike Frysinger <vapier@gentoo.org>
31736 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31737 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31739 2012-12-03 Jeff Law <law@redhat.com>
31741 * time/sys/time.h (settimeofday): Do not mark TV argument
31744 2012-12-01 Mike Frysinger <vapier@gentoo.org>
31746 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31747 when currently writing and seek to current position when not.
31748 * libio/Makefile (tests): Remove bug-fclose1.
31749 * libio/bug-fclose1.c: Delete.
31751 2012-12-01 Joseph Myers <joseph@codesourcery.com>
31753 * manual/arith.texi (feenableexcept): Fix typo.
31754 (fedisableexcept): Likewise.
31756 2012-11-30 Roland McGrath <roland@hack.frob.com>
31758 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31759 second, differently-typed declaration, rather than a cast.
31761 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31763 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31764 * include/rpc/svc.h: ... here.
31766 2012-11-30 Aurelien Jarno <aurel32@debian.org>
31769 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31770 depending n and resplen2 to catch cases where answer
31773 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31775 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31776 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31778 2012-11-29 Mike Frysinger <vapier@gentoo.org>
31780 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31782 2012-11-29 Roland McGrath <roland@hack.frob.com>
31784 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31786 2012-11-28 Jeff Law <law@redhat.com>
31789 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31790 dataset_temporary. Track alloca usage into alloca_used.
31791 If dataset is large allocate and release it via malloc/free.
31793 2012-06-04 Florian Weimer <fweimer@redhat.com>
31796 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31798 2012-11-28 David S. Miller <davem@davemloft.net>
31800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31802 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31805 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31806 of pi/2 rounded to nearest to 64 bits.
31807 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31808 nearest to 64 bits.
31809 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31812 2012-11-28 Jeff Law <law@redhat.com>
31813 Martin Osvald <mosvald@redhat.com>
31816 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31817 * sunrpc/svc.c: Include time.h.
31818 (__svc_accept_failed): New function.
31819 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31820 any reason other than EINTR, call __svc_accept_failed.
31821 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31822 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31824 2012-11-28 Andreas Schwab <schwab@suse.de>
31826 * scripts/abilist.awk: Also handle indirect functions in .opd
31829 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31832 * sysdeps/x86/fpu/powl_helper.c: New file.
31833 * sysdeps/x86/fpu/Makefile: Likewise.
31834 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31836 (__ieee754_powl): Use __powl_helper for finite arguments except
31837 integer exponents below 8.
31838 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31840 (__ieee754_powl): Use __powl_helper for finite arguments except
31841 integer exponents below 8.
31842 * math/libm-test.inc (pow_test): Add more tests and enable some
31843 previously disabled tests.
31844 * sysdeps/i386/fpu/libm-test-ulps: Update.
31845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31847 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31848 Carlos O'Donell <carlos_odonell@mentor.com>
31850 * nss/makedb.c (is_prime): Assert that input is odd and greater
31851 than 4. Note that fact in a comment too.
31852 (next_prime): Add 4 to input.
31854 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31857 * libio/Makefile (tests): Add test case tst-fwrite-error.
31858 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31859 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31860 * libio/tst-fwrite-error.c: New test case.
31862 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31864 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31865 before casting to void *.
31866 * include/libc-internal.h (__pointer_type): New macro.
31867 (__integer_if_pointer_type_sub): Likewise.
31868 (__integer_if_pointer_type): Likewise.
31869 (cast_to_integer): Likewise.
31870 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31871 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31872 before casting to atomic64_t.
31873 (atomic_exchange_acq): Likewise.
31874 (__arch_exchange_and_add_body): Likewise.
31875 (__arch_add_body): Likewise.
31876 (atomic_add_negative): Likewise.
31877 (atomic_add_zero): Likewise.
31879 2012-11-26 Joseph Myers <joseph@codesourcery.com>
31881 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31882 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31883 (add_fdes): Likewise.
31884 (linear_search_fdes): Likewise.
31885 (binary_search_unencoded_fdes): Likewise.
31887 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31889 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31891 2012-11-24 Adam Conrad <adconrad@0c3.net>
31893 * configure.in: Autodetect C++ header directories.
31894 * configure: Regenerated.
31896 2012-11-23 Mike Frysinger <vapier@gentoo.org>
31898 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31900 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31902 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31904 2012-11-22 Joseph Myers <joseph@codesourcery.com>
31906 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31907 LDBL_MANT_DIG == 106]: Disable some tests.
31908 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31910 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31914 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31915 input for small inputs. Return +/- pi/2 for large inputs.
31916 * math/libm-test.inc (atan_test): Add more tests.
31918 * sysdeps/generic/unwind-dw2-fde-glibc.c
31919 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31920 __attribute__ ((unused)).
31923 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31924 x * y if x and y are nonzero and z is zero.
31927 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31928 nonzero exponents with absolute value below 0x1p-117 to +/-
31932 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31933 up arguments below 2**-450, not just those below 2**-500.
31934 * math/libm-test.inc (hypot_test): Add another test.
31937 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31938 Return a+b for ratio over 2**120, not 2**60.
31939 * math/libm-test.inc (hypot_test): Add another test.
31941 * math/libm-test.inc (clog_test): Use
31942 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31943 (clog10_test): Likewise.
31946 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31948 2012-11-22 Andreas Schwab <schwab@suse.de>
31950 * sysdeps/i386/fpu/libm-test-ulps: Update.
31952 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31954 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31955 printf output with newline.
31957 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31960 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31961 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31962 -z nodlopen, -z initfirst and -z execstack support.
31963 * configure: Regenerated.
31965 * elf/elf.h (DF_1_NODIRECT): New macro.
31966 (DF_1_IGNMULDEF): Likewise.
31967 (DF_1_NOKSYMS): Likewise.
31968 (DF_1_NOHDR): Likewise.
31969 (DF_1_EDITED): Likewise.
31970 (DF_1_NORELOC): Likewise.
31971 (DF_1_SYMINTPOSE): Likewise.
31972 (DF_1_GLOBAUDIT): Likewise.
31973 (DF_1_SINGLETON): Likewise.
31974 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31975 DT_1_SUPPORTED_MASK bits.
31976 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31978 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
31980 * sysdeps/unix/make-syscalls.sh: Document prefixes.
31982 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
31984 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31987 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31988 (sendmmsg): Move declarations...
31989 * socket/sys/socket.h: ... here.
31990 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31991 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31993 * socket/recvmmsg.c: ... this new file.
31994 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31995 (sendmmsg): Rename to __sendmmsg, create weak alias and make
31996 definition of __sendmmsg hidden.
31997 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31998 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31999 Move ENOSYS stub into and include it from...
32000 * socket/sendmmsg.c: ... this new file.
32001 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32002 (sysdep_routines): Move recvmmsg and sendmmsg...
32003 * socket/Makefile (routines): ... here.
32004 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32005 (GLIBC_PRIVATE): Add __sendmmsg.
32006 * include/sys/socket.h (__sendmmsg): Add declarations.
32007 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32010 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32012 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32013 variable I1 with __attribute__ ((unused)).
32014 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32016 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32018 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32019 DUMMY variables with __attribute__ ((unused)).
32021 * bits/byteswap.h: Include <bits/types.h>.
32022 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32024 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32026 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32027 string_t. Do not manually set errno.
32028 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32029 length with __strnlen. Make sure to both set errno and return it on
32032 2012-11-19 David S. Miller <davem@davemloft.net>
32034 With help from Joseph Myers.
32035 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32036 very large arguments properly.
32037 * math/libm-test.inc (atan_test): New tests.
32038 (atan2_test): New tests.
32039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32040 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32042 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32045 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32048 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32049 [POSIX] (EADDRNOTAVAIL): Likewise.
32050 [POSIX] (EAFNOSUPPORT): Likewise.
32051 [POSIX] (EALREADY): Likewise.
32052 [POSIX] (ECONNABORTED): Likewise.
32053 [POSIX] (ECONNREFUSED): Likewise.
32054 [POSIX] (ECONNRESET): Likewise.
32055 [POSIX] (EDESTADDRREQ): Likewise.
32056 [POSIX] (EDQUOT): Likewise.
32057 [POSIX] (EHOSTUNREACH): Likewise.
32058 [POSIX] (EIDRM): Likewise.
32059 [POSIX] (EISCONN): Likewise.
32060 [POSIX] (ELOOP): Likewise.
32061 [POSIX] (EMULTIHOP): Likewise.
32062 [POSIX] (ENETDOWN): Likewise.
32063 [POSIX] (ENETUNREACH): Likewise.
32064 [POSIX] (ENOBUFS): Likewise.
32065 [POSIX] (ENODATA): Likewise.
32066 [POSIX] (ENOLINK): Likewise.
32067 [POSIX] (ENOMSG): Likewise.
32068 [POSIX] (ENOPROTOOPT): Likewise.
32069 [POSIX] (ENOSR): Likewise.
32070 [POSIX] (ENOSTR): Likewise.
32071 [POSIX] (ENOTCONN): Likewise.
32072 [POSIX] (ENOTSOCK): Likewise.
32073 [POSIX] (EOPNOTSUPP): Likewise.
32074 [POSIX] (EOVERFLOW): Likewise.
32075 [POSIX] (EPROTO): Likewise.
32076 [POSIX] (EPROTONOSUPPORT): Likewise.
32077 [POSIX] (EPROTOTYPE): Likewise.
32078 [POSIX] (ESTALE): Likewise.
32079 [POSIX] (ETIME): Likewise.
32080 [POSIX] (ETXTBSY): Likewise.
32081 [POSIX] (EWOULDBLOCK): Likewise.
32082 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32083 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32084 [POSIX] (SEEK_CUR): Likewise.
32085 [POSIX] (SEEK_END): Likewise.
32086 [POSIX || UNIX98] (mode_t): Do not require.
32087 [POSIX] (off_t): Likewise.
32088 [POSIX] (pid_t): Likewise.
32089 [POSIX] (sys/stat.h): Do not allow header.
32090 [POSIX] (unistd.h): Likewise.
32091 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32092 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32093 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32094 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32096 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32097 sigevent): Specify elements.
32098 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32100 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32101 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32103 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32104 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32105 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32106 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32107 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32108 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32109 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32110 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32111 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32112 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32113 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32114 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32115 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32116 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32118 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32120 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32122 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32124 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32125 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32126 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32127 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32128 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32129 Specify lower bound on value.
32130 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32131 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32132 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32133 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32134 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32135 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32136 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32137 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32139 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32141 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32142 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32143 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32144 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32145 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32146 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32147 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32148 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32149 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32150 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32151 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32152 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32153 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32154 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32155 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32156 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32158 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32160 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32161 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32162 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32163 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32164 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32165 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32167 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32168 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32169 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32170 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32171 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32172 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32173 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32175 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32176 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32177 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32178 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32179 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32180 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32181 specify as optional.
32182 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32183 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32184 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32185 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32186 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32187 [XPG3] (NL_LANGMAX): Likewise.
32188 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32189 [POSIX || XPG3] (NL_NMAX): Likewise.
32190 [POSIX || XPG3] (NL_SETMAX): Likewise.
32191 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32192 [XPG3] (NZERO): Likewise.
32193 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32194 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32195 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32196 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32197 (REG_ERANGE): Expect.
32198 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32200 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32201 Use (void) in prototype.
32202 [POSIX] (*_t): Allow.
32203 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32204 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32205 (WRDE_BADVAL): Expect.
32207 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32209 [XPG3 || XPG4] (O_RSYNC): Likewise.
32210 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32212 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32213 [XPG3 || XPG4] (sigqueue): Likewise.
32214 [XPG3 || XPG4] (sigtimedwait): Likewise.
32215 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32216 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32217 [XPG3 || XPG4] (vsnprintf): Likewise.
32218 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32220 [XPG3 || XPG4] (blksize_t): Likewise.
32221 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32223 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32224 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32225 [XPG3 || XPG4] (struct itimerspec): Likewise.
32226 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32227 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32228 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32229 [XPG3 || XPG4] (clockid_t): Likewise.
32230 [XPG3 || XPG4] (timer_t): Likewise.
32231 [XPG3 || XPG4] (clock_getres): Likewise.
32232 [XPG3 || XPG4] (clock_gettime): Likewise.
32233 [XPG3 || XPG4] (clock_settime): Likewise.
32234 [XPG3 || XPG4] (nanosleep): Likewise.
32235 [XPG3 || XPG4] (timer_create): Likewise.
32236 [XPG3 || XPG4] (timer_delete): Likewise.
32237 [XPG3 || XPG4] (timer_gettime): Likewise.
32238 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32239 [XPG3 || XPG4] (timer_settime): Likewise.
32240 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32241 [XPG3 || XPG4] (getlogin_r): Likewise.
32242 [XPG3 || XPG4] (pread): Likewise.
32243 [XPG3 || XPG4] (pthread_atfork): Likewise.
32244 [XPG3 || XPG4] (pwrite): Likewise.
32247 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32250 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32252 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32253 finalizing MALLSTREAM.
32255 * sysdeps/mach/hurd/syncfs.c: New file.
32257 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32260 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32261 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32262 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32263 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32264 (_nss_dns_gethostbyname4_r): Likewise.
32265 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32266 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32268 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32271 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32273 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32275 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32276 * elf/cache.c (print_entry): Print ",AArch64" for
32279 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32280 * elf/cache.c (print_entry): Print ",hard-float" for
32283 2012-11-18 David S. Miller <davem@davemloft.net>
32285 With help from Joseph Myers.
32286 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32288 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32290 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32291 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32293 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32294 * math/libm-test.inc (y0_test): New tests.
32295 (y1_test): New tests.
32296 * sysdeps/i386/fpu/libm-test-ulps: Update.
32297 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32298 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32300 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32302 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32304 * configure: Regenerated.
32306 2012-11-17 David S. Miller <davem@davemloft.net>
32309 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32310 nonzero exponents with absolute value below 0x1p-128 to +/-
32313 2012-11-17 Joseph Myers <joseph@codesourcery.com>
32315 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32317 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32319 * posix/getconf-speclist.c: New file.
32320 * posix/posix-envs.def: Likewise.
32321 * posix/confstr.c (START_ENV_GROUP): New macro.
32322 (END_ENV_GROUP): Likewise.
32323 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32324 (KNOWN_PRESENT_ENV_STRING): Likewise.
32325 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32326 (UNKNOWN_ENVIRONMENT): Likewise.
32327 (confstr): Include posix-envs.def instead of handling
32328 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32329 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32330 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32331 (END_ENV_GROUP): Likewise.
32332 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32333 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32334 (UNKNOWN_ENVIRONMENT): Likewise.
32335 (__sysconf): Include posix-envs.def instead of handling associated
32336 cases directly here.
32337 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32338 preprocessing getconf-speclist.c rather than running getconf or
32339 generating empty file.
32341 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32343 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32345 2012-11-16 Andrej Lajovic <natrij@gmail.com>
32348 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32350 2012-11-16 David S. Miller <davem@davemloft.net>
32352 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32353 smaller than LDBL_EPSILON/2.0L, just return xm1.
32355 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32357 * elf/tst-array1.c (init): Set constructor priority to 1000.
32358 (fini): Set destructor priority to 1000.
32359 * elf/tst-array2dep.c: Likewise.
32361 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32364 * libio/fileops.c (_IO_new_file_write): Correctly return error.
32365 (_IO_new_file_xsputn): Also return EOF if none of the input
32366 data was written when overflow failed.
32367 * libio/iopadn.c (_IO_padn): Likewise.
32368 * libio/iowpadn.c (_IO_wpadn): Likewise.
32369 * stdio-common/tst-put-error.c: Add copyright notice.
32370 (do_test): Add case for printing padded string.
32371 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32372 _IO_padn returned error.
32373 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32374 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32377 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32379 * libio/libioP.h: Add comment note that the references to C++
32380 bits are now obsolete.
32382 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32384 * math/libm-test.inc (check_complex): Use asprintf.
32386 2012-11-14 Joseph Myers <joseph@codesourcery.com>
32388 * debug/pcprofiledump.c (print_version): Update copyright year.
32389 * malloc/memusagestat.c (print_version): Likewise.
32391 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
32394 * elf/Makefile (tests): Add tst-audit8.
32395 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32396 ($(objpfx)tst-audit8.out): New target.
32397 (tst-audit8-ENV): New variable.
32398 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32399 audit if l_reloc_result is NULL.
32400 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32401 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32402 * elf/tst-audit8.c: New file.
32404 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32406 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32407 * misc/Makefile (CFLAGS-select.c): Define.
32408 * posix/Makefile (CFLAGS-pause.c): Define.
32410 2012-11-13 David S. Miller <davem@davemloft.net>
32412 * crypt/Makefile: Move test targets after toplevel Rules
32413 inclusion. Grab any necessary sysdep routines when linking.
32414 * crypt/md5.c (md5_process_block): Remove define, we will always
32415 name it __md5_process_block.
32416 (md5_finish_ctx): Update md5_process_block call.
32417 (md5_stream): Likewise.
32418 (md5_process_bytes): Likewise.
32419 (md5_process_block): Rename to __md5_process_block and move to ...
32420 * crypt/md5-block.c: ... here.
32421 * crypt/sha256.c (sha256_process_block): Move to ...
32422 * crypt/sha256-block.c: ... here.
32423 * crypt/sha512.c (sha512_process_block): Move to ...
32424 * crypt/sha512-block.c: ... here.
32425 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32427 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32428 * sysdeps/sparc/sparc64/multiarch/Makefile
32429 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32431 (localedef-aux): Add md5 crypto assembler when in locale subdir.
32432 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32434 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32435 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32436 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32437 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32438 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32439 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32440 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32441 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32442 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32444 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32445 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32447 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32449 2012-11-13 Joseph Myers <joseph@codesourcery.com>
32451 * timezone/tzselect.ksh: Update from tzcode git revision
32452 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32453 * timezone/zdump.c: Likewise.
32454 * timezone/zic.c: Likewise.
32455 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32456 in TZVERSION setting, not $(PKGVERSION).
32457 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
32458 REPORT_BUGS_TO settings.
32461 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32464 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32466 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32467 detection to immediately after _FP_ROUND().
32468 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32471 2012-11-11 David S. Miller <davem@davemloft.net>
32473 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32475 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32476 __close rather than their public counterparts.
32478 2012-11-10 Joseph Myers <joseph@codesourcery.com>
32480 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32482 [UNIX98] (sem_timedwait): Do not expect.
32483 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32484 [XPG4 || UNIX98] (sockatmark): Do not expect.
32485 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32486 (clock_getcpuclockid): Do not expect.
32487 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32488 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32490 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32491 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32492 [UNIX98] (vwscanf): Likewise.
32493 [UNIX98] (vswscanf): Likewise.
32495 2012-11-09 Joseph Myers <joseph@codesourcery.com>
32497 * timezone/version.h: Remove file.
32498 * timezone/README: Do not refer to version.h.
32499 * timezone/Makefile ($(objpfx)zic.o): New dependency on
32500 $(objpfx)version.h.
32501 ($(objpfx)zdump.o): Likewise.
32502 ($(objpfx)version.h): New target.
32504 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32506 * timezone/README: Don't mention modification to tzselect.ksh.
32507 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32508 work on unmodified tzselect.ksh. Substitute version numbers in
32511 * Makefile (format-me): Remove.
32512 (INSTALL): Adjust indentation. Use commands directly instead of
32513 using $(format-me).
32515 * aclocal.m4 (ACX_PKGVERSION): New macro.
32516 (ACX_BUGURL): Likewise.
32517 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32518 (PKGVERSION): New AC_DEFINE_UNQUOTED.
32519 (REPORT_BUGS_TO): Likewise.
32520 * configure: Regenerated.
32521 * config.h.in (PKGVERSION): New macro.
32522 (REPORT_BUGS_TO): Likewise.
32523 * config.make.in (PKGVERSION): New variable.
32524 (PKGVERSION_TEXI): Likewise.
32525 (REPORT_BUGS_TO): Likewise.
32526 (REPORT_BUGS_TEXI): Likewise.
32527 * Makefile (format-me): Use -I$(common-objpfx)manual.
32528 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32529 ($(common-objpfx)manual/%): New target.
32530 (manual/%): Remove target.
32531 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32532 (print_version): Use PKGVERSION.
32533 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32534 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32535 and REPORT_BUGS_TO.
32536 ($(objpfx)xtrace): Likewise.
32537 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32538 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32539 (print_version): Use PKGVERSION.
32540 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32541 (do_version): Use PKGVERSION.
32542 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32544 (common-ldd-rewrite): Likewise.
32545 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32546 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32547 (print_version): Use PKGVERSION.
32548 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32549 * elf/pldd.c (argp_program_bug_address): Remove variable.
32550 (more_help): New function.
32551 (argp): Use more_help.
32552 (print_version): Use PKGVERSION.
32553 * elf/sln.c (main): Use PKGVERSION.
32554 (usage): Use REPORT_BUGS_TO.
32555 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32556 (top level): Use PKGVERSION.
32557 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32558 (print_version): Use PKGVERSION.
32559 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32560 (print_version): Use PKGVERSION.
32561 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32562 (print_version): Use PKGVERSION.
32563 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32564 (print_version): Use PKGVERSION.
32565 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32566 (print_version): Use PKGVERSION.
32567 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32568 (print_version): Use PKGVERSION.
32569 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32571 ($(objpfx)memusage): Likewise.
32572 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32573 (do_version): Use PKGVERSION.
32574 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32575 (print_version): Use PKGVERSION.
32576 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32577 ($PKGVERSION): New variable.
32578 ($REPORT_BUGS_TO): Likewise.
32579 (usage): Use $REPORT_BUGS_TO.
32580 (top level): Use $PKGVERSION.
32581 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32582 ($(objpfx)pkgvers.texi): New rule.
32583 ($(objpfx)stamp-pkgvers): Likewise.
32584 * manual/install.texi: Include pkgvers.texi.
32585 (--with-pkgversion): Document new configure option.
32586 (--with-bugurl): Likewise.
32587 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32588 than necessarily for this particular distribution. Use
32589 REPORT_BUGS_TO for where to report bugs.
32590 * INSTALL: Regenerated.
32591 * manual/libc.texinfo: Include pkgvers.texi.
32592 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32593 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32594 (print_version): Use PKGVERSION.
32595 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32596 (print_version): Use PKGVERSION.
32597 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32598 (print_version): Use PKGVERSION.
32599 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32600 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32602 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32603 (print_version): Use PKGVERSION.
32604 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32605 (print_version): Use PKGVERSION.
32606 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32609 * timezone/checktab.awk: Update from tzcode 2012i.
32610 * timezone/ialloc.c: Likewise.
32611 * timezone/private.h: Likewise.
32612 * timezone/scheck.c: Likewise.
32613 * timezone/tzfile.h: Likewise.
32614 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32615 (TZVERSION): Hardcode tzcode version number.
32616 * timezone/zdump.c: Update from tzcode 2012i.
32617 * timezone/zic.c: Likewise.
32618 * timezone/version.h: New file.
32619 * timezone/README: Describe version.h. Update upstream location.
32622 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32623 (mktemp): Enable declaration.
32624 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32625 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32626 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32627 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32629 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32631 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32633 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32635 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32637 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32641 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32642 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32643 for copies of such integer values.
32644 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32645 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32647 2012-11-09 Andreas Jaeger <aj@suse.de>
32649 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32650 definitions and declarations that are provided by
32651 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32653 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32655 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32656 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32657 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32660 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32662 * elf/elf.h: Update comment before AArch64 relocations.
32664 2012-11-07 David S. Miller <davem@davemloft.net>
32666 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32667 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32668 (__start_context): Declare.
32669 (__makecontext_ret): Delete.
32670 (__makecontext): Hook up __start_context instead of
32672 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32673 (sysdep_routines): Add __start_context when in stdlib.
32675 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32677 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32678 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32679 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32681 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32682 (READELF): New variable. Use it instead of hardcoded "readelf".
32684 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32686 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32687 * sysdeps/x86/Makefile: Here.
32688 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32689 * sysdeps/x86/tst-xmmymm.sh: This.
32691 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32693 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32695 [UNIX98] (pthread_barrier_t): Do not expect.
32696 [UNIX98] (pthread_barrierattr_t): Likewise.
32697 [UNIX98] (pthread_spinlock_t): Likewise.
32698 [UNIX98] (pthread_barrier_destroy): Likewise.
32699 [UNIX98] (pthread_barrier_init): Likewise.
32700 [UNIX98] (pthread_barrier_wait): Likewise.
32701 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32702 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32703 [UNIX98] (pthread_barrierattr_init): Likewise.
32704 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32705 [UNIX98] (pthread_getcpuclockid): Likewise.
32706 [UNIX98] (pthread_mutex_timedlock): Likewise.
32707 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32708 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32709 [UNIX98] (pthread_sigmask): Likewise.
32710 [UNIX98] (pthread_spin_destroy): Likewise.
32711 [UNIX98] (pthread_spin_init): Likewise.
32712 [UNIX98] (pthread_spin_lock): Likewise.
32713 [UNIX98] (pthread_spin_trylock): Likewise.
32714 [UNIX98] (pthread_spin_unlock): Likewise.
32715 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32717 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32718 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32719 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32720 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32721 [XPG3 || XPG4] (pthread_key_t): Likewise.
32722 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32723 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32724 [XPG3 || XPG4] (pthread_once_t): Likewise.
32725 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32726 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32727 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32728 [XPG3 || XPG4] (pthread_t): Likewise.
32730 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32732 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32734 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32735 Change function return type to int.
32737 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32738 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32739 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32740 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32741 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32742 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32743 [!POSIX] (posix_madvise): Likewise.
32744 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32746 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32747 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32748 (mode_t): Likewise.
32749 (posix_mem_offset): Likewise.
32750 (posix_typed_mem_get_info): Likewise.
32751 (posix_typed_mem_open): Likewise.
32753 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32754 Change condition to [XOPEN2K8].
32756 * conform/conformtest.pl: Preprocess allow-header data with -x c
32757 instead of from stdin.
32758 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32759 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32760 [C99-based standards] (cerfc): Likewise.
32761 [C99-based standards] (cexp2): Likewise.
32762 [C99-based standards] (cexpm1): Likewise.
32763 [C99-based standards] (clog10): Likewise.
32764 [C99-based standards] (clog1p): Likewise.
32765 [C99-based standards] (clog2): Likewise.
32766 [C99-based standards] (clgamma): Likewise.
32767 [C99-based standards] (ctgamma): Likewise.
32768 [C99-based standards] (cerff): Likewise.
32769 [C99-based standards] (cerfcf): Likewise.
32770 [C99-based standards] (cexp2f): Likewise.
32771 [C99-based standards] (cexpm1f): Likewise.
32772 [C99-based standards] (clog10f): Likewise.
32773 [C99-based standards] (clog1pf): Likewise.
32774 [C99-based standards] (clog2f): Likewise.
32775 [C99-based standards] (clgammaf): Likewise.
32776 [C99-based standards] (ctgammaf): Likewise.
32777 [C99-based standards] (cerfl): Likewise.
32778 [C99-based standards] (cerfcl): Likewise.
32779 [C99-based standards] (cexp2l): Likewise.
32780 [C99-based standards] (cexpm1l): Likewise.
32781 [C99-based standards] (clog10l): Likewise.
32782 [C99-based standards] (clog1pl): Likewise.
32783 [C99-based standards] (clog2l): Likewise.
32784 [C99-based standards] (clgammal): Likewise.
32785 [C99-based standards] (ctgammal): Likewise.
32786 * conform/data/inttypes.h-data [C99-based standards]: Include
32787 stdint.h-data. Remove all expectations for stdint.h contents.
32788 [C99-based standards] (PRI*): Do not allow.
32789 [C99-based standards] (SCN*): Likewise.
32790 [C99-based standards] (*_t): Likewise.
32791 [C99-based-standards] (PRId8): Expect macro.
32792 [C99-based-standards] (PRIi8): Likewise.
32793 [C99-based-standards] (PRIo8): Likewise.
32794 [C99-based-standards] (PRIu8): Likewise.
32795 [C99-based-standards] (PRIx8): Likewise.
32796 [C99-based-standards] (PRIX8): Likewise.
32797 [C99-based-standards] (SCNd8): Likewise.
32798 [C99-based-standards] (SCNi8): Likewise.
32799 [C99-based-standards] (SCNo8): Likewise.
32800 [C99-based-standards] (SCNu8): Likewise.
32801 [C99-based-standards] (SCNx8): Likewise.
32802 [C99-based-standards] (PRIdLEAST8): Likewise.
32803 [C99-based-standards] (PRIiLEAST8): Likewise.
32804 [C99-based-standards] (PRIoLEAST8): Likewise.
32805 [C99-based-standards] (PRIuLEAST8): Likewise.
32806 [C99-based-standards] (PRIxLEAST8): Likewise.
32807 [C99-based-standards] (PRIXLEAST8): Likewise.
32808 [C99-based-standards] (SCNdLEAST8): Likewise.
32809 [C99-based-standards] (SCNiLEAST8): Likewise.
32810 [C99-based-standards] (SCNoLEAST8): Likewise.
32811 [C99-based-standards] (SCNuLEAST8): Likewise.
32812 [C99-based-standards] (SCNxLEAST8): Likewise.
32813 [C99-based-standards] (PRIdFAST8): Likewise.
32814 [C99-based-standards] (PRIiFAST8): Likewise.
32815 [C99-based-standards] (PRIoFAST8): Likewise.
32816 [C99-based-standards] (PRIuFAST8): Likewise.
32817 [C99-based-standards] (PRIxFAST8): Likewise.
32818 [C99-based-standards] (PRIXFAST8): Likewise.
32819 [C99-based-standards] (SCNdFAST8): Likewise.
32820 [C99-based-standards] (SCNiFAST8): Likewise.
32821 [C99-based-standards] (SCNoFAST8): Likewise.
32822 [C99-based-standards] (SCNuFAST8): Likewise.
32823 [C99-based-standards] (SCNxFAST8): Likewise.
32824 [C99-based-standards] (PRId16): Likewise.
32825 [C99-based-standards] (PRIi16): Likewise.
32826 [C99-based-standards] (PRIo16): Likewise.
32827 [C99-based-standards] (PRIu16): Likewise.
32828 [C99-based-standards] (PRIx16): Likewise.
32829 [C99-based-standards] (PRIX16): Likewise.
32830 [C99-based-standards] (SCNd16): Likewise.
32831 [C99-based-standards] (SCNi16): Likewise.
32832 [C99-based-standards] (SCNo16): Likewise.
32833 [C99-based-standards] (SCNu16): Likewise.
32834 [C99-based-standards] (SCNx16): Likewise.
32835 [C99-based-standards] (PRIdLEAST16): Likewise.
32836 [C99-based-standards] (PRIiLEAST16): Likewise.
32837 [C99-based-standards] (PRIoLEAST16): Likewise.
32838 [C99-based-standards] (PRIuLEAST16): Likewise.
32839 [C99-based-standards] (PRIxLEAST16): Likewise.
32840 [C99-based-standards] (PRIXLEAST16): Likewise.
32841 [C99-based-standards] (SCNdLEAST16): Likewise.
32842 [C99-based-standards] (SCNiLEAST16): Likewise.
32843 [C99-based-standards] (SCNoLEAST16): Likewise.
32844 [C99-based-standards] (SCNuLEAST16): Likewise.
32845 [C99-based-standards] (SCNxLEAST16): Likewise.
32846 [C99-based-standards] (PRIdFAST16): Likewise.
32847 [C99-based-standards] (PRIiFAST16): Likewise.
32848 [C99-based-standards] (PRIoFAST16): Likewise.
32849 [C99-based-standards] (PRIuFAST16): Likewise.
32850 [C99-based-standards] (PRIxFAST16): Likewise.
32851 [C99-based-standards] (PRIXFAST16): Likewise.
32852 [C99-based-standards] (SCNdFAST16): Likewise.
32853 [C99-based-standards] (SCNiFAST16): Likewise.
32854 [C99-based-standards] (SCNoFAST16): Likewise.
32855 [C99-based-standards] (SCNuFAST16): Likewise.
32856 [C99-based-standards] (SCNxFAST16): Likewise.
32857 [C99-based-standards] (PRId32): Likewise.
32858 [C99-based-standards] (PRIi32): Likewise.
32859 [C99-based-standards] (PRIo32): Likewise.
32860 [C99-based-standards] (PRIu32): Likewise.
32861 [C99-based-standards] (PRIx32): Likewise.
32862 [C99-based-standards] (PRIX32): Likewise.
32863 [C99-based-standards] (SCNd32): Likewise.
32864 [C99-based-standards] (SCNi32): Likewise.
32865 [C99-based-standards] (SCNo32): Likewise.
32866 [C99-based-standards] (SCNu32): Likewise.
32867 [C99-based-standards] (SCNx32): Likewise.
32868 [C99-based-standards] (PRIdLEAST32): Likewise.
32869 [C99-based-standards] (PRIiLEAST32): Likewise.
32870 [C99-based-standards] (PRIoLEAST32): Likewise.
32871 [C99-based-standards] (PRIuLEAST32): Likewise.
32872 [C99-based-standards] (PRIxLEAST32): Likewise.
32873 [C99-based-standards] (PRIXLEAST32): Likewise.
32874 [C99-based-standards] (SCNdLEAST32): Likewise.
32875 [C99-based-standards] (SCNiLEAST32): Likewise.
32876 [C99-based-standards] (SCNoLEAST32): Likewise.
32877 [C99-based-standards] (SCNuLEAST32): Likewise.
32878 [C99-based-standards] (SCNxLEAST32): Likewise.
32879 [C99-based-standards] (PRIdFAST32): Likewise.
32880 [C99-based-standards] (PRIiFAST32): Likewise.
32881 [C99-based-standards] (PRIoFAST32): Likewise.
32882 [C99-based-standards] (PRIuFAST32): Likewise.
32883 [C99-based-standards] (PRIxFAST32): Likewise.
32884 [C99-based-standards] (PRIXFAST32): Likewise.
32885 [C99-based-standards] (SCNdFAST32): Likewise.
32886 [C99-based-standards] (SCNiFAST32): Likewise.
32887 [C99-based-standards] (SCNoFAST32): Likewise.
32888 [C99-based-standards] (SCNuFAST32): Likewise.
32889 [C99-based-standards] (SCNxFAST32): Likewise.
32890 [C99-based-standards] (PRId64): Likewise.
32891 [C99-based-standards] (PRIi64): Likewise.
32892 [C99-based-standards] (PRIo64): Likewise.
32893 [C99-based-standards] (PRIu64): Likewise.
32894 [C99-based-standards] (PRIx64): Likewise.
32895 [C99-based-standards] (PRIX64): Likewise.
32896 [C99-based-standards] (SCNd64): Likewise.
32897 [C99-based-standards] (SCNi64): Likewise.
32898 [C99-based-standards] (SCNo64): Likewise.
32899 [C99-based-standards] (SCNu64): Likewise.
32900 [C99-based-standards] (SCNx64): Likewise.
32901 [C99-based-standards] (PRIdLEAST64): Likewise.
32902 [C99-based-standards] (PRIiLEAST64): Likewise.
32903 [C99-based-standards] (PRIoLEAST64): Likewise.
32904 [C99-based-standards] (PRIuLEAST64): Likewise.
32905 [C99-based-standards] (PRIxLEAST64): Likewise.
32906 [C99-based-standards] (PRIXLEAST64): Likewise.
32907 [C99-based-standards] (SCNdLEAST64): Likewise.
32908 [C99-based-standards] (SCNiLEAST64): Likewise.
32909 [C99-based-standards] (SCNoLEAST64): Likewise.
32910 [C99-based-standards] (SCNuLEAST64): Likewise.
32911 [C99-based-standards] (SCNxLEAST64): Likewise.
32912 [C99-based-standards] (PRIdFAST64): Likewise.
32913 [C99-based-standards] (PRIiFAST64): Likewise.
32914 [C99-based-standards] (PRIoFAST64): Likewise.
32915 [C99-based-standards] (PRIuFAST64): Likewise.
32916 [C99-based-standards] (PRIxFAST64): Likewise.
32917 [C99-based-standards] (PRIXFAST64): Likewise.
32918 [C99-based-standards] (SCNdFAST64): Likewise.
32919 [C99-based-standards] (SCNiFAST64): Likewise.
32920 [C99-based-standards] (SCNoFAST64): Likewise.
32921 [C99-based-standards] (SCNuFAST64): Likewise.
32922 [C99-based-standards] (SCNxFAST64): Likewise.
32923 [C99-based-standards] (PRIdMAX): Likewise.
32924 [C99-based-standards] (PRIiMAX): Likewise.
32925 [C99-based-standards] (PRIoMAX): Likewise.
32926 [C99-based-standards] (PRIuMAX): Likewise.
32927 [C99-based-standards] (PRIxMAX): Likewise.
32928 [C99-based-standards] (PRIXMAX): Likewise.
32929 [C99-based-standards] (SCNdMAX): Likewise.
32930 [C99-based-standards] (SCNiMAX): Likewise.
32931 [C99-based-standards] (SCNoMAX): Likewise.
32932 [C99-based-standards] (SCNuMAX): Likewise.
32933 [C99-based-standards] (SCNxMAX): Likewise.
32934 [C99-based-standards] (PRIdPTR): Likewise.
32935 [C99-based-standards] (PRIiPTR): Likewise.
32936 [C99-based-standards] (PRIoPTR): Likewise.
32937 [C99-based-standards] (PRIuPTR): Likewise.
32938 [C99-based-standards] (PRIxPTR): Likewise.
32939 [C99-based-standards] (PRIXPTR): Likewise.
32940 [C99-based-standards] (SCNdPTR): Likewise.
32941 [C99-based-standards] (SCNiPTR): Likewise.
32942 [C99-based-standards] (SCNoPTR): Likewise.
32943 [C99-based-standards] (SCNuPTR): Likewise.
32944 [C99-based-standards] (SCNxPTR): Likewise.
32945 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32947 * conform/data/stdint.h-data: Update comments to clarify
32949 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32951 [C99-based standards] (INT8_MAX): Likewise.
32952 [C99-based standards] (INT16_MIN): Likewise.
32953 [C99-based standards] (INT16_MAX): Likewise.
32954 [C99-based standards] (INT32_MIN): Likewise.
32955 [C99-based standards] (INT32_MAX): Likewise.
32956 [C99-based standards] (INT64_MIN): Likewise.
32957 [C99-based standards] (INT64_MAX): Likewise.
32958 [C99-based standards] (UINT8_MAX): Likewise.
32959 [C99-based standards] (UINT16_MAX): Likewise.
32960 [C99-based standards] (UINT32_MAX): Likewise.
32961 [C99-based standards] (UINT64_MAX): Likewise.
32962 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32963 [C99-based standards] (INT_LEAST8_MAX): Likewise.
32964 [C99-based standards] (INT_LEAST16_MIN): Likewise.
32965 [C99-based standards] (INT_LEAST16_MAX): Likewise.
32966 [C99-based standards] (INT_LEAST32_MIN): Likewise.
32967 [C99-based standards] (INT_LEAST32_MAX): Likewise.
32968 [C99-based standards] (INT_LEAST64_MIN): Likewise.
32969 [C99-based standards] (INT_LEAST64_MAX): Likewise.
32970 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32971 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32972 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32973 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32974 [C99-based standards] (INT_FAST8_MIN): Likewise.
32975 [C99-based standards] (INT_FAST8_MAX): Likewise.
32976 [C99-based standards] (INT_FAST16_MIN): Likewise.
32977 [C99-based standards] (INT_FAST16_MAX): Likewise.
32978 [C99-based standards] (INT_FAST32_MIN): Likewise.
32979 [C99-based standards] (INT_FAST32_MAX): Likewise.
32980 [C99-based standards] (INT_FAST64_MIN): Likewise.
32981 [C99-based standards] (INT_FAST64_MAX): Likewise.
32982 [C99-based standards] (UINT_FAST8_MAX): Likewise.
32983 [C99-based standards] (UINT_FAST16_MAX): Likewise.
32984 [C99-based standards] (UINT_FAST32_MAX): Likewise.
32985 [C99-based standards] (UINT_FAST64_MAX): Likewise.
32986 [C99-based standards] (INTPTR_MIN): Likewise.
32987 [C99-based standards] (INTPTR_MAX): Likewise.
32988 [C99-based standards] (UINTPTR_MAX): Likewise.
32989 [C99-based standards] (INTMAX_MIN): Likewise.
32990 [C99-based standards] (INTMAX_MAX): Likewise.
32991 [C99-based standards] (UINTMAX_MAX): Likewise.
32992 [C99-based standards] (PTRDIFF_MIN): Likewise.
32993 [C99-based standards] (PTRDIFF_MAX): Likewise.
32994 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32995 [C99-based standards] (SIZE_MAX): Likewise.
32996 [C99-based standards] (WCHAR_MAX): Likewise.
32997 [C99-based standards] (WINT_MAX): Likewise.
32998 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
32999 constraint on value.
33000 [C99-based standards] (WCHAR_MIN): Likewise.
33001 [C99-based standards] (WINT_MIN): Likewise.
33002 [C99-based standards] (*_t): Allow.
33003 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33004 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33005 Include math.h-data and complex.h-data. Remove all expectations
33006 of math.h and complex.h contents.
33007 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33009 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33010 (struct tm): Expect tag.
33011 [C99-based-standards] (wcstof): Expect function.
33012 [C99-based-standards] (wcstold): Likewise.
33013 [C99-based-standards] (wcstoll): Likewise.
33014 [C99-based-standards] (wcstoull): Likewise.
33015 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33016 macro-int-constant. Specify type.
33017 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33018 constraint on value.
33019 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33021 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33023 [ISO C standards]: Do not allow headers.
33024 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33025 wcs[abcdefghijklmnopqrstuvwxyz]*.
33026 [ISO C standards] (*_t): Do not allow.
33027 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33029 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33030 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33032 [ISO C standards]: Do not allow headers.
33033 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33034 is[abcdefghijklmnopqrstuvwxyz]*.
33035 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33036 to[abcdefghijklmnopqrstuvwxyz]*.
33037 [ISO C standards] (*_t): Do not allow.
33038 * conform/data/stdalign.h-data: New file.
33039 * conform/data/stdbool.h-data: Likewise.
33040 * conform/data/stdnoreturn.h-data: Likewise.
33042 2012-11-07 Roland McGrath <roland@hack.frob.com>
33045 * manual/filesys.texi (Directory Entries): Typo fix.
33046 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33048 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33050 * elf/elf.h (EM_AARCH64): New macro.
33051 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33052 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33053 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33054 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33055 (R_AARCH64_TLSDESC): Likewise.
33056 (NT_ARM_TLS): Likewise.
33057 (NT_ARM_HW_BREAK): Likewise.
33058 (NT_ARM_HW_WATCH): Likewise.
33060 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33063 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33064 (__ieee754_powl): Saturate nonzero exponents with absolute value
33065 below 0x1p-79 to +/- 0x1p-79.
33066 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33067 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33068 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33069 nonzero exponents with absolute value below 0x1p-32 to +/-
33071 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33072 (__ieee754_powl): Saturate nonzero exponents with absolute value
33073 below 0x1p-79 to +/- 0x1p-79.
33074 * math/libm-test.inc (pow_test): Add more tests.
33076 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33078 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33079 _dl_s390_cap_flags with kernel. Increase string length.
33080 (_dl_s390_platforms): Add z196 and zEC12.
33082 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33084 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33085 Change XOPEN21K to XOPEN2K.
33087 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33089 * string/memmove.c: Use memcpy when possible.
33091 2012-11-06 Andreas Jaeger <aj@suse.de>
33093 * po/eo.po: Update from translation team.
33095 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33099 exponent and small x and y exponents, scale x or y up. Increase
33100 by 2 the exponent used in scaling up.
33101 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33102 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33103 * math/libm-test.inc (fma_test): Add more tests.
33104 (fma_test_towardzero): Likewise.
33105 (fma_test_downward): Likewise.
33106 (fma_test_upward): Likewise.
33108 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33111 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33115 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33116 namespace for names of struct fields.
33117 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33119 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33120 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33122 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33125 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33127 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33129 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33133 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33136 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33139 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33140 definitely overflow as x * y not x * y + z.
33141 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33142 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33143 * math/libm-test.inc (fma_test): Add more tests.
33144 (fma_test_towardzero): Likewise.
33145 (fma_test_downward): Likewise.
33146 (fma_test_upward): Likewise.
33148 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33152 * include/stub-tag.h: Remove file.
33153 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33155 * manual/maint.texi (Porting): Don't reference it.
33156 * Makerules ($(objpfx)stubs): Likewise.
33157 * dirent/closedir.c: Don't include <stub-tag.h>.
33158 * dirent/dirfd.c: Likewise.
33159 * dirent/fdopendir.c: Likewise.
33160 * dirent/getdents.c: Likewise.
33161 * dirent/getdents64.c: Likewise.
33162 * dirent/opendir.c: Likewise.
33163 * dirent/readdir.c: Likewise.
33164 * dirent/readdir64.c: Likewise.
33165 * dirent/readdir64_r.c: Likewise.
33166 * dirent/readdir_r.c: Likewise.
33167 * dirent/rewinddir.c: Likewise.
33168 * dirent/seekdir.c: Likewise.
33169 * dirent/telldir.c: Likewise.
33170 * gmon/profil.c: Likewise.
33171 * grp/setgroups.c: Likewise.
33172 * inet/if_index.c: Likewise.
33173 * io/access.c: Likewise.
33174 * io/chdir.c: Likewise.
33175 * io/chmod.c: Likewise.
33176 * io/chown.c: Likewise.
33177 * io/close.c: Likewise.
33178 * io/dup.c: Likewise.
33179 * io/dup2.c: Likewise.
33180 * io/dup3.c: Likewise.
33181 * io/euidaccess.c: Likewise.
33182 * io/faccessat.c: Likewise.
33183 * io/fchdir.c: Likewise.
33184 * io/fchmod.c: Likewise.
33185 * io/fchmodat.c: Likewise.
33186 * io/fchown.c: Likewise.
33187 * io/fchownat.c: Likewise.
33188 * io/fcntl.c: Likewise.
33189 * io/flock.c: Likewise.
33190 * io/fstatfs.c: Likewise.
33191 * io/fstatfs64.c: Likewise.
33192 * io/fstatvfs.c: Likewise.
33193 * io/fstatvfs64.c: Likewise.
33194 * io/futimens.c: Likewise.
33195 * io/fxstat.c: Likewise.
33196 * io/fxstat64.c: Likewise.
33197 * io/fxstatat.c: Likewise.
33198 * io/fxstatat64.c: Likewise.
33199 * io/getcwd.c: Likewise.
33200 * io/isatty.c: Likewise.
33201 * io/lchmod.c: Likewise.
33202 * io/lchown.c: Likewise.
33203 * io/link.c: Likewise.
33204 * io/linkat.c: Likewise.
33205 * io/lseek.c: Likewise.
33206 * io/lseek64.c: Likewise.
33207 * io/lxstat64.c: Likewise.
33208 * io/mkdir.c: Likewise.
33209 * io/mkdirat.c: Likewise.
33210 * io/mkfifo.c: Likewise.
33211 * io/mkfifoat.c: Likewise.
33212 * io/open.c: Likewise.
33213 * io/open64.c: Likewise.
33214 * io/openat.c: Likewise.
33215 * io/openat64.c: Likewise.
33216 * io/pipe.c: Likewise.
33217 * io/pipe2.c: Likewise.
33218 * io/poll.c: Likewise.
33219 * io/posix_fadvise.c: Likewise.
33220 * io/posix_fadvise64.c: Likewise.
33221 * io/posix_fallocate.c: Likewise.
33222 * io/posix_fallocate64.c: Likewise.
33223 * io/read.c: Likewise.
33224 * io/readlink.c: Likewise.
33225 * io/readlinkat.c: Likewise.
33226 * io/rmdir.c: Likewise.
33227 * io/sendfile.c: Likewise.
33228 * io/sendfile64.c: Likewise.
33229 * io/statfs.c: Likewise.
33230 * io/statfs64.c: Likewise.
33231 * io/statvfs.c: Likewise.
33232 * io/statvfs64.c: Likewise.
33233 * io/symlink.c: Likewise.
33234 * io/symlinkat.c: Likewise.
33235 * io/ttyname.c: Likewise.
33236 * io/ttyname_r.c: Likewise.
33237 * io/umask.c: Likewise.
33238 * io/unlink.c: Likewise.
33239 * io/unlinkat.c: Likewise.
33240 * io/utime.c: Likewise.
33241 * io/utimensat.c: Likewise.
33242 * io/write.c: Likewise.
33243 * io/xmknod.c: Likewise.
33244 * io/xmknodat.c: Likewise.
33245 * io/xstat.c: Likewise.
33246 * io/xstat64.c: Likewise.
33247 * login/getpt.c: Likewise.
33248 * login/grantpt.c: Likewise.
33249 * login/unlockpt.c: Likewise.
33250 * math/e_acoshl.c: Likewise.
33251 * math/e_acosl.c: Likewise.
33252 * math/e_asinl.c: Likewise.
33253 * math/e_atan2l.c: Likewise.
33254 * math/e_atanhl.c: Likewise.
33255 * math/e_coshl.c: Likewise.
33256 * math/e_expl.c: Likewise.
33257 * math/e_fmodl.c: Likewise.
33258 * math/e_gammal_r.c: Likewise.
33259 * math/e_hypotl.c: Likewise.
33260 * math/e_j0l.c: Likewise.
33261 * math/e_j1l.c: Likewise.
33262 * math/e_jnl.c: Likewise.
33263 * math/e_lgammal_r.c: Likewise.
33264 * math/e_log10l.c: Likewise.
33265 * math/e_log2l.c: Likewise.
33266 * math/e_logl.c: Likewise.
33267 * math/e_powl.c: Likewise.
33268 * math/e_rem_pio2l.c: Likewise.
33269 * math/e_sinhl.c: Likewise.
33270 * math/e_sqrtl.c: Likewise.
33271 * math/fclrexcpt.c: Likewise.
33272 * math/fedisblxcpt.c: Likewise.
33273 * math/feenablxcpt.c: Likewise.
33274 * math/fegetenv.c: Likewise.
33275 * math/fegetexcept.c: Likewise.
33276 * math/fegetround.c: Likewise.
33277 * math/feholdexcpt.c: Likewise.
33278 * math/fesetenv.c: Likewise.
33279 * math/fesetround.c: Likewise.
33280 * math/feupdateenv.c: Likewise.
33281 * math/fgetexcptflg.c: Likewise.
33282 * math/fraiseexcpt.c: Likewise.
33283 * math/fsetexcptflg.c: Likewise.
33284 * math/ftestexcept.c: Likewise.
33285 * math/k_cosl.c: Likewise.
33286 * math/k_rem_pio2l.c: Likewise.
33287 * math/k_sinl.c: Likewise.
33288 * math/k_tanl.c: Likewise.
33289 * math/s_asinhl.c: Likewise.
33290 * math/s_atanl.c: Likewise.
33291 * math/s_cbrtl.c: Likewise.
33292 * math/s_erfl.c: Likewise.
33293 * math/s_expm1l.c: Likewise.
33294 * math/s_log1pl.c: Likewise.
33295 * math/s_tanhl.c: Likewise.
33296 * misc/acct.c: Likewise.
33297 * misc/brk.c: Likewise.
33298 * misc/chflags.c: Likewise.
33299 * misc/chroot.c: Likewise.
33300 * misc/fchflags.c: Likewise.
33301 * misc/fgetxattr.c: Likewise.
33302 * misc/flistxattr.c: Likewise.
33303 * misc/fremovexattr.c: Likewise.
33304 * misc/fsetxattr.c: Likewise.
33305 * misc/fsync.c: Likewise.
33306 * misc/ftruncate.c: Likewise.
33307 * misc/futimes.c: Likewise.
33308 * misc/futimesat.c: Likewise.
33309 * misc/getdomain.c: Likewise.
33310 * misc/getdtsz.c: Likewise.
33311 * misc/gethostid.c: Likewise.
33312 * misc/gethostname.c: Likewise.
33313 * misc/getloadavg.c: Likewise.
33314 * misc/getpagesize.c: Likewise.
33315 * misc/getsysstats.c: Likewise.
33316 * misc/getxattr.c: Likewise.
33317 * misc/gtty.c: Likewise.
33318 * misc/ioctl.c: Likewise.
33319 * misc/lgetxattr.c: Likewise.
33320 * misc/listxattr.c: Likewise.
33321 * misc/llistxattr.c: Likewise.
33322 * misc/lremovexattr.c: Likewise.
33323 * misc/lsetxattr.c: Likewise.
33324 * misc/lutimes.c: Likewise.
33325 * misc/madvise.c: Likewise.
33326 * misc/mincore.c: Likewise.
33327 * misc/mlock.c: Likewise.
33328 * misc/mlockall.c: Likewise.
33329 * misc/mmap.c: Likewise.
33330 * misc/mprotect.c: Likewise.
33331 * misc/msync.c: Likewise.
33332 * misc/munlock.c: Likewise.
33333 * misc/munlockall.c: Likewise.
33334 * misc/munmap.c: Likewise.
33335 * misc/preadv.c: Likewise.
33336 * misc/preadv64.c: Likewise.
33337 * misc/ptrace.c: Likewise.
33338 * misc/pwritev.c: Likewise.
33339 * misc/pwritev64.c: Likewise.
33340 * misc/readv.c: Likewise.
33341 * misc/reboot.c: Likewise.
33342 * misc/remap_file_pages.c: Likewise.
33343 * misc/removexattr.c: Likewise.
33344 * misc/revoke.c: Likewise.
33345 * misc/select.c: Likewise.
33346 * misc/setdomain.c: Likewise.
33347 * misc/setegid.c: Likewise.
33348 * misc/seteuid.c: Likewise.
33349 * misc/sethostid.c: Likewise.
33350 * misc/sethostname.c: Likewise.
33351 * misc/setregid.c: Likewise.
33352 * misc/setreuid.c: Likewise.
33353 * misc/setxattr.c: Likewise.
33354 * misc/sstk.c: Likewise.
33355 * misc/stty.c: Likewise.
33356 * misc/swapoff.c: Likewise.
33357 * misc/swapon.c: Likewise.
33358 * misc/sync.c: Likewise.
33359 * misc/syncfs.c: Likewise.
33360 * misc/syscall.c: Likewise.
33361 * misc/truncate.c: Likewise.
33362 * misc/ualarm.c: Likewise.
33363 * misc/usleep.c: Likewise.
33364 * misc/ustat.c: Likewise.
33365 * misc/utimes.c: Likewise.
33366 * misc/vhangup.c: Likewise.
33367 * misc/writev.c: Likewise.
33368 * posix/_exit.c: Likewise.
33369 * posix/alarm.c: Likewise.
33370 * posix/execve.c: Likewise.
33371 * posix/fexecve.c: Likewise.
33372 * posix/fork.c: Likewise.
33373 * posix/fpathconf.c: Likewise.
33374 * posix/getaddrinfo.c: Likewise.
33375 * posix/getegid.c: Likewise.
33376 * posix/geteuid.c: Likewise.
33377 * posix/getgid.c: Likewise.
33378 * posix/getgroups.c: Likewise.
33379 * posix/getlogin.c: Likewise.
33380 * posix/getlogin_r.c: Likewise.
33381 * posix/getpgid.c: Likewise.
33382 * posix/getpid.c: Likewise.
33383 * posix/getppid.c: Likewise.
33384 * posix/getresgid.c: Likewise.
33385 * posix/getresuid.c: Likewise.
33386 * posix/getsid.c: Likewise.
33387 * posix/getuid.c: Likewise.
33388 * posix/glob64.c: Likewise.
33389 * posix/nanosleep.c: Likewise.
33390 * posix/pathconf.c: Likewise.
33391 * posix/pause.c: Likewise.
33392 * posix/posix_madvise.c: Likewise.
33393 * posix/pread.c: Likewise.
33394 * posix/pread64.c: Likewise.
33395 * posix/pwrite.c: Likewise.
33396 * posix/pwrite64.c: Likewise.
33397 * posix/sched_getaffinity.c: Likewise.
33398 * posix/sched_getp.c: Likewise.
33399 * posix/sched_gets.c: Likewise.
33400 * posix/sched_primax.c: Likewise.
33401 * posix/sched_primin.c: Likewise.
33402 * posix/sched_rr_gi.c: Likewise.
33403 * posix/sched_setaffinity.c: Likewise.
33404 * posix/sched_setp.c: Likewise.
33405 * posix/sched_sets.c: Likewise.
33406 * posix/sched_yield.c: Likewise.
33407 * posix/setgid.c: Likewise.
33408 * posix/setlogin.c: Likewise.
33409 * posix/setpgid.c: Likewise.
33410 * posix/setresgid.c: Likewise.
33411 * posix/setresuid.c: Likewise.
33412 * posix/setsid.c: Likewise.
33413 * posix/setuid.c: Likewise.
33414 * posix/sleep.c: Likewise.
33415 * posix/spawni.c: Likewise.
33416 * posix/sysconf.c: Likewise.
33417 * posix/times.c: Likewise.
33418 * posix/wait.c: Likewise.
33419 * posix/wait3.c: Likewise.
33420 * posix/wait4.c: Likewise.
33421 * posix/waitpid.c: Likewise.
33422 * resolv/gai_sigqueue.c: Likewise.
33423 * resource/getpriority.c: Likewise.
33424 * resource/getrlimit.c: Likewise.
33425 * resource/getrusage.c: Likewise.
33426 * resource/nice.c: Likewise.
33427 * resource/setpriority.c: Likewise.
33428 * resource/setrlimit.c: Likewise.
33429 * resource/ulimit.c: Likewise.
33430 * rt/aio_cancel.c: Likewise.
33431 * rt/aio_fsync.c: Likewise.
33432 * rt/aio_read.c: Likewise.
33433 * rt/aio_sigqueue.c: Likewise.
33434 * rt/aio_suspend.c: Likewise.
33435 * rt/aio_write.c: Likewise.
33436 * rt/clock_getres.c: Likewise.
33437 * rt/clock_gettime.c: Likewise.
33438 * rt/clock_nanosleep.c: Likewise.
33439 * rt/clock_settime.c: Likewise.
33440 * rt/lio_listio.c: Likewise.
33441 * rt/mq_close.c: Likewise.
33442 * rt/mq_getattr.c: Likewise.
33443 * rt/mq_notify.c: Likewise.
33444 * rt/mq_open.c: Likewise.
33445 * rt/mq_receive.c: Likewise.
33446 * rt/mq_send.c: Likewise.
33447 * rt/mq_setattr.c: Likewise.
33448 * rt/mq_timedreceive.c: Likewise.
33449 * rt/mq_timedsend.c: Likewise.
33450 * rt/mq_unlink.c: Likewise.
33451 * rt/shm_open.c: Likewise.
33452 * rt/shm_unlink.c: Likewise.
33453 * rt/timer_create.c: Likewise.
33454 * rt/timer_delete.c: Likewise.
33455 * rt/timer_getoverr.c: Likewise.
33456 * rt/timer_gettime.c: Likewise.
33457 * rt/timer_settime.c: Likewise.
33458 * setjmp/__longjmp.c: Likewise.
33459 * setjmp/setjmp.c: Likewise.
33460 * signal/kill.c: Likewise.
33461 * signal/killpg.c: Likewise.
33462 * signal/raise.c: Likewise.
33463 * signal/sigaction.c: Likewise.
33464 * signal/sigaltstack.c: Likewise.
33465 * signal/sigblock.c: Likewise.
33466 * signal/sigignore.c: Likewise.
33467 * signal/sigintr.c: Likewise.
33468 * signal/signal.c: Likewise.
33469 * signal/sigpause.c: Likewise.
33470 * signal/sigpending.c: Likewise.
33471 * signal/sigqueue.c: Likewise.
33472 * signal/sigreturn.c: Likewise.
33473 * signal/sigset.c: Likewise.
33474 * signal/sigsetmask.c: Likewise.
33475 * signal/sigstack.c: Likewise.
33476 * signal/sigsuspend.c: Likewise.
33477 * signal/sigtimedwait.c: Likewise.
33478 * signal/sigvec.c: Likewise.
33479 * signal/sigwait.c: Likewise.
33480 * signal/sigwaitinfo.c: Likewise.
33481 * signal/sysv_signal.c: Likewise.
33482 * socket/accept.c: Likewise.
33483 * socket/accept4.c: Likewise.
33484 * socket/bind.c: Likewise.
33485 * socket/connect.c: Likewise.
33486 * socket/getpeername.c: Likewise.
33487 * socket/getsockname.c: Likewise.
33488 * socket/getsockopt.c: Likewise.
33489 * socket/isfdtype.c: Likewise.
33490 * socket/listen.c: Likewise.
33491 * socket/recv.c: Likewise.
33492 * socket/recvfrom.c: Likewise.
33493 * socket/recvmsg.c: Likewise.
33494 * socket/send.c: Likewise.
33495 * socket/sendmsg.c: Likewise.
33496 * socket/sendto.c: Likewise.
33497 * socket/setsockopt.c: Likewise.
33498 * socket/shutdown.c: Likewise.
33499 * socket/sockatmark.c: Likewise.
33500 * socket/socket.c: Likewise.
33501 * socket/socketpair.c: Likewise.
33502 * stdio-common/ctermid.c: Likewise.
33503 * stdio-common/cuserid.c: Likewise.
33504 * stdio-common/remove.c: Likewise.
33505 * stdio-common/rename.c: Likewise.
33506 * stdio-common/renameat.c: Likewise.
33507 * stdio-common/tempname.c: Likewise.
33508 * stdlib/getcontext.c: Likewise.
33509 * stdlib/makecontext.c: Likewise.
33510 * stdlib/setcontext.c: Likewise.
33511 * stdlib/swapcontext.c: Likewise.
33512 * stdlib/system.c: Likewise.
33513 * streams/fattach.c: Likewise.
33514 * streams/fdetach.c: Likewise.
33515 * streams/getmsg.c: Likewise.
33516 * streams/getpmsg.c: Likewise.
33517 * streams/putmsg.c: Likewise.
33518 * streams/putpmsg.c: Likewise.
33519 * sysdeps/unix/bsd/getpt.c: Likewise.
33520 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33521 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33522 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33525 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33526 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33527 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33528 * sysvipc/msgctl.c: Likewise.
33529 * sysvipc/msgget.c: Likewise.
33530 * sysvipc/msgrcv.c: Likewise.
33531 * sysvipc/msgsnd.c: Likewise.
33532 * sysvipc/semctl.c: Likewise.
33533 * sysvipc/semget.c: Likewise.
33534 * sysvipc/semop.c: Likewise.
33535 * sysvipc/semtimedop.c: Likewise.
33536 * sysvipc/shmat.c: Likewise.
33537 * sysvipc/shmctl.c: Likewise.
33538 * sysvipc/shmdt.c: Likewise.
33539 * sysvipc/shmget.c: Likewise.
33540 * termios/tcdrain.c: Likewise.
33541 * termios/tcflow.c: Likewise.
33542 * termios/tcflush.c: Likewise.
33543 * termios/tcgetattr.c: Likewise.
33544 * termios/tcgetpgrp.c: Likewise.
33545 * termios/tcsendbrk.c: Likewise.
33546 * termios/tcsetattr.c: Likewise.
33547 * termios/tcsetpgrp.c: Likewise.
33548 * time/adjtime.c: Likewise.
33549 * time/clock.c: Likewise.
33550 * time/getitimer.c: Likewise.
33551 * time/gettimeofday.c: Likewise.
33552 * time/setitimer.c: Likewise.
33553 * time/settimeofday.c: Likewise.
33554 * time/stime.c: Likewise.
33555 * time/time.c: Likewise.
33557 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
33559 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33562 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33564 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33566 2012-11-03 Joseph Myers <joseph@codesourcery.com>
33569 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33570 FE_TONEAREST before applying Dekker multiplication and Knuth
33571 addition. Clear inexact exceptions and check for exact zero
33572 results afterwards.
33573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33574 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33575 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33576 * math/libm-test.inc (fma_test): Add more tests.
33577 (fma_test_towardzero): Likewise.
33578 (fma_test_downward): Likewise.
33579 (fma_test_upward): Likewise.
33580 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33582 (libc_fesetround): New macro.
33583 (libc_fesetroundf): Likewise.
33584 (libc_fesetroundl): Likewise.
33585 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33587 (libc_fesetround_387): Likewise.
33588 (libc_fesetroundf): New macro.
33589 (libc_fesetround): Likewise.
33590 (libc_fesetroundl): Likewise.
33591 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33593 (libc_fesetroundf): New macro.
33594 (libc_fesetround): Likewise.
33595 (libc_fesetroundl): Likewise.
33596 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33597 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33598 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33600 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33601 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33603 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33604 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33606 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33610 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33611 integer constant usable in #if and use that to give value to enum
33613 (FE_DIVBYZERO): Likewise.
33614 (FE_UNDERFLOW): Likewise.
33615 (FE_OVERFLOW): Likewise.
33616 (FE_INVALID): Likewise.
33617 (FE_INVALID_SNAN): Likewise.
33618 (FE_INVALID_ISI): Likewise.
33619 (FE_INVALID_IDI): Likewise.
33620 (FE_INVALID_ZDZ): Likewise.
33621 (FE_INVALID_IMZ): Likewise.
33622 (FE_INVALID_COMPARE): Likewise.
33623 (FE_INVALID_SOFTWARE): Likewise.
33624 (FE_INVALID_SQRT): Likewise.
33625 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33626 (FE_TONEAREST): Likewise.
33627 (FE_TOWARDZERO): Likewise.
33628 (FE_UPWARD): Likewise.
33629 (FE_DOWNWARD): Likewise.
33630 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33631 (FE_DIVBYZERO): Likewise.
33632 (FE_OVERFLOW): Likewise.
33633 (FE_UNDERFLOW): Likewise.
33634 (FE_INEXACT): Likewise.
33635 (FE_TONEAREST): Likewise.
33636 (FE_DOWNWARD): Likewise.
33637 (FE_UPWARD): Likewise.
33638 (FE_TOWARDZERO): Likewise.
33639 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33640 (FE_UNDERFLOW): Likewise.
33641 (FE_OVERFLOW): Likewise.
33642 (FE_DIVBYZERO): Likewise.
33643 (FE_INVALID): Likewise.
33644 (FE_TONEAREST): Likewise.
33645 (FE_TOWARDZERO): Likewise.
33646 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33647 (FE_OVERFLOW): Likewise.
33648 (FE_UNDERFLOW): Likewise.
33649 (FE_DIVBYZERO): Likewise.
33650 (FE_INEXACT): Likewise.
33651 (FE_TONEAREST): Likewise.
33652 (FE_TOWARDZERO): Likewise.
33653 (FE_UPWARD): Likewise.
33654 (FE_DOWNWARD): Likewise.
33655 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33656 (FE_DIVBYZERO): Likewise.
33657 (FE_OVERFLOW): Likewise.
33658 (FE_UNDERFLOW): Likewise.
33659 (FE_INEXACT): Likewise.
33660 (FE_TONEAREST): Likewise.
33661 (FE_DOWNWARD): Likewise.
33662 (FE_UPWARD): Likewise.
33663 (FE_TOWARDZERO): Likewise.
33665 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33667 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33669 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33671 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33672 commands. Quote $PWD.
33673 (blacklist_exports): Don't use remove_newlines. Replace "declare
33675 (remove_newlines): Remove.
33677 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33679 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33680 * stdlib/stdlib.h (atof): Moved to ...
33681 * include/bits/stdlib-float.h: Here. New file.
33682 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33683 * stdlib/bits/stdlib-float.h: New file.
33684 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33686 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33689 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33691 * conform/conformtest.pl (@headers): Add fenv.h.
33692 * conform/data/fenv.h-data: New file.
33693 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33694 include of <math/fenv.h>.
33696 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33697 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33698 && !UNIX98]. Enables tests for XOPEN2K8.
33699 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33700 POSIX2008]: Likewise.
33702 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33703 (struct rusage): Do not expect type or its members.
33706 * math/math.h (FP_NAN): Define macro to integer constant usable in
33707 #if and use that to give value to enum constant.
33708 (FP_INFINITE): Likewise.
33709 (FP_ZERO): Likewise.
33710 (FP_SUBNORMAL): Likewise.
33711 (FP_NORMAL): Likewise.
33713 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33715 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33716 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33719 2012-11-02 Roland McGrath <roland@hack.frob.com>
33721 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33722 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33723 autoconf-time if not.
33724 * configure.in: Remove AC_PREREQ.
33726 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33728 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33729 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33730 of the internal implementation.
33732 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33734 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33735 except include of <misc/sys/syslog.h>.
33737 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33740 function returns with a NULL context exit with zero.
33742 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33744 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33746 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33748 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33749 (run_program_cmd): This.
33750 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33751 (tst_langinfo): New variable. Use it.
33753 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33755 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33756 floating point opcodes.
33758 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33760 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33763 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33765 * sysdeps/mach/hurd/powerpc: Remove directory.
33766 * sysdeps/mach/powerpc: Likewise.
33768 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33770 * scripts/check-local-headers.sh: Ignore c++ headers.
33772 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33774 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33775 __libc_cleanup_region_start argument.
33777 2012-11-01 Joseph Myers <joseph@codesourcery.com>
33781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33782 x * y using scaling, not as x * y + z.
33783 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33784 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33785 * math/libm-test.inc (fma_test): Add more tests.
33786 (fma_test_towardzero): Likewise.
33787 (fma_test_downward): Likewise.
33788 (fma_test_upward): Likewise.
33790 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33792 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33794 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33796 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33799 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33801 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33803 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33810 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33813 Fix the order of the list for glibc 2.17.
33814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33817 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33819 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33821 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33824 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33825 for low part of x being zero before using __atanl (y).
33826 * math/libm-test.inc (atan2_test): Add another test.
33828 * manual/install.texi (Configuring and compiling): Document
33829 general use of test-wrapper and test-wrapper-env.
33830 * INSTALL: Regenerated.
33832 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33833 (__fma): Do not extract and scale down low bits on after-rounding
33834 systems when result rounded to normal precision would have normal
33836 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33837 (__fmal): Do not extract and scale down low bits on after-rounding
33838 systems when result rounded to normal precision would have normal
33840 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33841 (__fmal): Do not extract and scale down low bits on after-rounding
33842 systems when result rounded to normal precision would have normal
33844 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33846 (fma_test): Add more tests.
33847 (fma_test_towardzero): Likewise.
33848 (fma_test_downward): Likewise.
33849 (fma_test_upward): Likewise.
33851 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33853 * sysdeps/i386/tininess.h: Renamed to ...
33854 * sysdeps/x86/tininess.h: This.
33855 * sysdeps/x86_64/tininess.h: Removed.
33857 2012-10-30 Joseph Myers <joseph@codesourcery.com>
33859 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33860 input. Use $(build-program-cmd).
33861 ($(objpfx)tst-array1-static.out): Likewise.
33862 ($(objpfx)tst-array2.out): Likewise.
33863 ($(objpfx)tst-array3.out): Likewise.
33864 ($(objpfx)tst-array4.out): Likewise.
33865 ($(objpfx)tst-array5.out): Likewise.
33866 ($(objpfx)tst-array5-static.out): Likewise.
33868 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33870 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33873 * nss/nsswitch.h (nss_interface_function): Provide new
33874 macro for use with NSS functions.
33875 * grp/initgroups.c: Use new macro.
33876 * nss/getXXbyYY.c: Likewise.
33877 * nss/getXXbyYY_r.c: Likewise.
33878 * nss/getXXent.c: Likewise.
33879 * nss/getXXent_r.c: Likewise.
33880 * sysdeps/posix/getaddrinfo.c: Likewise.
33882 2012-10-30 Andreas Jaeger <aj@suse.de>
33884 * po/ru.po: Update Russion translation from translation project.
33886 2012-10-30 Joseph Myers <joseph@codesourcery.com>
33890 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33891 result and shift together with sticky bit instead of replicating
33892 round-to-nearest rounding.
33893 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33894 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33895 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33896 missing underflow exceptions.
33897 (fma_test_towardzero): Add more tests.
33898 (fma_test_downward): Likewise.
33899 (fma_test_upward): Likewise.
33902 * sysdeps/generic/tininess.h: New file.
33903 * sysdeps/i386/tininess.h: Likewise.
33904 * sysdeps/sh/tininess.h: Likewise.
33905 * sysdeps/x86_64/tininess.h: Likewise.
33906 * stdlib/tst-strtod-underflow.c: Likewise.
33907 * stdlib/tst-tininess.c: Likewise.
33908 * stdlib/strtod_l.c: Include <tininess.h>.
33909 (round_and_return): Do not set errno for exact underflow cases.
33910 Force an underflow exception when setting errno for underflow.
33911 Determine underflow based on rounding to normal precision if
33912 TININESS_AFTER_ROUNDING.
33913 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33914 ERANGE for exact underflow cases.
33915 * stdlib/Makefile (tests): Add tst-tininess and
33916 tst-strtod-underflow.
33917 ($(objpfx)tst-tininess): Use $(link-libm).
33918 ($(objpfx)tst-strtod-underflow): Likewise.
33920 2012-10-30 Andreas Jaeger <aj@suse.de>
33923 * elf/Makefile (tests): Remove conditional for have-initfini-array
33924 since this is now always required and the variable does not exist
33926 (tests-static): Likewise.
33927 (modules-names): Likewise.
33929 * po/eo.po: Add Esperanto translation from translation project.
33931 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33932 merged with constructor/destructor.
33933 (init_array): Likewise.
33934 * elf/tst-array2dep.c (fini_array): Likewise.
33935 (init_array): Likewise.
33937 2012-10-29 Mike Frysinger <vapier@gentoo.org>
33939 * manual/message.texi: Delete @cartouche tags.
33941 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33943 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33945 * sysdeps/mach/hurd/fsync.c: Likewise.
33947 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33948 [_POSIX_REALTIME_SIGNALS]: Change condition to
33949 [_POSIX_REALTIME_SIGNALS > 0].
33951 2012-10-27 Andreas Jaeger <aj@suse.de>
33953 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33954 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33955 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33956 [__WORDSIZE != 64]: Likewise.
33958 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33960 * iconvdata/tst-table.sh: Remove ${SHELL}.
33961 * iconvdata/tst-tables.sh: Likewise.
33963 2012-10-25 David S. Miller <davem@davemloft.net>
33965 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33966 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33969 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33971 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33972 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33973 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33976 2012-10-25 Roland McGrath <roland@hack.frob.com>
33978 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33979 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33982 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33983 Jim Blandy <jimb@codesourcery.com>
33985 * scripts/cross-test-ssh.sh: New file.
33986 * manual/install.texi (Configuring and compiling): Document use of
33988 * INSTALL: Regenerated.
33990 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
33992 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33995 2012-10-25 Joseph Myers <joseph@codesourcery.com>
33997 * Makeconfig (run-program-prefix): Fix comment.
33999 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34000 Jim Blandy <jimb@codesourcery.com>
34002 * Makeconfig (test-wrapper): New variable,
34003 (test-wrapper-env): Likewise.
34004 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34005 (run-built-tests): Define to yes.
34006 (run-program-prefix): Use $(test-wrapper).
34007 (built-program-cmd): Likewise.
34008 * Rules (make-test-out): Use $(test-wrapper-env) and
34009 $(host-built-program-cmd).
34010 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34011 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34013 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34014 $(test-wrapper-env) to tst-rtld-load-self.sh.
34015 ($(objpfx)order2.out): Use $(test-wrapper).
34016 ($(objpfx)tst-initorder.out): Likewise.
34017 ($(objpfx)tst-initorder2.out): Likewise.
34018 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34019 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34020 (test_wrapper_env): New variable. Use it to run ld.so.
34021 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34022 Use it to run ld.so.
34023 (test_wrapper_env): Likewise.
34024 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34025 $(test-wrapper) to run-iconv-test.sh.
34026 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34027 (ICONV): Use $test_wrapper.
34028 * posix/Makefile ($(objpfx)globtest.out): Pass
34029 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34030 globtest.sh, not $(run-program-prefix).
34031 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34032 (test_wrapper): Likewise.
34033 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34034 set together with run_via_rtld_prefix.
34035 (run_program_prefix): Define in terms of test_wrapper and
34036 run_via_rtld_prefix.
34038 2012-10-24 Roland McGrath <roland@hack.frob.com>
34040 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34041 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34045 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34046 Declare __clock_getres, __clock_gettime, __clock_settime,
34047 __clock_nanosleep, and __clock_getcpuclockid.
34048 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34049 Remove librt_hidden_def (clock_gettime).
34050 * sysdeps/unix/clock_gettime.c: Likewise.
34051 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34052 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34053 * rt/clock_getres.c: Define __clock_getres as an alias.
34054 * sysdeps/posix/clock_getres.c: Likewise.
34055 * rt/clock_settime.c: Define __clock_settime as an alias.
34056 * sysdeps/unix/clock_settime.c: Likewise.
34057 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34058 * sysdeps/unix/clock_nanosleep.c: Likewise.
34059 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34060 * rt/clock-compat.c: New file.
34061 * rt/Makefile (librt-routines): Add clock-compat and move
34062 $(clock-routines) to ...
34063 (routines): ... here, new variable.
34064 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34065 Don't add get_clockfreq here.
34066 * rt/Versions (libc: GLIBC_2.17): New version set.
34067 Add clock_* symbols here.
34068 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34069 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34070 (GLIBC_2.17): Add clock_* symbols.
34071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34072 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34073 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34078 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34079 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34082 * NEWS: Mention the move.
34084 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34085 Use __open, __read, __close rather than their public counterparts.
34086 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34087 (__get_clockfreq_via_cpuinfo): Likewise.
34088 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34089 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34091 * config.h.in (HAVE_IFUNC): New #undef.
34092 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34094 * configure: Regenerated.
34096 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34098 * configure.in: Move READELF check to start of file.
34099 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34100 libc_cv_asm_gnu_indirect_function in the process.
34101 * configure: Regenerated.
34103 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34105 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34106 send the output to /dev/null.
34107 (libc_cv_cc_with_libunwind): Likewise.
34108 (libc_cv_as_noexecstack): Likewise.
34109 * configure: Regenerate.
34111 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34113 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34115 * posix/globtest.sh (TMPDIR): Do not set.
34116 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34117 (testout): Likewise.
34119 2012-10-24 Andreas Jaeger <aj@suse.de>
34121 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34122 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34123 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34124 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34125 posix_fadvise64, posix_fallocate64.
34127 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34128 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34129 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34131 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34133 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34135 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34136 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34137 <bits/fcntl-linux.h>.
34138 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34141 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34142 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34143 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34144 [__WORDSIZE != 64]: Likewise.
34146 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34148 * Makeconfig (run-built-tests): New variable.
34149 * Rules [$(cross-compiling) = yes]: Change condition to
34150 [$(run-built-tests) = no].
34151 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34152 to [$(run-built-tests) = yes].
34153 * elf/Makefile [$(cross-compiling) = no]: Likewise
34154 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34155 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34156 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34157 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34158 * io/Makefile [$(cross-compiling) = no]: Likewise.
34159 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34160 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34161 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34162 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34163 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34164 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34165 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34166 * string/Makefile [$(cross-compiling) = no]: Likewise.
34168 * posix/Makefile ($(objpfx)globtest.out): Pass
34169 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34170 $(rtld-installed-name).
34171 * posix/globtest.sh (elf_objpfx): Remove variable.
34172 (rtld_installed_name): Likewise.
34173 (library_path): Likewise.
34174 (run_program_prefix): New variable. Use for running globtest
34177 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34178 Joseph Myers <joseph@codesourcery.com>
34180 * Makeconfig (host-built-program-cmd): New variable.
34181 * elf/Makefile (tst-stackguard1-ARGS): Use
34182 $(host-built-program-cmd).
34183 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34184 (tst-spawn-ARGS): Likewise.
34185 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34187 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34188 Jim Blandy <jimb@codesourcery.com>
34190 * Makeconfig (run-via-rtld-prefix): New variable.
34191 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34192 (built-program-cmd): Likewise.
34194 2012-10-22 Andreas Jaeger <aj@suse.de>
34196 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34197 __O_RSYNC if it exists, otherwise to O_SYNC.
34199 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34200 Joseph Myers <joseph@codesourcery.com>
34202 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34204 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34206 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34209 2012-10-22 Andreas Jaeger <aj@suse.de>
34211 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34213 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34216 bits/fcntl-linux.h.
34218 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34219 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34221 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34223 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34226 2012-10-21 Jim Blandy <jimb@codesourcery.com>
34227 Joseph Myers <joseph@codesourcery.com>
34229 * config.make.in (NM): New variable.
34231 2012-10-21 Andreas Jaeger <aj@suse.de>
34233 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34234 definitions and declarations that are provided by
34235 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34237 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34240 * elf/Makefile (tests-static): Add tst-leaks1-static.
34241 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34242 ($(objpfx)tst-leaks1-static): New rule.
34243 ($(objpfx)tst-leaks1-static-mem): Likewise.
34244 (tst-leaks1-static-ENV): New macro.
34245 * elf/dl-open.c (dl_open_worker): Check the main application
34246 only if SHARED is defined.
34247 * elf/tst-leaks1-static.c: New file.
34249 2012-10-20 Andreas Jaeger <aj@suse.de>
34251 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34252 generic values for Linux.
34253 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34254 and declarations that are provided by <bits/fcntl-linux.h> and
34255 include <bits/fcntl-linux.h>.
34256 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34259 2012-10-20 Roland McGrath <roland@hack.frob.com>
34261 * io/fcntl.h: Move include of <bits/types.h> to the top and
34262 include it unconditionally.
34264 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34266 * wcsmbs/Makefile (tests-ifunc): New variable.
34267 (tests): Add $(tests-ifunc).
34268 * wcsmbs/test-wcschr-ifunc.c: New file.
34269 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34270 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34271 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34272 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34273 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34275 * string/Makefile (tests-ifunc): New variable.
34276 (tests): Add $(tests-ifunc).
34277 * string/test-memccpy.c (TEST_NAME): New macro.
34278 * string/test-memchr.c (TEST_NAME): Likewise.
34279 * string/test-memcmp.c (TEST_NAME): Likewise.
34280 * string/test-memcpy.c (TEST_NAME): Likewise.
34281 * string/test-memmem.c (TEST_NAME): Likewise.
34282 * string/test-memmove.c (TEST_NAME): Likewise.
34283 * string/test-memset.c (TEST_NAME): Likewise.
34284 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34285 * string/test-stpcpy.c (TEST_NAME): Likewise.
34286 * string/test-stpncpy.c (TEST_NAME): Likewise.
34287 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34288 * string/test-strcasestr.c (TEST_NAME): Likewise.
34289 * string/test-strcat.c (TEST_NAME): Likewise.
34290 * string/test-strchr.c (TEST_NAME): Likewise.
34291 * string/test-strcmp.c(TEST_NAME): Likewise.
34292 * string/test-strcpy.c (TEST_NAME): Likewise.
34293 * string/test-strcspn.c (TEST_NAME): Likewise.
34294 * string/test-strlen.c (TEST_NAME): Likewise.
34295 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34296 * string/test-strncmp.c (TEST_NAME): Likewise.
34297 * string/test-strncpy.c (TEST_NAME): Likewise.
34298 * string/test-strnlen.c (TEST_NAME): Likewise.
34299 * string/test-strpbrk.c (TEST_NAME): Likewise.
34300 * string/test-strrchr.c (TEST_NAME): Likewise.
34301 * string/test-strspn.c (TEST_NAME): Likewise.
34302 * string/test-strstr.c (TEST_NAME): Likewise.
34303 * string/test-bcopy-ifunc.c: New file.
34304 * string/test-bzero-ifunc.c: Likewise.
34305 * string/test-memccpy-ifunc.c: Likewise.
34306 * string/test-memchr-ifunc.c: Likewise.
34307 * string/test-memcmp-ifunc.c: Likewise.
34308 * string/test-memcpy-ifunc.c: Likewise.
34309 * string/test-memmem-ifunc.c: Likewise.
34310 * string/test-memmove-ifunc.c: Likewise.
34311 * string/test-mempcpy-ifunc.c: Likewise.
34312 * string/test-memset-ifunc.c: Likewise.
34313 * string/test-rawmemchr-ifunc.c: Likewise.
34314 * string/test-stpcpy-ifunc.c: Likewise.
34315 * string/test-stpncpy-ifunc.c: Likewise.
34316 * string/test-strcasecmp-ifunc.c: Likewise.
34317 * string/test-strcasestr-ifunc.c: Likewise.
34318 * string/test-strcat-ifunc.c: Likewise.
34319 * string/test-strchr-ifunc.c: Likewise.
34320 * string/test-strchrnul-ifunc.c: Likewise.
34321 * string/test-strcmp-ifunc.c: Likewise.
34322 * string/test-strcpy-ifunc.c: Likewise.
34323 * string/test-strcspn-ifunc.c: Likewise.
34324 * string/test-strlen-ifunc.c: Likewise.
34325 * string/test-strncasecmp-ifunc.c: Likewise.
34326 * string/test-strncat-ifunc.c: Likewise.
34327 * string/test-strncmp-ifunc.c: Likewise.
34328 * string/test-strncpy-ifunc.c: Likewise.
34329 * string/test-strnlen-ifunc.c: Likewise.
34330 * string/test-strpbrk-ifunc.c: Likewise.
34331 * string/test-strrchr-ifunc.c: Likewise.
34332 * string/test-strspn-ifunc.c: Likewise.
34333 * string/test-strstr-ifunc.c: Likewise.
34335 * debug/Makefile (tests-ifunc): New variable.
34336 (tests): Add $(tests-ifunc).
34337 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34338 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34339 * debug/test-stpcpy_chk-ifunc.c: New file.
34340 * debug/test-strcpy_chk-ifunc.c: Likewise.
34342 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34345 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34346 header is not read in.
34348 2012-10-19 Joseph Myers <joseph@codesourcery.com>
34350 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34351 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34352 directly. Pass built executable to script as
34353 $(built-program-cmd).
34354 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34355 $testprogram without using LD_LIBRARY_PATH and $ldso.
34357 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34358 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34359 $(rtld-installed-name).
34360 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34361 (rtld_installed_name): Likewise.
34362 (library_path): Likewise.
34363 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
34364 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34365 $(run-program-prefix) to tst-tables.sh.
34366 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
34367 it to run tst-table-from and tst-table-to.
34368 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34369 Pass it to tst-table.sh.
34370 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34371 $(run-program-prefix) to tst-gettext.sh.
34372 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34374 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34376 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
34377 to run tst-gettext.
34378 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
34379 to run tst-gettext2.
34380 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
34381 to run tst-translit.
34382 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34383 $(run-program-prefix) to tst-mtrace.sh.
34384 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
34386 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34387 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34388 $(rtld-installed-name).
34389 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34390 (rtld_installed_name): Likewise.
34391 (run_program_prefix): New variable. Use it to run wordexp-test.
34393 * Makeconfig (ARCH): Remove all definitions.
34394 (machine): Likewise.
34395 [ARCH]: Remove conditional code.
34396 [!objdir]: Give error.
34397 [!objdir] (objpfx): Remove.
34398 [!objdir] (common-objpfx): Likewise.
34399 [!objdir] (common-objdir): Likewise.
34400 * configure.in (config_makefile): Remove. Hardcode Makefile in
34401 AC_CONFIG_FILES call.
34402 * configure: Regenerated.
34405 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34407 (testout): Likewise.
34409 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34410 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34411 $(rtld-installed-name).
34412 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34413 (rtld_installed_name): Likwise.
34414 (runit): Remove function.
34415 (run_getconf): New variable, Use it for running getconf binary.
34417 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
34420 * string/test-memmem.c (check_result): New function.
34421 (do_one_test): Use it.
34422 (check1): New function.
34423 (test_main): Use it.
34425 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
34427 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34429 2012-10-18 Joseph Myers <joseph@codesourcery.com>
34431 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34432 (_G_LSEEK64): Likewise.
34433 (_G_MMAP64): Likewise.
34434 (_G_FSTAT64): Likewise.
34435 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34436 (_G_LSEEK64): Likewise.
34437 (_G_MMAP64): Likewise.
34438 (_G_FSTAT64): Likewise.
34439 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34440 unconditional. Call __mmap64 directly.
34441 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34442 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
34443 __lseek64 directly.
34444 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34445 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
34447 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34448 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
34449 __lseek64 directly.
34450 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34451 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
34452 __lseek64 directly.
34453 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34454 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
34455 __lseek64 directly.
34456 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34457 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
34458 __fxstat64 directly.
34459 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34460 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34462 (freopen64) [!_G_OPEN64]: Remove conditional code.
34463 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34465 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34466 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34468 (ftello64) [!_G_LSEEK64]: Remove conditional code.
34469 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34471 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34472 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34474 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34475 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34477 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34478 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34480 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34481 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34483 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34485 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34488 * manual/memory.texi (Malloc Tunable Parameters): Add note
34489 about free list pointers overwriting some perturb bytes.
34490 Wording suggested by Roland McGrath.
34492 2012-10-17 Joseph Myers <joseph@codesourcery.com>
34494 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34495 (lgamma_test): Likewise.
34496 (tgamma_test): Likewise.
34498 2012-10-16 Florian Weimer <fweimer@redhat.com>
34501 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34502 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34504 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
34506 * NEWS: Mention BZ #14716.
34507 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34508 when removing AVAILABLE1_USES_J macro.
34510 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
34512 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34513 (__bswap_64): __uint64_t for unsigned 64-bit int.
34515 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
34517 * include/string.h (memmem): Declare libc hidden alias.
34518 * string/memmem.c (memmem): Define libc hidden alias.
34519 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34520 __read, __close instead of open, read, close.
34522 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
34524 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34525 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34527 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34528 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34529 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34531 (__rawmemchr_sse2): Likewise.
34532 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34533 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34534 (__strchr_sse2): Likewise.
34535 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34536 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34537 (__strcasecmp_sse2): Likewise.
34538 (__strncasecmp_sse2): Likewise.
34539 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34540 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34541 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34542 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34543 (__strrchr_sse2): Likewise.
34544 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34546 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34547 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34548 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34549 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34550 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34551 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34552 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34553 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34554 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34555 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34556 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34557 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34558 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34559 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34560 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34561 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34562 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34563 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34564 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34565 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34566 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34567 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34568 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34569 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34570 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34571 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34572 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34573 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34574 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34575 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34577 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34579 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34580 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34581 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34582 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34584 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34586 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34587 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34588 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34589 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34591 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34592 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34593 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34594 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34595 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34596 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34597 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34598 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34599 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34600 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34601 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34602 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34603 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34604 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34605 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34606 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34607 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34608 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34609 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34610 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34611 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34612 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34613 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34614 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34615 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34616 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34617 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34618 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34619 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34620 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34621 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34622 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34623 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34624 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34625 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34626 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34627 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34628 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34629 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34630 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34631 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34633 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34634 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34635 * include/ifunc-impl-list.h: New file.
34636 * misc/ifunc-impl-list.c: Likewise.
34637 * misc/Makefile (routines): Add ifunc-impl-list.
34638 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34639 * string/test-string.h: Include <ifunc-impl-list.h>.
34640 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34641 TEST_NAME]: New variables.
34642 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34644 (test_init): Call __libc_ifunc_impl_list to initialize
34645 func_list if TEST_IFUNC and TEST_NAME are defined.
34647 * string/Makefile (strop-tests): Add bcopy and bzero.
34648 * string/test-bcopy.c: New file.
34649 * string/test-bzero.c: Likewise.
34650 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34652 * string/test-memset.c: Support bzero test if TEST_BZERO is
34654 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34656 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34658 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34661 2012-10-10 Joseph Myers <joseph@codesourcery.com>
34663 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34664 * configure: Regenerated.
34666 * Makeconfig (+link-static-before-libc): Don't include
34667 $(link-static-libc).
34669 * libio/libio.h (_IO_pos_t): Remove.
34671 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34673 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34676 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34678 * crypt/crypt-entry.c: Include fips-private.h.
34679 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34680 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34681 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34682 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34684 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34686 * crypt/crypt-private.h: Include stdbool.h.
34687 (_ufc_setup_salt_r): Return bool.
34688 * crypt/crypt-entry.c: Include errno.h.
34689 (__crypt_r): Return NULL with EINVAL for bad salt.
34690 * crypt/crypt_util.c (bad_for_salt): New.
34691 (_ufc_setup_salt_r): Check that salt is long enough and within
34692 the specified alphabet.
34693 * crypt/badsalttest.c: New file.
34694 * crypt/Makefile (tests): Add it.
34695 ($(objpfx)badsalttest): New.
34697 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34699 * NEWS: Add entry for BZ #14602.
34701 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34703 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34705 * math/libm-test.inc: Update comment listing what functions and
34707 (isgreater_test): New function.
34708 (isgreaterequal_test): Likewise.
34709 (isless_test): Likewise.
34710 (islessequal_test): Likewise.
34711 (islessgreater_test): Likewise.
34712 (isunordered_test): Likewise.
34713 (main): Call the new functions.
34715 2012-10-09 Roland McGrath <roland@hack.frob.com>
34717 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34718 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34719 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34720 * sysdeps/i386/configure: Regenerated.
34721 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34722 * sysdeps/mach/configure: Regenerated.
34723 * sysdeps/mach/hurd/configure: Regenerated.
34724 * sysdeps/powerpc/configure: Regenerated.
34725 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34726 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34727 * sysdeps/s390/s390-32/configure: Regenerated.
34728 * sysdeps/s390/s390-64/configure: Regenerated.
34729 * sysdeps/sh/configure: Regenerated.
34730 * sysdeps/sparc/configure: Regenerated.
34731 * sysdeps/unix/sysv/linux/configure: Regenerated.
34732 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34733 * sysdeps/x86_64/configure: Regenerated.
34735 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34736 defined. Don't check if MAP is NULL.
34738 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34740 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34741 (_G_stat64): Likewise.
34742 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34743 (_G_stat64): Likewise.
34744 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34745 instead of struct _G_stat64.
34746 * libio/fileops.c (mmap_remap_check): Likewise.
34747 (decide_maybe_mmap): Likewise.
34748 (_IO_new_file_seekoff): Likewise.
34749 (_IO_file_stat): Likewise.
34750 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34752 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34753 instead of struct _G_stat64.
34754 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34756 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34759 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34761 (CHECK_EOL): New macro.
34762 (two_way_short_needle): Check beginning of haystack for EOL. Use
34764 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34765 Replace with CHECK_EOL.
34766 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34767 Replace with CHECK_EOL.
34769 2012-10-08 Joseph Myers <joseph@codesourcery.com>
34771 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34773 * math/libm-test.inc: Update comment listing what functions and
34775 (finite_test): New function.
34776 (isinf_test): Likewise.
34777 (isnan_test): Likewise.
34778 (fpclassify_test): Test subnormal input.
34779 (isfinite_test): Likewise.
34780 (isnormal_test): Likewise.
34781 (main): Call the new functions.
34783 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34786 * Makerules (%.dynsym): Force C locale when running
34787 $(OBJDUMP) --dynamic-syms.
34789 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34791 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34794 2012-10-06 David S. Miller <davem@davemloft.net>
34796 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34797 upper 32-bits of the length value in %o2 since we use branch-on-register
34798 tests which consider the entire 64-bit register.
34800 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34802 * string/test-strstr.c (check2): Add a test for page boundary.
34804 2012-10-05 David S. Miller <davem@davemloft.net>
34806 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34807 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34809 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34811 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34812 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34813 and bzero when HWCAP_SPARC_CRYPTO is present.
34815 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34818 * string/test-strstr.c (check2): New function.
34819 (test_main): Call check2.
34821 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34823 * string/bug-strcasestr1.c (do_test): Moved to ...
34824 * string/test-strcasestr.c (check1): Here. New function.
34825 (do_one_test): Break out result checking code into ...
34826 (check_result): This. New function.
34827 (do_one_test): Call check_result.
34828 (test_main): Call check1.
34829 * string/bug-strchr1.c (do_test): Moved to ...
34830 * string/test-strchr.c (check1): Here. New function.
34831 (do_one_test): Break out result checking code into ...
34832 (check_result): This. New function.
34833 (do_one_test): Call check_result.
34834 (test_main): Call check1.
34835 * string/bug-strstr1.c (main): Moved to ...
34836 * string/test-strstr.c (check1): Here. New function.
34837 (do_one_test): Break out result checking code into ...
34838 (check_result): This. New function.
34839 (do_one_test): Call check_result.
34840 (test_main): Call check1.
34841 * string/bug-strcasestr1.c: Removed.
34842 * string/bug-strchr1.c: Likewise.
34843 * string/bug-strstr1.c: Likewise.
34845 * elf/Makefile (dl-routines): Add hwcaps.
34846 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34847 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34848 (_dl_important_hwcaps): Moved to ...
34849 * elf/dl-hwcaps.c: Here. New file.
34850 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34853 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34854 if IS_IN_rtld isn't defined.
34856 * elf/dl-support.c (_dl_sysinfo_map): New.
34857 Include "get-dynamic-info.h" and "setup-vdso.h".
34858 (_dl_non_dynamic_init): Call setup_vdso.
34859 * elf/dynamic-link.h: Don't include <assert.h>.
34860 (elf_get_dynamic_info): Moved to ...
34861 * elf/get-dynamic-info.h: Here. New file.
34862 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34863 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34864 * elf/setup-vdso.h: Here. New file.
34865 * elf/rtld.c: Include "setup-vdso.h".
34866 (dl_main): Call setup_vdso.
34868 2012-10-05 Joseph Myers <joseph@codesourcery.com>
34870 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34871 creal in comment listing functions tested. List finite, isinf,
34872 isnan, isless, islessequal, isgreater, isgreaterequal,
34873 islessgreater, isunordered, lgamma_r and pow10 as functions and
34874 macros not tested. Mention which functions not tested are aliases
34875 for other functions. Fix typo. Note that signs of NaNs are not
34878 * scripts/config.guess: Update from config.git.
34879 * scripts/config.sub: Likewise.
34881 2012-10-04 Roland McGrath <roland@hack.frob.com>
34883 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34884 * misc/madvise.c (madvise): Renamed to __madvise.
34885 Make madvise a weak alias.
34886 * include/sys/mman.h: Declare __madvise.
34887 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34888 * sysdeps/unix/syscalls.list
34889 (madvise): Make __madvise the strong name, and madvise a weak alias.
34890 * sysdeps/unix/sysv/linux/syscalls.list
34891 (madvise, mmap): Remove redundant entries.
34892 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34893 * malloc/malloc.c (mtrim): Likewise.
34894 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34896 2012-10-03 Roland McGrath <roland@hack.frob.com>
34898 * sysdeps/mach/hurd/dl-cache.c: File removed.
34899 * config.h.in (USE_LDCONFIG): New #undef.
34900 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34901 * configure: Regenerated.
34902 * elf/Makefile (dl-routines): Add dl-cache only under
34903 [$(use-ldconfig) = yes].
34904 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34905 cache on [USE_LDCONFIG].
34906 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34908 * elf/rtld.c (dl_main): Likewise.
34910 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34912 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34913 _SC_LEVEL4_CACHE_LINESIZE.
34915 2012-10-03 Roland McGrath <roland@hack.frob.com>
34917 * sysdeps/unix/bsd/confstr.h: File removed.
34919 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
34921 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34924 2012-10-02 Roland McGrath <roland@hack.frob.com>
34926 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34927 Make 'mapoff' field ElfW(Off) rather than off_t.
34929 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34931 * nscd/Makefile: Remove nscd-cflags and all its users.
34932 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34933 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34936 * malloc.c (malloc_printerr): Clarify error message.
34938 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34941 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34942 Set bit_FMA_Usable if FMA is supported.
34943 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34945 (bit_FMA4_Usable): Updated.
34946 (index_FMA_Usable): New macro.
34947 (CPUID_FMA): Likewise
34948 (HAS_FMA): Defined with bit_FMA_Usable.
34950 2012-10-01 Roland McGrath <roland@hack.frob.com>
34952 * bits/types.h (__swblk_t): Type removed.
34953 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34954 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34955 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34956 (__SWBLK_T_TYPE): Likewise.
34957 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34958 (__SWBLK_T_TYPE): Likewise.
34959 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34960 (__SWBLK_T_TYPE): Likewise.
34961 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34962 (__SWBLK_T_TYPE): Likewise.
34964 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
34965 Honza Horak <hhorak@redhat.com>
34967 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34968 (xdr_mapname): Use YPMAXMAP as maxsize.
34969 (xdr_peername): Use YPMAXPEER as maxsize.
34970 (xdr_keydat): Use YPAXRECORD as maxsize.
34971 (xdr_valdat): Use YPMAXRECORD as maxsize.
34973 2012-10-01 Roland McGrath <roland@hack.frob.com>
34975 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34977 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34978 * csu/init-first.c: ... here.
34979 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34980 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34981 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34982 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34983 * sysdeps/i386/init-first.c: File removed.
34984 * sysdeps/sh/init-first.c: File removed.
34986 2012-10-01 Joseph Myers <joseph@codesourcery.com>
34989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34990 if x * y might underflow to zero and z is zero.
34991 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34992 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34993 * math/libm-test.inc (min_subnorm_value): New variable.
34994 (fma_test): Add more tests.
34995 (fma_test_towardzero): Likewise.
34996 (fma_test_downward): Likewise
34997 (fma_test_upward): Likewise.
34998 (initialize): Set min_subnorm_value.
35000 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35003 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35005 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35006 mode for addition resulting in exact zero.
35007 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35008 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35010 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35011 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35012 * math/libm-test.inc (fma_test): Add more tests.
35013 (fma_test_towardzero): New function.
35014 (fma_test_downward): Likewise.
35015 (fma_test_upward): Likewise.
35016 (main): Call the new functions.
35018 2012-09-28 David S. Miller <davem@davemloft.net>
35020 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35022 2012-09-28 Roland McGrath <roland@hack.frob.com>
35024 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35025 instead of SIGALRM.
35027 * sysdeps/gnu/_G_config.h: Moved to ...
35028 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35029 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35030 * sysdeps/generic/_G_config.h: ... here.
35032 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35034 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35036 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35037 Conditionalize target on [libnss_test1.so-version].
35039 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35041 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35042 (elfobjdir): Move out of conditionals.
35044 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35045 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35046 (__nss_lookup_function): Conditionalize label remove_from_tree on
35047 [!DO_STATIC_NSS || SHARED], matching its only use.
35049 2012-09-28 David S. Miller <davem@davemloft.net>
35051 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35052 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35054 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35056 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35057 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35058 when HWCAP_SPARC_CRYPTO is present.
35060 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35062 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35064 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35067 * stdio-common/vfprintf.c (process_string_arg): Revert
35070 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35072 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35074 * stdio-common/tst-sprintf.c: Include <locale.h>
35075 (main): Test sprintf's handling of incomplete multibyte
35078 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35080 * elf/dl-runtime.c (VERSYMIDX): Removed.
35081 * elf/dl-version.c (VERSYMIDX): Likewise.
35082 * elf/do-rel.h (VERSYMIDX): Likewise.
35083 (VALIDX): Likewise.
35084 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35085 * elf/rtld.c (VALIDX): Likewise.
35086 (ADDRIDX): Likewise.
35087 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35088 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35089 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35090 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35091 (VALIDX): Likewise.
35092 (ADDRIDX): Likewise.
35094 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35096 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35098 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35101 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35103 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35104 addresses are in the same scope as 192.0.2/24.
35105 * posix/gai.conf: Document new scope table defaults.
35107 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35110 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35111 for ftell. Compute offsets from write pointers instead.
35112 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35114 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35117 * libio/Makefile (tests): New test case tst-fseek.
35118 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35119 combination works in wide mode.
35120 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35121 state when the external buffer state changes.
35123 2012-09-27 David S. Miller <davem@davemloft.net>
35126 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35127 pass reloc->r_addend in as the 'high' argument to
35128 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35132 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35134 * rt/tst-aio2.c: Include <pthread.h>.
35135 * rt/tst-aio3.c: Likewise.
35137 2012-09-27 Steve Ellcey <sellcey@mips.com>
35139 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35141 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35143 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35144 contents on [SHARED].
35146 2012-09-26 Marek Polacek <polacek@redhat.com>
35150 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35151 for C++ and GCC <4.3 as well as for non GCC compilers.
35153 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35155 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35157 2012-09-25 Roland McGrath <roland@hack.frob.com>
35159 * Makefile.in (all, install): Declare with .PHONY.
35160 Reported by Michael Hope <michael.hope@linaro.org>.
35162 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35164 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35165 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35167 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35169 (sydep_routines): Add the new and the internal functions.
35170 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35171 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35173 (GLIBC_2.17): Add the new function.
35174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35175 (GLIBC_2.17): Likewise.
35176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35177 (GLIBC_2.17): Likewise.
35178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35179 (GLIBC_2.17): Likewise.
35180 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35182 2012-09-25 Alan Modra <amodra@gmail.com>
35184 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35185 Add release barrier before setting once_control to say
35186 initialisation is done. Add hints on lwarx. Use macro in
35188 (clear_once_control): Add release barrier.
35190 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35193 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35195 * math/s_clog10.c (__clog10): Likewise.
35196 * math/s_clog10f.c (__clog10f): Likewise.
35197 * math/s_clog10l.c (__clog10l): Likewise.
35198 * math/s_clogf.c (__clogf): Likewise.
35199 * math/s_clogl.c (__clogl): Likewise.
35200 * math/Makefile (libm-calls): Add x2y2m1.
35201 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35202 (__x2y2m1): Likewise.
35203 (__x2y2m1l): Likewise.
35204 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35205 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35206 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35207 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35208 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35209 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35210 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35211 * sysdeps/i386/fpu/libm-test-ulps: Update.
35212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35215 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35216 int as type of variable DEPTH.
35217 (glob): Use size_t instead of int as type of variables NEWCOUNT
35220 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35222 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35223 Add s_sincosf-sse2.
35224 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35225 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35226 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35227 macros for using routine as __sincosf_ia32.
35228 Use macro for function declaration and weak_alias.
35229 * sysdeps/i386/fpu/libm-test-ulps: Update.
35231 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35234 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35235 subnormal argument.
35236 * math/s_cexpf.c (__cexpf): Likewise.
35237 * math/s_csinf.c (__csinf): Likewise.
35238 * math/s_csinhf.c (__csinhf): Likewise.
35239 * math/s_ctanf.c (__ctanf): Likewise.
35240 * math/s_ctanhf.c (__ctanhf): Likewise.
35241 * math/s_ccosh.c (__ccoshf): Likewise.
35242 * math/s_cexp.c (__cexpl): Likewise.
35243 * math/s_csin.c (__csin): Likewise.
35244 * math/s_csinh.c (__csinh): Likewise.
35245 * math/s_ctan.c (__ctan): Likewise.
35246 * math/s_ctanh.c (ctanh): Likewise.
35247 * math/s_ccoshl.c (__ccoshl): Likewise.
35248 * math/s_cexpl.c (__cexpl): Likewise.
35249 * math/s_csinl.c (__csinl): Likewise.
35250 * math/s_csinhl.c (__csinhl): Likewise.
35251 * math/s_ctanl.c (__ctanl): Likewise.
35252 * math/s_ctanhl.c (__ctanhl): Likewise.
35254 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35256 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35257 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35258 (_IO_off_t): Define to __off_t, not _G_off_t.
35259 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35260 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35261 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35262 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35263 type of __dummy and __dummy2 fields.
35264 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35265 (_G_ssize_t): Likewise.
35266 (_G_off_t): Likewise.
35267 (_G_pid_t): Likewise.
35268 (_G_uid_t): Likewise.
35269 (_G_wchar_t): Likewise.
35270 (_G_wint_t): Likewise.
35271 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35272 (_G_ssize_t): Likewise.
35273 (_G_off_t): Likewise.
35274 (_G_pid_t): Likewise.
35275 (_G_uid_t): Likewise.
35276 (_G_wchar_t): Likewise.
35277 (_G_wint_t): Likewise.
35278 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35279 (_G_ssize_t): Likewise.
35280 (_G_off_t): Likewise.
35281 (_G_pid_t): Likewise.
35282 (_G_uid_t): Likewise.
35283 (_G_wchar_t): Likewise.
35284 (_G_wint_t): Likewise.
35286 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35288 * malloc/arena.c: Include malloc-sysdep.h.
35289 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35290 is sufficient to shrink the heap or an unmap is needed.
35291 * sysdeps/generic/malloc-sysdep.h: New file. Define
35292 new function check_may_shrink_heap.
35293 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35294 new function check_may_shrink_heap.
35296 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35298 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35301 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35303 * catgets/test-gencat.sh: Add "set -e".
35304 * elf/tst-pathopt.sh: Likewise.
35305 * grp/tst_fgetgrent.sh: Likewise.
35306 * iconvdata/run-iconv-test.sh: Likewise.
35307 * intl/tst-gettext.sh: Likewise.
35308 * intl/tst-gettext2.sh: Likewise.
35309 * intl/tst-gettext4.sh: Likewise.
35310 * intl/tst-gettext6.sh: Likewise.
35311 * intl/tst-translit.sh: Likewise.
35312 * io/ftwtest-sh: Likewise.
35313 * libio/test-freopen.sh: Likewise.
35314 * malloc/tst-mtrace.sh: Likewise.
35315 * posix/globtest.sh: Likewise.
35316 * posix/tst-getconf.sh: Likewise.
35317 * posix/wordexp-tst.sh: Likewise.
35318 * stdio-common/tst-printf.sh: Likewise.
35319 * stdio-common/tst-unbputc.sh: Likewise.
35320 * stdlib/tst-fmtmsg.sh: Likewise.
35321 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35322 * catgets/Makefile: Do not specify -e option when running
35323 testsuite shell scripts.
35324 * elf/Makefile: Likewise.
35325 * grp/Makefile: Likewise.
35326 * iconvdata/Makefile: Likewise.
35327 * intl/Makefile: Likewise.
35328 * io/Makefile: Likewise.
35329 * libio/Makefile: Likewise.
35330 * malloc/Makefile: Likewise.
35331 * posix/Makefile: Likewise.
35332 * stdio-common/Makefile: Likewise.
35333 * stdlib/Makefile: Likewise.
35334 * sysdeps/x86_64/Makefile: Likewise.
35336 * io/ftwtest-sh: Add copyright header.
35337 * posix/globtest.sh: Likewise.
35338 * posix/tst-getconf.sh: Likewise.
35339 * posix/wordexp-tst.sh: Likewise.
35340 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35342 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35345 * Makeconfig (+link): Defined as $(+link-static) if
35346 $(build-shared) isn't yes.
35347 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35349 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35351 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35354 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35355 new chunk size with MALLOC_ALIGN_MASK.
35357 2012-09-24 Joseph Myers <joseph@codesourcery.com>
35360 * stdio-common/printf_fphex.c: Include <stdbool.h> and
35362 (__printf_fphex): Determine rounding using get_rounding_mode and
35364 * stdio-common/tst-printf-round.c (struct hex_test): New
35366 (hex_tests): New variable.
35367 (test_hex_in_one_mode): New function.
35368 (do_test): Also run tests for hex float output.
35370 2012-09-21 Joseph Myers <joseph@codesourcery.com>
35372 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35373 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35374 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35375 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35376 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35377 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35378 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35379 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35381 2012-09-20 Joseph Myers <joseph@codesourcery.com>
35383 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35384 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35385 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35386 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35388 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
35391 * elf/rtld.c (dl_main): Limit the check for self loading to normal
35393 * elf/tst-rtld-load-self.sh: New test.
35394 * elf/Makefile: Run it.
35396 2012-09-18 Joseph Myers <joseph@codesourcery.com>
35398 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35399 (tst-writev-ENV): Remove.
35400 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35402 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
35404 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35406 2012-09-17 Joseph Myers <joseph@codesourcery.com>
35408 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35410 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35412 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35413 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35414 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35417 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
35420 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35421 * config.make.in (have-cpp-asm-debuginfo): Removed.
35422 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35423 * configure: Regenerated.
35425 2012-09-14 Joseph Myers <joseph@codesourcery.com>
35428 * stdio-common/printf_fp.c: Include <stdbool.h> and
35430 (___printf_fp): Determine rounding using get_rounding_mode and
35432 * stdio-common/tst-printf-round.c: New file.
35433 * stdio-common/Makefile (tests): Add tst-printf-round.
35434 (link-libm): New variable.
35435 ($(objpfx)tst-printf-round): Depend in $(link-libm).
35437 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
35440 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35441 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35443 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35446 2012-09-13 Joseph Myers <joseph@codesourcery.com>
35448 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35449 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35450 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35451 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35453 2012-09-12 Joseph Myers <joseph@codesourcery.com>
35456 * include/rounding-mode.h: New file.
35457 * sysdeps/generic/get-rounding-mode.h: Likewise.
35458 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35459 * stdlib/strtod_l.c: Include <rounding-mode.h>.
35460 (MAX_VALUE): New macro.
35461 (MIN_VALUE): Likewise.
35462 (overflow_value): New function.
35463 (underflow_value): Likewise.
35464 (round_and_return): Use overflow_value and underflow_value to
35465 determine return values in overflow and underflow cases. Use
35466 round_away to determine rounding depending on rounding mode.
35467 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35468 determine return values in overflow and underflow cases.
35469 * stdlib/tst-strtod-round.c: Include <fenv.h>.
35470 (struct test_results): New structure.
35471 (struct test): Use struct test_results to store expected results
35472 for all rounding modes.
35473 (TEST): Include expected results for all rounding modes.
35474 (test_in_one_mode): New function.
35475 (do_test): Use test_in_one_mode to compute and check results.
35476 Check results for all rounding modes.
35477 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35480 2012-12-09 Allan McRae <allan@archlinux.org>
35482 * sysdeps/i386/fpu/libm-test-ulps: Update
35484 2012-09-11 Joseph Myers <joseph@codesourcery.com>
35486 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35487 (_G_int32_t): Likewise.
35488 (_G_uint16_t): Likewise.
35489 (_G_uint32_t): Likewise.
35490 (_G_HAVE_BOOL): Likewise.
35491 (_G_HAVE_ATEXIT): Likewise.
35492 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35493 (_G_HAVE_IO_FILE_OPEN): Likewise.
35494 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35495 (_G_int32_t): Likewise.
35496 (_G_uint16_t): Likewise.
35497 (_G_uint32_t): Likewise.
35498 (_G_HAVE_BOOL): Likewise.
35499 (_G_HAVE_ATEXIT): Likewise.
35500 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35501 (_G_HAVE_IO_FILE_OPEN): Likewise.
35502 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35503 (_G_int32_t): Likewise.
35504 (_G_uint16_t): Likewise.
35505 (_G_uint32_t): Likewise.
35506 (_G_HAVE_BOOL): Likewise.
35507 (_G_HAVE_ATEXIT): Likewise.
35508 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35509 (_G_HAVE_IO_FILE_OPEN): Likewise.
35511 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
35513 * csu/libc-tls.c: Update copyright years.
35515 2012-09-10 Joseph Myers <joseph@codesourcery.com>
35517 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35518 [!_G_USING_THUNKS]: Remove conditional code.
35519 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35520 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35522 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35523 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35524 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35525 (_G_VTABLE_LABEL_PREFIX): Likewise.
35526 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35527 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35528 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35529 (_G_VTABLE_LABEL_PREFIX): Likewise.
35530 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35531 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35532 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35533 (_G_VTABLE_LABEL_PREFIX): Likewise.
35534 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35536 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35538 * libio/Makefile: Include ../Makeconfig before tests.
35539 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35540 only if $(build-shared) is yes.
35542 * iconv/gconv_db.c: Update copyright years.
35544 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35546 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35547 unwind info if defined PIC. Fix special cases description.
35548 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35550 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35552 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35554 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35556 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35558 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35561 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35562 (LDLIBS-tst-chk4): This.
35563 (LDFLAGS-tst-chk5): Renamed to ...
35564 (LDLIBS-tst-chk5): This.
35565 (LDFLAGS-tst-chk6): Renamed to ...
35566 (LDLIBS-tst-chk6): This.
35567 (LDFLAGS-tst-lfschk4): Renamed to ...
35568 (LDLIBS-tst-lfschk4): This.
35569 (LDFLAGS-tst-lfschk5): Renamed to ...
35570 (LDLIBS-tst-lfschk5): This.
35571 (LDFLAGS-tst-lfschk6): Renamed to ...
35572 (LDLIBS-tst-lfschk6): This.
35574 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35575 on $(common-objpfx)soversions.mk.
35577 2012-09-07 Joseph Myers <joseph@codesourcery.com>
35580 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35583 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35585 * malloc/arena.c (arena_get_retry): New function that gets
35586 another arena for the caller to try its request on.
35587 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35588 current arena cannot fulfill the request.
35589 (__libc_memalign): Likewise.
35590 (__libc_memalign): Likewise.
35591 (__libc_pvalloc): Likewise.
35592 (__libc_calloc): Likewise.
35594 2012-09-05 John Tobey <john.tobey@gmail.com>
35597 * manual/arith.texi (Operations on Complex): Fix description
35598 of carg branch cut.
35600 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35603 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35607 * manual/memory.texi (Memory): Make order of menu items match
35610 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35612 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35613 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35614 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35616 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35618 * csu/libc-tls.c (static_dtv): Renamed to ...
35619 (_dl_static_dtv): This. Make it global.
35620 (_dl_initial_dtv): Removed.
35621 (__libc_setup_tls): Updated.
35622 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35623 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35626 2012-09-06 Petr Machata <pmachata@redhat.com>
35628 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35629 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35630 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35631 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35633 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35636 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35637 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35640 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35643 * Makeconfig (link-static-before-libc): Replace $(+prector)
35645 (link-static-after-libc): Replace $(+postctor) with
35647 (link-bounded): Replace $(+prector)/$(+postctor) with
35648 $(+prectorT)/$(+postctorT).
35649 (+prectorT): New macro.
35650 (+postctorT): Likewise.
35652 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35654 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35655 (round_str): Handle values above the maximum for IBM long double
35657 * stdlib/tst-strtod-round.c (tests): Regenerated.
35659 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35661 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35663 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35664 zarch_nohighgprs around the zarch optimized routines.
35665 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35666 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35667 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35670 2012-09-05 David S. Miller <davem@davemloft.net>
35672 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35674 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35675 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35676 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35677 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35680 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35682 * malloc/arena.c: Fold copyright years.
35683 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35685 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35687 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35689 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35691 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35693 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35695 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35696 change internal state upon failure.
35698 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35700 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35701 * malloc/memusage.c (mmap): Likewise.
35702 (mmap64, mremap): Likewise. Adjust name in comment.
35704 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35706 * libio/fileops.c: Fix typos in comments.
35707 * libio/oldfileops.c: Likewise.
35708 * libio/wfileops.c: Likewise.
35710 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35713 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35714 (tst-malloc-usable-ENV): Set environment for test case.
35715 * malloc/hooks.c (malloc_check_get_size): New function to get
35717 * malloc/malloc.c (musable): Use malloc_check_get_size.
35718 * malloc/tst-malloc-usable.c: New test case.
35720 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35722 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35724 2012-09-05 Allan McRae <allan@archlinux.org>
35727 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35728 determine header location.
35729 * configure: Regenerated.
35731 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35733 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35735 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35736 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35738 (test): Regenerate.
35740 2012-09-04 David S. Miller <davem@davemloft.net>
35742 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35743 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35744 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35746 2012-09-04 Florian Weimer <fweimer@redhat.com>
35748 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35751 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35753 2012-09-04 Joseph Myers <joseph@codesourcery.com>
35756 * libio/iogetdelim.c: Include <limits.h>.
35757 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35758 + len + 1 would overflow.
35760 2012-09-03 Andreas Jaeger <aj@suse.de>
35762 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35763 * sysdeps/i386/fpu/libm-test-ulps: Update.
35765 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35767 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35768 Add s_sinf-sse2, s_conf-sse2.
35770 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35771 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35772 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35773 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35775 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35776 for using routine as __sinf_ia32.
35777 Use macro for function declaration and weak_alias.
35778 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35779 for using routine as __cosf_ia32.
35780 Use macro for function declaration and weak_alias.
35782 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35783 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35785 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35786 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35789 * math/libm-test.inc (cos_test): Add more test cases.
35790 (sin_test): Likewise.
35791 (sincos_test): Likewise.
35793 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35795 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35796 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35798 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35800 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35803 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35804 first element of the GOT.
35805 (elf_machine_load_address): Return the difference between
35806 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35808 2012-09-01 Allan McRae <allan@archlinux.org>
35811 * configure.in (AWK): Require gawk version 3.0 or later.
35812 * configure: Regenerated.
35814 2012-09-01 Joseph Myers <joseph@codesourcery.com>
35816 * sysdeps/unix/sysv/linux/kernel-features.h
35817 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35818 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35819 [__NR_clock_getres]: Make code unconditional.
35820 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35821 (clock_getcpuclockid): Remove code left unreachable by removal of
35823 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35824 code unconditional.
35825 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35826 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35827 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35828 Make code unconditional.
35829 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35830 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35831 * sysdeps/unix/sysv/linux/clock_settime.c
35832 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35834 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35835 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35837 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35840 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35841 scripts/test-installation.pl.
35843 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35844 and $ld_so_version if it is set.
35846 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35849 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35850 failure if reading from procfs failed.
35851 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35853 2012-08-27 Joseph Myers <joseph@codesourcery.com>
35855 * sysdeps/unix/sysv/linux/kernel-features.h
35856 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35857 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35858 Remove conditional code.
35859 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35860 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35861 Remove conditional code.
35862 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35863 * sysdeps/unix/sysv/linux/i386/fxstat.c
35864 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35865 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35866 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35867 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35868 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35869 * sysdeps/unix/sysv/linux/i386/lxstat.c
35870 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35871 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35872 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35873 Remove conditional code.
35874 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35875 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35876 Remove conditional code.
35877 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35878 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35879 <kernel-features.h>.
35880 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35882 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35883 Remove conditional code.
35884 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35885 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35886 Remove conditional.
35888 2012-08-27 Mike Frysinger <vapier@gentoo.org>
35891 * NEWS: Add fixed bug number.
35893 2012-08-27 Joseph Myers <joseph@codesourcery.com>
35896 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35897 underflowing exponent in case of negative sign.
35898 * stdlib/tst-strtod-round-data: Add more tests.
35899 * stdlib/tst-strtod-round.c (tests): Regenerated.
35902 * stdlib/strtod_l.c (NDIG): Remove.
35903 (HEXNDIG): Likewise.
35904 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35905 smallest representable value.
35906 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35907 lie within an exact representation of 1/2 ulp of the result.
35908 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35910 (TENS_P9_IDX): Define unconditionally.
35911 (TENS_P9_SIZE): Likewise.
35912 (TENS_P10_IDX): Likewise.
35913 (TENS_P10_SIZE): Likewise.
35914 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35915 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35916 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35917 entries for 10^2^13 and 10^2^14.
35918 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35919 (TENS_P13_IDX): Define.
35920 (TENS_P13_SIZE): Likewise.
35921 (TENS_P14_IDX): Likewise.
35922 (TENS_P14_SIZE): Likewise.
35923 (_fpioconst_pow10): Change array size to
35924 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35926 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35927 1024]: Add entries for 10^2^13 and 10^2^14.
35928 [LAST_POW10 > _LAST_POW10]: Remove #error.
35929 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35930 (_fpioconst_pow10): Change array size to
35931 FPIOCONST_POW10_ARRAY_SIZE.
35932 * stdlib/gen-fpioconst.c: New file.
35933 * stdlib/gen-tst-strtod-round.c: Likewise.
35934 * stdlib/tst-strtod-round-data: Likewise.
35935 * stdlib/tst-strtod-round.c: Likewise.
35936 * stdlib/Makefile (tests): Add tst-strtod-round.
35939 * stdlib/strtod_l.c: Include <stdint.h>.
35940 (NDEBUG): Do not define.
35941 (round_and_return): Change EXPONENT parameter to type intmax_t.
35942 Rearrange calculations to avoid internal overflow possibilities.
35943 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35944 Rearrange calculations to avoid internal overflow possibilities.
35945 Assert that number fits inside MPNSIZE limbs.
35946 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35947 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35948 calculations and add assertions to avoid internal overflow
35949 possibilities. Add casts to avoid signed/unsigned operations.
35950 * stdlib/tst-strtod-overflow.c: New file.
35951 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35953 2012-08-25 Marek Polacek <polacek@redhat.com>
35955 * time/time.h: Fix some typos in comments.
35957 2012-08-23 Roland McGrath <roland@hack.frob.com>
35959 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35960 * posix/tst-rfc3484-2.c: Likewise.
35961 * posix/tst-rfc3484-3.c: Likewise.
35963 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
35965 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35966 (EF_ARM_ABI_FLOAT_HARD): Likewise.
35968 2012-08-23 Joseph Myers <joseph@codesourcery.com>
35970 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35971 #include of fxstatat64.c.
35973 2012-08-22 Roland McGrath <roland@hack.frob.com>
35975 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35976 * shadow/getspent_r.c: Likewise.
35977 * shadow/getspnam.c: Likewise.
35978 * shadow/getspnam_r.c: Likewise.
35979 * gshadow/getsgent.c: Likewise.
35980 * gshadow/getsgent_r.c: Likewise.
35981 * gshadow/getsgnam.c: Likewise.
35982 * gshadow/getsgnam_r.c: Likewise.
35983 * inet/getnetbyad.c: Likewise.
35984 * inet/getnetbyad_r.c: Likewise.
35985 * inet/getnetbynm.c: Likewise.
35986 * inet/getnetbynm_r.c: Likewise.
35987 * inet/getnetent.c: Likewise.
35988 * inet/getnetent_r.c: Likewise.
35989 * inet/getproto.c: Likewise.
35990 * inet/getproto_r.c: Likewise.
35991 * inet/getprtent.c: Likewise.
35992 * inet/getprtent_r.c: Likewise.
35993 * inet/getprtname.c: Likewise.
35994 * inet/getprtname_r.c: Likewise.
35995 * inet/getrpcbyname.c: Likewise.
35996 * inet/getrpcbyname_r.c: Likewise.
35997 * inet/getrpcbynumber.c: Likewise.
35998 * inet/getrpcbynumber_r.c: Likewise.
35999 * inet/getrpcent.c: Likewise.
36000 * inet/getrpcent_r.c: Likewise.
36001 * inet/getaliasent.c: Likewise.
36002 * inet/getaliasent_r.c: Likewise.
36003 * inet/getaliasname.c: Likewise.
36004 * inet/getaliasname_r.c: Likewise.
36005 * nscd/getgrgid_r.c: Likewise.
36006 * nscd/getgrnam_r.c: Likewise.
36007 * nscd/gethstbyad_r.c: Likewise.
36008 * nscd/gethstbynm3_r.c: Likewise.
36009 * nscd/getpwnam_r.c: Likewise.
36010 * nscd/getpwuid_r.c: Likewise.
36011 * nscd/getsrvbynm_r.c: Likewise.
36012 * nscd/getsrvbypt_r.c: Likewise.
36013 * nscd/gai.c: Likewise.
36015 * configure.in (build_nscd): New substituted variable, set
36016 by --disable-build-nscd and defaults to $use_nscd.
36017 * configure: Regenerated.
36018 * config.make.in (build-nscd): New substituted variable.
36019 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36020 Change conditional to require [$(build-nscd) = yes] as well.
36021 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36024 * configure.in (use_nscd): New substituted variable, set by
36025 --disable-nscd. If enabled, define USE_NSCD.
36026 * configure: Regenerated.
36027 * config.h.in: Add USE_NSCD.
36028 * config.make.in (use-nscd): New substituted variable.
36029 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36030 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36031 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36032 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36033 (CFLAGS-getgrnam_r.c): Likewise.
36034 (CFLAGS-initgroups.c): Likewise.
36035 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36036 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36038 * inet/getnetgrent_r.c
36039 (nscd_setnetgrent): New function, broken out of ...
36040 (setnetgrent): ... here. Call it.
36041 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36042 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36043 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36044 * nscd/Makefile (routines, aux): Move definitions after include of
36045 Makeconfig. Conditionalize on [$(use-nscd) != no].
36046 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36047 Conditionalize on [USE_NSCD].
36048 (is_nscd, nscd_init_cb): Likewise.
36049 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36050 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36051 * nss/nss_db/db-init.c: Likewise.
36052 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36054 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36055 (make_request): Use it.
36056 (cache_valid_p): New function.
36057 (__check_pf): Use it.
36058 * NEWS: Add item for --disable-nscd.
36060 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36062 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36063 to support sed >= 4.2.1-20-ga9bf076.
36064 * configure: Regenerated.
36066 2012-08-22 Roland McGrath <roland@hack.frob.com>
36068 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36069 Conditionalize whole body on [IREL].
36071 2012-08-22 Jeff Law <law@redhat.com>
36074 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36075 if the family is PF_UNSPEC.
36077 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36079 * Makerules (lib-version): Rename from V.
36080 (install-lib-nosubdir): Change V to lib-version.
36082 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36085 * powerpc32/power6/wcschr.c: New file.
36086 * powerpc32/power6/wcscpy.c: New file.
36087 * powerpc32/power6/wcsrchr.c: New file.
36088 * powerpc64/power6/wcschr.c: New file.
36089 * powerpc64/power6/wcscpy.c: New file.
36090 * powerpc64/power6/wcsrchr.c: New file.
36092 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36094 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36095 (two_way_short_needle): Use it.
36096 * string/strstr.c (AVAILABLE1_USES_J): Define.
36097 * string/strcasestr.c: Likewise.
36099 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36101 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36104 * NEWS: Add an entry.
36105 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36106 define their defaults.
36107 (two_way_short_needle): Detect end-of-string on-the-fly.
36108 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36109 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36110 * string/bug-strcasestr1.c: New test.
36111 * string/Makefile: Run it.
36113 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36116 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36117 the first character.
36119 2012-08-21 Roland McGrath <roland@hack.frob.com>
36121 * csu/elf-init.c (__libc_csu_irel): Function removed.
36122 * csu/libc-start.c (apply_irel): New function.
36123 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36125 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36127 * sysdeps/unix/sysv/linux/kernel-features.h
36128 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36129 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36130 <kernel-features.h>.
36131 [__NR_fadvise64_64]: Make code unconditional.
36132 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36133 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36134 !__NR_fadvise64_64)]: Likewise.
36135 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36136 !__NR_fadvise64_64))]: Likewise.
36137 [__NR_fadvise64]: Make code unconditional.
36138 [!__NR_fadvise64]: Remove conditional code.
36139 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36140 <kernel-features.h>.
36141 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36143 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36146 not include <kernel-features.h>.
36147 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36149 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36151 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36152 include <kernel-features.h>.
36153 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36155 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36158 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36160 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36161 slight instruction rearrangements per scrollpipe analysis.
36162 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36164 2012-08-20 Roland McGrath <roland@hack.frob.com>
36166 * manual/syslog.texi (syslog; vsyslog, closelog):
36167 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36168 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36170 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36171 DSOCAPS to match condition on defining it.
36173 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36175 * sysdeps/unix/sysv/linux/kernel-features.h
36176 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36178 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36179 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36181 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36182 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36184 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36185 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36187 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36188 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36190 * sysdeps/unix/sysv/linux/kernel-features.h
36191 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36192 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36194 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36195 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36196 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36197 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36198 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36199 Make code unconditional.
36200 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36201 (__mmap64) [!__NR_mmap2]: Likewise.
36202 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36203 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36204 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36205 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36206 [__NR_mmap2]: Make code unconditional.
36207 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36208 (__mmap64) [!__NR_mmap2]: Likewise.
36210 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36212 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36214 2012-08-18 Andreas Jaeger <aj@suse.de>
36216 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36218 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36220 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36221 * include/unistd.h (__have_sock_cloexec): Likewise.
36222 (__have_pipe2): Likewise.
36223 (__have_dup3): Likewise.
36225 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36228 * include/unistd.h (__have_pipe2): Change define into an extern int.
36229 (__have_dup3): Likewise.
36230 * socket/have_sock_cloexec.c: Include fcntl.h.
36231 (__have_pipe2): New variable.
36232 (__have_dup3): Likewise.
36234 2012-08-17 Mike Frysinger <vapier@gentoo.org>
36236 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36238 2012-08-17 Marek Polacek <polacek@redhat.com>
36240 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36241 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36243 2012-08-17 Roland McGrath <roland@hack.frob.com>
36245 * configure.in: Add AC_SUBST for sysheaders.
36246 * configure: Regenerated.
36247 * config.make.in (sysheaders): New substituted variable.
36249 * sysdeps/unix/mkfifo.c: Moved ...
36250 * sysdeps/posix/mkfifo.c: ... here.
36251 * sysdeps/unix/mkfifoat.c: Moved ...
36252 * sysdeps/posix/mkfifoat.c: ... here.
36254 * sysdeps/unix/utime.c: Moved ...
36255 * sysdeps/posix/utime.c: ... here.
36257 * sysdeps/unix/time.c: Moved ...
36258 * sysdeps/posix/time.c: ... here.
36259 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36260 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36262 * sysdeps/unix/nice.c: Moved ...
36263 * sysdeps/posix/nice.c: ... here.
36265 * sysdeps/unix/alarm.c: Moved ...
36266 * sysdeps/posix/alarm.c: ... here.
36268 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36270 2012-08-17 Jeff Law <law@redhat.com>
36272 * intl/Makefile (codeset_mo): New variable.
36273 ($(codeset_mo)): New target.
36274 (tst-codeset.out): Depend on that. Remove explicit rule.
36275 (tst-gettext3.out, tst-gettext5.out): Likewise.
36276 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36277 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36278 * intl/tst-codeset.sh: Remove.
36279 * intl/tst-gettext3.sh: Likewise.
36280 * intl/tst-gettext5.sh: Likewise.
36282 2012-08-17 Roland McGrath <roland@hack.frob.com>
36284 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36285 * sysdeps/unix/syscalls.list: ... here.
36287 * sysdeps/posix/getaddrinfo.c
36288 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36289 (gaiconf_init, gaiconf_reload): Use them.
36290 [!_STATBUF_ST_NSEC]
36291 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36292 Define using time_t rather than struct timespec.
36294 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36295 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36297 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36299 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36300 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36303 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36304 __libc_cleanup_push argument.
36306 * bits/param.h: New file.
36307 * misc/sys/param.h: New file.
36308 * include/sys/param.h: New file.
36309 * misc/Makefile (headers): Add bits/param.h.
36310 * sysdeps/generic/sys/param.h: File removed.
36311 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36312 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36313 * sysdeps/mach/hurd/bits/param.h: New file.
36314 * sysdeps/mach/hurd/sys/param.h: File removed.
36316 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36319 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36321 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36322 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36325 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36326 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36327 rather than -D_IO_MTSAFE_IO conditionally.
36328 * stdio-common/Makefile (CPPFLAGS): Likewise.
36329 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36330 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36331 Use $(libio-mtsafe).
36332 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36333 of -D_IO_MTSAFE_IO.
36334 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36335 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36336 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36337 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36338 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36339 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36340 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36341 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36342 (CFLAGS-fread_u_chk.c): Likewise.
36343 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36344 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36345 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36346 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36347 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36348 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36349 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36350 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36351 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36353 * libio/Makefile: Test [$(libc-reentrant) = yes]
36354 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36357 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36358 * sysdeps/pthread/configure: File removed.
36359 * sysdeps/pthread/Makeconfig: New file.
36360 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36361 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36363 2012-08-16 Gary Benson <gbenson@redhat.com>
36365 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36366 unmapping the first object in a namespace.
36368 2012-08-16 Roland McGrath <roland@hack.frob.com>
36370 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36371 (__internal_setnetgrent): ... this. Add internal_function to
36372 definition. Add libc_hidden_def.
36373 (setnetgrent): Update caller.
36374 (internal_endnetgrent): Renamed to ...
36375 (__internal_endnetgrent): ... this. Add internal_function to
36376 definition. Add libc_hidden_def.
36377 (endnetgrent): Update caller.
36378 (internal_getnetgrent_r): Renamed to ...
36379 (__internal_getnetgrent_r): ... this. Add internal_function to
36380 definition. Add libc_hidden_def.
36381 (__getnetgrent_r): Update caller.
36382 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
36384 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36386 * stdlib/longlong.h: Update from GCC.
36388 2012-08-16 Roland McGrath <roland@hack.frob.com>
36390 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36391 on _QL, which is set by umul_ppmm but never used.
36392 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36393 variables, which are set by GMP macros but never used.
36394 * stdio-common/_itowa.c (_itowa): Likewise.
36395 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36396 * stdlib/mod_1.c (mpn_mod_1): Likewise.
36398 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
36400 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36401 struct La_sh_regs is not constant.
36402 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36403 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36404 and struct La_sparc64_regs are not constant.
36406 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36408 * sysdeps/unix/sysv/linux/kernel-features.h
36409 (__ASSUME_POSIX_TIMERS): Remove.
36410 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36411 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36412 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36413 Make code unconditional.
36414 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36415 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36416 Make code unconditional.
36417 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36418 * sysdeps/unix/sysv/linux/clock_nanosleep.c
36419 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36420 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36421 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36422 Make code unconditional.
36423 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36424 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36425 (__libc_missing_posix_timers): Remove.
36427 2012-08-15 Roland McGrath <roland@hack.frob.com>
36429 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36430 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36432 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36434 * elf/dl-sym.c: Include <stdlib.h>.
36436 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36437 constants, which avoids warnings in 32-bit builds.
36439 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36440 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36442 * misc/lseek.c: File moved to ...
36443 * io/lseek.c: ... here.
36445 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36447 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36448 shifting LEN more than 31 bits at once.
36450 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36453 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36454 segmentation fault for a case of two empty input strings.
36455 * string/test-strncasecmp.c (check1): Renamed to...
36456 (bz12205): ...this.
36457 (bz14195): Add new testcase for two empty input strings and N > 0.
36458 (test_main): Call new testcase, adapt for renamed function.
36460 2012-08-15 Andreas Jaeger <aj@suse.de>
36463 * crypt/md5test2.c: New test, based on test supplied by Serge
36464 Belyshev <belyshev@depni.sinp.msu.ru>.
36465 * crypt/Makefile (xtests): Add md5test-giant..
36466 * crypt/Makefile ($(objpfx)md5test-giant): Add.
36468 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
36471 * crypt/md5.c (md5_process_block): Don't assume the buffer
36472 length is less than 2**32.
36473 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36474 length is less than 2**64.
36476 2012-08-15 Roland McGrath <roland@hack.frob.com>
36478 * string/str-two-way.h: Include <sys/param.h>.
36479 (MAX): Macro removed.
36481 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36482 Move #define and #undef of memmove to just before and after
36483 including <string.h>.
36485 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36486 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36487 and after including <string.h>. Move declarations of
36488 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36489 to before #include "string/memmove.c".
36491 * include/dirent.h: Declare __getdirentries.
36493 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36494 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36496 2012-08-14 Mike Frysinger <vapier@gentoo.org>
36498 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36499 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36500 * sysdeps/i386/configure: Regenerated.
36501 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36502 STABS_CURRENT_FILE, and STABS_FUN.
36503 (END): Remove call to STABS_FUN_END.
36504 (STABS_CURRENT_FILE1): Delete.
36505 (STABS_CURRENT_FILE): Likewise.
36506 (STABS_FUN): Likewise.
36507 (STABS_FUN_END): Likewise.
36508 (STABS_FUN2): Likewise.
36509 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36510 * sysdeps/x86_64/configure: Regenerated.
36512 2012-08-14 Roland McGrath <roland@hack.frob.com>
36514 * elf/dl-open.c: Include <atomic.h>.
36515 * elf/dl-lookup.c: Likewise.
36517 2012-08-14 Joseph Myers <joseph@codesourcery.com>
36519 * sysdeps/unix/sysv/linux/kernel-features.h
36520 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36521 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36523 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36525 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36526 condition on __ASSUME_CLONE_THREAD_FLAGS.
36528 2012-08-14 Andreas Jaeger <aj@suse.de>
36530 * sysdeps/i386/fpu/libm-test-ulps: Update.
36532 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36534 * include/atomic.h (atomic_exchange_and_add): Split into ...
36535 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36538 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36540 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36542 2012-08-13 Jeff Law <law@redhat.com>
36544 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36545 null byte in the output string.
36547 2012-08-10 Joseph Myers <joseph@codesourcery.com>
36549 * sysdeps/unix/sysv/linux/kernel-features.h
36550 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36551 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36552 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36553 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36554 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36555 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36556 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36558 2012-08-09 Jeff Law <law@redhat.com>
36561 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36562 When avoid_arena is set, don't retry in the that arena. Pick the
36563 next one, whatever it might be.
36564 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36565 (arena_lock): Pass in new parameter to arena_get2.
36566 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36568 (__libc_malloc): Unify retrying after main arena failure with
36569 __libc_memalign version.
36570 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36572 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36575 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36576 to __redirect_strstr.
36577 (__strstr_sse42): Use typeof __redirect_strstr.
36578 (__strstr_ia32): Likewise.
36579 (__libc_strstr): New prototype.
36580 (strstr): Renamed to ...
36581 (__libc_strstr): This.
36582 (strstr): New strong alias of __libc_strstr.
36583 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36584 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36587 (__libc_time): New prototype.
36588 (time_ifunc): Replace time with __libc_time.
36589 (time): New strong alias and hidden definition of __libc_time.
36590 (__GI_time): Remove strong alias.
36591 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36592 Include <stddef.h>.
36593 (memmove): Redefined to __redirect_memmove.
36594 (__memmove_sse2): Use typeof __redirect_memmove.
36595 (__memmove_ssse3): Likewise.
36596 (__memmove_ssse3_back): Likewise.
36597 (__libc_memmove): New prototype.
36598 (memmove): Renamed to ...
36599 (__libc_memmove): This.
36600 (memmove): New strong alias of __libc_memmove.
36602 2012-08-08 Mark Salter <msalter@redhat.com>
36605 (R_MN10300_TLS_GD): Define.
36606 (R_MN10300_TLS_LD): Likewise.
36607 (R_MN10300_TLS_LDO): Likewise.
36608 (R_MN10300_TLS_GOTIE): Likewise.
36609 (R_MN10300_TLS_IE): Likewise.
36610 (R_MN10300_TLS_LE): Likewise.
36611 (R_MN10300_TLS_DTPMOD): Likewise.
36612 (R_MN10300_TLS_DTPOFF): Likewise.
36613 (R_MN10300_TLS_TPOFF): Likewise.
36614 (R_MN10300_SYM_DIFF): Likewise.
36615 (R_MN10300_ALIGN): Likewise.
36616 (R_MN10300_NUM): Update.
36618 2012-08-08 Joseph Myers <joseph@codesourcery.com>
36620 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36623 2012-08-08 Roland McGrath <roland@hack.frob.com>
36625 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36627 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36628 sysdeps/unix -> sysdeps/posix move.
36629 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36631 2012-08-07 Allan McRae <allan@archlinux.org>
36634 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36635 (SUNOS_CPP): Likewise.
36636 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36638 (open_input): Call CPP using execvp.
36640 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36642 * sysdeps/unix/sysv/linux/kernel-features.h
36643 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36644 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36645 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36646 (__ASSUME_WAITID_SYSCALL): Likewise.
36647 * sysdeps/unix/sysv/linux/dl-execstack.c
36648 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36649 code unconditional.
36650 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36652 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36653 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36654 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36656 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36658 [__ASSUME_WAITID_SYSCALL]: Likewise.
36659 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36661 2012-08-07 Roland McGrath <roland@hack.frob.com>
36663 * sysdeps/unix/closedir.c: Renamed to ...
36664 * sysdeps/posix/closedir.c: ... here.
36665 * sysdeps/unix/dirfd.c: Renamed to ...
36666 * sysdeps/posix/dirfd.c: ... here.
36667 * sysdeps/unix/dirstream.h: Renamed to ...
36668 * sysdeps/posix/dirstream.h: ... here.
36669 * sysdeps/unix/fdopendir.c: Renamed to ...
36670 * sysdeps/posix/fdopendir.c: ... here.
36671 * sysdeps/unix/opendir.c: Renamed to ...
36672 * sysdeps/posix/opendir.c: ... here.
36673 * sysdeps/unix/readdir.c: Renamed to ...
36674 * sysdeps/posix/readdir.c: ... here.
36675 * sysdeps/unix/readdir_r.c: Renamed to ...
36676 * sysdeps/posix/readdir_r.c: ... here.
36677 * sysdeps/unix/rewinddir.c: Renamed to ...
36678 * sysdeps/posix/rewinddir.c: ... here.
36679 * sysdeps/unix/seekdir.c: Renamed to ...
36680 * sysdeps/posix/seekdir.c: ... here.
36681 * sysdeps/unix/telldir.c: Renamed to ...
36682 * sysdeps/posix/telldir.c: ... here.
36683 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36684 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36685 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36686 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36688 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36689 * bits/fcntl.h: ... here.
36691 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36693 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36694 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36695 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36696 (struct flock): Move l_start, l_len to the beginning.
36697 Use __pid_t for l_pid.
36698 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36699 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36700 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36701 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36702 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36703 [__USE_LARGEFILE64] (struct flock64): New type.
36704 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36706 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36707 * bits/dirent.h: ... here.
36709 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36710 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36712 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36714 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36715 Change from 2.6.0 to 2.6.16.
36716 * sysdeps/unix/sysv/linux/configure: Regenerated.
36717 * sysdeps/unix/sysv/linux/kernel-features.h
36718 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36719 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36721 (__ASSUME_UTIMES): Likewise.
36722 (__ASSUME_CLONE_STOPPED): Remove.
36723 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36724 architectures, not kernel version.
36725 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36726 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36727 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36728 (__ASSUME_WAITID_SYSCALL): Likewise.
36729 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36730 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36731 * README: State 2.6.16 as minimum Linux kernel version. Do not
36732 refer to older versions.
36734 2012-08-06 Roland McGrath <roland@hack.frob.com>
36736 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36737 Define alphasort64 as an alias.
36738 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36739 Define versionsort64 as an alias.
36740 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36741 Define scandir64 as an alias.
36742 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36743 Define scandirat64 as an alias.
36744 * dirent/alphasort64.c (alphasort64):
36745 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36746 * dirent/versionsort64.c: Likewise.
36747 * dirent/scandir64.c: Likewise.
36748 * dirent/scandirat64.c: Likewise.
36749 * sysdeps/wordsize-64/alphasort.c: File removed.
36750 * sysdeps/wordsize-64/alphasort64.c: File removed.
36751 * sysdeps/wordsize-64/scandir.c: File removed.
36752 * sysdeps/wordsize-64/scandir64.c: File removed.
36753 * sysdeps/wordsize-64/scandirat.c: File removed.
36754 * sysdeps/wordsize-64/scandirat64.c: File removed.
36755 * sysdeps/wordsize-64/versionsort.c: File removed.
36756 * sysdeps/wordsize-64/versionsort64.c: File removed.
36757 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36758 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36759 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36760 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36761 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36762 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36763 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36764 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36766 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36767 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36768 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36769 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36770 [defined __arch64__ || defined __sparcv9]
36771 (__INO_T_MATCHES_INO64_T): New macro.
36772 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36773 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36774 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36775 * sysdeps/unix/sysv/linux/bits/dirent.h
36776 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36777 (_DIRENT_MATCHES_DIRENT64): New macro.
36779 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36780 Define lockf64 as an alias.
36781 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36782 Define fseeko64 as an alias.
36783 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36784 Define ftello64 as an alias.
36785 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36786 Define _IO_fgetpos64 and fgetpos64 as aliases.
36787 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36788 Define _IO_fsetpos64 and fsetpos64 as aliases.
36789 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36790 Conditionalize body on this.
36791 * libio/fseeko64.c: Likewise.
36792 * libio/ftello64.c: Likewise.
36793 * libio/iofgetpos64.c: Likewise.
36794 * libio/iofsetpos64.c: Likewise.
36795 * sysdeps/wordsize-64/lockf.c: File removed.
36796 * sysdeps/wordsize-64/lockf64.c: File removed.
36797 * sysdeps/wordsize-64/fseeko.c: File removed.
36798 * sysdeps/wordsize-64/fseeko64.c: File removed.
36799 * sysdeps/wordsize-64/ftello.c: File removed.
36800 * sysdeps/wordsize-64/ftello64.c: File removed.
36801 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36802 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36803 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36804 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36805 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36806 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36807 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36808 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36809 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36810 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36811 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36812 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36813 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36814 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36816 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36817 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36818 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36819 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36820 [defined __arch64__ || defined __sparcv9]
36821 (__OFF_T_MATCHES_OFF64_T): New macro.
36822 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36823 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36824 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36825 (__OFF_T_MATCHES_OFF64_T): New macro.
36827 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36829 * stdlib/secure-getenv.c (__secure_getenv): Replace
36830 GLIBC_2_16 with GLIBC_2_17.
36832 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36834 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36835 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36837 2012-08-03 David S. Miller <davem@davemloft.net>
36839 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36841 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36843 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36845 (__ASSUME_CORRECT_SI_PID): Likewise.
36846 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36847 (__ASSUME_TMPFS_NAME): Likewise.
36848 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36849 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36850 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36851 (HAVE_AUX_SECURE): Make definition unconditional.
36852 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36853 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36855 2012-08-03 Roland McGrath <roland@hack.frob.com>
36857 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36858 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36859 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36860 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36861 __eloop_threshold instead of SYMLOOP_MAX.
36863 * sysdeps/generic/eloop-threshold.h: New file.
36864 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36866 * elf/chroot_canon.c (chroot_canon): Likewise.
36868 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36871 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36872 Change to 2.6.0 everywhere.
36873 * sysdeps/unix/sysv/linux/configure: Regenerated.
36874 * sysdeps/unix/sysv/linux/kernel-features.h
36875 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36876 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36878 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36879 (__ASSUME_FUTEX_REQUEUE): Remove.
36880 (__ASSUME_STATFS64): Define unconditionally.
36881 (__ASSUME_AT_SECURE): Likewise.
36882 (__ASSUME_CORRECT_SI_PID): Likewise.
36883 (__ASSUME_TGKILL): Define without depending on kernel version for
36885 (__ASSUME_UTIMES): Likewise.
36886 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36888 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36889 (__ASSUME_TMPFS_NAME): Likewise.
36890 * README: Update reference to Linux kernel versions.
36892 2012-08-02 Marek Polacek <polacek@redhat.com>
36895 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36896 libc_cv_asm_type_prefix with %.
36897 * configure: Regenerated.
36898 * include/libc-symbols.h: Remove comment about
36899 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36900 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36901 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36902 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36903 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36904 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36905 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36906 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36907 * elf/tst-unique2mod1.c: Likewise.
36908 * elf/tst-unique1mod2.c: Likewise.
36909 * elf/tst-unique1mod1.c: Likewise.
36910 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36911 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36912 Replace ASM_TYPE_DIRECTIVE with .type.
36913 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36914 * sysdeps/i386/sysdep.h: Likewise.
36915 * sysdeps/x86_64/sysdep.h: Likewise.
36916 * sysdeps/sh/sysdep.h: Likewise.
36917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36918 Do not define ASM_TYPE_DIRECTIVE.
36919 * sysdeps/powerpc/sysdep.h: Likewise.
36920 * sysdeps/powerpc/powerpc32/sysdep.h:
36921 Replace ASM_TYPE_DIRECTIVE with .type.
36922 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36923 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36924 * sysdeps/i386/fpu/e_powf.S: Likewise.
36925 * sysdeps/i386/fpu/e_expl.S: Likewise.
36926 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36927 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36928 * sysdeps/i386/fpu/e_pow.S: Likewise.
36929 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36930 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36931 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36932 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36933 * sysdeps/i386/fpu/e_log2.S: Likewise.
36934 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36935 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36936 * sysdeps/i386/fpu/e_powl.S: Likewise.
36937 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36938 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36939 * sysdeps/i386/fpu/e_logl.S: Likewise.
36940 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36941 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36942 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36943 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36944 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36945 * sysdeps/i386/fpu/e_log.S: Likewise.
36946 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36947 * sysdeps/i386/fpu/e_logf.S: Likewise.
36948 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36949 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36950 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36951 * sysdeps/i386/fpu/e_log10.S: Likewise.
36952 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36953 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36954 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36955 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36956 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36957 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36958 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36959 * sysdeps/i386/i686/strtok.S: Likewise.
36960 * sysdeps/i386/i386-mcount.S: Likewise.
36961 * sysdeps/i386/strtok.S: Likewise.
36962 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36963 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36964 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36965 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36966 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36967 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36968 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36969 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36970 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36971 * sysdeps/x86_64/_mcount.S: Likewise.
36972 * sysdeps/x86_64/strtok.S: Likewise.
36973 * sysdeps/sh/_mcount.S: Likewise.
36975 2012-08-01 Roland McGrath <roland@hack.frob.com>
36977 * libio/iofopen.c: Include <fcntl.h>.
36978 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36979 (_IO_fopen64, fopen64): Define as aliases.
36980 * libio/iofopen64.c: Include <fcntl.h>.
36981 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36982 Conditionalize body on this.
36983 * sysdeps/wordsize-64/iofopen.c: File removed.
36984 * sysdeps/wordsize-64/iofopen64.c: File removed.
36986 2012-08-01 Marek Polacek <polacek@redhat.com>
36988 * libc/Makeconfig: Use elf in place of binfmt-subdir.
36989 Use dlfcn directly instead of a variable.
36990 (binfmt-subdir): Do not define.
36993 2012-08-01 Joseph Myers <joseph@codesourcery.com>
36995 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36996 Remove all definitions.
36997 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36998 <kernel-features.h>.
36999 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37000 (miss_F_GETOWN_EX): Remove all definitions.
37001 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37003 [!__ASSUME_FCNTL64]: Remove conditional code.
37004 [__ASSUME_FCNTL64]: Make code unconditional.
37005 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37006 <kernel-features.h>.
37007 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37008 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37009 (lockf64) [__NR_fcntl64]: Make code unconditional.
37010 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37012 * sysdeps/unix/sysv/linux/kernel-features.h
37013 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37014 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37015 Make code unconditional.
37016 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37017 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37019 [__NR_vfork]: Make code unconditional.
37020 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37021 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37023 [__NR_vfork]: Make code unconditional.
37024 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37025 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37027 2012-08-01 Roland McGrath <roland@hack.frob.com>
37029 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37030 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37032 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37033 Define mkstemp64 as an alias.
37034 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37035 Define mkstemps64 as an alias.
37036 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37037 Define mkostemp64 as an alias.
37038 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37039 Define mkostemps64 as an alias.
37040 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37041 Conditionalize body on this.
37042 * misc/mkostemp64.c: Likewise.
37043 * misc/mkostemps64.c: Likewise.
37044 * misc/mkstemps64.c: Likewise.
37045 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37046 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37047 * sysdeps/wordsize-64/mkostemp.c: File removed.
37048 * sysdeps/wordsize-64/mkstemp.c: File removed.
37049 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37050 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37051 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37052 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37055 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37056 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37057 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37058 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37060 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37061 compat_symbol macros from <shlib-compat.h> rather than the underlying
37062 default_symbol_version and symbol_version macros, so that DEFAULT
37063 lines in shlib-versions are respected.
37064 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37066 2012-08-01 Florian Weimer <fweimer@redhat.com>
37068 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37069 Declare with warn_unused_result.
37070 (setgid, setregid, setegid, setresgid): Likewise.
37071 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37073 * WUR-REPORT: Remove set*id functions.
37075 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37077 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37079 2012-07-31 Roland McGrath <roland@hack.frob.com>
37082 * include/sys/socket.h (__libc_accept, __libc_accept4):
37083 Add attribute_hidden.
37084 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37086 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37088 * inet/getnetgrent_r.c (setup): Likewise.
37090 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37092 2012-07-31 David S. Miller <davem@davemloft.net>
37094 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37096 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37099 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37100 value between 1.0 and 2.0 and smaller part has absolute value less
37102 * math/s_clog10.c (__clog10): Likewise.
37103 * math/s_clog10f.c (__clog10f): Likewise.
37104 * math/s_clog10l.c (__clog10l): Likewise.
37105 * math/s_clogf.c (__clogf): Likewise.
37106 * math/s_clogl.c (__clogl): Likewise.
37107 * math/libm-test.inc (clog_test): Add more tests.
37108 (clog10_test): Likewise.
37109 * sysdeps/i386/fpu/libm-test-ulps: Update.
37110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37112 2012-07-31 Florian Weimer <fweimer@redhat.com>
37114 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37115 Exit with zero in case no suitable GID is found, and write a
37116 message to standard error.
37118 2012-07-30 Roland McGrath <roland@hack.frob.com>
37120 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37122 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37123 (MAXPATHLEN): Removed.
37124 (NOGROUP, NODEV): New macros.
37125 (setbit, clrbit, isset, isclr): New macros.
37126 (howmany, roundup, powerof2): New macros.
37127 (DEV_BSIZE): New macro.
37129 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37130 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37132 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37133 definition on [!__NO_LONG_DOUBLE_MATH].
37135 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37136 PTR_MANGLE and PTR_DEMANGLE.
37138 * socket/accept4.c (accept4): Rename to __libc_accept4.
37139 Define accept4 as a weak alias.
37141 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37142 on [_DIRENT_HAVE_D_TYPE].
37143 * io/ftw.c (ftw_dir): Likewise.
37145 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37147 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37149 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37150 Use the BSD numbers rather than the arbitrary ones we had.
37151 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37152 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37153 (SIGXCPU, SIGXFSZ): New macros.
37156 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37157 initializer on [_LIBC_REENTRANT].
37159 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37160 definitions inside [_POSIX_MAPPED_FILES].
37162 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37164 * dirent/opendir.c: Include <fcntl.h>.
37166 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37167 (__libc_getspecific): Likewise.
37168 (__libc_key_create): Likewise.
37170 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37171 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37172 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37173 (tmpfile64): Define as alias.
37174 * sysdeps/wordsize-64/tmpfile.c: File removed.
37175 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37176 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37177 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37179 * stdio-common/vfscanf.c: Include <stdbool.h>.
37180 * nss/makedb.c: Likewise.
37181 * stdio-common/_i18n_number.h: Likewise.
37182 * argp/argp-help.c: Likewise.
37183 * posix/wordexp.c: Likewise.
37184 * sysdeps/posix/spawni.c: Likewise.
37185 * nss/nss_files/files-initgroups.c: Likewise.
37186 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37187 * nss/nss_files/files-initgroups.c: Likewise.
37188 * nss/nss_db/db-netgrp.c: Likewise.
37189 * nss/nss_db/db-initgroups.c: Likewise.
37190 * io/fchmodat.c: Include <sys/stat.h>.
37192 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37193 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37195 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37198 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37199 Add multiple inclusion protection.
37201 2012-07-27 David S. Miller <davem@davemloft.net>
37203 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37205 2012-07-27 Gary Benson <gbenson@redhat.com>
37208 * elf/rtld.c: Include <stap-probe.h>.
37209 (dl_main): Added static probes "init_start" and "init_complete".
37210 * elf/dl-load.c: Include <stap-probe.h>.
37211 (lose): Take new parameter "nsid".
37212 Added static probe "map_failed".
37213 (_dl_map_object_from_fd): Pass namespace id to lose.
37214 Added static probe "map_start".
37215 (open_verify): Pass namespace id to lose.
37216 * elf/dl-open.c: Include <stap-probe.h>.
37217 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37218 and "reloc_complete".
37219 * elf/dl-close.c: Include <stap-probe.h>.
37220 (_dl_close_worker): Added static probes "unmap_start" and
37222 * elf/rtld-debugger-interface.txt: New file documenting the above.
37224 2012-07-26 Roland McGrath <roland@hack.frob.com>
37226 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37227 rather than a string variable.
37228 * sunrpc/rpc_main.c (h_output): Likewise.
37229 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37231 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37233 * inet/check_native.c: New file.
37235 2012-07-26 Joseph Myers <joseph@codesourcery.com>
37238 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37239 if larger part has absolute value 1.0.
37240 * math/s_clog10.c (__clog10): Likewise.
37241 * math/s_clog10f.c (__clog10f): Likewise.
37242 * math/s_clog10l.c (__clog10l): Likewise.
37243 * math/s_clogf.c (__clogf): Likewise.
37244 * math/s_clogl.c (__clogl): Likewise.
37245 * math/libm-test.inc (clog_test): Add more tests.
37246 (clog10_test): Likewise.
37247 * sysdeps/i386/fpu/libm-test-ulps: Update.
37248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37250 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37251 (pltexit): Likewise.
37252 (La_regs): Likewise.
37253 (La_retval): Likewise.
37254 (int_retval): Likewise.
37255 Update #error for removed macros to refer only to definitions in
37257 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37259 (pltexit): Likewise.
37260 (La_regs): Likewise.
37261 (La_retval): Likewise.
37262 (int_retval): Likewise.
37263 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37265 (pltexit): Likewise.
37266 (La_regs): Likewise.
37267 (La_retval): Likewise.
37268 (int_retval): Likewise.
37269 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37271 (pltexit): Likewise.
37272 (La_regs): Likewise.
37273 (La_retval): Likewise.
37274 (int_retval): Likewise.
37275 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37277 (pltexit): Likewise.
37278 (La_regs): Likewise.
37279 (La_retval): Likewise.
37280 (int_retval): Likewise.
37281 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37283 (pltexit): Likewise.
37284 (La_regs): Likewise.
37285 (La_retval): Likewise.
37286 (int_retval): Likewise.
37287 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37289 (pltexit): Likewise.
37290 (La_regs): Likewise.
37291 (La_retval): Likewise.
37292 (int_retval): Likewise.
37293 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37294 macro definitions in tst-audit.h.
37295 * sysdeps/i386/tst-audit.h: New file.
37296 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37297 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37298 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37299 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37300 * sysdeps/sh/tst-audit.h: Likewise.
37301 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37302 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37303 * sysdeps/x86_64/tst-audit.h: Likewise.
37305 2012-07-26 Andreas Jaeger <aj@suse.de>
37307 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37310 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37311 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37312 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37314 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37315 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37316 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37318 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37321 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37323 (si_call_addr, si_syscall, si_arch): Define new macro.
37324 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37326 (si_call_addr, si_syscall, si_arch): Define new marcro.
37327 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37329 (si_call_addr, si_syscall, si_arch): Define new macro.
37330 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37332 (si_call_addr, si_syscall, si_arch): Define new macro.
37334 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37337 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37338 Change to 2.4.21 where previously 2.4.1.
37339 * sysdeps/unix/sysv/linux/configure: Regenerated.
37340 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37341 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37342 Linux kernel version.
37343 (__ASSUME_STD_AUXV): Remove.
37344 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37346 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37347 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37348 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37349 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37350 (__ASSUME_NETLINK_SUPPORT): Likewise.
37351 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37352 (__no_netlink_support): Remove conditional definition.
37353 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37355 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37356 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37357 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37358 (if_nameindex_ioctl): Remove.
37359 (if_nameindex_netlink): Do not handle __no_netlink_support.
37360 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37362 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37363 Remove conditional code.
37364 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37366 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37368 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37369 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37370 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37372 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37373 [!__ASSUME_STD_AUXV]: Remove conditional code.
37374 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37375 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37376 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37377 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37378 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37379 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37381 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37383 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37384 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37386 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37388 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37391 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37393 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37394 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37395 code unconditional.
37396 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37398 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37400 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37402 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37403 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37405 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37407 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37408 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37409 code unconditional.
37410 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37412 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37414 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37417 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37418 code unconditional.
37419 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37421 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37423 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37426 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
37428 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37429 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37430 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37431 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37432 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37433 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37434 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37435 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37436 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37437 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37438 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37439 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37440 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37441 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37442 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37443 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37444 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37445 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37446 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37447 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37448 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37449 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37450 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37452 2012-07-25 Florian Weimer <fweimer@redhat.com>
37454 * Versions.def: Add GLIBC_2.17.
37455 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37456 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37457 Introduce __libc_secure_getenv.
37458 * stdlib/Versions (2.17): Add secure_getenv
37459 (GLIBC_PRIVATE): Add __libc_secure_getenv.
37460 * stdlib/secure-getenv.c: Rename __secure_getenv to
37461 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37462 symbol __secure_getenv for GLIBC_2.0.
37463 * stdlib/tst-secure-getenv.c: New.
37464 * stdlib/Makefile (tests): Add testcase.
37465 * manual/startup.texi (Environment Access): Document
37467 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37468 __libc_secure_getenv.
37469 * inet/ruserpass.c (ruserpass): Likewise.
37470 * malloc/mtrace.c (mtrace): Likewise.
37471 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37472 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37473 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37474 * sysdeps/posix/tempname.c: Likewise. Evaluate
37475 HAVE_SECURE_GETENV.
37476 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37477 __secure_getenv to __libc_secure_getenv.
37478 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37479 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37481 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37483 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37484 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37485 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37486 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37487 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37488 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37491 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37493 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37494 (struct La_i86_retval): Likewise.
37495 (struct La_x86_64_regs): Likewise.
37496 (struct La_x86_64_retval): Likewise.
37497 (struct La_x32_regs): Likewise.
37498 (struct La_x32_retval): Likewise.
37499 (struct La_ppc32_regs): Likewise.
37500 (struct La_ppc32_retval): Likewise.
37501 (struct La_ppc64_regs): Likewise.
37502 (struct La_ppc64_retval): Likewise.
37503 (struct La_sh_regs): Likewise.
37504 (struct La_sh_retval): Likewise.
37505 (struct La_s390_32_regs): Likewise.
37506 (struct La_s390_32_retval): Likewise.
37507 (struct La_s390_64_regs): Likewise.
37508 (struct La_s390_64_retval): Likewise.
37509 (struct La_sparc32_regs): Likewise.
37510 (struct La_sparc32_retval): Likewise.
37511 (struct La_sparc64_regs): Likewise.
37512 (struct La_sparc64_retval): Likewise.
37513 (struct audit_ifaces): Remove architecture-specific pltenter and
37515 * sysdeps/i386/ldsodefs.h: New file.
37516 * sysdeps/powerpc/ldsodefs.h: Likewise.
37517 * sysdeps/s390/ldsodefs.h: Likewise.
37518 * sysdeps/sh/ldsodefs.h: Likewise.
37519 * sysdeps/sparc/ldsodefs.h: Likewise.
37520 * sysdeps/x86_64/ldsodefs.h: Likewise.
37522 2012-07-25 Marek Polacek <polacek@redhat.com>
37525 * math/libm-test.inc (yn_test): Add another test.
37526 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37527 to ERANGE when the result is +-Inf.
37528 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37529 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37530 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37531 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37533 2012-07-24 Joseph Myers <joseph@codesourcery.com>
37535 * conform/data/time.h-data (NULL): Use macro-constant. Require
37537 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37539 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37541 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37543 * configure.in <sysdeps resolving>: Correct printing
37545 * configure: Regenerate.
37547 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37549 * math/w_ilogb.c: Include <limits.h>.
37550 * math/w_ilogbl.c: Likewise.
37552 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37554 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37555 va_copy. Document allowing for unavailable va_copy only as
37556 pre-C99 compatibility.
37557 * manual/string.texi (Copying and Concatenation): Use va_copy
37558 instead of __va_copy in concat example.
37560 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37562 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37563 (__sendto): Use create_address_port. Initialize APORT and deallocate
37566 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37567 with O_NOLINK passed to __file_name_lookup.
37569 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37570 with O_NOLINK passed to __file_name_lookup.
37572 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37573 negative N or less than NGIDS.
37575 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37576 type to string_t. Set ERANGE as errno and return it if NAME is not big
37577 enough. Use memcpy instead of strncpy.
37579 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37581 * elf/Makefile (check-data): Remove.
37582 (localplt.data): New vpath directive.
37583 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37584 instead of $(check-data).
37585 * scripts/data/localplt-generic.data: Move to ...
37586 * sysdeps/generic/localplt.data: ... here.
37587 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37588 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37589 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37592 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37595 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37596 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37598 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37601 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37604 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37605 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37608 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37610 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37611 PPC32 and PPC64 files.
37612 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37613 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37615 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37617 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37618 __makecontext_ret to ...
37619 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37620 ... here and call exit if uc_link is NULL. New file.
37621 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37622 __makecontext_ret.S.
37623 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37624 __makecontext_ret to ...
37625 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37626 ... here and call exit if uc_link is NULL. New file.
37627 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37628 __makecontext_ret.S.
37630 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37632 * elf/elf.h (R_390_IRELATIVE): New definition.
37633 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37634 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37635 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37636 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37637 (elf_machine_lazy_rel): Likewise.
37638 * sysdeps/s390/dl-irel.h: New file.
37639 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37640 * sysdeps/s390/s390-64/memset.S: New asm code.
37641 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37642 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37643 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37644 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37645 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37646 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37647 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37648 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37649 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37650 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37651 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37652 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37653 * sysdeps/s390/s390-32/memset.S: New asm code.
37654 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37656 2012-07-17 Marek Polacek <polacek@redhat.com>
37659 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37660 * sysdeps/s390/s390-64/configure.in: Likewise.
37661 * sysdeps/sparc/configure.in: Likewise.
37662 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37663 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37664 * sysdeps/i386/configure.in: Likewise.
37665 * sysdeps/x86_64/configure.in: Likewise.
37666 * sysdeps/sh/configure.in: Likewise.
37667 * sysdeps/s390/s390-32/configure: Regenerated.
37668 * sysdeps/s390/s390-64/configure: Likewise.
37669 * sysdeps/x86_64/configure: Likewise.
37670 * sysdeps/sh/configure: Likewise.
37671 * sysdeps/powerpc/powerpc64/configure: Likewise.
37672 * sysdeps/powerpc/powerpc32/configure: Likewise.
37673 * sysdeps/sparc/configure: Likwise.
37674 * sysdeps/i386/configure: Likewise.
37676 * elf/dl-open.c: Comment fixes.
37678 2012-07-17 Joseph Myers <joseph@codesourcery.com>
37680 * Makefile [CXX] (check-data): Remove.
37681 [CXX] (c++-types.data): New vpath directive.
37682 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37683 vpath. Do not allow for C++ type data being missing.
37684 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37685 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37686 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37687 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37688 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37689 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37690 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37693 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37696 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37697 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37699 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37700 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37702 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37703 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37705 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37706 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37708 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37709 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37711 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37712 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37714 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37715 definitions to architecture-specific files.
37716 (TLS_IE): Likewise.
37717 (TLS_LD): Likewise.
37718 (TLS_GD): Likewise.
37719 * sysdeps/i386/tls-macros.h: New file.
37720 * sysdeps/powerpc/tls-macros.h: Likewise.
37721 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37722 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37723 * sysdeps/sh/tls-macros.h: Likewise.
37724 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37725 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37726 * sysdeps/x86_64/tls-macros.h: Likewise.
37728 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37730 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37731 zero value for regular exit case.
37733 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37734 (__start_context): Preserve zero value for regular exit case.
37736 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37737 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37739 * manual/setjmp.texi (setcontext): Clarify normal process
37740 termination when uc_link is the null pointer.
37741 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37744 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37746 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37747 preprocessor. Test for each exception mask separately.
37749 2012-07-16 Andreas Jaeger <aj@suse.de>
37751 * po/ru.po: Update from translation team.
37753 2012-07-15 Joseph Myers <joseph@codesourcery.com>
37755 * conform/data/string.h-data (NULL): Use macro-constant. Require
37757 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37758 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37759 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37760 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37761 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37763 2012-07-13 Andreas Jaeger <aj@suse.de>
37765 * po/fr.po: Update from translation team.
37767 2012-07-12 Marek Polacek <polacek@redhat.com>
37770 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37771 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37774 2012-07-12 Joseph Myers <joseph@codesourcery.com>
37777 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37778 Change to 2.4.1 where previously 2.4.0.
37779 * sysdeps/unix/sysv/linux/configure: Regenerated.
37780 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37781 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37783 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37784 (__ASSUME_AT_CLKTCK): Remove.
37785 (__ASSUME_AT_PAGESIZE): Likewise.
37786 (__ASSUME_AT_XID): Likewise.
37787 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37788 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37789 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37791 (HAVE_AUX_PAGESIZE): Likewise.
37792 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37793 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37794 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37796 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37800 the temporary buffer used to invoke __gethostbyname2_r,
37801 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37802 host_data / struct gaih_addrtuple.
37803 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37804 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37805 header file nss/nsswitch.h.
37806 * nss/nsswitch.h (global scope): Add definition of implementation
37807 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37808 resolv/nss_dns/dns-host.c).
37810 2012-07-11 Andreas Jaeger <aj@suse.de>
37812 * po/fr.po: Update from translation team.
37814 * po/sv.po: Update from translation team
37815 * po/fr.po: Another update from translation team.
37817 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37819 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37820 for subnormals or multiply small sinh result by itself.
37821 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37822 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37824 2012-07-11 David S. Miller <davem@davemloft.net>
37826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37828 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37831 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37832 (INTERNAL_MARK): Shift it here.
37834 2012-07-10 Marek Polacek <polacek@redhat.com>
37837 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37838 libc_cv_asm_global_directive with .globl.
37839 * configure: Regenerated.
37840 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37842 * sysdeps/i386/configure: Regenerated.
37843 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37845 * sysdeps/x86_64/configure: Regenerated.
37846 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37847 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37848 * elf/tst-unique2mod2.c: Likewise.
37849 * elf/tst-unique2mod1.c: Likewise.
37850 * elf/tst-unique1mod2.c: Likewise.
37851 * elf/tst-unique1mod1.c: Likewise.
37852 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37853 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37854 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37855 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37856 * sysdeps/mach/sysdep.h: Likewise.
37857 * sysdeps/i386/sysdep.h: Likewise.
37858 * sysdeps/i386/i386-mcount.S: Likewise.
37859 * sysdeps/x86_64/_mcount.S: Likewise.
37860 * sysdeps/x86_64/sysdep.h: Likewise.
37861 * sysdeps/sh/_mcount.S: Likewise.
37862 * sysdeps/sh/sysdep.h: Likewise.
37863 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37864 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37865 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37866 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37867 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37868 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37869 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37870 * locale/localeinfo.h: Likewise.
37871 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37872 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37874 2012-07-09 Roland McGrath <roland@hack.frob.com>
37877 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37879 * manual/message.texi (The Uniforum approach): Likewise.
37880 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37881 (glibc iconv Implementation): Likewise.
37883 2012-07-09 Joseph Myers <joseph@codesourcery.com>
37886 * math/s_clog.c (__clog): Avoid scaling a value down where that
37887 could result in underflow.
37888 * math/s_clog10.c (__clog10): Likewise.
37889 * math/s_clog10f.c (__clog10f): Likewise.
37890 * math/s_clog10l.c (__clog10l): Likewise.
37891 * math/s_clogf.c (__clogf): Likewise.
37892 * math/s_clogl.c (__clogl): Likewise.
37893 * math/libm-test.inc (clog_test): Add more tests.
37894 (clog10_test): Likewise.
37895 * sysdeps/i386/fpu/libm-test-ulps: Update.
37896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37898 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37901 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37902 by 7 not 8 to examine high bit of fractional part.
37905 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37906 for call to __mcount_internal.
37907 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37908 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37909 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37911 2012-07-06 Joseph Myers <joseph@codesourcery.com>
37914 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37915 approximation for values within 0x1p-13f of an odd multiple of
37917 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37918 exception. Add more tests.
37919 * sysdeps/i386/fpu/libm-test-ulps: Update.
37922 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37923 inputs and return -1 for them. Do not check for +Inf in case not
37924 reachable for +Inf.
37925 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37926 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37927 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37928 and return -1 for them. Do not check for +Inf in case not
37929 reachable for +Inf.
37930 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37932 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37933 and return -1 for them. Do not check for +Inf in case not
37934 reachable for +Inf.
37935 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37936 spurious underflow.
37937 * sysdeps/i386/fpu/libm-test-ulps: Update.
37938 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37940 2012-07-06 Mike Frysinger <vapier@gentoo.org>
37942 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37944 2012-07-05 Joseph Myers <joseph@codesourcery.com>
37948 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37949 could result in spurious underflow. Scale down values above
37950 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37951 * math/s_csqrtf.c (__csqrtf): Likewise.
37952 * math/s_csqrtl.c (__csqrtl): Likewise.
37953 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37954 spurious underflow.
37955 * sysdeps/i386/fpu/libm-test-ulps: Update.
37956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37958 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37960 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37962 * catgets/xopen-msg.awk: New file.
37963 * catgets/xopen-msg.sed: Removed.
37965 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37967 * intl/po2test.awk: New file.
37968 * intl/po2test.sed: Removed.
37970 2012-07-04 Joseph Myers <joseph@codesourcery.com>
37973 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37974 or multiply small sinh result by itself.
37975 * math/s_ctanf.c (__ctanf): Likewise.
37976 * math/s_ctanh.c (__ctanh): Likewise.
37977 * math/s_ctanhf.c (__ctanhf): Likewise.
37978 * math/s_ctanhl.c (__ctanhl): Likewise.
37979 * math/s_ctanl.c (__ctanl): Likewise.
37980 * math/libm-test.inc (ctan_test_tonearest): New function.
37981 (ctan_test_towardzero): Likewise.
37982 (ctan_test_downward): Likewise.
37983 (ctan_test_upward): Likewise.
37984 (ctanh_test_tonearest): Likewise.
37985 (ctanh_test_towardzero): Likewise.
37986 (ctanh_test_downward): Likewise.
37987 (ctanh_test_upward): Likewise.
37988 (main): Call these new functions.
37989 * sysdeps/i386/fpu/libm-test-ulps: Update.
37990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37992 2012-07-03 Mike Frysinger <vapier@gentoo.org>
37994 * .gitignore: Delete /ports entry.
37996 2012-07-03 Andreas Jaeger <aj@suse.de>
37998 * po/bg.po: Update from translation team.
37999 * po/cs.po: Likewise.
38000 * po/de.po: Likewise.
38001 * po/hr.po: Likewise.
38002 * po/nl.pl: Likewise.
38003 * po/pl.po: Likewise.
38004 * po/vi.po: Likewise.
38006 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38008 * Makeconfig [!+link] (+link-before-libc): New variable.
38009 [!+link] (+link-after-libc): Likewise.
38010 [!+link] (+link-tests): Likewise.
38011 [!+link] (+link): Define in terms of $(+link-before-libc) and
38012 $(+link-after-libc).
38013 [!+link-static] (+link-static-before-libc): New variable.
38014 [!+link-static] (+link-static-after-libc): Likewise.
38015 [!+link-static] (+link-static-tests): Likewise.
38016 [!+link-static] (+link-static): Define in terms of
38017 $(+link-static-before-libc) and $(+link-static-after-libc).
38018 [build-shared] (link-libc-before-gnulib): New variable.
38019 [build-shared] (link-libc-tests): Likewise.
38020 [build-shared] (link-libc): Define in terms of
38021 $(link-libc-before-gnulib).
38022 [!build-shared] (link-libc-tests): New variable.
38023 (link-libc-static-tests): New variable.
38024 [!gnulib] (gnulib-arch): New variable.
38025 [!gnulib] (gnulib-tests): Likewise.
38026 [!gnulib] (static-gnulib-arch): Likewise.
38027 [!gnulib] (static-gnulib-tests): Likewise.
38028 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38029 Define with "=" instead of ":=".
38030 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38031 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38032 * Rules (binaries-all-notests): New variable.
38033 (binaries-all-tests): Likewise.
38034 (binaries-static-notests): Likewise.
38035 (binaries-static-tests): Likewise.
38036 (binaries-all): Define using $(binaries-all-notests) and
38037 $(binaries-all-tests).
38038 (binaries-static): Define using $(binaries-static-notests) and
38039 $(binaries-static-tests).
38040 (binaries-shared-tests): New variable.
38041 (binaries-shared-notests): Likewise.
38042 (binaries-shared): Remove variable.
38043 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38044 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38045 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38046 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38047 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38048 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38049 * elf/Makefile (sln-modules): New variable.
38050 (extra-objs): Add $(sln-modules:=.o).
38051 (ldconfig-modules): Add static-stubs.
38052 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38053 * elf/static-stubs.c: New file.
38056 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38057 by 7 not 8 to examine high bit of fractional part. Use volatile
38058 variables when splitting into final array of floats if
38059 __FLT_EVAL_METHOD__ != 0.
38060 * math/libm-test.inc (cos_test): Add another test.
38061 (sin_test): Likewise.
38062 * sysdeps/i386/fpu/libm-test-ulps: Update.
38065 * math/libm-test.inc (cosh_test): Add more tests.
38067 * version.h (RELEASE): Set to "development".
38068 (VERSION): Set to "2.16.90".
38070 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38072 * NEWS: Update copyright. Remove last-updated date.
38073 Mention math library bug fixes and timezone data changes.
38074 * README: Mention GNU/Hurd, x32, and HPPA support status.
38076 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38078 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38080 2012-06-27 Andreas Jaeger <aj@suse.de>
38082 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38084 2012-06-25 Andreas Jaeger <aj@suse.de>
38086 * sysdeps/s390/fpu/libm-test-ulps: Update.
38088 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38089 Thomas Schwinge <thomas@codesourcery.com>
38091 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38092 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38093 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38096 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38098 * sysdeps/mach/start.c: Remove file.
38099 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38100 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38101 * sysdeps/sh/init-first.c: Likewise.
38103 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38104 registers for frame unwinding purposes, add CFI directives.
38105 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38106 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38107 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38110 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38111 __fortify_fail returning.
38112 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38114 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38115 sysdeps/sh/____longjmp_chk.S.
38116 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38117 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38118 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38119 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38121 * sysdeps/sh/abort-instr.h: New file.
38122 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38123 process in case exit returns.
38125 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38126 initialize the GOT register before use.
38128 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38129 calculation of ARGC > 4.
38131 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38132 meaningful names to some local labels.
38134 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38135 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38137 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38138 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38139 (__arch_compare_and_exchange_val_16_acq): Likewise.
38140 (__arch_compare_and_exchange_val_32_acq): Likewise.
38141 (atomic_exchange_and_add): Fix gUSA sequence.
38142 (atomic_add): Likewise.
38143 (atomic_add_negative): Likewise.
38144 (atomic_add_zero): Likewise.
38145 (atomic_bit_test_set): Likewise.
38147 2012-06-22 Andreas Schwab <schwab@redhat.com>
38150 * include/link.h (struct link_map): Add l_free_initfini.
38151 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38153 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38154 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38155 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38158 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38160 * configure.in: Use AC_LANG_SOURCE.
38161 * configure: Regenerate.
38163 2012-06-22 Roland McGrath <roland@hack.frob.com>
38165 * configure.in (libc_cv_localstatedir): New substituted variable.
38166 * configure: Regenerated.
38167 * config.make.in (localstatedir): New variable, substituted from
38168 libc_cv_localstatedir.
38169 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38170 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38171 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38172 * sysdeps/gnu/configure: Regenerated.
38174 2012-06-21 Jeff Law <law@redhat.com>
38177 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38178 free. Simplify list management for _LIBC case.
38180 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38183 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38184 Clear sign bit of 64-bit integer value before comparing against
38187 * sysdeps/mach/configure: Regenerated.
38189 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38192 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38194 2012-06-21 Jeff Law <law@redhat.com>
38197 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38198 uint16_t for elements in the "seen" array to avoid char overflows.
38199 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38200 * elf/dl-open.c (dl_open_worker): Likewise.
38202 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38204 * scripts/list-sources.sh: Scan PORTS for translations.
38205 * po/libc.pot: Regenerated.
38207 2012-06-21 Andreas Jaeger <aj@suse.de>
38210 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38212 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38213 * bits/byteswap-16.h (__bswap_16): Likewise.
38214 * bits/byteswap.h (__bswap_constant_16): Likewise.
38216 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38219 * sysdeps/i386/fpu_control.h: Removed.
38220 * sysdeps/x86_64/fpu_control.h: Moved to ...
38221 * sysdeps/x86/fpu_control.h: Here.
38223 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38224 (_FPU_SETCW): Likewise.
38226 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38229 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38230 * sysdeps/x86/fpu/bits/mathinline.h: This.
38231 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38235 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38236 functions if __x86_64__ is defined.
38238 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38240 * string/endian.h: Add !__ASSEMBLER__ condition for including
38241 conversion interfaces.
38243 2012-06-15 Joseph Myers <joseph@codesourcery.com>
38246 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38247 of ABS(x) in calculating zero to negative powers other than odd
38249 * math/libm-test.inc (pow_test): Add more tests.
38251 2012-06-15 Andreas Jaeger <aj@suse.de>
38253 * manual/contrib.texi (Contributors): Update entry of Liubov
38254 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38257 2012-06-15 Cyril Hrubis <metan@ucw.cz>
38259 * string/string.h: Add __wur to GNU version of strerror_r.
38261 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38264 * string/Makefile (tests): Add tst-strtok_r.
38265 * string/tst-strtok_r.c: New file.
38266 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38267 RAX_LP/RDX_LP on SAVE_PTR.
38269 2012-06-14 Roland McGrath <roland@hack.frob.com>
38271 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38273 2012-06-14 Joseph Myers <joseph@codesourcery.com>
38275 * libm_test.inc (csqrt_test): Allow more spurious underflow
38277 (j0_test): Likewise.
38278 (j1_test): Likewise.
38279 (y0_test): Likewise.
38280 (y1_test): Likewise.
38282 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38284 * po/Makefile (libc.pot): Use UTF-8 charset.
38286 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38289 Suppress sign-conversion warning from FD_SET.
38290 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38291 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38292 not unsigned long int.
38293 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38295 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38299 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38300 __extern_always_inline instead of __extern_inline.
38301 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38302 (__signbit): Likewise.
38303 (__signbitl): Support C++ namespace.
38304 (lrintf): New inline function.
38306 (llrintf): Likewise.
38307 (llrint): Likewise.
38317 (floorf): Likewise.
38318 (nearbyint): Likewise.
38319 (nearbyintf): Likewise.
38321 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38323 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38324 non-default versions.
38326 2012-06-11 Roland McGrath <roland@hack.frob.com>
38329 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38331 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38333 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38334 (FE_UPWARD, FE_DOWNWARD): Don't define.
38335 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38336 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38338 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38340 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38341 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38343 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38345 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38346 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38347 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38348 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38350 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38353 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38354 * sysdeps/i386/fpu/Implies: New file.
38355 * sysdeps/x86_64/fpu/Implies: Likewise.
38356 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38357 * sysdeps/x86/fpu/bits/fenv.h: This.
38359 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38362 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38365 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38366 character 0xffff that matches the last element of the
38369 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38371 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38374 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38376 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38377 values higher than 25.6283.
38379 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38381 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38382 subnormal exponent extraction and add some __builtin_expect.
38383 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38384 Fix for subnormal mantissa calculation.
38386 2012-06-04 Mike Frysinger <vapier@gentoo.org>
38388 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38389 cpu2 is -1 and errno is not ENOSYS.
38391 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
38394 * sysdeps/i386/i486/bits/string.h: Renamed to ...
38395 * sysdeps/x86/bits/string.h: This.
38396 * sysdeps/x86_64/bits/string.h: Removed.
38398 * sysdeps/i386/i486/bits/string.h: Define inline functions only
38399 if not compiling for x86-64, but compiling for >= i486.
38401 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38402 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38404 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38405 New macro from Linux kernel 3.4.0.
38406 (FP_XSTATE_MAGIC2): Likewise.
38407 (FP_XSTATE_MAGIC2_SIZE): Likewise.
38408 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38409 (struct _fpx_sw_bytes): New struct.
38410 (struct _xsave_hdr): Likewise.
38411 (struct _ymmh_state): Likewise.
38412 (struct _xstate): Likewise.
38414 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38415 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38416 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38417 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38418 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38419 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38421 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38422 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38423 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38424 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38425 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38426 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38428 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38431 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38432 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38433 (sysdep_headers): Include sys/platform/ppc.h.
38434 * sysdeps/powerpc/test-gettimebase.c: Test for
38435 __ppc_get_timebase() to catch future ISA opcode/insn changes.
38436 * manual/Makefile (appendices): Include platform.texi.
38437 * manual/contrib.texi (Contributors): Update @node pointers.
38438 * manual/maint.texi (Maintenance): Likewise.
38439 (Platform): New node.
38440 * manual/platform.texi: New file. Document the new features.
38442 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38443 Jakub Jelinek <jakub@redhat.com>
38446 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38447 where __builtin_expect is unavailable.
38449 2012-06-03 David S. Miller <davem@davemloft.net>
38451 * stdlib/longlong.h: Updated from GCC.
38453 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
38456 * sysdeps/powerpc/powerpc32/mcount.c: New file.
38457 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38460 (GLIBC_2.16): Likewise.
38462 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38464 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38466 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38468 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38469 (default-abi): New variable.
38470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38471 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38473 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38475 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38477 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38480 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38481 definition. Document in comment.
38483 2012-06-01 David S. Miller <davem@davemloft.net>
38485 * stdlib/longlong.h: Updated from GCC.
38487 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38490 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38491 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38492 sys/debugreg.h sys/io.h here.
38493 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38494 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38496 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38497 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38498 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38499 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38500 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38501 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38503 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38504 Define only if __x86_64__ is defined.
38506 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38509 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38510 Use int64_t for variable i.
38511 * math/libm-test.inc (fmod_test): Add more tests.
38513 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38514 z computation is not scheduled after fetestexcept.
38515 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38516 Use math_force_eval instead of asm to ensure calculation scheduled
38517 before exception test.
38518 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38519 Ensure a1 + u.d computation is not scheduled after fetestexcept.
38521 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
38523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38524 computation is not scheduled after fetestexcept.
38526 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38529 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38530 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38532 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38534 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38535 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38537 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38540 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38542 (__WCHAR_MIN): Support __WORDSIZE == 64.
38543 (__WCHAR_MAX): Likewise.
38545 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38546 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38549 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38550 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38553 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38554 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38556 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38557 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38559 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38560 Defined to 1 if __x86_64__ isn't defined.
38561 (_STAT_VER_LINUX_OLD): New.
38562 (st_atime): Remove duplicate.
38563 (st_mtime): Likewise.
38564 (st_ctime): Likewise.
38566 2012-05-31 David S. Miller <davem@davemloft.net>
38568 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38571 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38573 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38577 * elf/dl-reloc.c: Include <_itoa.h>.
38578 (_dl_reloc_bad_type): Remove use of INTUSE.
38579 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38580 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38581 * stdio-common/psiginfo.c (psiginfo): Likewise.
38582 * stdio-common/psignal.c (psignal): Likewise.
38583 * string/strsignal.c (strsignal): Likewise.
38584 * include/signal.h (_sys_siglist): Declare hidden proto.
38585 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38586 INTVARDEF with libc_hidden_data_def.
38587 * stdio-common/itoa-udigits.c: Likewise.
38588 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38589 (_itoa_lower_digits_internal): Remove declaration.
38590 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38591 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38592 (_sys_sigabbrev_internal): Remove aliases.
38593 (_sys_siglist): Define hidden alias.
38595 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38597 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38600 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38603 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38604 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38606 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38607 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38608 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38609 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38610 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38611 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38613 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38614 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38615 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38617 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38625 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38626 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38627 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38629 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38630 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38631 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38632 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38633 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38634 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38636 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38637 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38639 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38640 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38642 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38643 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38644 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38646 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38647 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38649 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38651 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38652 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38653 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38655 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38657 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38659 2012-05-31 Joseph Myers <joseph@codesourcery.com>
38661 * math/math.h (M_El): Use two more decimal places.
38662 (M_LOG2El): Likewise.
38663 (M_LOG10El): Likewise.
38664 (M_LN2l): Likewise.
38665 (M_LN10l): Likewise.
38667 (M_PI_2l): Likewise.
38668 (M_PI_4l): Likewise.
38669 (M_1_PIl): Likewise.
38670 (M_2_PIl): Likewise.
38671 (M_2_SQRTPIl): Likewise.
38672 (M_SQRT2l): Likewise.
38673 (M_SQRT1_2l): Likewise.
38675 2012-05-31 David S. Miller <davem@davemloft.net>
38677 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38678 values between float registers.
38679 * sysdeps/sparc/sparc64/memset.S: Likewise.
38680 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38682 2012-05-31 Mike Frysinger <vapier@gentoo.org>
38684 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38685 -D_FORTIFY_SOURCE=1.
38686 (CPPFLAGS-tst-longjmp_chk.c): Define.
38687 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38688 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38689 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38690 CFLAGS-tst-wchar-h.c.
38692 2012-05-31 Marek Polacek <polacek@redhat.com>
38695 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38696 __endmntent_internal): Remove declaration.
38697 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38698 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38699 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38701 2012-05-30 David S. Miller <davem@davemloft.net>
38703 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38704 (___Q_simulate_exceptions): Use real FP ops rather than writing
38706 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38709 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38712 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38713 * sysdeps/x86/bits/xtitypes.h: This.
38715 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38716 * sysdeps/x86/bits/wordsize.h: This.
38718 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38719 * sysdeps/x86/bits/huge_vall.h: This.
38721 * sysdeps/i386/bits/select.h: Removed.
38722 * sysdeps/x86_64/bits/select.h: Renamed to ...
38723 * sysdeps/x86/bits/select.h: This.
38725 * sysdeps/i386/bits/setjmp.h: Removed.
38726 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38727 * sysdeps/x86/bits/setjmp.h: This.
38729 * sysdeps/i386/bits/mathdef.h: Removed.
38730 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38731 * sysdeps/x86/bits/mathdef.h: This.
38733 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38736 * include/sys/socket.h (__connect_internal)
38737 (__libc_sa_len_internal): Remove declaration.
38738 (__connect, __libc_sa_len): Declare hidden_proto.
38739 (SA_LEN): Remove use of INTUSE.
38740 * socket/connect.c: Add libc_hidden_def.
38741 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38742 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38743 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38745 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38746 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38747 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38748 of adding _internal alias.
38750 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38753 * sysdeps/i386/bits/link.h: Removed.
38754 * sysdeps/i386/bits/linkmap.h: Likewise.
38755 * sysdeps/x86_64/bits/link.h: Renamed to ...
38756 * sysdeps/x86/bits/link.h: This.
38757 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38758 * sysdeps/x86/bits/linkmap.h: This.
38760 * sysdeps/i386/bits/endian.h: Removed.
38761 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38762 * sysdeps/x86/bits/endian.h: This.
38764 * sysdeps/i386/bits/byteswap.h: Removed.
38765 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38766 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38767 * sysdeps/x86/bits/byteswap.h: This.
38768 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38769 * sysdeps/x86/bits/byteswap-16.h: This.
38770 * sysdeps/i386/Implies: Add x86.
38771 * sysdeps/x86_64/Implies: Likewise.
38773 2012-05-30 David S. Miller <davem@davemloft.net>
38775 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38776 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38777 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38778 (FP_TRAPPING_EXCEPTIONS): Define.
38779 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38780 (FP_TRAPPING_EXCEPTIONS): Define.
38781 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38782 subnormals only when inexact has been signalled or underflow
38783 exceptions are enabled.
38784 (_FP_PACK_CANONICAL): Likewise.
38786 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38789 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38790 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38792 2012-05-30 Richard Henderson <rth@twiddle.net>
38794 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38795 with #ifndef NOT_IN_libc.
38797 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38798 marked to avoid plt entry.
38800 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38803 * Makeconfig (default-abi): New macro.
38804 (abi-includes): Likewise.
38805 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38806 $(abi-$(default-abi)-lib-soname) for soname if defined.
38807 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38809 * Makefile (installed-stubs): Likewise.
38810 * include/stubs-biarch.h: Removed.
38811 * scripts/lib-names.awk: Only handle one library at a time.
38812 * scripts/soversions.awk: Remove WORDSIZE support.
38813 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38815 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38817 (syscall-list-default-condition): Likewise.
38818 (syscall-list-default-condition): Likewise.
38819 (syscall-list-includes): Likewise.
38820 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38821 syscall-list-* with abi-*. Handle undefined abi-variants.
38822 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38823 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38824 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38825 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38826 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38827 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38829 (syscall-list-32-options): Likewise.
38830 (syscall-list-32-condition): Likewise.
38831 (syscall-list-64-options): Likewise.
38832 (syscall-list-64-condition): Likewise.
38833 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38835 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38838 (abi-64-ld-soname): New macro.
38839 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38840 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38843 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38844 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38846 2012-05-30 Joseph Myers <joseph@codesourcery.com>
38848 * sysdeps/unix/sysv/linux/kernel-features.h
38849 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38850 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38851 include <kernel-features.h>.
38852 [!__NR_ftruncate64]: Remove conditional code.
38853 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38854 [__NR_ftruncate64]: Make code unconditional.
38855 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38856 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38857 include <kernel-features.h>.
38858 [!__NR_ftruncate64]: Remove conditional code.
38859 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38860 [__NR_ftruncate64]: Make code unconditional.
38861 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38863 include <kernel-features.h>.
38864 [!__NR_ftruncate64]: Remove conditional code.
38865 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38866 [__NR_ftruncate64]: Make code unconditional.
38867 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38869 include <kernel-features.h>.
38870 [!__NR_ftruncate64]: Remove conditional code.
38871 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38872 [__NR_ftruncate64]: Make code unconditional.
38873 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38875 * configure.in (libc_cv_fpie): Weaken to a compile test using
38876 LIBC_TRY_CC_OPTION.
38877 * configure: Regenerated.
38879 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38881 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38883 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38887 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38889 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38891 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38894 2012-05-27 David S. Miller <davem@davemloft.net>
38896 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38898 (__Q_simulate_exceptions): Return void. Change to simulate
38899 exceptions by writing into the %fsr.
38900 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38901 (__Qp_handle_exceptions): Likewise.
38903 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38904 __Qp_handle_exceptions.
38905 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38906 __Qp_handle_exceptions.
38907 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38908 as unused and give dummy FP_RND_NEAREST initializer.
38909 (FP_INHIBIT_RESULTS): Define.
38910 (___Q_simulate_exceptions): Update declaration.
38911 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38913 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38914 as unused and give dummy FP_RND_NEAREST initializer.
38915 (__Qp_handle_exceptions): Update declaration.
38916 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38919 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38921 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38922 the temporary FPU control word.
38923 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38924 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38925 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38926 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38927 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38928 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38929 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38930 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38931 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38932 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38933 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38935 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38937 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38940 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38942 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38943 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38944 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38945 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38947 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38948 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38951 2012-05-27 Ulrich Drepper <drepper@gmail.com>
38953 * po/h.po: Update from translation team.
38955 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38957 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38959 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38960 handling of denormals.
38961 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38962 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38963 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38964 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38965 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38966 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38967 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38970 2012-05-26 Marek Polacek <polacek@redhat.com>
38973 * math/libm-test.inc (fma_test): Don't always expect underflow
38976 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38979 * elf/tst-execstack.c: Include stackinfo.h.
38980 (do_test): Adjust test case to ensure that pthread_getattr_np
38981 behaviour remains the same after marking stack executable.
38983 2012-05-25 Joseph Myers <joseph@codesourcery.com>
38985 * sysdeps/unix/sysv/linux/kernel-features.h
38986 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38987 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38989 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38990 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38991 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38993 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38994 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38996 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
38998 * configure.in: Define the default includes to being none.
38999 * configure: Regenerated.
39001 2012-05-25 Roland McGrath <roland@hack.frob.com>
39003 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39004 * sysdeps/x86_64/setjmp.S: Likewise.
39005 * sysdeps/i386/bsd-setjmp.S: Likewise.
39006 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39007 * sysdeps/i386/setjmp.S: Likewise.
39008 * sysdeps/i386/__longjmp.S: Likewise.
39009 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39010 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39012 * include/stap-probe.h: New file.
39013 * configure.in: Handle --enable-systemtap.
39014 * configure: Regenerated.
39015 * config.h.in (USE_STAP_PROBE): New #undef.
39016 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39017 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39018 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39020 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39023 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39024 to 2.4.0 where earlier.
39025 * sysdeps/unix/sysv/linux/configure: Regenerated.
39026 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39027 <kernel-features.h>.
39028 [__ASSUME_32BITUIDS]: Make code unconditional.
39029 [!__ASSUME_32BITUIDS]: Remove conditional code.
39030 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39031 <kernel-features.h>.
39032 [__ASSUME_32BITUIDS]: Make code unconditional.
39033 [!__ASSUME_32BITUIDS]: Remove conditional code.
39034 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39035 [__ASSUME_32BITUIDS]: Make code unconditional.
39036 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39037 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39038 <kernel-features.h>.
39039 [__ASSUME_32BITUIDS]: Make code unconditional.
39040 [!__ASSUME_32BITUIDS]: Remove conditional code.
39041 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39042 <kernel-features.h>.
39043 [__ASSUME_32BITUIDS]: Make code unconditional.
39044 [!__ASSUME_32BITUIDS]: Remove conditional code.
39045 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39046 <kernel-features.h>.
39047 [__ASSUME_32BITUIDS]: Make code unconditional.
39048 [!__ASSUME_32BITUIDS]: Remove conditional code.
39049 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39050 <kernel-features.h>.
39051 [__ASSUME_32BITUIDS]: Make code unconditional.
39052 [!__ASSUME_32BITUIDS]: Remove conditional code.
39053 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39054 <kernel-features.h>.
39055 [__ASSUME_32BITUIDS]: Make code unconditional.
39056 [!__ASSUME_32BITUIDS]: Remove conditional code.
39057 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39058 <kernel-features.h>.
39059 [__ASSUME_32BITUIDS]: Make code unconditional.
39060 [!__ASSUME_32BITUIDS]: Remove conditional code.
39061 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39062 <kernel-features.h>.
39063 [__ASSUME_32BITUIDS]: Make code unconditional.
39064 [!__ASSUME_32BITUIDS]: Remove conditional code.
39065 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39066 <kernel-features.h>.
39067 [__ASSUME_32BITUIDS]: Make code unconditional.
39068 [!__ASSUME_32BITUIDS]: Remove conditional code.
39069 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39070 <kernel-features.h>.
39071 [__ASSUME_32BITUIDS]: Make code unconditional.
39072 [!__ASSUME_32BITUIDS]: Remove conditional code.
39073 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39074 <kernel-features.h>.
39075 [__ASSUME_32BITUIDS]: Make code unconditional.
39076 [!__ASSUME_32BITUIDS]: Remove conditional code.
39077 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39078 <kernel-features.h>.
39079 [__NR_setresgid] (__setresgid): Do not declare.
39080 [__ASSUME_32BITUIDS]: Make code unconditional.
39081 [!__ASSUME_32BITUIDS]: Remove conditional code.
39082 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39083 <kernel-features.h>.
39084 [__NR_setresuid] (__setresuid): Do not declare.
39085 [__ASSUME_32BITUIDS]: Make code unconditional.
39086 [!__ASSUME_32BITUIDS]: Remove conditional code.
39087 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39088 <kernel-features.h>.
39089 [__ASSUME_32BITUIDS]: Make code unconditional.
39090 [!__ASSUME_32BITUIDS]: Remove conditional code.
39091 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39092 <kernel-features.h>.
39093 [__ASSUME_32BITUIDS]: Make code unconditional.
39094 [!__ASSUME_32BITUIDS]: Remove conditional code.
39095 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39096 <kernel-features.h>.
39097 [__ASSUME_32BITUIDS]: Make code unconditional.
39098 [!__ASSUME_32BITUIDS]: Remove conditional code.
39099 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39100 <kernel-features.h>.
39101 [__ASSUME_32BITUIDS]: Make code unconditional.
39102 [!__ASSUME_32BITUIDS]: Remove conditional code.
39103 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39104 <kernel-features.h>.
39105 [__ASSUME_32BITUIDS]: Make code unconditional.
39106 [!__ASSUME_32BITUIDS]: Remove conditional code.
39107 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39108 <kernel-features.h>.
39109 [__ASSUME_32BITUIDS]: Make code unconditional.
39110 [!__ASSUME_32BITUIDS]: Remove conditional code.
39111 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39112 <kernel-features.h>.
39113 [__ASSUME_32BITUIDS]: Make code unconditional.
39114 [!__ASSUME_32BITUIDS]: Remove conditional code.
39115 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39116 <kernel-features.h>.
39117 [__ASSUME_32BITUIDS]: Make code unconditional.
39118 [!__ASSUME_32BITUIDS]: Remove conditional code.
39119 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39120 <kernel-features.h>.
39121 [__ASSUME_32BITUIDS]: Make code unconditional.
39122 [!__ASSUME_32BITUIDS]: Remove conditional code.
39123 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39124 <kernel-features.h>.
39125 [__ASSUME_32BITUIDS]: Make code unconditional.
39126 [!__ASSUME_32BITUIDS]: Remove conditional code.
39127 * sysdeps/unix/sysv/linux/kernel-features.h
39128 (__ASSUME_SETRESUID_SYSCALL): Remove.
39129 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39130 (__ASSUME_32BITUIDS): Likewise.
39131 (__ASSUME_LDT_WORKS): Likewise.
39132 (__ASSUME_O_DIRECTORY): Likewise.
39133 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39134 architecture but not kernel version.
39135 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39136 (__ASSUME_MMAP2_SYSCALL): Likewise.
39137 (__ASSUME_STAT64_SYSCALL): Likewise.
39138 (__ASSUME_IPC64): Likewise.
39139 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39140 <kernel-features.h>.
39141 [__ASSUME_32BITUIDS]: Make code unconditional.
39142 [!__ASSUME_32BITUIDS]: Remove conditional code.
39143 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39144 <kernel-features.h>.
39145 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39146 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39147 132096]: Remove conditional code.
39148 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39149 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39150 <kernel-features.h>.
39151 [__ASSUME_32BITUIDS]: Make code unconditional.
39152 [!__ASSUME_32BITUIDS]: Remove conditional code.
39153 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39154 <kernel-features.h>.
39155 [__ASSUME_32BITUIDS]: Make code unconditional.
39156 [!__ASSUME_32BITUIDS]: Remove conditional code.
39157 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39158 <kernel-features.h>.
39159 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39161 (__setresgid): Do not declare.
39162 [__ASSUME_32BITUIDS]: Make code unconditional.
39163 [!__ASSUME_32BITUIDS]: Remove conditional code.
39164 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39165 <kernel-features.h>.
39166 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39168 (__setresuid): Do not declare.
39169 [__ASSUME_32BITUIDS]: Make code unconditional.
39170 [!__ASSUME_32BITUIDS]: Remove conditional code.
39171 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39172 <kernel-features.h>.
39173 [__ASSUME_32BITUIDS]: Make code unconditional.
39174 [!__ASSUME_32BITUIDS]: Remove conditional code.
39175 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39176 <kernel-features.h>.
39177 [__ASSUME_32BITUIDS]: Make code unconditional.
39178 [!__ASSUME_32BITUIDS]: Remove conditional code.
39180 2012-05-25 Richard Henderson <rth@twiddle.net>
39182 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39183 dl_hwcap to ifunc resolver.
39184 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39186 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39187 dl_hwcap to ifunc resolver.
39188 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39190 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39193 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39194 for |x| <= 2**-26, not 2**-57.
39195 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39198 2012-05-24 Jeff Law <law@redhat.com>
39200 * stdio-common/Makefile (tests): Add bug25.
39201 * stdio-common/bug25.c: New test.
39203 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39206 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39207 multiple of MALLOC_ALIGNMENT in size.
39208 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39210 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39212 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39214 (FILENAME_MAX): Use macro-int-constant.
39215 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39216 (_IOFBF): Use macro-int-constant.
39217 (_IOLBF): Likewise.
39218 (_IONBF): Likewise.
39219 (SEEK_CUR): Likewise.
39220 (SEEK_END): Likewise.
39221 (SEEK_SET): Likewise.
39222 (TMP_MAX): Likewise.
39223 (EOF): Use macro-int-constant. Require < 0.
39224 (NULL): Use macro-constant. Require == 0.
39225 (stdin): Require type to be FILE *.
39226 (stdout): Likewise.
39227 (stderr): Likewise.
39228 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39229 macro-int-constant.
39230 (EXIT_SUCCESS): Likewise.
39231 (NULL): Use macro-constant. Require == 0.
39232 (RAND_MAX): Use macro-int-constant.
39233 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39234 [C99-based standards] (strtof): Require function.
39235 [C99-based standards] (strtold): Likewise.
39236 [C99-based standards] (strtoll): Likewise.
39237 [C99-based standards] (strtoull): Likewise.
39238 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39239 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39240 [ISO || ISO99 || ISO11] (math.h): Likewise.
39241 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39242 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39243 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39245 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39248 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39249 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39250 * intl/dgettext.c (DCGETTEXT): Likewise.
39251 * intl/gettext.c (DCGETTEXT): Likewise.
39252 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39253 * posix/regex_internal.h (gettext): Likewise.
39254 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39255 Remove declaration.
39256 * include/argz.h (__argz_count_internal)
39257 (__argz_stringify_internal): Remove declaration.
39258 (__argz_count, __argz_stringify): Declare hidden proto.
39259 * intl/dcgettext.c: Remove use of INTDEF.
39260 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39261 * string/argz-stringify.c: Likewise.
39262 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39263 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39264 Declare hidden proto.
39265 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39266 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39267 Declare hidden proto.
39268 * include/stdio.h (__asprintf_internal): Don't declare.
39269 (__asprintf): Don't define as macro. Declare hidden proto.
39270 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39271 (__fsetlocking): Declare hidden proto.
39272 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39273 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39275 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39276 (_IO_setlinebuf): Remove use of INTUSE.
39277 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39278 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39279 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39280 Remove declaration.
39281 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39282 (_IO_do_flush): Remove use of INTUSE.
39283 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39284 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39285 (_IO_adjust_column, _IO_least_wmarker)
39286 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39287 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39288 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39289 (_IO_default_doallocate, _IO_wdefault_doallocate)
39290 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39291 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39292 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39293 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39294 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39295 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39296 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39297 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39298 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39299 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39300 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39301 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39302 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39304 (_IO_flush_all_internal, _IO_adjust_column_internal)
39305 (_IO_default_uflow_internal, _IO_default_finish_internal)
39306 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39307 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39308 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39309 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39310 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39311 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39312 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39313 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39314 (_IO_file_close_internal, _IO_file_close_it_internal)
39315 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39316 (_IO_file_init_internal, _IO_file_attach_internal)
39317 (_IO_file_fopen_internal, _IO_file_read_internal)
39318 (_IO_file_sync_internal, _IO_file_seek_internal)
39319 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39320 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39321 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39322 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39323 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39324 (_IO_list_all_internal, _IO_link_in_internal)
39325 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39326 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39327 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39328 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39329 (_IO_do_write_internal, _IO_padn_internal)
39330 (_IO_getline_info_internal, _IO_getline_internal)
39331 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39332 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39333 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39334 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39335 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39336 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39337 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39338 with libc_hidden_ver, remove use of INTUSE.
39339 * libio/genops.c: Likewise.
39340 * libio/freopen.c: Likewise.
39341 * libio/freopen64.c: Likewise.
39342 * libio/iofclose.c: Likewise.
39343 * libio/iofdopen.c: Likewise.
39344 * libio/iofflush.c: Likewise.
39345 * libio/iofflush_u.c: Likewise.
39346 * libio/iofgets.c: Likewise.
39347 * libio/iofgets_u.c: Likewise.
39348 * libio/iofopen.c: Likewise.
39349 * libio/iofopncook.c: Likewise.
39350 * libio/iofread.c: Likewise.
39351 * libio/iofread_u.c: Likewise.
39352 * libio/ioftell.c: Likewise.
39353 * libio/iofwrite.c: Likewise.
39354 * libio/iogetline.c: Likewise.
39355 * libio/iogets.c: Likewise.
39356 * libio/iogetwline.c: Likewise.
39357 * libio/iopadn.c: Likewise.
39358 * libio/iopopen.c: Likewise.
39359 * libio/ioseekoff.c: Likewise.
39360 * libio/ioseekpos.c: Likewise.
39361 * libio/iosetbuffer.c: Likewise.
39362 * libio/iosetvbuf.c: Likewise.
39363 * libio/ioungetc.c: Likewise.
39364 * libio/ioungetwc.c: Likewise.
39365 * libio/iovdprintf.c: Likewise.
39366 * libio/iovsprintf.c: Likewise.
39367 * libio/iovsscanf.c: Likewise.
39368 * libio/memstream.c: Likewise.
39369 * libio/obprintf.c: Likewise.
39370 * libio/oldfileops.c: Likewise.
39371 * libio/oldiofclose.c: Likewise.
39372 * libio/oldiofdopen.c: Likewise.
39373 * libio/oldiofopen.c: Likewise.
39374 * libio/oldiopopen.c: Likewise.
39375 * libio/oldstdfiles.c: Likewise.
39376 * libio/putc.c: Likewise.
39377 * libio/setbuf.c: Likewise.
39378 * libio/setlinebuf.c: Likewise.
39379 * libio/stdfiles.c: Likewise.
39380 * libio/strops.c: Likewise.
39381 * libio/vasprintf.c: Likewise.
39382 * libio/vscanf.c: Likewise.
39383 * libio/vsnprintf.c: Likewise.
39384 * libio/vswprintf.c: Likewise.
39385 * libio/wfiledoalloc.c: Likewise.
39386 * libio/wfileops.c: Likewise.
39387 * libio/wgenops.c: Likewise.
39388 * libio/wmemstream.c: Likewise.
39389 * libio/wstrops.c: Likewise.
39390 * libio/__fpurge.c: Likewise.
39391 * libio/__fsetlocking.c: Likewise.
39392 * assert/assert.c: Likewise.
39393 * debug/fgets_chk.c: Likewise.
39394 * debug/fgets_u_chk.c: Likewise.
39395 * debug/fread_chk.c: Likewise.
39396 * debug/fread_u_chk.c: Likewise.
39397 * debug/gets_chk.c: Likewise.
39398 * debug/obprintf_chk.c: Likewise.
39399 * debug/vasprintf_chk.c: Likewise.
39400 * debug/vdprintf_chk.c: Likewise.
39401 * debug/vsnprintf_chk.c: Likewise.
39402 * debug/vsprintf_chk.c: Likewise.
39403 * malloc/mtrace.c: Likewise.
39404 * misc/error.c: Likewise.
39405 * misc/syslog.c: Likewise.
39406 * stdio-common/asprintf.c: Likewise.
39407 * stdio-common/fxprintf.c: Likewise.
39408 * stdio-common/getw.c: Likewise.
39409 * stdio-common/isoc99_fscanf.c: Likewise.
39410 * stdio-common/isoc99_scanf.c: Likewise.
39411 * stdio-common/isoc99_vfscanf.c: Likewise.
39412 * stdio-common/isoc99_vscanf.c: Likewise.
39413 * stdio-common/isoc99_vsscanf.c: Likewise.
39414 * stdio-common/printf-prs.c: Likewise.
39415 * stdio-common/printf_fp.c: Likewise.
39416 * stdio-common/printf_fphex.c: Likewise.
39417 * stdio-common/printf_size.c: Likewise.
39418 * stdio-common/putw.c: Likewise.
39419 * stdio-common/scanf.c: Likewise.
39420 * stdio-common/sprintf.c: Likewise.
39421 * stdio-common/tmpfile.c: Likewise.
39422 * stdio-common/vfprintf.c: Likewise.
39423 * stdio-common/vfscanf.c: Likewise.
39424 * stdlib/strfmon_l.c: Likewise.
39425 * sunrpc/openchild.c: Likewise.
39426 * sunrpc/xdr_stdio.c: Likewise.
39427 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39428 * sysdeps/mach/hurd/tmpfile.c: Likewise.
39430 2012-05-24 Roland McGrath <roland@hack.frob.com>
39432 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39434 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39435 in the third column, to generate for the shared library an IFUNC
39436 that uses _dl_vdso_vsym.
39437 * Makerules (COMPILE.c, compile-stdin.c): New variables.
39438 * Makeconfig (object-suffixes-noshared): New variable.
39440 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39441 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39442 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39443 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39446 * include/sys/time.h (__gettimeofday): Remove macro.
39447 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39448 * time/gettimeofday.c (__gettimeofday): Remove #undef.
39450 (__gettimeofday): Add libc_hidden_def.
39451 (gettimeofday): Add libc_hidden_weak.
39452 * sysdeps/mach/gettimeofday.c: Likewise.
39453 * sysdeps/posix/gettimeofday.c: Likewise.
39454 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39455 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39456 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39457 (__gettimeofday_internal): Remove strong_alias.
39458 (__gettimeofday): Add libc_hidden_def.
39459 (gettimeofday): Add libc_hidden_weak.
39460 * sysdeps/unix/syscalls.list (gettimeofday):
39461 Remove __gettimeofday_internal alias.
39463 2012-05-24 Daniel Jacobowitz <drow@false.org>
39464 H.J. Lu <hongjiu.lu@intel.com>
39467 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39468 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39469 (largebin_index_32_big): New.
39470 (largebin_index): Use it for 16-byte alignment.
39471 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
39472 correction with front_misalign.
39474 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39476 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39477 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39479 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39481 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39483 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39485 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39487 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39489 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39491 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39493 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39495 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39497 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39502 * scripts/data/c++-types-x32-linux-gnu.data: New file.
39503 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39505 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39509 * math/libm-test.inc (exp_test): Add test from bug 14036.
39510 (pow_test): Add test from bug 10846.
39512 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39514 (special_function): Do not include flags in test name.
39515 (parse_args): Likewise.
39516 * sysdeps/i386/fpu/libm-test-ulps: Update.
39517 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39518 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39519 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39522 * math/gen-libm-test.pl (%beautify): Add entries for underflow
39524 * math/libm-test.inc ("Philosophy"): Update comment about
39526 (UNDERFLOW_EXCEPTION): New macro.
39527 (UNDERFLOW_EXCEPTION_OK): Likewise.
39528 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39529 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39530 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39531 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39532 (INVALID_EXCEPTION_OK): Update value.
39533 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39534 (OVERFLOW_EXCEPTION_OK): Likewise.
39535 (IGNORE_ZERO_INF_SIGN): Likewise.
39536 (test_exceptions): Handle underflow exceptions.
39537 (acos_test): Update for underflow exception expectations.
39538 (cexp_test): Likewise.
39539 (clog_test): Likewise.
39540 (clog10_test): Likewise.
39541 (csqrt_test): Likewise.
39542 (ctan_test): Likewise.
39543 (ctanh_test): Likewise.
39544 (exp_test): Likewise.
39545 (exp10_test): Likewise.
39546 (exp2_test): Likewise.
39547 (expm1_test): Likewise.
39548 (fma_test): Likewise.
39549 (j0_test): Likewise.
39550 (jn_test): Likewise.
39551 (nexttoward_test): Likewise.
39552 (pow_test): Likewise.
39553 (scalbn_test): Likewise.
39554 (scalbln_test): Likewise.
39555 (tan_test): Likewise.
39556 (y1_test): Likewise.
39557 * sysdeps/i386/fpu/libm-test-ulps: Update.
39558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39560 2012-05-23 David S. Miller <davem@davemloft.net>
39562 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39563 (__libc_sigaction): Remove unused local variables.
39565 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39567 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39569 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39571 mktime: avoid signed integer overflow
39572 * time/mktime.c (__mktime_internal): Do not mishandle the case
39573 where diff == INT_MIN.
39575 mktime: simplify computation of average
39576 * time/mktime.c (ranged_convert): Use new time_t_avg function
39577 instead of rolling our own (probably-slower) code.
39579 mktime: do not assume signed right shift propagates sign bit
39580 * time/mktime.c (isdst_differ): New static function.
39581 (__mktime_internal): No need to normalize tm_isdst now.
39582 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39585 mktime: merge another wrapv change from gnulib
39586 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39587 from some compilers.
39589 mktime: remove incorrect attempt at unusual arithmetics
39590 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39591 The code didn't really work on such machines anyway.
39592 (TYPE_MINIMUM): Assume two's complement.
39593 (twos_complement_arithmetic): Verify that long_int and time_t
39594 are two's complement (or unsigned, in the latter case).
39596 mktime: check signed shifts on long_int and time_t, too
39597 * time/mktime.c (SHR): Check that shifts work as desired
39598 on the types long_int and time_t too, as SHR is used on
39601 mktime: do not assume 'long' is wide enough
39602 * time/mktime.c (verify): Move decl up.
39603 (long_int): New type.
39604 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39605 to remove assumption in the code that 'long' is wide enough to
39606 store year values. This assumption is not true on x32 and on
39607 some non-glibc platforms.
39609 mktime: merge wrapv change from gnulib
39610 * time/mktime.c (WRAPV): New macro.
39611 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39612 (guess_time_tm, __mktime_internal): Do not assume that signed
39613 integer overflow wraps around; modern compilers generate code
39614 where this assumption is no longer valid.
39616 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39618 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39619 Replace "jmp L(pseudo_end)" with "ret".
39620 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39623 2012-05-23 Andreas Jaeger <aj@suse.de>
39625 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39626 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39628 2012-05-23 Andreas Jaeger <aj@suse.de>
39629 Maximilian Attems <max@stro.at>
39631 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39634 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39636 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39637 code so that pseudo_end is just ret and the stack pointer is
39638 correct also for static library in error case.
39640 2012-05-23 Joseph Myers <joseph@codesourcery.com>
39642 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39643 move to syscalls.list.
39644 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39646 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39649 * manual/install.texi (Running make install): Do not mention Linux
39650 kernel version for which pt_chown is not needed.
39651 (Linux): Do not mention problems with nscd with 2.0 kernels.
39652 * INSTALL: Regenerated.
39654 2012-05-23 Andreas Jaeger <aj@suse.de>
39656 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39657 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39659 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39660 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39661 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39662 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39663 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39664 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39665 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39666 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39667 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39668 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39669 * sysdeps/unix/sysv/linux/bits/in.h
39670 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39672 2012-05-22 Roland McGrath <roland@hack.frob.com>
39674 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39675 (PREPARE_VERSION): Just use assert instead, it will be elided
39676 under [NDEBUG] anyway.
39678 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39680 * sysdeps/unix/sysv/linux/Makefile: Include
39681 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39682 (sysdep_routines): Remove sysctl.
39683 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39684 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39685 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39686 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39687 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39689 2012-05-22 Andreas Jaeger <aj@suse.de>
39691 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39692 that pseudo_end is just ret and the stack pointer is correct also
39693 for static library in error case.
39695 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39698 * nss/nsswitch.c (defconfig_entries): New variable.
39699 (__nss_database_lookup): Don't leak defconfig entries.
39700 (nss_parse_service_list): Don't leak on error paths.
39701 (free_database_entries): New function.
39702 (free_defconfig): New function.
39703 (free_mem): Move common code to free_database_entries.
39705 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39707 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39709 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39711 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39712 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39713 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39715 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39716 (INTERNAL_SYSCALL_TYPES): Likewise.
39717 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39718 (LOAD_REGS_TYPES_[1-6]): Likewise.
39719 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39720 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39722 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39724 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39725 copysignl for GLIBC_2_0.
39726 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39727 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39728 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39729 logbl for GLIBC_2_0.
39730 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39731 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39733 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39735 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39736 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39738 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39741 * time/mktime.c: Update copyright years.
39743 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39745 mktime: merge comment-quoting-style change from gnulib
39746 * time/mktime.c: Quote 'like this' in comments.
39747 The GNU coding standards suggest that we no longer quote `like this',
39748 as "`" and "'" are typically rendered asymmetrically nowadays.
39749 The typical gnulib style is to quote 'like this' when quoting
39750 code, and "like this" when quoting English.
39752 * time/mktime.c (compile-command): Add "-I.".
39754 mktime: merge mktime-internal.h change from gnulib
39755 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39757 mktime: merge time_r change from gnulib
39758 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39760 mktime: merge DEBUG change from gnulib
39761 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39762 case system <time.h> has a #define.
39764 mktime: merge <sys/types.h> change from gnulib
39765 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39766 since <time.t> is now guaranteed to define time_t.
39768 mktime: merge HAVE_CONFIG_H change from gnulib
39769 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39771 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39773 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39776 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39778 (struct rusage): Use anonymous union to pad each field to
39781 2012-05-21 David S. Miller <davem@davemloft.net>
39783 * Makefules (o-iterator): Remove .s cases.
39784 (compile-command.s): Delete.
39785 (COMPILE.s): Delete.
39786 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39788 2012-05-21 Joseph Myers <joseph@codesourcery.com>
39790 * configure.in (libc_cv_predef_stack_protector): Only consider
39791 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39792 * configure: Regenerated.
39794 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39796 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39797 New macro. Use R*LP on int and pointer.
39798 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39799 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39800 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39801 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39803 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39804 [__WORDSIZE_TIME64_COMPAT32] instead of
39805 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39806 (struct utmp): Likewise.
39807 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39808 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39810 (__WORDSIZE_TIME64_COMPAT32): This.
39811 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39812 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39813 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39814 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39815 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39816 (__WORDSIZE_TIME64_COMPAT32): New macro.
39818 2012-05-21 Andreas Jaeger <aj@suse.de>
39820 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39821 only if [SHARED]. Add prototype for __wcschr_ia32.
39823 2012-05-21 Roland McGrath <roland@hack.frob.com>
39825 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39826 of %rbp unmolested in the jmp_buf while mangling the low bits.
39827 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39828 unmolested high bits of %rbp while demangling the low bits.
39829 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39831 2012-05-21 Andreas Jaeger <aj@suse.de>
39833 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39834 * sunrpc/svc_simple.c: Use it for registerrpc.
39835 * sunrpc/xcrypt.c: Use it for passwd2des.
39837 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39839 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39841 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39842 Don't define if [__SYSCALL_WORDSIZE != 32].
39843 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39846 2012-05-21 Bruno Haible <bruno@clisp.org>
39847 Andreas Jaeger <aj@suse.de>
39849 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39850 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39851 inptr and inend for must_buffer_ch.
39852 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39853 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39854 * stdio-common/Makefile (tests): Remove bug15.
39855 (bug15-ENV): Remove macro.
39856 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39859 2012-05-19 Andreas Jaeger <aj@suse.de>
39860 Roland McGrath <roland@hack.frob.com>
39862 * manual/contrib.texi: Completely rewritten. It contains now an
39863 alphabetical list of contributors and their contributions.
39865 2012-05-21 Richard Henderson <rth@twiddle.net>
39867 * misc/getauxval.c (__getauxval): Use unsigned long int.
39868 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39869 (getauxval): Use unsigned long int.
39871 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39873 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39875 2012-05-21 Roland McGrath <roland@hack.frob.com>
39877 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39878 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39879 __alignof__ (long double).
39881 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39885 2012-05-20 Richard Henderson <rth@twiddle.net>
39887 * misc/getauxval.c: New file.
39888 * misc/sys/auxv.h: New file.
39889 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39890 (routines): Add getauxval.
39891 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39892 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39893 * elf/dl-sysdep.c (_dl_auxv): Remove.
39894 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39895 * elf/dl-support.c (_dl_auxv): New variable.
39896 (_dl_aux_init): Initialize it.
39897 * manual/startup.texi (Auxiliary Vector): New node.
39898 * sysdeps/generic/bits/hwcap.h: New file.
39899 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39900 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39901 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39902 * sysdeps/sparc/sysdep.h: ... here. Include it.
39903 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39904 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39912 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39913 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39916 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39920 2012-05-19 David S. Miller <davem@davemloft.net>
39922 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39924 2012-05-19 Joseph Myers <joseph@codesourcery.com>
39927 * math/s_ccosh.c: Include <float.h>
39928 (__ccosh): Avoid internal overflow calculating sinh and cosh
39929 values before multiplying by sin and cos values.
39930 * math/s_ccoshf.c: Likewise.
39931 * math/s_ccoshl.c: Likewise.
39932 * math/s_csin.c: Likewise.
39933 * math/s_csinf.c: Likewise.
39934 * math/s_csinl.c: Likewise.
39935 * math/s_csinh.c: Likewise.
39936 * math/s_csinhf.c: Likewise.
39937 * math/s_csinhl.c: Likewise.
39938 * math/libm-test.inc (ccos_test): Add more tests.
39939 (ccosh_test): Likewise.
39940 (csin_test): Likewise.
39941 (csinh_test): Likewise.
39942 * sysdeps/i386/fpu/libm-test-ulps: Update.
39943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39945 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39947 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39948 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39950 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39952 2012-05-19 Joseph Myers <joseph@codesourcery.com>
39954 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39955 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39956 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39957 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39958 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39959 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39960 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39961 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39962 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39963 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39964 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39965 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39966 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39967 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39968 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39969 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39970 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39971 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39972 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39973 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39974 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39975 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39976 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39977 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39978 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39979 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39980 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39981 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39982 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39983 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39984 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39986 2012-05-18 Andreas Jaeger <aj@suse.de>
39988 * csu/.gitignore: Delete.
39990 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
39992 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39993 (timex): Use __syscall_slong_t.
39995 2012-05-18 Andreas Jaeger <aj@suse.de>
39996 Carlos O'Donell <carlos_odonell@mentor.com>
39998 * manual/install.texi (Configuring and compiling): Update
39999 description about files modified in the source directory.
40000 * INSTALL: Regenerated.
40002 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40004 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40005 value. Use "or" to set return value to -1.
40006 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40007 negate return value.
40009 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40011 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40012 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40013 failure if the compiler has Graphite support disabled.
40014 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40016 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40017 (CFLAGS-memmove.c): Likewise.
40018 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40021 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40023 * sysdeps/x86_64/x32/_itoa.h: New file.
40025 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40026 getdents system call only if kernel and user dirents have the
40027 same d_ino and d_off.
40029 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40030 LLONG_MAX != LONG_MAX.
40031 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40032 (_fitoa_word): Likewise.
40034 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40036 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40037 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40038 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40040 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40041 include <bits/wordsize.h>. Check __x86_64__ instead of
40043 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40044 if __x86_64__ is defined. Use anonymous union on fpstate.
40046 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40049 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40051 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40052 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40053 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40054 Refer to _rtld_local_ro instead of _rtld_global_ro.
40055 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40057 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40059 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40061 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40062 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40063 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40065 * sysdeps/powerpc/powerpc32/dl-machine.c
40066 (__elf_machine_runtime_setup) [PROF]: Don't reference
40069 2012-05-18 Andreas Jaeger <aj@suse.de>
40071 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40072 function only available for GCCs before 3.4 since GCC 3.4
40073 introduced a builtin.
40075 (llrintf): Likewise.
40076 (llrint): Likewise.
40083 (nearbyint): Likewise.
40084 (nearbyintf): Likewise.
40088 (floorf): Likewise.
40090 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40092 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40093 on both fields and cast pointer to __syscall_ulong_t.
40095 * bits/types.h (__fsword_t): New type.
40096 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40097 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40098 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40099 (__FSWORD_T_TYPE): Likewise.
40100 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40101 (__FSWORD_T_TYPE): Likewise.
40102 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40103 (__FSWORD_T_TYPE): Likewise.
40104 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40105 (__FSWORD_T_TYPE): Likewise.
40106 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40107 __SWORD_TYPE with __fsword_t.
40108 (statfs64): Likewise.
40110 2012-05-17 David S. Miller <davem@davemloft.net>
40112 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40114 2012-05-17 Andreas Jaeger <aj@suse.de>
40116 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40119 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40121 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40123 2012-05-17 Andreas Jaeger <aj@suse.de>
40125 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40128 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40130 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40132 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40134 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40135 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40137 2012-05-17 Andreas Jaeger <aj@suse.de>
40138 Carlos O'Donell <carlos_odonell@mentor.com>
40141 * sysdeps/x86_64/multiarch/init-arch.h
40142 (bit_YMM_Usable): Rename to...
40143 (bit_AVX_Usable): ... this.
40144 (bit_FMA4_Usable): New macro.
40145 (bit_XMM_state): New macro.
40146 (bit_YMM_state): New macro.
40147 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40148 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40149 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40150 (CPUID_OSXSAVE): New macro.
40151 (CPUID_AVX): New macro.
40152 (CPUID_FMA4): New macro.
40153 (index_YMM_Usable): Rename to...
40154 (index_AVX_Usable): ... this.
40155 (HAS_AVX): Use HAS_ARCH_FEATURE.
40156 (HAS_FMA4): Likewise.
40157 (HAS_YMM_USABLE): Remove.
40158 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40159 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40161 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40162 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40163 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40164 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40165 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40167 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40169 * math/libm-test.c: Support platforms without multiple rounding modes.
40170 * math/bug-nextafter.c: Support platforms without FP exceptions.
40171 * math/bug-nexttoward.c: Likewise.
40172 * math/test-fenv.c: Likewise.
40173 * math/test-misc.c: Likewise.
40174 * stdlib/bug-getcontext.c: Likewise.
40176 2012-05-17 Andreas Jaeger <aj@suse.de>
40178 * manual/examples/search.c (critter_cmp): Change signature to
40180 * manual/string.texi (Collation Functions): Likewise.
40182 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40184 * bits/types.h: Fold copyright years.
40185 * bits/typesizes.h: Likewise.
40186 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40187 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40188 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40190 * time/time.h: Likewise.
40192 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40195 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40196 in instead of returning them. Return void.
40197 (__libc_mallinfo): Accumulate over all arenas.
40198 (__malloc_stats): Adjust for change in int_mallinfo interface.
40200 2012-05-16 Roland McGrath <roland@hack.frob.com>
40203 * configure.in (NM): Add AC_CHECK_TOOL for it.
40204 (libc_extra_cflags): New substituted variable.
40205 Check for -fstack-protector being used implicitly.
40206 * configure: Regenerated.
40207 * config.make.in (config-extra-cflags): New variable,
40208 gets @libc_extra_cflags@.
40209 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40212 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40213 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40214 * configure: Regenerated.
40215 * config.make.in (CPPUNDEFS): New substituted variable.
40216 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40217 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40218 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40220 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40222 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40223 (mq_attr): Use __syscall_slong_t.
40225 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40227 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40228 Check __x86_64__ instead of __WORDSIZE.
40229 (_STAT_VER_LINUX): Likewise.
40230 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40231 __syscall_ulong_t and __syscall_slong_t.
40232 (stat64): Likewise.
40234 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40236 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40238 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40240 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40242 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40244 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40247 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40248 include <bits/wordsize.h>. Check __x86_64__ instead of
40250 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40252 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40254 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40255 include <bits/wordsize.h>. Check __x86_64__ instead of
40257 (user_regs_struct): Use "__extension__ unsigned long long"
40258 instead of "unsigned long" if __x86_64__ is defined.
40259 (user): Likewise. Pad after pointer field if __ILP32__ is
40262 2012-05-16 Joseph Myers <joseph@codesourcery.com>
40264 * configure.in (makeinfo): Require version 4.5 or later. Allow
40266 * configure: Regenerated.
40267 * manual/install.texi (texinfo): Increase version requirement to
40269 * INSTALL: Regenerated.
40271 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40273 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40275 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40277 * sysdeps/x86_64/x32/ffs.c: New file.
40279 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40281 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40282 defined. Use __syscall_ulong_t.
40283 (shminfo): Use __syscall_ulong_t.
40284 (shm_info): Likewise.
40286 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40289 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40291 (msgqnum_t): Use __syscall_ulong_t.
40292 (msglen_t): Likewise.
40293 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40296 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40297 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40299 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40301 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40302 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40304 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40307 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40308 include <bits/wordsize.h>. Check __x86_64__ instead of
40311 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40312 "unsigned long long int" if __x86_64__ is defined.
40313 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40315 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40316 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40317 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40319 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40321 (GET_PC): Cast to uintptr_t first.
40322 (GET_FRAME): Likewise.
40323 (GET_STACK): Likewise.
40325 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40326 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40327 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40328 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40329 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40330 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40331 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40332 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40333 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40334 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40335 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40336 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40337 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40338 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40339 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40340 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40341 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40342 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40343 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40344 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40345 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40346 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40347 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40348 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40349 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40350 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40351 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40352 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40353 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40355 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40357 * Makerules (+depfiles): Also collect depfiles from .oS in
40359 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40360 .oS, $(libnldbl-routines)).
40362 * Makerules (native-compile-mkdep-flags): Define.
40363 * sunrpc/Makefile (extra-objs): Add $(addprefix
40364 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40365 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40366 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
40367 calling $(make-target-directory).
40369 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40371 * bits/types.h (__snseconds_t): Removed.
40372 * time/time.h (struct timespec): Replace __snseconds_t with
40374 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40375 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40377 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40378 (__SNSECONDS_T_TYPE): Likewise.
40379 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40380 (__SNSECONDS_T_TYPE): Likewise.
40381 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40382 (__SNSECONDS_T_TYPE): Likewise.
40384 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40386 * sysdeps/mach/hurd/bits/typesizes.h
40387 (__SYSCALL_SLONG_TYPE): New macro.
40388 (__SYSCALL_ULONG_TYPE): Likewise.
40390 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40392 * bits/types.h (__syscall_slong_t): New type.
40393 (__syscall_ulong_t): Likewise.
40395 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40396 (__SYSCALL_ULONG_TYPE): Likewise.
40397 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40398 (__SYSCALL_SLONG_TYPE): Likewise.
40399 (__SYSCALL_ULONG_TYPE): Likewise.
40400 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40401 (__SYSCALL_SLONG_TYPE): Likewise.
40402 (__SYSCALL_ULONG_TYPE): Likewise.
40403 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40404 (__SYSCALL_SLONG_TYPE): Likewise.
40405 (__SYSCALL_ULONG_TYPE): Likewise.
40407 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40409 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40410 Add sigaltstack-offsets.sym.
40411 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40412 <sigaltstack-offsets.h>.
40413 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
40414 longjmp_msg pointer.
40415 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
40416 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40418 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40420 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40422 * elf/stackguard-macros.h: Remove file.
40423 * sysdeps/generic/stackguard-macros.h: New file.
40424 * sysdeps/i386/stackguard-macros.h: Likewise.
40425 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40426 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40427 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40428 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40429 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40430 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40431 * sysdeps/x86_64/stackguard-macros.h: Likewise.
40432 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40433 <elf/stackguard-macros.h>.
40436 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40437 __aligned__ in attribute.
40438 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40439 (gregset_t): Likewise.
40441 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40443 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40444 * sysdeps/x86_64/64/Implies-after: Here. New file.
40445 * sysdeps/x86_64/x32/Implies-after: New file.
40447 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40449 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40450 and access return value for _dl_profile_fixup. Use R10_LP to
40453 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40455 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40457 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40459 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40460 * sysdeps/x86_64/x32/sysdep.h: New file.
40462 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40464 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40465 * sysdeps/x86_64/setjmp.S: Likewise.
40467 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40469 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40470 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40471 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40472 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40473 remove unused global constant.
40475 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
40477 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40478 include of <not-cancel.h>.
40480 2012-05-15 Roland McGrath <roland@hack.frob.com>
40482 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40484 2012-05-15 Jeff Law <law@redhat.com>
40485 Andreas Jaeger <aj@suse.de>
40488 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40490 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40491 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40492 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40493 code changing __hst_map_handle.map.
40495 2012-05-15 Roland McGrath <roland@hack.frob.com>
40497 * configure.in (sysnames): Look for Implies-before and Implies-after
40499 * configure: Regenerated.
40501 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40503 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40504 8-byte data alignment with LP_SIZE alignment.
40506 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40508 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40511 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40513 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40515 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40517 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40518 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40519 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40521 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40523 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40525 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40526 (stackinfo_sub_sp): Likewise.
40528 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40530 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40533 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40535 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40538 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40540 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40543 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40545 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40549 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40550 into R11_LP and load __x86_64_shared_cache_size_half into
40553 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40555 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40558 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40560 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40562 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40564 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40566 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40567 powerpc32/power7/fpu/s_logb.c via #include.
40568 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40569 powerpc32/power7/fpu/s_logbf.c via #include.
40570 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40571 powerpc32/power7/fpu/s_logbl.c via #include.
40573 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40575 * README.libm: Remove file.
40577 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40579 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40580 count for x32. Use R*_LP and omit operand-size suffix.
40582 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40584 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40585 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40586 * sysdeps/x86_64/x32/shlib-versions: New file.
40588 2012-05-14 Roland McGrath <roland@hack.frob.com>
40590 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40591 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40592 Use _dl_fatal_printf instead.
40594 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40596 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40597 set if not set by the user. Do not allow for being unset.
40598 * sysdeps/unix/sysv/linux/configure: Regenerated.
40600 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40602 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40603 the `q' suffix from lea and replace .quad with ASM_ADDR.
40605 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40608 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40610 (PTR_DEMANGLE): Likewise.
40612 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40614 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40616 (ASM_ADDR): Likewise.
40617 (RAX_LP): Likewise.
40618 (RBP_LP): Likewise.
40619 (RBX_LP): Likewise.
40620 (RCX_LP): Likewise.
40621 (RDI_LP): Likewise.
40622 (RSI_LP): Likewise.
40623 (RSP_LP): Likewise.
40626 (R10_LP): Likewise.
40627 (R10_LP): Likewise.
40628 (R11_LP): Likewise.
40629 (R12_LP): Likewise.
40630 (R13_LP): Likewise.
40631 (R14_LP): Likewise.
40632 (R15_LP): Likewise.
40634 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40636 * sysdeps/x86_64/x32/dl-machine.h: New file.
40638 2012-05-14 Andreas Jaeger <aj@suse.de>
40640 * manual/Makefile (subdir): Remove export of subdir.
40641 (all): Remove target.
40642 (.PHONY): Remove all from list.
40643 (mkinstalldirs): Remove.
40644 (.PHONY): Remove installdirs from list.
40645 ($(inst_infodir)/libc.info): Use make-target-directory.
40646 (installdirs): Remove.
40647 (subdir_%): Remove.
40648 (glibc-targets): Remove.
40651 ($(objpfx)stubs ../po/manual.pot): Remove.
40652 ($(objpfx)stamp%): Remove.
40653 (make-target-directory): Remove.
40654 (subdir_install): Remove.
40655 (routines): Remove.
40662 * manual/.gitignore: Remove, it's not needed anymore.
40663 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40665 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40667 (texis): Renamed to $(objpfx)texis.
40668 (texis-path): New, contains path to generated files.
40669 (chapters.%): Use texis-path for complete path, add extra argument
40671 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40672 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40673 (summary,texi, stamp-summary): Use complete path of
40674 files. Generate files in build dir.
40675 (dir-add.texi): Build in build dir.
40676 (libm-err.texi,stamp-libm-err): Likewise.
40677 (version.texi, stamp-version): Likewise.
40678 (.%c.texi): Likewise.
40679 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40680 (mostlyclean): Remove target.
40681 (realclean): Remove target.
40682 (generated): Add new variable with contents from mostlyclean and
40683 realclean, remove entries duplicated in common-mostlyclean, add
40684 stamp-libm-err and stamp-version.
40685 (generated-dirs): Add libc directory.
40686 ($(inst_infodir)/libc.info): Install files from build dir.
40688 * manual/install.texi (Configuring and compiling): Adjust since
40689 the info files are not part of the tar ball anymore.
40691 2012-05-14 Andreas Jaeger <aj@suse.de>
40693 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40696 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40699 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40700 to 2.2.0 where earlier.
40701 * sysdeps/unix/sysv/linux/configure: Regenerated.
40702 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40703 Remove conditional code.
40704 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40705 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40706 Remove conditional code.
40707 [!__NR_lchown]: Likewise.
40708 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40709 [__NR_lchown]: Likewise.
40710 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40711 comment referencing __ASSUME_LCHOWN_SYSCALL.
40712 * sysdeps/unix/sysv/linux/i386/sigaction.c
40713 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40714 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40715 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40716 Remove conditional code.
40717 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40718 (__protocol_available): Remove #if 0 code.
40719 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40721 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40722 * sysdeps/unix/sysv/linux/kernel-features.h
40723 (__ASSUME_GETCWD_SYSCALL): Don't define.
40724 (__ASSUME_REALTIME_SIGNALS): Likewise.
40725 (__ASSUME_PREAD_SYSCALL): Likewise.
40726 (__ASSUME_PWRITE_SYSCALL): Likewise.
40727 (__ASSUME_POLL_SYSCALL): Likewise.
40728 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40729 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40731 (__ASSUME_SIOCGIFNAME): Don't define.
40732 (__ASSUME_MSG_NOSIGNAL): Likewise.
40733 (__ASSUME_SENDFILE): Define unconditionally.
40734 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40735 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40737 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40738 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40739 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40740 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40741 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40742 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40743 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40745 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40746 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40748 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40749 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40751 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40752 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40754 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40755 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40757 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40758 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40760 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40761 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40763 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40764 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40766 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40767 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40768 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40769 Remove conditional code.
40770 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40771 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40772 Remove conditional code.
40773 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40774 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40775 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40776 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40777 Remove conditional code.
40778 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40779 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40780 Remove conditional code.
40781 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40782 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40783 Remove conditional code.
40784 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40785 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40786 Remove conditional code.
40787 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40788 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40789 Remove conditional code.
40790 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40791 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40792 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40793 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40794 * sysdeps/unix/sysv/linux/sigaction.c
40795 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40796 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40797 * sysdeps/unix/sysv/linux/sigpending.c
40798 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40799 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40800 * sysdeps/unix/sysv/linux/sigprocmask.c
40801 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40802 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40803 * sysdeps/unix/sysv/linux/sigsuspend.c
40804 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40805 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40806 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40807 (__libc_missing_rt_sigs): Remove.
40808 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40809 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40810 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40811 Remove conditional code.
40812 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40813 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40815 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40816 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40817 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40818 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40820 2012-05-14 Andreas Jaeger <aj@suse.de>
40822 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40823 it's not used in glibc.
40824 (__coshm1): Likewise.
40825 (__acosh1p): Likewise.
40828 * manual/string.texi (Copying and Concatenation): Add missing
40829 variable in concat example.
40830 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40832 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40835 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40836 __builtin_clzl with __builtin_clzll.
40838 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40841 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40844 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40846 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40847 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40848 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40849 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40851 2012-05-14 Mike Frysinger <vapier@gentoo.org>
40853 * NEWS: Update ia64 info.
40855 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40857 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40860 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40862 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40863 * sysdeps/unix/syscalls.list (dup3): Likewise.
40864 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40865 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40867 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40869 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40870 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40872 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40874 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40876 (TLS_IE): Use mov/add instead of movq/addq to load thread
40878 (TLS_GD_PREFIX): New.
40881 2012-05-11 David S. Miller <davem@davemloft.net>
40883 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40884 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40885 (_FPU_SETCW): Likewise.
40887 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40889 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40890 is 32-byte aligned.
40892 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40895 * iconvdata/gb18030.c: Update tables.
40896 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40897 characters specially.
40898 (BODY for TO_LOOP): Add encoding of missing ranges.
40900 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40903 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40904 * sysdeps/mach/hurd/dup3.c: Likewise.
40905 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40906 * sysdeps/powerpc/memmove.c:: Likewise.
40908 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40910 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40911 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40913 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40915 * elf/elf.h (R_X86_64_RELATIVE64): New.
40916 (R_X86_64_NUM): Updated.
40917 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40918 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40919 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40920 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40921 tst-quad1pie tst-quad2pie
40922 (modules-names): Add tst-quadmod1 tst-quadmod2.
40923 ($(objpfx)tst-quad1): New dependency.
40924 ($(objpfx)tst-quad2): Likewise.
40925 ($(objpfx)tst-quad1pie): Likewise.
40926 ($(objpfx)tst-quad2pie): Likewise.
40927 * sysdeps/x86_64/tst-quad1.c: New file.
40928 * sysdeps/x86_64/tst-quad1pie.c: New file.
40929 * sysdeps/x86_64/tst-quad2.c: Likewise.
40930 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40931 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40932 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40933 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40934 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40936 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40938 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40939 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40940 * streams/stropts.h (t_scalar_t): Define type.
40942 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40943 (_PATH_PRESERVE): Set to "/var/lib".
40944 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40946 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40949 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40950 if __dir_mkfile succeeded.
40952 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40953 checking for _hurd_dtablesize. Unlock it right after having
40954 finished _hurd_dtable allocation.
40956 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40958 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40959 * sysdeps/mach/hurd/configure: Regenerated.
40960 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40961 special-casing to...
40962 * sysdeps/gnu/configure.in: ... this new file.
40963 * sysdeps/unix/sysv/linux/configure: Regenerated.
40964 * sysdeps/gnu/configure: New generated file.
40966 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40967 for Linux: use nsec instead of usec, as well as:
40968 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40969 members of type struct timespec.
40970 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40972 (struct stat64): Likewise.
40973 (_STATBUF_ST_NSEC): New macro.
40974 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40976 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40977 __strtoul_internal rather than strtoul.
40979 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40981 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40984 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40986 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40987 which preserves existing values.
40988 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40990 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
40992 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40993 TIMEOUT values. Return EINVAL for NFDS values either negative or
40994 greater than FD_SETSIZE.
40996 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40998 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40999 allocated, call __vm_protect to finish enabling the existing space, and
41000 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41001 allocate the remainder.
41003 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41005 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41006 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41008 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41010 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41011 sysdeps/mach/hurd/readlink.c.
41013 * posix/tst-sysconf.c (posix_options): Only use
41014 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41015 _POSIX_SYNCHRONIZED_IO when they are defined
41016 * sysdeps/mach/hurd/bits/posix_opt.h:
41017 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41018 (_XOPEN_REALTIME): Undefine macro.
41019 (_XOPEN_REALTIME_THREADS): Undefine macro.
41020 (_XOPEN_SHM): Undefine macro.
41021 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41023 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41025 (_POSIX_ASYNC_IO): Undefine macro.
41026 (_POSIX_PRIORITIZED_IO): Undefine macro.
41027 (_POSIX_SPIN_LOCKS): Define macro to -1.
41029 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41030 SA_NODEFER, SA_RESETHAND.
41031 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41032 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41035 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41037 * elf/Makefile (pldd-modules): Define unconditionally.
41039 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41041 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41043 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41045 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41046 Return ENOENT when name is empty.
41047 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41049 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41051 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41053 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41055 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41057 Fix mlock in all cases except non-readable pages.
41058 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41059 instead of VM_PROT_ALL as parameter to __vm_wire function.
41061 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41062 (__mkdir): When path is `/', just fail with EEXIST.
41063 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41065 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41067 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41068 <sys/uio.h> (for writev).
41069 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41070 and <sys/param.h> (for MIN).
41072 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41074 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41075 REQUESTED_TIME. Properly set the remaining time and return EINTR
41078 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41080 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41081 Depend on against $(link-rpcuserlibs).
41083 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41085 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41086 (__libc_stack_end): Do not use attribute_relro.
41087 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41088 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41089 to libthread-provided value.
41090 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41093 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41096 * bits/libc-lock.h (__libc_once_get): New macro.
41097 * sysdeps/mach/bits/libc-lock.h: Likewise.
41098 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41099 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41100 instead of using implementation details.
41102 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41103 * libio/freopen.c: Likewise.
41104 * libio/freopen64.c: Likewise.
41105 * misc/syslog.c: Likewise.
41106 * nscd/connections.c: Likewise.
41107 * nscd/netgroupcache.c: Likewise.
41108 * sysdeps/posix/getcwd.c: Likewise.
41110 2012-05-10 Roland McGrath <roland@hack.frob.com>
41112 * math/w_ilogbf.c: Add #include <limits.h>.
41114 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41116 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41117 path instead of returning without unlocking.
41119 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41120 immediate-write ioctls.
41121 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41123 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41125 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41126 __builtin_frame_address instead of making assumptions about the
41127 location of the return address relative to DATA. Force early load of
41128 the return address.
41129 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41130 __builtin_frame_address.
41133 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41134 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41135 implement dup3 and do some further code clean-ups.
41136 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41137 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41139 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41141 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41143 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41144 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41145 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41146 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41147 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41150 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41151 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41152 when handler == SIG_ERR, not when handler != SIG_ERR.
41154 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41156 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41157 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41160 accept4 for GNU Hurd.
41161 * include/sys/socket.h (__libc_accept4): New prototype.
41162 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41163 to implement __libc_accept4.
41164 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41166 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41168 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41169 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41170 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41171 signal-defines.sym.
41173 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41175 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41177 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41179 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41180 assertion on O_CLOEXEC flag.
41181 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41182 * hurd/intern-fd.c: Likewise.
41183 * hurd/port2fd.c: Likewise.
41185 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41188 * bits/in.h (IPV6_PKTINFO): Define new macro.
41189 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41191 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41196 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41197 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41198 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41199 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41200 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41201 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41202 * math/libm-test.inc (logb_test) : Additional logb tests.
41204 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41205 Andreas Jaeger <aj@suse.de>
41207 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41208 * configure: Regenerated.
41209 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41210 * config.make.in (link-obsolete-rpc): New substituted variable.
41211 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41212 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41213 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41214 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41215 so that libc.a contains the symbols.
41216 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41217 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41218 * sunrpc/auth_none.c: Likewise.
41219 * sunrpc/auth_unix.c: Likewise.
41220 * sunrpc/authdes_prot.c: Likewise.
41221 * sunrpc/authuxprot.c: Likewise.
41222 * sunrpc/clnt_gen.c: Likewise.
41223 * sunrpc/clnt_perr.c: Likewise.
41224 * sunrpc/clnt_raw.c: Likewise.
41225 * sunrpc/clnt_simp.c: Likewise.
41226 * sunrpc/clnt_tcp.c: Likewise.
41227 * sunrpc/clnt_udp.c: Likewise.
41228 * sunrpc/clnt_unix.c: Likewise.
41229 * sunrpc/des_crypt.c: Likewise.
41230 * sunrpc/des_soft.c: Likewise.
41231 * sunrpc/get_myaddr.c: Likewise.
41232 * sunrpc/key_call.c: Likewise.
41233 * sunrpc/key_prot.c: Likewise.
41234 * sunrpc/netname.c: Likewise.
41235 * sunrpc/pm_getmaps.c: Likewise.
41236 * sunrpc/pm_getport.c: Likewise.
41237 * sunrpc/pmap_clnt.c: Likewise.
41238 * sunrpc/pmap_prot.c: Likewise.
41239 * sunrpc/pmap_prot2.c: Likewise.
41240 * sunrpc/pmap_rmt.c: Likewise.
41241 * sunrpc/publickey.c: Likewise.
41242 * sunrpc/rpc_cmsg.c: Likewise.
41243 * sunrpc/rpc_common.c: Likewise.
41244 * sunrpc/rpc_dtable.c: Likewise.
41245 * sunrpc/rpc_prot.c: Likewise.
41246 * sunrpc/rpc_thread.c: Likewise.
41247 * sunrpc/rtime.c: Likewise.
41248 * sunrpc/svc.c: Likewise.
41249 * sunrpc/svc_auth.c: Likewise.
41250 * sunrpc/svc_raw.c: Likewise.
41251 * sunrpc/svc_run.c: Likewise.
41252 * sunrpc/svc_tcp.c: Likewise.
41253 * sunrpc/svc_udp.c: Likewise.
41254 * sunrpc/svc_unix.c: Likewise.
41255 * sunrpc/svcauth_des.c: Likewise.
41256 * sunrpc/xcrypt.c: Likewise.
41257 * sunrpc/xdr.c: Likewise.
41258 * sunrpc/xdr_array.c: Likewise.
41259 * sunrpc/xdr_float.c: Likewise.
41260 * sunrpc/xdr_intXX_t.c: Likewise.
41261 * sunrpc/xdr_mem.c: Likewise.
41262 * sunrpc/xdr_rec.c: Likewise.
41263 * sunrpc/xdr_ref.c: Likewise.
41264 * sunrpc/xdr_sizeof.c: Likewise.
41265 * sunrpc/xdr_stdio.c: Likewise.
41267 2012-05-10 Roland McGrath <roland@hack.frob.com>
41269 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41270 change. Update copyright years.
41272 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41274 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41276 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41277 Joseph Myers <joseph@codesourcery.com>
41278 Paul Pluzhnikov <ppluzhnikov@google.com>
41281 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41283 [cross-compiling] (extra-libs): Likewise.
41284 [cross-compiling] (extra-libs-others): Likewise.
41285 [cross-compiling] (librpcsvc-routines): Likewise.
41286 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41287 [cross-compiling] (omit-deps): Likewise.
41288 (sunrpc-CPPFLAGS): New variable.
41289 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41290 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41291 (cross-rpcgen-objs): New variable.
41292 (extra-objs): Append $(cross-rpcgen-objs).
41293 ($(cross-rpcgen-objs)): New rule.
41294 ($(objpfx)cross-rpcgen): Likewise.
41295 (rpcgen-cmd): Define to use $(built-program-file). Expand
41297 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41298 ($(objpfx)x%.stmp): Likewise.
41299 * sunrpc/proto.h [IS_IN_build] (_): Define.
41300 [IS_IN_build] (_libc_intl_domainname): Likewise.
41302 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41304 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41305 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41306 and R_X86_64_TPOFF64.
41308 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41310 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41311 sysdeps/unix/sysv/syscalls.list.
41314 * sysdeps/unix/sysv/syscalls.list: Remove file.
41316 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41319 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41320 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41321 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41322 (__LC_IDENTIFICATION): Make these macros useful in #if
41323 expressions, as required by C99.
41325 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41327 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41328 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41331 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41333 * stdlib/longlong.h: Updated from GCC.
41335 2012-05-09 Andreas Jaeger <aj@suse.de>
41337 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41338 default is first entry.
41339 (run_mode): Set type.
41340 (main): Remove informal message about syslog.
41341 (options): Fix typo.
41344 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41347 (llrintf): Likewise.
41348 (llrint): Likewise.
41351 (nearbyint): Likewise.
41352 (nearbyintf): Likewise.
41354 2012-05-09 Andreas Jaeger <aj@suse.de>
41355 Pedro Alves <palves@redhat.com>
41357 * nscd/nscd.c (run_mode): Use enum.
41358 (main): Cleanup coding style issue.
41360 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
41361 Andreas Jaeger <aj@suse.de>
41363 * nscd/nscd.c (go_background): Replaced with...
41364 (run_mode): ... this.
41365 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41366 (options): Add -F --foreground.
41367 (main): Implement it.
41368 (parse_opt): Parse it.
41370 2012-05-09 Andreas Jaeger <aj@suse.de>
41373 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41374 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41375 -Wconversion warning.
41376 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41379 2012-05-09 Joseph Myers <joseph@codesourcery.com>
41381 * conform/data/locale.h-data (NULL): Use macro-constant. Require
41383 (LC_ALL): Use macro-int-constant.
41384 (LC_COLLATE): Likewise.
41385 (LC_CTYPE): Likewise.
41386 (LC_MESSAGES): Likewise.
41387 (LC_MONETARY): Likewise.
41388 (LC_NUMERIC): Likewise.
41389 (LC_TIME): Likewise.
41390 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41391 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41392 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41393 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41395 [C99-based standards] (float_t): Expect type.
41396 [C99-based standards] (double_t): Expect type.
41397 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
41399 [C99-based standards] (HUGE_VALL): Likewise.
41400 [C99-based standards] (INFINITY): Likewise.
41401 [C99-based standards] (NAN): Likewise.
41402 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41403 [C99-based standards] (FP_NAN): Likewise.
41404 [C99-based standards] (FP_NORMAL): Likewise.
41405 [C99-based standards] (FP_SUBNORMAL): Likewise.
41406 [C99-based standards] (FP_ZERO): Likewise.
41407 [C99-based standards] (FP_FAST_FMA): Use
41408 optional-macro-int-constant. Specify type. Require == 1.
41409 [C99-based standards] (FP_FAST_FMAF): Likewise.
41410 [C99-based standards] (FP_FAST_FMAL): Likewise.
41411 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41412 [C99-based standards] (FP_ILOGBNAN): Likewise.
41413 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41415 [C99-based standards] (MATH_ERREXCEPT): Likewise.
41416 [C99-based standards] (math_errhandling): Specify type.
41417 [ISO99 || ISO11] (signgam): Do not allow.
41418 [non-C99-based standards] (copysignf): Do not allow.
41419 [non-C99-based standards] (exp2f): Likewise.
41420 [non-C99-based standards] (log2f): Likewise.
41421 [non-C99-based standards] (modff): Allow.
41422 [non-C99-based standards] (erff): Do not allow.
41423 [non-C99-based standards] (erfcf): Likewise.
41424 [non-C99-based standards] (gammaf): Likewise.
41425 [non-C99-based standards] (hypotf): Likewise.
41426 [non-C99-based standards] (j0f): Likewise.
41427 [non-C99-based standards] (j1f): Likewise.
41428 [non-C99-based standards] (jnf): Likewise.
41429 [non-C99-based standards] (lgammaf): Likewise.
41430 [non-C99-based standards] (tgammaf): Likewise.
41431 [non-C99-based standards] (y0f): Likewise.
41432 [non-C99-based standards] (y1f): Likewise.
41433 [non-C99-based standards] (ynf): Likewise.
41434 [non-C99-based standards] (isnanf): Likewise.
41435 [non-C99-based standards] (acoshf): Likewise.
41436 [non-C99-based standards] (asinhf): Likewise.
41437 [non-C99-based standards] (atanhf): Likewise.
41438 [non-C99-based standards] (cbrtf): Likewise.
41439 [non-C99-based standards] (expm1f): Likewise.
41440 [non-C99-based standards] (ilogbf): Likewise.
41441 [non-C99-based standards] (log1pf): Likewise.
41442 [non-C99-based standards] (logbf): Likewise.
41443 [non-C99-based standards] (nextafterf): Likewise.
41444 [non-C99-based standards] (remainderf): Likewise.
41445 [non-C99-based standards] (rintf): Likewise.
41446 [non-C99-based standards] (scalbf): Likewise.
41447 [non-C99-based standards] (copysignl): Likewise.
41448 [non-C99-based standards] (exp2l): Likewise.
41449 [non-C99-based standards] (log2l): Likewise.
41450 [non-C99-based standards] (modfl): Allow.
41451 [non-C99-based standards] (erfl): Do not allow.
41452 [non-C99-based standards] (erfcl): Likewise.
41453 [non-C99-based standards] (gammal): Likewise.
41454 [non-C99-based standards] (hypotl): Likewise.
41455 [non-C99-based standards] (j0l): Likewise.
41456 [non-C99-based standards] (j1l): Likewise.
41457 [non-C99-based standards] (jnl): Likewise.
41458 [non-C99-based standards] (lgammal): Likewise.
41459 [non-C99-based standards] (tgammal): Likewise.
41460 [non-C99-based standards] (y0l): Likewise.
41461 [non-C99-based standards] (y1l): Likewise.
41462 [non-C99-based standards] (ynl): Likewise.
41463 [non-C99-based standards] (isnanl): Likewise.
41464 [non-C99-based standards] (acoshl): Likewise.
41465 [non-C99-based standards] (asinhl): Likewise.
41466 [non-C99-based standards] (atanhl): Likewise.
41467 [non-C99-based standards] (cbrtl): Likewise.
41468 [non-C99-based standards] (expm1l): Likewise.
41469 [non-C99-based standards] (ilogbl): Likewise.
41470 [non-C99-based standards] (log1pl): Likewise.
41471 [non-C99-based standards] (logbl): Likewise.
41472 [non-C99-based standards] (nextafterl): Likewise.
41473 [non-C99-based standards] (remainderl): Likewise.
41474 [non-C99-based standards] (rintl): Likewise.
41475 [non-C99-based standards] (scalbl): Likewise.
41476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41477 [non-C99-based standards] (FP_*): Do not allow.
41478 [C99-based standards] (FP_*): Change to
41479 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41480 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41482 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41483 (SIG_ERR): Likewise.
41484 [X/Open-based standards] (SIG_HOLD): Likewise.
41485 (SIG_IGN): Likewise.
41486 (SIGABRT): Use macro-int-constant. Specify type. Require
41488 (SIGFPE): Likewise.
41489 (SIGILL): Likewise.
41490 (SIGINT): Likewise.
41491 (SIGSEGV): Likewise.
41492 (SIGTER): Likewise.
41493 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41494 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41495 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41496 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41497 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41498 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41499 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41500 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41501 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41502 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41503 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41504 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41505 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41506 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41507 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41508 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41509 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41510 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41511 [X/Open-based standards] (SIGTRAP): Likewise.
41512 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41513 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41514 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41515 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41516 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41519 2012-05-08 Ian Wienand <ianw@vmware.com>
41522 * time/tzset.c (__tzset_parse_tz): Update default rules for
41523 daylight time changes in the Energy Policy Act of 2005.
41525 2012-05-09 Andreas Jaeger <aj@suse.de>
41528 * elf/ldconfig.c (parse_conf): Change string to make clear that
41529 ldconfig only issued a warning if ld.so.conf does not exist.
41531 2012-05-08 David S. Miller <davem@davemloft.net>
41533 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41534 movxtod instead of popping the value on the stack.
41536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41538 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41540 * config.h.in: Add HAVE_ARM_PCS_VFP.
41542 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
41545 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41546 checking but the checks are disabled for any reason.
41548 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41550 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41551 and ELF64_R_TYPE with ELFW(R_TYPE).
41553 2012-05-08 Joseph Myers <joseph@codesourcery.com>
41555 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41556 (ulimit): Likewise.
41558 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41559 (settimeofday): Likewise.
41561 2012-05-08 Mike Frysinger <vapier@gentoo.org>
41563 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41564 a struct th_u2 inside the union, and move tu_block/tu_code into
41565 a new th_u3 union of tu_block/tu_code inside of that. Move
41566 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41567 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41568 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41569 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41570 (th_stuff): Change to th_u1.tu_stuff.
41572 (th_msg): Change to th_u1.th_u2.tu_data.
41574 2012-05-07 David S. Miller <davem@davemloft.net>
41576 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41579 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41580 (SETUP_PIC_REG): Use it.
41581 (SETUP_PIC_REG_LEAF): Use it.
41583 2012-05-07 Joseph Myers <joseph@codesourcery.com>
41587 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41589 (EXPL_FINITE): Likewise.
41590 (FLDLOG): Likewise.
41591 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41592 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41594 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41596 (EXPL_FINITE): Likewise.
41597 (FLDLOG): Likewise.
41598 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41599 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41601 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41602 test of -max_value argument for long double.
41603 * sysdeps/i386/fpu/libm-test-ulps: Update.
41604 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41606 2012-05-06 David S. Miller <davem@davemloft.net>
41608 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41609 quad soft-float symbols whose references which are compiler
41611 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41613 2012-05-06 Joseph Myers <joseph@codesourcery.com>
41617 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41619 (EXPL_FINITE): Likewise.
41620 (FLDLOG): Likewise.
41623 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41624 Adjust comments for base varying.
41625 (__expl_finite): Change alias to EXPL_FINITE.
41626 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41628 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41629 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41630 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41631 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41632 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41634 (EXPL_FINITE): Likewise.
41635 (FLDLOG): Likewise.
41638 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41639 Adjust comments for base varying.
41640 (__expl_finite): Change alias to EXPL_FINITE.
41641 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41643 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41646 * math/libm-test.inc (check_float_internal): Correct ulp
41647 calculation for subnormal expected results.
41649 2012-05-06 Andreas Jaeger <aj@suse.de>
41651 * Makeconfig (+math-flags): New, set to -frounding-math.
41652 (+cflags): Add +math-flags so that all of glibc gets compiled with
41655 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41657 2012-05-05 Joseph Myers <joseph@codesourcery.com>
41659 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41665 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41666 (__ieee754_expl): Allow for and saturate large arguments.
41667 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41668 (u_threshold): Likewise.
41669 (__exp): Call __ieee754_exp before checking for overflow and
41671 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41672 (u_threshold): Likewise.
41673 (__expf): Call __ieee754_expf before checking for overflow and
41675 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41676 (u_threshold): Likewise.
41677 (__expl): Call __ieee754_expl before checking for overflow and
41679 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41680 (__ieee754_expl): Allow for and saturate large arguments.
41681 * math/libm-test.inc (exp_test): Add another test. Do not allow
41682 missing overflow exception on overflow.
41683 (expm1_test): Do not allow missing overflow exception on overflow.
41685 * sysdeps/i386/fpu/e_expl.c: Move to ...
41686 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41687 rather than using inline asm.
41688 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41689 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41690 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41692 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41695 (signal): Likewise.
41699 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41701 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41702 sysdeps/unix/common/syscalls.list.
41703 (fchmod): Likewise.
41704 (fchown): Likewise.
41705 (ftruncate): Likewise.
41706 (getrusage): Likewise.
41707 (gettimeofday): Likewise.
41708 (setpgid): Likewise.
41709 (setregid): Likewise.
41710 (setreuid): Likewise.
41711 (sigaction): Likewise.
41712 (truncate): Likewise.
41713 (vhangup): Likewise.
41714 * sysdeps/unix/common/syscalls.list: Remove file.
41715 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41716 * sysdeps/unix/sysv/linux/Implies: Likewise.
41718 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41720 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41721 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41722 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41724 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41726 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41728 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41729 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41731 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41732 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41734 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41735 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41737 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41738 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41740 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41741 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41743 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41744 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41748 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41750 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41752 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41754 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41755 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41759 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41761 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41763 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41765 * sysdeps/unix/common/bits/dirent.h: Remove file.
41766 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41768 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41769 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41770 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41771 * sysdeps/unix/bsd/isatty.c: Likewise.
41772 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41773 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41774 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41776 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41779 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41780 long double comparison inaccuracies.
41781 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41784 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41786 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41787 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41789 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41792 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41793 nonzero digits before rounding a hex value.
41794 * stdlib/tst-strtod.c (tests): Add another test.
41796 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41798 * sysdeps/s390/fpu/libm-test-ulps: Update.
41800 2012-05-03 Andreas Jaeger <aj@suse.de>
41802 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41803 does not get optimized out.
41804 (malloc_opt_barrier): New.
41806 2012-05-03 Andreas Jaeger <aj@suse.de>
41807 Roland McGrath <roland@hack.frob.com>
41809 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41810 intermediate file deletion.
41811 (generated): Add .symlist files.
41813 2012-05-03 Joseph Myers <joseph@codesourcery.com>
41816 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41817 Redirect under this condition.
41818 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41819 [__USE_GNU] (__dprintf_chk): Not under this condition.
41820 [__USE_GNU] (__vdprintf_chk): Likewise.
41821 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41822 under this condition.
41823 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41824 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41825 [__USE_XOPEN2K8] (vdprintf): Likewise.
41826 [__USE_GNU] (__dprintf_chk): Not under this condition.
41827 [__USE_GNU] (__vdprintf_chk): Likewise.
41828 [__USE_GNU] (dprintf): Likewise.
41829 [__USE_GNU] (vdprintf): Likewise.
41831 2012-05-03 Roland McGrath <roland@hack.frob.com>
41833 * elf/Makefile (common-generated): Set this instead of generated for
41834 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41835 $(all-built-dso)-derived lists.
41837 2012-05-03 Andreas Jaeger <aj@suse.de>
41839 * sysdeps/i386/fpu/libm-test-ulps: Update.
41842 * FAQ.in: Likewise.
41843 * scripts/gen-FAQ.pl: Likewise.
41844 * manual/install.texi (Installation): Point to online location of
41846 * Makefile (files-for-dist): Remove FAQ.
41849 2012-05-02 Allan McRae <allan@archlinux.org>
41851 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41852 (LDFLAGS-reldepmod5.so): Likewise.
41853 (LDFLAGS-reldep6mod1.so): Likewise.
41854 (LDFLAGS-reldep6mod4.so): Likewise.
41855 (LDFLAGS-reldep8mod3.so): Likewise.
41856 (LDFLAGS-unload4mod1.so): Likewise.
41857 (LDFLAGS-unload4mod2.so): Likewise.
41858 (LDFLAGS-tst-initorder): Likewise.
41859 (LDFLAGS-tst-initordera2.so): Likewise.
41860 (LDFLAGS-tst-initordera3.so): Likewise.
41861 (LDFLAGS-tst-initordera4.so): Likewise.
41862 (LDFLAGS-tst-initorderb2.so): Likewise.
41863 (LDFLAGS-noload): Likewise.
41864 (LDFLAGS-next): Likewise.
41865 (LDFLAGS-order2mod1.so): Likewise.
41866 (LDFLAGS-order2mod2.so): Likewise.
41867 (LDFLAGS-tst-initorder2): Likewise.
41868 (LDFLAGS-tst-initorder2a.so): Likewise.
41869 (LDFLAGS-tst-initorder2b.so): Likewise.
41870 (LDFLAGS-tst-initorder2c.so): Likewise.
41871 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41873 2012-05-02 David S. Miller <davem@davemloft.net>
41875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41877 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41880 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41882 2012-05-02 Andreas Jaeger <aj@suse.de>
41884 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41885 since we manipulate rounding mode.
41886 (CPPFLAGS-test-idouble.c): Likewise.
41887 (CPPFLAGS-test-ifloat.c): Likewise.
41888 (CFLAGS-test-ldouble.c): Likewise.
41889 (CFLAGS-test-double.c): Likewise.
41890 (CFLAGS-test-float.c): Likewise.
41891 (CFLAGS-test-misc.c): Likewise.
41892 (CFLAGS-test-test-fenv.c): Likewise.
41894 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41898 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41899 comparisons to determine direction to adjust input.
41901 2012-05-01 Roland McGrath <roland@hack.frob.com>
41903 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41904 output to the target.
41906 * scripts/localplt.awk: New file.
41907 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41908 (check-localplt-CFLAGS): Variable removed.
41909 ($(all-built-dso:=.jmprel)): New static pattern rule.
41910 (generated): Add those targets.
41911 (localplt-built-dso): New variable.
41912 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41914 * elf/check-localplt.c: File removed.
41916 * scripts/check-execstack.awk: New file.
41917 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41918 (check-execstack-CFLAGS): Variable removed.
41919 ($(objpfx)check-execstack.h): Target removed.
41920 ($(objpfx)execstack-default): New target.
41921 (generated): Add that instead of check-execstack.h.
41922 ($(all-built-dso:=.phdr)): New static pattern rule.
41923 (generated): Add those targets.
41924 * elf/check-execstack.c: File removed.
41926 * scripts/check-textrel.awk: New file.
41927 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41928 (check-textrel-CFLAGS): Variable removed.
41929 (all-built-dso): Use := to define.o
41930 ($(all-built-dso:=.dyn)): New static pattern rule.
41931 (generated): Add those targets.
41932 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41933 * config.make.in (READELF): New substituted variable.
41934 * elf/check-textrel.c: File removed.
41936 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41938 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41940 * conform/data/ctype.h-data [C99-based standards] (isblank):
41942 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41943 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41944 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41945 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41946 Specify type. Require positive value.
41947 (EILSEQ): Likewise.
41948 (ERANGE): Likewise.
41949 [ISO || POSIX] (EILSEQ): Do not expect.
41950 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41951 Specify type. Require positive value.
41952 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41953 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41954 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41955 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41956 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41957 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41958 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41959 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41960 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41961 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41962 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41963 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41964 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41965 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41966 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41967 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41968 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41969 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41970 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41971 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41972 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41973 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41974 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41975 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41976 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41977 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41978 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41979 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41980 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41981 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41982 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41983 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41984 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41985 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41986 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41987 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41988 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41989 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41990 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41991 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41992 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41993 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41994 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41995 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41996 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41997 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41998 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41999 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42000 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42001 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42002 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42003 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42004 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42005 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42006 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42007 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42008 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42009 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42010 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42011 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42012 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42013 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42014 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42015 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42016 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42017 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42018 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42019 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42020 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42021 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42022 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42023 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42024 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42025 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42026 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42027 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42028 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42030 (FLT_ROUNDS): Expect as macro, not constant.
42031 (FLT_MANT_DIG): Use macro-int-constant.
42032 (DBL_MANT_DIG): Likewise.
42033 (LDBL_MANT_DIG): Likewise.
42034 (FLT_DIG): Likewise.
42035 (DBL_DIG): Likewise.
42036 (LDBL_DIG): Likewise.
42037 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42038 (DBL_MIN_EXP): Likewise.
42039 (LDBL_MIN_EXP): Likewise.
42040 (FLT_MAX_EXP): Use macro-int-constant.
42041 (DBL_MAX_EXP): Likewise.
42042 (LDBL_MAX_EXP): Likewise.
42043 (FLT_MAX_10_EXP): Likewise.
42044 (DBL_MAX_10_EXP): Likewise.
42045 (LDBL_MAX_10_EXP): Likewise.
42046 (FLT_MAX): Use macro-constant.
42047 (DBL_MAX): Likewise.
42048 (LDBL_MAX): Likewise.
42049 (FLT_EPSILON): Use macro-constant. Give upper bound.
42050 (DBL_EPSILON): Likewise.
42051 (LDBL_EPSILON): Likewise.
42052 (FLT_MIN): Likewise.
42053 (DBL_MIN): Likewise.
42054 (LDBL_MIN): Likewise.
42055 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42056 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42057 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42058 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42059 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42060 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42061 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42062 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42063 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42064 [ISO11] (FLT_TRUE_MIN): Likewise.
42065 [ISO11] (LDBL_TRUE_MIN): Likewise.
42066 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42067 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42068 (SCHAR_MIN): Use macro-int-constant. Specify type.
42069 (SCHAR_MAX): Likewise.
42070 (UCHAR_MAX): Likewise.
42071 (CHAR_MIN): Likewise.
42072 (CHAR_MAX): Likewise.
42073 (MB_LEN_MAX): Use macro-int-constant.
42074 (SHRT_MIN): Use macro-int-constant. Specify type.
42075 (SHRT_MAX): Likewise.
42076 (USHRT_MAX): Likewise.
42077 (INT_MAX): Likewise.
42078 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42080 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42082 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42084 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42085 bound negative. Suffix upper bound with "L".
42086 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42088 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42090 [C99-based standards] (LLONG_MAX): Likewise.
42091 [C99-based standards] (ULLONG_MAX): Likewise.
42092 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42094 [ISO11] (max_align_t): Require type.
42095 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42097 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42098 from $CFLAGS, without defining away __attribute__ calls.
42099 (checknamespace): Use $CFLAGS_namespace.
42101 * conform/conformtest.pl (@keywords): Only include C99 keywords
42102 for standards based on C99 or C11.
42104 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42106 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42109 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42110 usability of symbols in #if.
42112 * conform/conformtest.pl: If macro or constant types start
42113 "promoted:", expect the symbol to be of the following type
42114 promoted by the integer promotions.
42116 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42117 in one place. Also handle "macro-constant".
42119 * conform/conformtest.pl: Only accept expected macro values with
42120 "==". Parse all "macro" lines in one place.
42121 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42123 * conform/conformtest.pl: Handle braced types on "constant" lines
42124 instead of handling "typed-constant".
42125 * conform/data/signal.h-data: Use "constant" instead of
42128 * conform/conformtest.pl: Handle "optional-" at start of lines in
42129 one place rather than duplicating several cases. Handle each
42130 format of "macro" line with initial "optional-".
42132 * conform/conformtest.pl: Only accept expected constant or
42133 optional-constant values with "==". Parse all "constant" lines in
42134 one place. Parse all "optional-constant" lines in one place.
42135 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42136 * conform/data/fmtmsg.h-data: Likewise.
42137 * conform/data/netinet/in.h-data: Likewise.
42138 * conform/data/tar.h-data: Likewise.
42139 * conform/data/limits.h-data: Use "==" form on "constant" and
42140 "optional-constant" lines.
42142 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42143 Use -std=c99 for XOPEN2K.
42144 (@knownproblems): Remove.
42145 (newtoken): Don't check %isknown.
42147 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42148 Do not expect macro.
42149 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42150 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42151 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42152 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42153 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42154 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42155 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42156 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42157 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42158 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42159 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42160 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42161 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42162 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42163 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42164 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42165 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42166 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42167 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42168 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42169 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42170 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42171 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42172 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42173 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42174 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42175 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42176 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42177 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42178 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42179 [XPG3] (acosh): Likewise.
42180 [XPG3] (asinh): Likewise.
42181 [XPG3] (atanh): Likewise.
42182 [XPG3] (cbrt): Likewise.
42183 [XPG3] (expm1): Likewise.
42184 [XPG3] (ilogb): Likewise.
42185 [XPG3] (log1p): Likewise.
42186 [XPG3] (logb): Likewise.
42187 [XPG3] (nextafter): Likewise.
42188 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42189 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42190 [XPG3] (remainder): Likewise.
42191 [XPG3] (rint): Likewise.
42192 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42193 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42194 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42195 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42196 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42197 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42198 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42199 [UNIX98 || XOPEN2K] (scalb): Expect.
42200 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42201 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42202 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42203 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42204 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42205 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42206 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42207 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42208 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42209 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42210 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42211 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42212 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42213 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42214 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42215 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42216 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42217 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42218 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42219 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42220 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42221 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42222 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42223 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42224 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42225 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42226 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42227 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42228 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42229 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42230 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42231 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42232 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42233 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42234 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42235 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42236 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42237 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42238 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42239 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42240 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42241 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42242 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42243 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42244 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42245 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42246 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42247 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42248 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42249 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42250 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42251 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42252 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42253 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42254 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42255 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42256 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42257 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42258 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42259 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42260 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42261 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42262 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42263 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42264 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42265 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42266 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42267 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42268 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42269 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42270 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42271 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42272 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42273 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42274 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42275 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42276 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42277 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42278 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42279 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42280 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42281 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42282 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42283 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42284 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42285 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42286 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42287 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42288 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42289 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42290 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42291 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42292 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42293 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42294 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42295 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42296 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42297 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42298 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42299 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42300 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42301 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42302 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42303 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42304 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42305 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42306 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42307 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42308 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42309 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42310 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42311 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42312 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42313 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42314 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42315 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42316 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42317 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42318 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42319 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42320 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42321 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42322 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42323 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42324 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42325 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42326 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42327 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42328 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42329 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42330 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42331 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42332 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42333 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42334 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42335 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42336 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42338 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42339 _XOPEN_SOURCE_EXTENDED for XPG4.
42341 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42343 * Makeconfig (localtime): Remove variable.
42344 (inst_localtime-file): Likewise.
42346 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42348 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42350 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42352 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42367 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42371 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42372 comparisons to determine direction to adjust input.
42373 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42374 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42375 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42377 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42379 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42381 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42382 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42384 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42386 * math/libm-test.inc (nexttoward_test): Add more tests.
42388 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42391 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42392 in version GLIBC_2.1, not GLIBC_2.0.
42393 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42396 2012-04-30 Joseph Myers <joseph@codesourcery.com>
42399 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42401 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42402 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42403 * math/libm-test.inc (acos_test): Add more tests.
42404 (asin_test): Likewise.
42405 * sysdeps/i386/fpu/libm-test-ulps: Update.
42406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42409 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42411 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42412 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42413 * math/libm-test.inc (acos_test_tonearest): New function.
42414 (acos_test_towardzero): Likewise.
42415 (acos_test_downward): Likewise.
42416 (acos_test_upward): Likewise.
42417 (asin_test_tonearest): Likewise.
42418 (asin_test_towardzero): Likewise.
42419 (asin_test_downward): Likewise.
42420 (asin_test_upward): Likewise.
42421 (main): Call the new functions.
42422 * sysdeps/i386/fpu/libm-test-ulps: Update.
42423 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42427 * math/e_exp10.c: Include <float.h>.
42428 (__ieee754_exp10): Handle underflow here rather than multiplying
42429 large negative argument by M_LN10.
42430 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42432 * math/e_exp10l.c: Include <float.h>.
42433 (__ieee754_exp10l): Handle underflow here rather than multiplying
42434 large negative argument by M_LN10l.
42435 * math/libm-test.inc (exp10_test): Add another test. Do not allow
42436 spurious overflow exception on underflow.
42438 2012-04-29 Marek Polacek <polacek@redhat.com>
42440 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42441 (__fortify_function): New macro.
42442 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42443 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42444 __extern_always_inline.
42445 * libio/bits/stdio2.h: Likewise.
42446 * libio/bits/stdio.h: Likewise.
42447 * string/string.h: Likewise.
42448 * string/bits/string3.h: Likewise.
42449 * include/stdio.h: Likewise.
42450 * stdlib/bits/stdlib.h: Likewise.
42451 * stdlib/stdlib.h: Likewise.
42452 * rt/bits/mqueue2.h: Likewise.
42453 * rt/mqueue.h: Likewise.
42454 * posix/bits/unistd.h: Likewise.
42455 * posix/unistd.h: Likewise.
42456 * io/bits/poll2.h: Likewise.
42457 * io/bits/fcntl2.h: Likewise.
42458 * io/fcntl.h: Likewise.
42459 * io/sys/poll.h: Likewise.
42460 * misc/bits/syslog.h: Likewise.
42461 * misc/bits/syslog-ldbl.h: Likewise.
42462 * misc/sys/syslog.h: Likewise.
42463 * socket/bits/socket2.h: Likewise.
42464 * socket/sys/socket.h: Likewise.
42465 * debug/tst-chk1.c: Likewise.
42466 * wcsmbs/bits/wchar2.h: Likewise.
42467 * wcsmbs/bits/wchar-ldbl.h: Likewise.
42468 * wcsmbs/wchar.h: Likewise.
42470 2012-04-29 Andreas Jaeger <aj@suse.de>
42472 * Makerules (tests): Remove enable-check-abi protection.
42473 (check-abi-warn): Remove.
42474 (check-abi-%): Remove check-abi-warn usage.
42476 * configure.in: Remove check-abi configure option.
42477 * configure: Regenerated.
42478 * config.make.in (enable-check-abi): Remove.
42480 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
42483 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42484 double functions to double *_finite functions.
42487 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42488 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42490 * stdio-common/Makefile (tests): Add tst-sprintf3.
42491 * stdio-common/tst-sprintf3.c: New file.
42493 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42494 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42496 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42498 * conform/conformtest.pl: Remove duplicate typed-constant
42501 2012-04-28 David S. Miller <davem@davemloft.net>
42503 * Makerules (%.abilist): Add vpath on sysdep_dirs.
42504 (check-abi-%): Remove AWK script prerequisite and explicit
42506 (check-abi): Rewrite to just diff the symlist with the abilist.
42507 (config-tls, config-abi-config): Delete, no longer used.
42508 (update-abi-%): Remove AWK script and explicit abilist directory.
42509 (update-abi): Rewrite to simply compare and conditionally copy the
42510 symlist and the sysdep abilist file. Remove update-abi-config
42512 * abilist/ld.abilist: Remove.
42513 * abilist/libBrokenLocale.abilist: Remove.
42514 * abilist/libanl.abilist: Remove.
42515 * abilist/libcrypt.abilist: Remove.
42516 * abilist/libdl.abilist: Remove.
42517 * abilist/librt.abilist: Remove.
42518 * abilist/libthread_db.abilist: Remove.
42519 * abilist/libutil.abilist: Remove.
42520 * scripts/extract-abilist.awk: Remove.
42521 * scripts/merge-abilist.awk: Remove.
42522 * sysdeps/generic/libcidn.abilist: New file.
42523 * sysdeps/generic/libnss_compat.abilist: New file.
42524 * sysdeps/generic/libnss_db.abilist: New file.
42525 * sysdeps/generic/libnss_dns.abilist: New file.
42526 * sysdeps/generic/libnss_files.abilist: New file.
42527 * sysdeps/generic/libnss_hesiod.abilist: New file.
42528 * sysdeps/generic/libnss_nis.abilist: New file.
42529 * sysdeps/generic/libnss_nisplus.abilist: New file.
42530 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42531 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42532 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42534 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42535 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42536 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42537 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42538 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42539 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42540 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42541 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42542 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42544 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42545 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42546 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42547 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42549 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42550 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42551 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42552 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42553 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42554 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42556 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42557 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42558 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42560 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42561 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42563 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42565 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42567 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42569 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42571 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42573 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42575 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42577 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42579 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42581 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42583 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42585 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42593 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42614 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42616 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42622 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42624 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42626 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42628 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42636 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42638 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42639 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42641 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42645 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42647 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42649 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42651 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42655 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42657 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42659 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42661 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42663 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42664 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42665 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42667 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42668 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42669 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42670 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42671 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42672 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42673 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42674 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42675 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42676 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42677 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42678 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42680 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42682 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42684 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42686 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42688 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42690 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42692 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42694 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42696 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42698 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42703 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42705 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42707 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42709 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42711 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42713 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42715 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42719 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42721 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42723 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42725 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42728 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42730 * conform/conformtest.pl: Fix typo in handling typed-constant from
42733 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42735 * README: Cut down references to pre-2.6 Linux kernels and
42736 Linuxthreads. Update lists of configurations in libc and ports
42737 and sort alphabetically. Say "or newer" with Linux kernel version
42740 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42742 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42745 * math/libm-test.inc (logb_test_downward): New test to expose
42746 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42749 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42752 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42754 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42755 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42757 2012-04-26 Joseph Myers <joseph@codesourcery.com>
42759 * sysdeps/unix/i386/brk.S: Remove file.
42760 * sysdeps/unix/i386/dl-brk.S: Likewise.
42761 * sysdeps/unix/i386/pipe.S: Likewise.
42762 * sysdeps/unix/i386/sigreturn.S: Likewise.
42763 * sysdeps/unix/i386/syscall.S: Likewise.
42764 * sysdeps/unix/i386/vfork.S: Likewise.
42765 * sysdeps/unix/i386/wait.S: Likewise.
42767 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42768 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42770 * configure.in (arm*-none*): Do not allow without
42771 --enable-hacker-mode.
42772 (netbsd*): Remove case setting base_os.
42773 (386bsd*): Likewise.
42774 (freebsd*): Likewise.
42777 (sunos*): Likewise.
42778 (ultrix*): Likewise.
42779 (newsos*): Likewise.
42780 (dynix*): Likewise.
42786 (minix*): Likewise.
42787 (irix4*): Likewise.
42788 (irix6*): Likewise.
42789 (solaris[2-9]*): Likewise.
42791 * configure: Regenerated.
42793 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42796 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42797 overflow or cancellation in calculating denominator.
42798 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42799 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42800 down expression to avoid unexpected rounding in newer GCCs.
42801 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42803 2012-04-26 David S. Miller <davem@davemloft.net>
42805 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42806 long-double compat symbols.
42807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42808 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42809 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42810 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42811 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42812 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42813 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42814 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42819 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42821 2012-04-25 David S. Miller <davem@davemloft.net>
42823 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42824 HWCAP_* values only after the memory barriers have been defined.
42825 (atomic_full_barrier): Define.
42826 (atomic_read_barrier): Define.
42827 (atomic_write_barrier): Define.
42829 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42831 * shlib-versions: Add libgcc_s version information.
42832 * sysdeps/generic/libgcc_s.h: Remove.
42833 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42835 * sysdeps/gnu/unwind-resume.c: Likewise.
42836 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42838 2012-04-25 David S. Miller <davem@davemloft.net>
42840 * sysdeps/unix/sparc/brk.S: Delete.
42841 * sysdeps/unix/sparc/dl-brk.S: Delete.
42842 * sysdeps/unix/sparc/pipe.S: Delete.
42843 * sysdeps/unix/sparc/sysdep.S: Delete.
42844 * sysdeps/unix/sparc/sysdep.h: Delete.
42845 * sysdeps/unix/sparc/vfork.S: Delete.
42846 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42847 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42848 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42849 (ret_ERRVAL, r0, r1, MOVE): Define.
42850 (JUMPTARGET): Remove.
42851 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42852 sysdeps/unix/sparc/sysdep.h
42853 (ENTRY, END): Remove.
42854 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42856 2012-04-25 Joseph Myers <joseph@codesourcery.com>
42858 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42859 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42862 * timezone/README: Update upstream location and email address for
42864 * timezone/zdump.c: Update from tzcode 2012b.
42865 * timezone/zic.c: Likewise.
42867 * configure.in (libc_cv_as_needed): Remove test.
42868 * configure: Regenerated.
42869 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42870 conditional definition.
42871 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42872 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42873 * config.make.in (have-as-needed): Remove variable.
42875 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42876 Paul Pluzhnikov <ppluzhnikov@google.com>
42878 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42881 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42883 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42884 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42885 * sysdeps/sh/strlen.S: Likewise.
42887 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42889 * sysdeps/unix/fork.S: Remove file.
42890 * sysdeps/unix/i386/fork.S: Likewise.
42891 * sysdeps/unix/sparc/fork.S: Likewise.
42893 * sysdeps/unix/system.c: Remove file.
42894 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42896 * sysdeps/unix/getegid.S: Remove file.
42897 * sysdeps/unix/geteuid.S: Likewise.
42899 2012-04-24 Roland McGrath <roland@hack.frob.com>
42901 * scripts/check-localplt.awk: New file.
42902 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42904 * scripts/data/localplt-generic.data: Add a comment.
42906 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42907 NODE when __dir_mkfile failed.
42908 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42909 Reported by Ludovic Courtès <ludo@gnu.org>.
42911 2012-04-24 Andreas Jaeger <aj@suse.de>
42913 * Makerules (common-clean): Also remove gen-as-const-headers
42916 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42918 * Makerules (native-compile): Do not change working directory for
42919 build. Use $(OUTPUT_OPTION) in command.
42920 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42922 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42925 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42926 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42927 * math/libm-test.inc (floor_test): Add more tests.
42928 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42930 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42932 * sysdeps/unix/getdents.c: Remove file.
42933 * sysdeps/unix/sysv/getdents.c: Likewise.
42934 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42936 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42937 sysdeps/unix/mman/syscalls.list.
42939 (mprotect): Likewise.
42941 (munmap): Likewise.
42942 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42943 * sysdeps/unix/mman/syscalls.list: Remove.
42944 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42946 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42947 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42948 * configure: Regenerated.
42949 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42950 $(libgcc_s_suffix).
42951 * config.make.in (libgcc_s_suffix): Remove variable.
42953 2012-04-23 Joseph Myers <joseph@codesourcery.com>
42955 * sysdeps/unix/sysv/gethostname.c: Move to ...
42956 * sysdeps/posix/gethostname.c: ... here.
42958 * sysdeps/unix/execve.S: Remove file.
42960 * sysdeps/unix/_exit.S: Remove file.
42962 2012-04-23 Andreas Jaeger <aj@suse.de>
42965 * manual/Makefile: Remove make dist support, there's no
42966 need for a stand-alone documentation tar ball.
42967 (TEXI2DVI): Define always, it's not in Makeconfig.
42970 (edition): Removed.
42971 (glibc-doc-$(edition).tar): Removed
42975 (ETAGS): Remove, it's in Makeconfig.
42976 (move-if-change): Remove, it's in Makeconfig.
42978 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
42981 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42982 (strtod, strtof, strtold, strtol, strtoul, strtoq)
42983 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42984 (strtod_l, strtof_l, strtold_l): Remove __wur.
42985 It is not necessarily an error to ignore strtol's return value.
42986 One can reliably look at the stored endptr to decide whether
42987 the number had valid syntax.
42989 2012-04-21 Andreas Jaeger <aj@suse.de>
42992 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42994 2012-04-21 Joseph Myers <joseph@codesourcery.com>
42996 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42997 * sysdeps/unix/sysv/Versions: Remove file.
42999 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43002 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43004 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43007 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43008 version from __vm86.
43010 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43012 * sysdeps/unix/common/lxstat.c: Remove file.
43013 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43015 * sysdeps/unix/sysv/Makefile: Remove file.
43017 * sysdeps/unix/sysv/direct.h: Remove file.
43019 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43020 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43021 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43022 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43023 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43024 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43025 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43027 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43029 * sysdeps/unix/xmknod.c: Remove file.
43030 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43032 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43034 * sysdeps/unix/sysv/i386/time.S: Remove file.
43036 * sysdeps/unix/fxstat.c: Remove file.
43037 * sysdeps/unix/xstat.c: Likewise.
43038 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43040 * sysdeps/unix/sysv/sigaction.c: Remove file.
43042 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43043 (sysdep_headers): Remove variable.
43044 [termio.h not in sysdep_headers] (generated): Likewise.
43045 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43046 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43047 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43048 * sysdeps/unix/sysv/tcflow.c: Likewise.
43049 * sysdeps/unix/sysv/tcflush.c: Likewise.
43050 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43051 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43052 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43053 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43054 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43056 * sysdeps/unix/siglist.c: Remove file.
43058 * sysdeps/unix/getppid.S: Remove file.
43060 * sysdeps/unix/mkdir.c: Remove file.
43061 * sysdeps/unix/rmdir.c: Likewise.
43063 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43065 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43067 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43068 errlist-compat value.
43070 2012-04-18 David S. Miller <davem@davemloft.net>
43072 * sysdeps/generic/memcopy.h (reg_char): Delete.
43073 * debug/strcat_chk.c: Use char, not reg_char.
43074 * debug/strcpy_chk.c: Likewise.
43075 * debug/strncat_chk.c: Likewise.
43076 * debug/strncpy_chk.c: Likewise.
43077 * string/memchr.c: Likewise.
43078 * string/memrchr.c: Likewise.
43079 * string/rawmemchr.c: Likewise.
43080 * string/strcat.c: Likewise.
43081 * string/strchr.c: Likewise.
43082 * string/strchrnul.c: Likewise.
43083 * string/strcmp.c: Likewise.
43084 * string/strcpy.c: Likewise.
43085 * string/strncat.c: Likewise.
43086 * string/strncmp.c: Likewise.
43087 * string/strncpy.c: Likewise.
43089 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43091 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43092 __builtin_memcopy is called when src and dest ranges are known to not
43095 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43097 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43098 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43099 fwd_align_merge macro call.
43100 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43101 bwd_align_merge macro call.
43102 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43104 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43106 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43107 bwd_align_merge macros.
43108 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43109 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43110 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43112 2012-04-18 David S. Miller <davem@davemloft.net>
43114 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43116 2012-04-18 Andreas Jaeger <aj@suse.de>
43119 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43120 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43121 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43123 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43124 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43125 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43127 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43128 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43129 Adjust for changed ldbl-128 files.
43131 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43132 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43133 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43135 2012-04-17 David S. Miller <davem@davemloft.net>
43137 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43139 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43141 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43142 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43143 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43144 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43145 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43146 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43148 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43151 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43152 * math/libm-test.inc: Add ilogb errno and exception tests.
43153 * math/w_ilogb.c: New file: ilogb wrapper.
43154 * math/w_ilogbf.c: New file: ilogbf wrapper.
43155 * math/w_ilogbl.c: New file: ilogbl wrapper.
43156 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43157 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43158 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43159 exception being thrown with 0.0 as argument.
43160 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43161 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43162 exception being thrown with 0.0 as argument.
43163 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43164 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43165 exception being thrown with 0.0 as argument.
43166 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43167 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43168 exception being thrown with 0.0 as argument.
43169 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43170 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43171 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43172 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43173 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43174 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43175 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43176 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43177 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43179 2012-04-17 Petr Baudis <pasky@ucw.cz>
43181 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43184 2012-04-16 Marek Polacek <polacek@redhat.com>
43186 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43188 2012-04-16 Marek Polacek <polacek@redhat.com>
43190 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43191 operands of fdivp instruction.
43193 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43195 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43196 * elf/tst-auditmod3b.c: Likewise.
43197 * elf/tst-auditmod4b.c: Likewise.
43198 * elf/tst-auditmod5b.c: Likewise.
43199 * elf/tst-auditmod6b.c: Likewise.
43200 * elf/tst-auditmod6c.c: Likewise.
43201 * elf/tst-auditmod7b.c: Likewise.
43202 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43203 * sysdeps/x86_64/preconfigure.in: Likewise.
43204 * sysdeps/x86_64/preconfigure: Regenerated.
43206 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43208 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43211 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
43213 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43214 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43216 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43219 * locale/iso-639.def: Fix gl language name. Spotted by
43222 2012-04-12 Roland McGrath <roland@hack.frob.com>
43225 * libio/libio.h (__io_write_fn): Update comment.
43227 2012-04-12 Petr Baudis <pasky@ucw.cz>
43230 * stdio.texi (Hook Functions): The user provided writer function
43231 is not allowed to return -1.
43233 2012-04-11 David S. Miller <davem@davemloft.net>
43235 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43237 2012-04-11 Mike Frysinger <vapier@gentoo.org>
43239 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43240 Add a leading slash to rtkaio.
43242 2012-04-11 Jim Meyering <meyering@redhat.com>
43245 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43246 It is not necessarily an error to ignore fwrite's return
43247 value. One can reliably use ferror to test for errors after
43250 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43252 * bits/types.h (__snseconds_t): New type.
43253 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43255 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43257 (__SNSECONDS_T_TYPE): Likewise.
43258 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43259 (__SNSECONDS_T_TYPE): Likewise.
43260 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43261 (__SNSECONDS_T_TYPE): Likewise.
43263 2012-04-10 Andreas Jaeger <aj@suse.de>
43266 * manual/time.texi (Processor Time): Return type of times is
43267 elapsed real time since an arbitrary point in the past.
43268 (CPU Time): Move CLK_TCK from here...
43269 (Processor Time): ...to here. Correct description.
43270 * manual/conf.texi (Constants for Sysconf): Correct description of
43273 2012-04-10 David S. Miller <davem@davemloft.net>
43276 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43277 where the is a gap between DT_REL(A) and DT_JMPREL.
43279 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43281 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43282 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43283 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43285 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43287 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43288 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43289 (dl_main): Handle --inhibit-cache.
43290 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43292 * elf/dl-load.c (_dl_map_object): Use it.
43293 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43295 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43298 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43299 (__ieee754_powl): Saturate large exponents rather than testing for
43300 overflow of y*log2(x).
43301 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43302 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43306 * math/s_ctan.c: Include <float.h>.
43307 (__ctan): Avoid internal overflow or cancellation in calculating
43309 * math/s_ctanf.c: Likewise.
43310 * math/s_ctanl.c: Likewise.
43311 * math/s_ctanh.c: Likewise.
43312 * math/s_ctanhf.c: Likewise.
43313 * math/s_ctanhl.c: Likewise.
43314 * math/libm-test.inc (ctan_test): Add more tests.
43315 (ctanh_test): Likewise.
43316 * sysdeps/i386/fpu/libm-test-ulps: Update.
43317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43319 2012-04-09 Andreas Jaeger <aj@suse.de>
43322 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43323 is an optional BSD extension.
43326 * manual/stdio.texi (Opening Streams): Document additional fopen
43329 2012-04-09 Roland McGrath <roland@hack.frob.com>
43331 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43332 %eax without telling the compiler.
43334 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43337 * manual/install.texi: Use sourceware.org.
43339 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43342 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43343 (__ieee754_pow): Generate overflow and underflow using huge*huge
43344 and tiny*tiny rather than just returning constant infinity or zero
43345 for large exponents.
43346 * math/libm-test.inc (pow_test): Require overflow exceptions for
43347 applicable cases of large exponents.
43350 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43351 (__ieee754_pow): Use iterative multiplication algorithm only for
43352 integer exponents with absolute value below 1024. Check for odd
43353 integer exponents when using algorithm for real exponents.
43354 * math/libm-test.inc (pow_test): Add more tests.
43355 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43357 2012-04-08 Joseph Myers <joseph@codesourcery.com>
43360 * math/libm-test.inc (exp_test): Do not allow overflow exception
43363 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
43366 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43367 instead of __kernel_standard_f.
43369 2012-04-08 Mike Frysinger <vapier@gentoo.org>
43371 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43372 * sysdeps/x86_64/memset_chk.S: Likewise.
43374 2012-04-08 Andreas Jaeger <aj@suse.de>
43377 * manual/startup.texi (Environment Access): Describe return value
43378 for putenv and setenv.
43381 * manual/filesys.texi (Directory Entries): Add description for
43385 * manual/filesys.texi (Directory Entries): Clarify that it's file
43386 system not operating system in the description of DT_UNKNOWN.
43389 * manual/syslog.texi (closelog): Fix reference, it's openlog.
43391 2012-04-08 Stephen Compall <s11@member.fsf.org>
43394 * manual/llio.texi (Opening and Closing Files): Add cross
43395 reference to explain mode argument.
43397 2012-04-07 Mike Frysinger <vapier@gentoo.org>
43399 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43400 * sysdeps/x86_64/memset_chk.S: Likewise.
43402 2012-04-07 David S. Miller <davem@davemloft.net>
43404 * elf/elf.h (R_SPARC_WDISP10): Define.
43405 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43407 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43408 R_SPARC_SIZE64 and R_SPARC_H34.
43410 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
43412 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43413 conditions and remove no longer applicable assertion.
43415 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43417 * bits/byteswap.h: Include <features.h>.
43418 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43419 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43421 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43423 * bits/byteswap.h (__bswap_16): Removed.
43424 Include <bits/byteswap-16.h> to get __bswap_16.
43425 * sysdeps/i386/bits/byteswap.h: Likewise.
43426 * sysdeps/s390/bits/byteswap.h: Likewise.
43427 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43428 * bits/byteswap-16.h: New file.
43429 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43430 * sysdeps/s390/bits/byteswap-16.h: Likewise.
43431 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43432 * string/Makefile (headers): Add bits/byteswap-16.h.
43434 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43437 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43439 * nss/Makefile (tests-static, tests): Add tst-nss-static.
43440 * nss/tst-nss-static.c: New.
43442 2012-04-06 Robert Millan <rmh@gnu.org>
43445 * manual/llio.texi (File Position Primitive): lseek
43446 refers to WHENCE when it really means OFFSET.
43448 2012-04-06 Andreas Jaeger <aj@suse.de>
43450 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43451 strncmp declarations.
43453 * abilist/libc.abilist: Add __poll and __ppoll.
43455 2012-04-05 David S. Miller <davem@davemloft.net>
43457 * scripts/check-local-headers.sh: Accept a host triplet in the
43458 path matched by the exclude regexp.
43460 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43462 * sysdeps/powerpc/powerpc32/dl-machine.h
43463 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43464 * sysdeps/s390/s390-32/dl-machine.h
43465 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43466 * sysdeps/sparc/sparc32/dl-machine.h
43467 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43468 * sysdeps/sparc/sparc64/dl-machine.h
43469 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43471 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43473 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43474 undefined symbol errors.
43476 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43479 2012-04-05 Michael Matz <matz@suse.de>
43482 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43484 2012-04-05 Andreas Jaeger <aj@suse.de>
43487 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43490 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43492 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43493 which ROUND is no valid rounding mode.
43495 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43497 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43499 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43501 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43503 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43504 an exception using FPU order intentionally.
43506 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43508 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43509 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43510 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43511 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43513 2012-04-05 Simon Josefsson <simon@josefsson.org>
43516 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43517 EINVAL when BUFLEN is too smal.
43519 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
43522 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43523 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43525 2012-04-03 Andreas Jaeger <aj@suse.de>
43528 * manual/setjmp.texi (System V contexts): Fix sentence.
43531 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43532 New macro for this case.
43533 [!__GNUC__] (__bswap_64): New inline function for this case.
43534 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43535 * bits/byteswap.h: Likewise.
43536 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43537 ull, guard with __GLIBC_HAVE_LONG_LONG.
43539 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43540 __GLIBC_HAVE_LONG_LONG.
43542 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43543 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43545 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43548 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43549 inptr and inend, rather than using last_ch.
43551 2012-04-02 David S. Miller <davem@davemloft.net>
43553 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43554 * stdio-common/printf-parse.h (read_int): Change return type to
43555 'int', return -1 on INT_MAX overflow.
43556 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43557 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43558 overflows INT_MAX. Check for overflow of in-format-string precision
43559 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43560 SIZE_MAX not INT_MAX for integer overflow test.
43561 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43562 skip the construct in the format string but do not record anything.
43563 * stdio-common/bug22.c: Adjust to test both width/prevision
43564 INT_MAX overflow as well as total length INT_MAX overflow. Check
43565 explicitly for proper errno values.
43567 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43569 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43571 * string/test-strcmp.c [! WIDE]: Likewise.
43572 * time/tst-mktime2.c: Likewise for INT_MAX.
43573 * string/test-string.h: #include <sys/param.h> for MIN.
43575 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43576 * sysdeps/i386/init-first.c (init): Likewise.
43577 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43578 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43579 * sysdeps/sh/init-first.c (init): Likewise.
43581 2012-04-01 Ulrich Drepper <drepper@gmail.com>
43583 * po/ru.po: Update from translation team.
43584 * po/vi.po: Likewise.
43586 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43588 * resolv/nss_dns/dns-host.c: Merge copyright years.
43590 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43592 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43593 Optimize memcpy with prefetch if
43594 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43595 src, dst pointers have unequal 16 byte alignments.
43597 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43600 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43601 from a CNAME entry and return the minimum ttl for the query.
43602 (gaih_getanswer_slice): Likewise.
43604 2012-03-30 Jeff Law <law@redhat.com>
43606 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43608 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43609 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43611 * resolv/nss_dns/dns-host.c: Update copyright year.
43613 2012-03-30 Ulrich Drepper <drepper@gmail.com>
43615 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43616 requests to save a system call. Fix check that all bytes are sent.
43618 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43619 comments for sendmmsg.
43621 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43624 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43625 with only 1 character between 0x0041 and 0x01b0.
43626 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43627 * wcsmbs/tst-mbsnrtowcs.c: New file.
43629 2012-03-29 David S. Miller <davem@davemloft.net>
43631 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43632 small copies by hand.
43634 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43637 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43638 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43641 2012-03-28 David S. Miller <davem@davemloft.net>
43643 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43644 that branches into memcpy.
43645 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43646 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43647 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43648 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43649 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43651 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43652 implementation too.
43653 * sysdeps/sparc/mempcpy.S: New file.
43655 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43656 the IFUNC routine in the libc case.
43657 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43659 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43660 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43661 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43662 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43663 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43664 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43665 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43666 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43668 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43669 loop to 256 bytes instead of 64 bytes and fix test signedness.
43671 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43672 * sysdeps/sparc/sparc32/Makefile: rather than here...
43673 * sysdeps/sparc/sparc64/Makefile: and here.
43675 2012-03-28 Ulrich Drepper <drepper@gmail.com>
43677 * malloc/mallocbug.c: Avoid warnings about unused variables.
43679 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43682 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43683 in the right place. Discard and retry query if response is
43684 larger than input buffer size.
43686 2012-03-28 Joseph Myers <joseph@codesourcery.com>
43691 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43692 x for large integer exponent.
43693 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43694 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43695 sign of result as needed afterwards.
43696 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43697 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43698 result for underflowing pow the same as for overflow.
43699 (__kernel_standard_l): Handle powl overflow and underflow here
43700 rather than calling __kernel_standard.
43701 * math/libm-test.inc (pow_test): Add more tests.
43716 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43717 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43718 (__kernel_standard_l): New function.
43719 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43721 * math/w_acosl.c (__acosl): Likewise.
43722 * math/w_asinl.c (__asinl): Likewise.
43723 * math/w_atan2l.c (__atan2l): Likewise.
43724 * math/w_atanhl.c (__atanhl): Likewise.
43725 * math/w_coshl.c (__coshl): Likewise.
43726 * math/w_exp10l.c (__exp10l): Likewise.
43727 * math/w_exp2l.c (__exp2l): Likewise.
43728 * math/w_fmodl.c (__fmodl): Likewise.
43729 * math/w_hypotl.c (__hypotl): Likewise.
43730 * math/w_j0l.c (__j0l, __y0l): Likewise.
43731 * math/w_j1l.c (__j1l, __y1l): Likewise.
43732 * math/w_jnl.c (__jnl, __ynl): Likewise.
43733 * math/w_lgammal.c (__lgammal): Likewise.
43734 * math/w_log10l.c (__log10l): Likewise.
43735 * math/w_log2l.c (__log2l): Likewise.
43736 * math/w_logl.c (__logl): Likewise.
43737 * math/w_powl.c (__powl): Likewise.
43738 * math/w_remainderl.c (__remainderl): Likewise.
43739 * math/w_scalbl.c (sysv_scalbl): Likewise.
43740 * math/w_sinhl.c (__sinhl): Likewise.
43741 * math/w_sqrtl.c (__sqrtl): Likewise.
43742 * math/w_tgammal.c (__tgammal): Likewise.
43743 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43744 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43745 * math/libm-test.inc (acos_test): Add more tests.
43746 (acosh_test): Likewise.
43747 (asin_test): Likewise.
43748 (atanh_test): Likewise.
43749 (exp_test): Likewise.
43750 (exp10_test): Likewise.
43751 (exp2_test): Likewise.
43752 (expm1_test): Likewise.
43753 (lgamma_test): Likewise.
43754 (log_test): Likewise.
43755 (log10_test): Likewise.
43756 (log1p_test): Likewise.
43757 (log2_test): Likewise.
43758 (pow_test): Do not allow some spurious overflow exceptions.
43759 (sqrt_test): Add more tests.
43760 (tgamma_test): Likewise.
43761 (y0_test): Likewise.
43762 (y1_test): Likewise.
43763 (yn_test): Likewise.
43765 2012-03-27 Anton Blanchard <anton@samba.org>
43767 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43769 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43770 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43771 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43773 2012-03-27 David S. Miller <davem@davemloft.net>
43775 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43777 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43778 have-as-vis3 check.
43780 2012-03-27 Andreas Jaeger <aj@suse.de>
43782 * sysdeps/x86_64/elf/configure.in: Moved to ...
43783 * sysdeps/x86_64/configure.in: ... here.
43784 * sysdeps/x86_64/elf/start.S: Moved to ...
43785 * sysdeps/x86_64/start.S: ... here.
43786 * sysdeps/x86_64/elf/configure: Delete.
43788 * sysdeps/x86_64/configure.in: Merge contents from
43789 sysdeps/i386/configure.in (without i686 check).
43791 * sysdeps/i386/elf/Versions: Merge into ...
43792 * sysdeps/i386/Versions: ... this.
43793 * sysdeps/i386/elf/Versions: Delete file.
43794 * sysdeps/i386/elf/start.S: Moved to ...
43795 * sysdeps/i386/start.S: ...here.
43796 * sysdeps/i386/elf/configure.in: Merge into...
43797 * sysdeps/i386/configure.in: ...here.
43798 * sysdeps/i386/elf/configure.in: Delete file.
43799 * sysdeps/i386/elf/configure: Delete file.
43801 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43802 * debug/backtracesyms.c: ... here.
43803 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43804 * debug/backtracesymsfd.c: ... here.
43805 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43806 * sysdeps/generic/ifunc-sel.h: ... here.
43808 * sysdeps/unix/i386/start.c: Delete file.
43809 * sysdeps/unix/sparc/start.c: Delete file.
43810 * sysdeps/unix/start.c: Delete file.
43812 * sysdeps/sh/elf/configure.in: Moved to ...
43813 * sysdeps/sh/configure.in: ... here.
43814 * sysdeps/sh/elf/start.S: Moved to ...
43815 * sysdeps/sh/start.S: ... here.
43816 * sysdeps/sh/elf/configure: Delete file.
43818 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43819 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43820 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43821 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43822 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43823 * sysdeps/powerpc/powerpc64/start.S: here.
43824 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43825 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43826 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43827 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43828 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43830 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43831 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43832 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43833 * sysdeps/powerpc/powerpc32/start.S: ... here.
43834 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43835 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43836 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43838 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43839 * sysdeps/powerpc/ifunc-sel.h: ... here.
43840 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43841 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43843 * sysdeps/sparc/elf/configure.in: Moved to ...
43844 * sysdeps/sparc/configure.in: ... here.
43845 * sysdeps/sparc/elf/configure: Delete file.
43846 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43847 * sysdeps/sparc/sparc32/start.S: ... here.
43848 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43849 * sysdeps/sparc/sparc64/start.S: ... here.
43850 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43851 * sysdeps/sparc/sparc32/Makefile: ... this.
43852 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43853 * sysdeps/sparc/sparc64/Makefile: ... this.
43855 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43856 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43857 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43858 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43859 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43860 * sysdeps/s390/s390-32/setjmp.S: ... here.
43861 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43862 * sysdeps/s390/s390-32/configure.in: ... here.
43863 * sysdeps/s390/s390-32/elf/configure: Delete file.
43864 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43865 * sysdeps/s390/s390-32/start.S: ... here.
43867 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43868 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43869 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43870 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43871 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43872 * sysdeps/s390/s390-64/setjmp.S: ... here.
43873 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43874 * sysdeps/s390/s390-64/configure.in: ... here
43875 * sysdeps/s390/s390-64/elf/configure: Delete file.
43876 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43877 * sysdeps/s390/s390-64/start.S: ... here.
43878 * sysdeps/s390/s390-64/elf/configure: Delete.
43880 * configure.in: Remove support for elf directories in sysdeps.
43882 * configure: Regenerated.
43883 * sysdeps/i386/configure: Regenerated.
43884 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43885 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43886 * sysdeps/s390/s390-32/configure: Regenerated.
43887 * sysdeps/s390/s390-64/configure: Regenerated.
43888 * sysdeps/sh/configure: Regenerated.
43889 * sysdeps/sparc/configure: Regenerated.
43890 * sysdeps/x86_64/configure: Regenerated.
43892 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43894 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43896 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43897 denormal result into account.
43899 2012-03-25 Roland McGrath <roland@hack.frob.com>
43901 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43902 Reported by Allan McRae <allan@archlinux.org>.
43904 2012-03-23 Jeff Law <law@redhat.com>
43906 * nss/getnssent.c (__nss_getent): Fix typo.
43908 2012-03-23 David S. Miller <davem@davemloft.net>
43910 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43912 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43914 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43915 to pad to uint64_t for each field.
43916 (dl_tls_index): Replace unsigned long with uint64_t.
43918 2012-03-23 Daniel Jacobowitz <dmj@google.com>
43919 Paul Pluzhnikov <ppluzhnikov@google.com>
43922 * grp/Makefile (otherlibs): Don't set it.
43923 * inet/Makefile (otherlibs): Likewise.
43924 * login/Makefile (otherlibs): Likewise.
43925 * nscd/Makefile (otherlibs): Likewise.
43926 * posix/Makefile (otherlibs): Likewise.
43927 * pwd/Makefile (otherlibs): Likewise.
43928 * rt/Makefile (otherlibs): Likewise.
43929 * sunrpc/Makefile (otherlibs): Likewise.
43930 * nss/Makefile (otherlibs): Likewise.
43931 Add libnss_files to routines and static-only-routines.
43932 ($(objpfx)getent): Remove rule.
43933 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43934 static-only-routines.
43936 2012-03-22 Joseph Myers <joseph@codesourcery.com>
43939 * math/s_cexp.c: Include <float.h>.
43940 (__cexp): Handle exp result overflowing not necessarily
43941 overflowing both real and imaginary parts of result.
43942 * math/s_cexpf.c: Likewise.
43943 * math/s_cexpl.c: Likewise.
43944 * math/libm-test.inc (cexp_test): Add more tests.
43945 * sysdeps/i386/fpu/libm-test-ulps: Update.
43946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43948 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43950 * include/link.h (ELFW): New macro.
43951 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43952 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43954 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43956 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43959 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43961 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43963 (struct La_x32_retval): Likewise.
43965 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43967 * sysdeps/x86_64/preconfigure.in: New file.
43968 * sysdeps/x86_64/preconfigure: New generated file.
43970 2012-03-22 Joseph Myers <joseph@codesourcery.com>
43973 * math/e_exp2l.c: Include <float.h>.
43974 (__ieee754_exp2l): Handle overflow and underflow cases
43975 separately. Only pass fractional part of argument to
43977 * math/libm-test.inc (exp2_test): Add more tests.
43979 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43980 negating x to take absolute value.
43981 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43983 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43984 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43986 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43987 computing low part if x was negated.
43988 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43990 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
43992 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43993 la_x32_gnu_pltexit.
43994 (pltexit): Cast int_retval to ptrdiff_t.
43995 * elf/tst-auditmod3b.c: Likewise.
43996 * elf/tst-auditmod4b.c: Likewise.
43997 * elf/tst-auditmod5b.c: Likewise.
43998 * elf/tst-auditmod6b.c: Likewise.
43999 * elf/tst-auditmod6c.c: Likewise.
44000 * elf/tst-auditmod7b.c: Likewise.
44002 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44003 and x32_gnu_pltexit.
44005 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44006 __ELF_NATIVE_CLASS.
44007 (La_x32_regs): New macro.
44008 (La_x32_retval): Likewise.
44009 (la_x32_gnu_pltenter): New function prototype.
44010 (la_x32_gnu_pltexit): Likewise.
44012 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44014 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44017 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44019 * configure.in (libc_cv_cc_nofma): Check for option to disable
44020 generation of FMA instructions.
44021 * configure: Regenerate.
44022 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44023 * sysdeps/ieee754/dbl-64/Makefile: New file.
44024 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44025 Remove brandred-fma4.
44026 (CFLAGS-brandred-fma4.c): Remove.
44027 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44028 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44030 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44033 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44035 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44036 LLONG_MAX != LONG_MAX.
44037 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44038 (_fitoa_word): Likewise.
44039 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44040 LLONG_MAX != LONG_MAX.
44041 * stdio-common/_itowa.h: Include <_itoa.h>.
44042 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44043 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44044 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44045 only if not defined.
44046 (_ITOA_WORD_TYPE): Likewise.
44047 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44048 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44050 2012-03-21 David S. Miller <davem@davemloft.net>
44052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44054 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44056 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44057 of x86_64 when setting libc_cv_slibdir, libdir and
44059 * sysdeps/unix/sysv/linux/configure: Regenerated.
44061 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44063 * manual/lang.texi (Old Varargs): Remove section.
44064 (How Variadic): Update menu.
44065 (va_start): Do not mention varargs.h.
44067 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44068 Joseph Myers <joseph@codesourcery.com>
44070 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44072 * configure: Regenerated.
44074 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44076 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44077 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44080 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44083 * Makefile (files-for-dist): Remove NOTES.
44084 (NOTES): Remove rule.
44085 * README: Don't refer to NOTES.
44086 * manual/creature.texi: Don't include macros.texi.
44087 * manual/intro.texi (creature.texi): Remove comment referring to
44090 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44091 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44092 * configure: Regenerated.
44093 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44094 LIBC_TRY_CC_OPTION.
44095 (libc_cv_as_i686): Likewise.
44096 (libc_cv_cc_avx): Likewise.
44097 (libc_cv_cc_sse2avx): Likewise.
44098 (libc_cv_cc_fma4): Likewise.
44099 (libc_cv_cc_novzeroupper): Likewise.
44100 * sysdeps/i386/configure: Regenerated.
44103 * sysdeps/i386/fpu/s_cexp.S: Remove.
44104 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44105 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44106 * math/libm-test.inc (cexp_test): Add more tests.
44107 * sysdeps/i386/fpu/libm-test-ulps: Update.
44108 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44110 2012-03-21 Allan McRae <allan@archlinux.org>
44112 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44114 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44117 * math/w_exp2.c: Do not include <float.h>.
44118 (o_threshold, u_threshold): Remove.
44119 (__exp2): Calculate result before checking finiteness and calling
44121 * math/w_exp2f.c: Likewise.
44122 * math/w_exp2l.c: Likewise.
44123 * math/libm-test.inc (exp2_test): Require overflow exception for
44127 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44128 range of signed 64-bit integers before using fistpll. Remove
44129 checks for whether integers fit in mantissa bits.
44130 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44131 the range of signed 32-bit integers before using fistpl. Remove
44132 checks for whether integers fit in mantissa bits.
44133 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44134 (__ieee754_powl): Test for y outside the range of signed 64-bit
44135 integers before using fistpll. Reduce 64-bit values to 63-bit
44137 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44138 divide-by-zero is raised for zero to large negative powers.
44139 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44140 (__ieee754_powl): Test for y outside the range of signed 64-bit
44141 integers before using fistpll. Reduce 64-bit values to 63-bit
44143 * math/libm-test.inc (pow_test): Add more tests.
44145 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44147 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44148 <stdio-common/_itoa.h>.
44149 * debug/segfault.c: Likewise.
44150 * elf/dl-cache.c: Likewise.
44151 * elf/dl-minimal.c: Likewise.
44152 * elf/dl-misc.c: Likewise.
44153 * elf/dl-sysdep.c: Likewise.
44154 * elf/dl-version.c: Likewise.
44155 * elf/rtld.c: Likewise.
44156 * hurd/hurdsock.c: Likewise.
44157 * hurd/lookup-retry.c: Likewise.
44158 * malloc/malloc.c: Likewise.
44159 * malloc/mtrace.c: Likewise.
44160 * nscd/nscd_getgr_r.c: Likewise.
44161 * nscd/nscd_getpw_r.c: Likewise.
44162 * nscd/nscd_getserv_r.c: Likewise.
44163 * posix/getopt_init.c: Likewise.
44164 * posix/wordexp.c: Likewise.
44165 * stdio-common/_itoa.c: Likewise.
44166 * stdio-common/printf_fphex.c: Likewise.
44167 * stdio-common/vfprintf.c: Likewise.
44168 * string/_strerror.c: Likewise.
44169 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44170 * sysdeps/i386/i686/hp-timing.h: Likewise.
44171 * sysdeps/mach/_strerror.c: Likewise.
44172 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44173 * sysdeps/mach/hurd/sethostid.c: Likewise.
44174 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44175 * sysdeps/mach/xpg-strerror.c: Likewise.
44176 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44177 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44178 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44179 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44180 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44181 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44182 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44183 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44184 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44185 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44186 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44187 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44188 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44189 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44190 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44191 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44192 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44193 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44194 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44195 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44196 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44198 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44200 * stdio-common/_itoa.h: Moved to ...
44201 * sysdeps/generic/_itoa.h: Here.
44203 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44205 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44206 instead of "_itoa.h" and "_itowa.h".
44207 * stdio-common/vfprintf.: Likewise.
44209 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44211 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44213 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44214 (__signbit): Likwise.
44215 (llrintf): Likwise.
44218 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44220 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44223 2012-03-20 Joseph Myers <joseph@codesourcery.com>
44225 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44226 OVERFLOW_EXCEPTION_OK.
44227 * math/libm-test.inc ("Philosophy"): Update comment about
44229 (OVERFLOW_EXCEPTION): Define.
44230 (OVERFLOW_EXCEPTION_OK): Likewise.
44231 (INVALID_EXCEPTION_OK): Renumber.
44232 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44233 (IGNORE_ZERO_INF_SIGN): Likewise.
44234 (test_exceptions): Handle FE_OVERFLOW.
44235 (exp10_test): Expect overflow exceptions.
44236 (exp2_test): Likewise.
44237 (expm1_test): Likewise.
44238 (nextafter_test): Likewise.
44239 (pow_test): Likewise.
44240 (scalbn_test): Likewise.
44241 (scalbln_test): Likewise.
44243 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44245 * sysdeps/x86_64/bits/atomic.h
44246 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44248 (atomic_exchange_acq): Likewise.
44249 (__arch_exchange_and_add_body): Likewise.
44250 (__arch_add_body): Likewise.
44251 (atomic_add_negative): Likewise.
44252 (atomic_add_zero): Likewise.
44254 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44256 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44257 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44259 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44261 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44262 Check __x86_64__ instead of __WORDSIZE.
44264 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44266 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44268 2012-03-19 David S. Miller <davem@davemloft.net>
44270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44272 * sysdeps/sparc/fpu/fenv_private.h: New file.
44273 * sysdeps/sparc/fpu/math_private.h: Use it.
44274 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44276 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44277 (libc_feholdexcept_setroundl): Remove.
44278 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44280 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44281 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44283 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44285 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44286 int64_t instead of long int.
44287 (INSERT_WORDS64): Likwise.
44289 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44291 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44292 _Unwind_GetCFA return to _Unwind_Ptr first.
44294 2012-03-19 Joseph Myers <joseph@codesourcery.com>
44297 * math/s_clog.c: Include <float.h>.
44298 (__clog): Scale large or subnormal inputs.
44299 * math/s_clogf.c: Likewise.
44300 * math/s_clogl.c: Likewise.
44301 * math/s_clog10.c: Include <float.h>.
44302 (M_LOG10_2): Define.
44303 (__clog10): Scale large or subnormal inputs.
44304 * math/s_clog10f.c: Likewise.
44305 * math/s_clog10l.c: Likewise.
44306 * math/libm-test.inc (clog_test): Add more tests.
44307 (clog10_test): Likewise.
44308 * sysdeps/i386/fpu/libm-test-ulps: Update.
44309 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44312 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44314 * math/libm-test.inc (atan2_test): Add another test.
44316 * Makerules (common-objdir-compile): Remove.
44317 * sysdeps/unix/Makefile (config-generated): Do not add
44318 $(unix-generated) to variable.
44319 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44320 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44322 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44324 [generic bits/local_lim.h] (before-compile): Do not append to
44326 [generic bits/local_lim.h] (common-generated): Likewise.
44327 [generic sys/param.h] (before-compile): Do not append to variable.
44328 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44329 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44330 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44331 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44333 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44334 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44335 [generic sys/param.h] ($(addprefix
44336 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44337 [generic sys/param.h] (common-generated): Do not append to
44339 [generic sys/param.h] (sysdep_headers): Likewise.
44340 [generic bits/errno.h] (before-compile): Do not append to
44342 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44344 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44345 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44346 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44347 [generic bits/errno.h] (common-generated): Do not append to
44349 [generic bits/ioctls.h] (before-compile): Do not append to
44351 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44353 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44354 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44355 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44357 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44358 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44359 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44360 [generic bits/ioctls.h] (common-generated): Do not append to
44362 [generic sys/syscall.h] (syscall.h): Remove variable.
44363 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44365 [generic sys/syscall.h] (before-compile): Do not append to
44367 [generic sys/syscall.h] (common-generated): Likewise.
44368 * sysdeps/unix/errnos-tmpl.c: Remove file.
44369 * sysdeps/unix/errnos.awk: Likewise.
44370 * sysdeps/unix/ioctls-tmpl.c: Likewise.
44371 * sysdeps/unix/ioctls.awk: Likewise.
44372 * sysdeps/unix/mk-local_lim.c: Likewise.
44373 * sysdeps/unix/snarf-ioctls: Likewise.
44375 2012-03-19 Richard Henderson <rth@twiddle.net>
44377 * sysdeps/i386/fpu/fenv_private.h: New file.
44378 * sysdeps/i386/fpu/math_private.h: Use it.
44379 (math_opt_barrier, math_force_eval): Remove.
44380 (libc_feholdexcept_setround_53bit): Remove.
44381 (libc_feupdateenv_53bit): Remove.
44382 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44383 (math_opt_barrier, math_force_eval): Remove.
44384 (libc_feholdexcept): Remove.
44385 (libc_feholdexcept_setround): Remove.
44386 (libc_fetestexcept, libc_fesetenv): Remove.
44387 (libc_feupdateenv_test): Remove.
44388 (libc_feupdateenv, libc_feholdsetround): Remove.
44389 (libc_feresetround): Remove.
44391 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44392 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44394 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44395 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44396 (libc_feupdateenv_testl): New.
44397 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44398 (libc_feupdateenv_testf): New.
44399 (libc_feupdateenv): Use libc_feupdateenv_test.
44400 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44401 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44403 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44404 (libc_feholdsetroundf, libc_feholdsetroundl): New.
44405 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44406 (libc_feresetround_noex): New.
44407 (libc_feresetround_noexf): New.
44408 (libc_feresetround_noexl): New.
44409 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44410 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44411 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44412 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44414 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44415 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44417 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44418 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44419 SET_RESTORE_ROUND_NOEX.
44420 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44421 SET_RESTORE_ROUND_NOEXF.
44422 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44423 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44424 (libc_feholdsetroundf): New.
44425 (libc_feresetround, libc_feresetroundf): New.
44427 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44428 (libc_feholdexcept_setround_53bit): Convert from macro to function.
44429 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
44431 * sysdeps/generic/math_private.h: Include <fenv.h>.
44432 (default_libc_feholdexcept): New.
44433 (default_libc_feholdexcept_setround): New.
44434 (default_libc_fesetenv, default_libc_feupdateenv): New.
44435 (libc_feholdexcept): Only define if undefined.
44436 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44437 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44438 (libc_feholdexcept_setroundl): Likewise.
44439 (libc_feholdexcept_setround_53bit): Likewise.
44440 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44441 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44442 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44443 (libc_feupdateenv_53bit): Likewise.
44444 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44445 (libc_feholdexcept): Convert from macro to inline function.
44446 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44447 (libc_fesetenv, libc_feupdateenv): Likewise.
44449 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44450 not previously defined.
44451 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44452 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44453 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44454 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44455 * sysdeps/ieee754/flt-32/math_private.h: New file.
44456 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44457 math_private.h below SET_FLOAT_WORD.
44458 (__isnan, __isinf_ns, __finite): Remove.
44459 (__isnanf, __isinf_nsf, __finitef): Remove.
44461 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
44463 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44465 2012-03-17 David S. Miller <davem@davemloft.net>
44468 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44471 2012-03-16 David S. Miller <davem@davemloft.net>
44473 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44477 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44479 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44480 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44481 sysdep_routines when subdir is sysvipc.
44482 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44483 __getshmlba helper.
44485 * sysdeps/sparc/fpu/libm-test/ulps: Update.
44487 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44489 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44492 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44494 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44495 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44496 (__lround): Renamed to ...
44497 (__llround): This. Replace long int with long long int.
44498 Define lround functions as aliases of llround functions.
44499 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44501 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44503 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44504 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
44505 adresses to uintptr_t. Replace "long int" and "unsigned long
44506 int" with "greg_t" on va_arg.
44508 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44510 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44511 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44513 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44514 Move e_machine check before EI_CLASS check. Handle x32
44515 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44516 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44517 SKIP_EM_IA_64 and include
44518 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44520 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44521 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44522 (add_system_dir): New macro.
44524 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44525 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44527 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44538 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44540 * math/w_j0f.c (j0f): Likewise.
44542 * math/w_j0l.c (__j0l): Likewise.
44544 * math/w_j1.c (j1): Likewise.
44546 * math/w_j1f.c (j1f): Likewise.
44548 * math/w_j1l.c (__j1l): Likewise.
44550 * math/w_jn.c (jn): Likewise.
44552 * math/w_jnf.c (jnf): Likewise.
44554 * math/w_jnl.c (__jnl): Likewise.
44556 * math/libm-test.inc (j0_test): Add more tests.
44557 (j1_test): Likewise.
44558 (jn_test): Likewise. Add trailing semicolon to existing test.
44559 (y0_test): Likewise.
44560 (y1_test): Likewise.
44561 * sysdeps/i386/fpu/libm-test-ulps: Update.
44562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44566 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44567 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44568 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44569 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44570 (__tanl): Set errno for infinite argument.
44571 * sysdeps/i386/fpu/mptan.c: Remove.
44572 * sysdeps/i386/fpu/s_tan.S: Likewise.
44573 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44574 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44575 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44576 * math/libm-test.inc (tan_test): Add more tests and enable more
44577 tests for double and long double.
44578 * sysdeps/i386/fpu/libm-test-ulps: Update.
44579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44581 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44583 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44584 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44586 2012-03-16 Roland McGrath <roland@hack.frob.com>
44588 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44589 * configure.in: Use it for both main tree and add-ons.
44590 * configure: Regenerated.
44592 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44594 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44596 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44598 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44602 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44603 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44604 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44605 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44606 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44608 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44609 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44610 != 0 for prec == 2.
44611 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44612 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44613 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44614 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44615 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44616 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44617 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44618 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44619 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44620 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44621 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44622 * math/libm-test.inc (cos_test): Add more tests and enable more
44623 tests for long double.
44624 (sin_test): Likewise.
44625 (sincos_test): Likewise.
44626 * sysdeps/i386/fpu/libm-test-ulps: Update.
44627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44629 2012-03-16 David S. Miller <davem@davemloft.net>
44631 * sysdeps/sparc/fpu/math_private.h: New file.
44633 2012-03-15 David S. Miller <davem@davemloft.net>
44635 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44637 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44638 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44640 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44641 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44642 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44643 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44644 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44645 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44647 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44649 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44650 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44652 * sysdeps/sparc/sparc-ifunc.h: New file.
44653 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44655 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44656 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44658 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44660 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44662 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44666 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44667 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44668 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44669 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44677 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44678 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44679 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44680 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44683 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44684 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44685 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44686 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44687 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44688 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44689 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44690 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44691 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44692 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44693 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44694 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44695 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44696 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44698 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44700 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44704 2012-03-15 Andreas Jaeger <aj@suse.de>
44707 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44708 ieee754/flt-32 implementation for sin, cos and sincos.
44709 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44710 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44711 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44712 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44713 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44714 ieee754/flt-32 implementation for tan.
44716 * math/libm-test.inc (cos_test): Enable some large input tests for
44718 (sin_test): Likewise.
44719 (sincos_test): Likewise.
44720 (tan_test): Add tests for large input.
44722 * sysdeps/i386/fpu/libm-test-ulps: Update.
44724 2012-03-15 Andreas Jaeger <aj@suse.de>
44727 * math/libm-test.inc (cos_test): Add more test cases.
44728 (sin_test): Likewise.
44729 (sincos_test): Likewise.
44731 2012-03-15 Andreas Jaeger <aj@suse.de>
44734 * math/libm-test.inc (cos_test): Add a test case for large input
44736 (sin_test): Likewise.
44737 (sincos_test): Likewise.
44739 2012-03-15 Andreas Jaeger <aj@suse.de>
44740 Joseph Myers <joseph@codesourcery.com>
44743 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44744 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44745 * sysdeps/i386/fpu/branred.c: Likewise.
44746 * sysdeps/i386/fpu/dosincos.c: Likewise.
44747 * sysdeps/i386/fpu/mpa.c: Likewise.
44748 * sysdeps/i386/fpu/s_cos.S: Likewise.
44749 * sysdeps/i386/fpu/s_sin.S: Likewise.
44750 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44751 * sysdeps/i386/fpu/sincos32.c: Likewise.
44753 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44755 (libc_feupdateenv_53bit): Define.
44756 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44758 (libc_feupdateenv_53bit): Define.
44760 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44761 53 bit (without extend i386 double precision).
44763 * math/libm-test.inc (sincos_test): Add tests for large input.
44767 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44769 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44771 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44773 2012-03-15 David S. Miller <davem@davemloft.net>
44775 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44776 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44777 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44778 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44779 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44780 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44781 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44782 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44783 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44784 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44785 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44786 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44787 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44788 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44789 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44790 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44792 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44793 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44796 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44799 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44801 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44802 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44803 fmin/fmax sysdep routines.
44804 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44806 2012-03-14 David S. Miller <davem@davemloft.net>
44808 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44809 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44810 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44811 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44812 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44813 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44814 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44815 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44816 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44817 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44818 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44819 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44820 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44821 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44822 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44823 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44824 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44825 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44826 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44827 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44828 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44829 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44830 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44831 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44832 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44833 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44834 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44835 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44836 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44838 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44852 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44857 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44859 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44861 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44863 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44865 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44868 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44870 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44880 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44883 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44885 * sysdeps/sparc/configure.in: New file.
44886 * sysdeps/sparc/configure: Generate.
44887 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44888 * configure: Regenerate.
44889 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44890 * config.make.in (have-as-vis3): New.
44891 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44892 available use -Av9d instead of -Av9a.
44893 * sysdeps/sparc/sparc64/Makefile: Likewise.
44894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44903 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44904 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44905 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44906 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44907 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44909 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44910 fzeros/fnegs to load 0x80000000 into a float register instead of
44912 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44914 2012-03-14 Joseph Myers <joseph@codesourcery.com>
44916 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44918 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44919 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44920 ($(inst_includedir)/bits/syscall.h): Remove rule.
44921 ($(objpfx)bits/syscall.d): Include instead of
44922 $(objpfx)syscall-list.d.
44923 (generated): Change syscall-list.h and syscall-list.d to
44924 bits/syscall.h and bits/syscall.d.
44926 2012-03-14 Roland McGrath <roland@hack.frob.com>
44929 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44931 2012-03-14 Joseph Myers <joseph@codesourcery.com>
44934 * math/s_csqrt.c: Include <float.h>.
44935 (__csqrt): Scale large or subnormal inputs.
44936 * math/s_csqrtf.c: Likewise.
44937 * math/s_csqrtl.c: Likewise.
44938 * math/libm-test.inc (csqrt_test): Add more tests.
44939 * sysdeps/i386/fpu/libm-test-ulps: Update.
44940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44943 * math/libm-test.inc (hypot_test): Add more tests.
44945 2012-03-13 David S. Miller <davem@davemloft.net>
44948 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44949 double-precision for the calculation instead of scaling.
44951 2012-03-13 Joseph Myers <joseph@codesourcery.com>
44953 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44954 manipulate bits before adding and subtracting TWO52[sx].
44955 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44956 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44958 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44960 2012-03-13 David S. Miller <davem@davemloft.net>
44962 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44963 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44964 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44965 rtld-global-offsets.h
44966 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44968 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44971 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44973 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44974 'err' in the ifdef scope in which it is actually used.
44976 * nss/nss_db/db-init.c: Include string.h
44978 2012-03-12 David S. Miller <davem@davemloft.net>
44980 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44981 masking out of the most significant byte of random value used.
44982 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44983 Fix coding style in previous change.
44985 * sysdeps/unix/sysv/linux/kernel-features.h
44986 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44987 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44989 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44992 2012-03-11 David S. Miller <davem@davemloft.net>
44994 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44995 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44996 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44997 for 'resultvar' otherwise things get truncated on 64-bit.
44999 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45000 Fix masking out of the most significant byte of random value used.
45002 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45004 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45008 2012-03-09 David S. Miller <davem@davemloft.net>
45010 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45011 variables with appropriate CPP guards.
45012 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45013 from the frame pointer, not the stack pointer. Correct layout
45014 comments. Fix test on resulting framesize and the management of
45015 the outregs buffer for pltexit. Preserve floating point return
45016 values across _dl_call_pltexit call.
45017 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45018 framesize and the management of the outregs buffer for pltexit.
45019 Preserve floating point return values across _dl_call_pltexit
45021 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45022 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45023 (la_sparc64_gnu_pltexit): New functions.
45024 (print_exit): Fix format string for return register value.
45026 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45028 * sunrpc/Makefile (others): Add rpcgen.
45029 ($(objpfx)rpcgen): Remove special build rule and dependency on
45031 * sunrpc/rpcgen.c: New file.
45033 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45036 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45037 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45038 * sysdeps/i386/crti.S: Likewise.
45039 * sysdeps/i386/crtn.S: Likewise.
45040 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45041 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45042 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45043 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45044 * sysdeps/sh/crti.S: Likewise.
45045 * sysdeps/sh/crtn.S: Likewise.
45046 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45049 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45051 * locale/programs/locfile-kw.gperf: Likewise.
45052 * locale/programs/charmap-kw.h: Regenerated.
45053 * locale/programs/locfile-kw.h: Likewise.
45056 * intl/plural.y: Replace FSF snail mail address with URL.
45057 * intl/plural.c: Regenerated.
45059 2012-03-09 Richard Henderson <rth@twiddle.net>
45061 * include/math_private.h: Remove file.
45062 * math/math_private.h: Move file ...
45063 * sysdeps/generic/math_private.h: ... here.
45065 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45066 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45067 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45069 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45070 and <math_private.h>.
45071 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45072 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45073 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45074 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45075 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45076 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45077 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45078 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45079 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45080 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45081 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45082 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45083 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45084 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45085 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45086 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45087 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45088 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45089 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45090 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45091 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45092 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45093 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45094 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45095 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45096 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45097 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45098 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45099 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45100 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45101 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45102 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45103 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45104 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45105 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45106 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45107 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45108 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45109 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45110 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45111 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45112 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45113 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45114 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45115 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45116 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45117 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45118 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45119 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45120 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45121 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45122 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45123 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45124 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45125 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45126 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45127 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45128 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45129 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45130 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45131 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45132 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45133 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45134 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45135 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45136 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45137 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45138 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45139 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45140 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45141 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45142 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45143 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45144 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45145 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45146 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45147 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45148 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45149 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45150 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45151 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45152 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45153 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45154 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45155 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45156 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45157 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45158 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45159 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45160 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45161 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45162 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45163 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45164 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45165 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45166 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45167 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45168 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45169 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45170 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45171 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45172 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45173 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45174 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45175 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45176 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45177 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45178 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45179 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45180 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45181 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45182 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45183 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45184 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45185 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45186 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45187 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45188 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45189 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45190 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45191 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45192 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45193 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45194 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45195 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45196 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45197 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45198 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45199 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45200 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45201 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45202 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45203 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45204 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45205 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45206 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45207 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45208 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45209 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45210 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45211 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45212 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45213 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45214 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45215 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45216 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45217 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45218 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45219 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45220 * sysdeps/ieee754/k_standard.c: Likewise.
45221 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45222 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45223 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45224 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45225 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45226 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45227 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45228 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45229 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45230 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45231 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45232 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45233 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45234 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45235 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45236 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45237 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45238 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45239 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45240 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45241 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45242 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45243 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45244 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45245 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45246 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45247 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45248 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45249 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45250 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45251 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45252 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45253 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45254 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45255 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45256 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45257 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45258 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45259 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45260 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45261 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45262 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45263 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45264 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45265 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45266 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45267 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45268 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45269 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45270 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45271 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45272 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45273 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45274 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45275 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45276 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45277 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45278 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45279 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45280 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45281 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45282 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45283 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45284 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45285 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45286 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45287 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45288 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45289 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45290 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45291 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45292 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45293 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45294 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45295 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45296 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45297 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45298 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45299 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45300 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45301 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45302 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45303 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45304 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45305 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45306 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45307 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45308 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45309 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45310 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45311 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45312 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45313 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45314 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45316 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45317 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45318 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45319 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45320 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45321 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45322 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45324 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45325 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45326 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45327 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45328 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45329 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45330 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45331 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45332 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45333 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45334 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45335 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45336 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45337 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45338 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45339 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45340 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45341 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45342 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45343 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45344 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45345 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45346 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45347 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45348 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45349 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45350 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45351 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45352 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45353 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45354 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45355 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45356 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45357 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45358 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45359 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45360 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45361 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45362 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45363 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45364 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45365 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45366 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45367 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45368 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45369 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45370 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45371 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45372 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45373 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45374 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45375 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45376 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45377 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45378 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45379 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45380 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45381 * sysdeps/ieee754/s_lib_version.c: Likewise.
45382 * sysdeps/ieee754/s_matherr.c: Likewise.
45383 * sysdeps/ieee754/s_signgam.c: Likewise.
45384 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45385 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45386 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45387 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45388 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45389 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45390 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45391 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45392 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45393 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45394 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45395 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45396 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45397 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45398 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45399 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45400 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45401 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45402 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45403 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45404 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45406 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45408 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45409 * sunrpc/rpc_main.c: Likewise.
45410 * sunrpc/rpc_svcout.c: Likewise.
45412 2012-03-09 David S. Miller <davem@davemloft.net>
45414 * include/math_private.h: New file.
45416 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45418 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45419 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45420 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45421 from <bits/socket_type.h>.
45422 (enum __socket_type): Don't define here.
45423 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45424 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45425 bits/socket_type.h.
45428 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45429 checking __USE_GNU.
45431 * Makerules ($(inst_includedir)/%.h): New rule.
45432 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45433 (install-others): Remove variable setting.
45434 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45436 2012-03-08 Richard Henderson <rth@twiddle.net>
45438 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45439 from macro to inline function; merge with the
45440 !__LIBC_INTERNAL_MATH_INLINES version.
45441 (__ieee754_sqrtf): Likewise.
45443 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45444 to inline function.
45445 (__rintf, __floor, __floorf): Likewise.
45447 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45448 macro to inline function.
45449 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45451 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45452 not <math/math_private.h>.
45454 2012-03-08 David S. Miller <davem@davemloft.net>
45456 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45458 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45460 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
45462 * resolv/gai_misc.c (handle_requests): Fix struct timespec
45464 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45465 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45467 2012-03-08 Ulrich Drepper <drepper@gmail.com>
45469 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
45470 be defined individually, they must be defined as a block. Define
45471 S for printing a string instead of hidint the different by using a
45472 macro for adding the 'l'.
45473 * stdio-common/tst-fphex-wide.c: Adjust.
45475 2012-03-07 Marek Polacek <polacek@redhat.com>
45477 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45479 2012-03-08 Marek Polacek <polacek@redhat.com>
45482 * stdio-common/Makefile (tests): Add tst-fphex-wide.
45483 * stdio-common/tst-fphex.c: Define a few macros to make the
45484 test reusable. Use them.
45485 * stdio-common/tst-fphex-wide.c: New file.
45487 2012-03-08 Joseph Myers <joseph@codesourcery.com>
45490 * manual/macros.texi (gnusystems): New macro.
45491 (nongnusystems): Likewise.
45492 (gnulinuxhurdsystems): Likewise.
45493 (gnuhurdsystems): Likewise..
45494 (gnulinuxsystems): Likewise.
45495 * manual/charset.texi: Use new macros or @theglibc{} to refer to
45496 variants of the GNU system, not "GNU system".
45497 * manual/conf.texi: Likewise.
45498 * manual/errno.texi: Likewise. Update example of errno macro
45500 * manual/filesys.texi: Likewise.
45501 (getumask): Document as specific to GNU/Hurd.
45502 * manual/install.texi: Likewise. Reword some references to
45504 * manual/intro.texi: Likewise.
45505 * manual/io.texi: Likewise.
45506 (File Name Portability): Detail which constraints are inapplicable
45507 to all GNU systems and which are only inapplicable to GNU/Hurd.
45508 * manual/job.texi: Likewise.
45509 * manual/llio.texi: Likewise.
45510 (O_NOCTTY): Document as present on GNU/Linux.
45511 * manual/maint.texi: Likewise.
45512 * manual/memory.texi: Likewise.
45513 * manual/pattern.texi: Likewise.
45514 * manual/pipe.texi: Likewise.
45515 * manual/process.texi: Likewise.
45516 * manual/resource.texi: Likewise.
45517 (RUSAGE_CHILDREN): Remove statement about specifying a particular
45519 * manual/setjmp.texi: Likewise.
45520 * manual/signal.texi: Likewise.
45521 * manual/startup.texi: Likewise.
45522 * manual/stdio.texi: Likewise.
45523 * manual/terminal.texi: Likewise.
45524 (ONLCR): Document as POSIX.
45525 (OXTABS): Document availability on GNU/Linux as XTABS.
45526 (ONOEOT): Document availability separately from other bits.
45527 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45528 * manual/time.texi: Likewise.
45529 * manual/users.texi: Likewise.
45530 * INSTALL: Regenerated.
45531 * sysdeps/gnu/errlist.c: Regenerated.
45533 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45534 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45535 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45537 * configure: Regenerated.
45539 2012-03-07 Joseph Myers <joseph@codesourcery.com>
45541 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45542 default includes instead of AC_HEADER_CHECK.
45543 * sysdeps/i386/configure: Regenerated.
45546 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45547 * math/s_cacoshf.c (__cacoshf): Likewise.
45548 * math/s_cacoshl.c (__cacoshl): Likewise.
45549 * math/s_casinh.c (__casinh): Set signs of result from argument.
45550 * math/s_casinhf.c (__casinhf): Likewise.
45551 * math/s_casinhl.c (__casinhl): Likewise.
45552 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45553 (casinh_test): Add more tests.
45554 * sysdeps/i386/fpu/libm-test-ulps: Update.
45555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45557 2012-03-07 Ulrich Drepper <drepper@gmail.com>
45559 * po/zh_TW.po: Update from translation team.
45561 * login/Makefile (distribute): Remove variable.
45562 * catgets/Makefile: Likewise.
45563 * mach/Makefile: Likewise.
45564 * malloc/Makefile: Likewise.
45565 * misc/Makefile: Likewise.
45566 * iconv/Makefile: Likewise.
45567 * nscd/Makefile: Likewise.
45568 * hurd/Makefile: Likewise.
45569 * manual/Makefile: Likewise.
45570 * locale/Makefile: Likewise.
45571 * intl/Makefile: Likewise.
45572 * conform/Makefile: Likewise.
45573 * nss/Makefile: Likewise.
45574 * time/Makefile: Likewise.
45575 * soft-fp/Makefile: Likewise.
45576 * dirent/Makefile: Likewise.
45577 * gmon/Makefile: Likewise.
45578 * po/Makefile: Likewise.
45579 * rt/Makefile: Likewise.
45580 * socket/Makefile: Likewise.
45581 * math/Makefile: Likewise.
45582 * signal/Makefile: Likewise.
45583 * debug/Makefile: Likewise.
45584 * elf/Makefile: Likewise.
45585 * timezone/Makefile: Likewise.
45586 * stdlib/Makefile: Likewise.
45587 * iconvdata/Makefile: Likewise.
45588 * sunrpc/Makefile: Likewise.
45589 * io/Makefile: Likewise.
45590 * argp/Makefile: Likewise.
45591 * inet/Makefile: Likewise.
45592 * hesiod/Makefile: Likewise.
45593 * grp/Makefile: Likewise.
45594 * csu/Makefile: Likewise.
45595 * wctype/Makefile: Likewise.
45596 * crypt/Makefile: Likewise.
45597 * libio/Makefile: Likewise.
45598 * string/Makefile: Likewise.
45599 * nis/Makefile: Likewise.
45600 * resolv/Makefile: Likewise.
45601 * stdio-common/Makefile: Likewise.
45602 * wcsmbs/Makefile: Likewise.
45603 * dlfcn/Makefile: Likewise.
45604 * posix/Makefile: Likewise.
45607 * timezone/Makefile: Don't install timezone files, just the programs
45610 2012-03-06 Ulrich Drepper <drepper@gmail.com>
45612 * nss/databases.def: Add missing gshadow entry.
45614 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45616 2012-03-06 Marek Polacek <polacek@redhat.com>
45619 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45620 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45621 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45622 * stdio-common/tst-long-dbl-fphex.c: New file.
45624 2012-03-06 David S. Miller <davem@davemloft.net>
45626 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45627 (set_obp_int): New function.
45628 (get_obp_int): New function.
45629 (__get_clockfreq_via_dev_openprom): Likewise.
45630 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45631 Avoid unused variable warnings on 'val' and use builtin_expect.
45632 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45634 (INLINE_CLONE_SYSCALL): Likewise.
45636 2012-03-05 David S. Miller <davem@davemloft.net>
45638 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45640 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45644 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45645 only for |x| >= 40.
45646 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45648 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
45650 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45651 Replace gettimeofday with __vdso_gettimeofday.
45653 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45654 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45655 __vdso_clock_gettime and __vdso_getcpu.
45657 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45658 time with __vdso_time.
45660 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45662 * manual/lang.texi (size_t): Note types to which size_t may be
45663 equivalent with the GNU C Library, but do not describe when
45664 differences between them are significant.
45666 2012-03-05 Andreas Jaeger <aj@suse.de>
45668 * sysdeps/i386/fpu/libm-test-ulps: Update.
45670 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45673 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45674 (__ieee754_pow): Save and restore rounding mode and use
45675 round-to-nearest for main computations.
45676 * math/libm-test.inc (pow_test_tonearest): New function.
45677 (pow_test_towardzero): Likewise.
45678 (pow_test_downward): Likewise.
45679 (pow_test_upward): Likewise.
45680 (main): Call the new functions.
45681 * sysdeps/i386/fpu/libm-test-ulps: Update.
45682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45685 * math/libm-test.inc (cosh_test_tonearest): New function.
45686 (cosh_test_towardzero): Likewise.
45687 (cosh_test_downward): Likewise.
45688 (cosh_test_upward): Likewise.
45689 (sinh_test_tonearest): Likewise.
45690 (sinh_test_towardzero): Likewise.
45691 (sinh_test_downward): Likewise.
45692 (sinh_test_upward): Likewise.
45693 (main): Call the new functions.
45694 * sysdeps/i386/fpu/libm-test-ulps: Update.
45695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45697 2012-03-05 Tom de Vries <tom@codesourcery.com>
45699 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45700 default stack guard is set in last bytes.
45701 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45703 2012-03-05 Kees Cook <keescook@chromium.org>
45705 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45708 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45709 possibly allocate from heap instead of stack.
45710 * stdio-common/bug-vfprintf-nargs.c: New file.
45711 * stdio-common/Makefile (tests): Add nargs overflow test.
45713 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45715 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45717 2012-03-03 Marek Polacek <polacek@redhat.com>
45719 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45720 * math/math_private.h: Likewise.
45721 * stdlib/tst-strtod.c: Likewise.
45722 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45723 * sysdeps/x86_64/bits/atomic.h: Likewise.
45725 2012-03-02 David S. Miller <davem@davemloft.net>
45727 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45728 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45729 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45730 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45731 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45732 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45733 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45734 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45736 2012-03-02 Roland McGrath <roland@hack.frob.com>
45739 * manual/examples/README: New file, says the example source files
45740 can be used under GPL>=2.
45741 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45742 line containing just "*/".
45743 * manual/examples/add.c: Add copyright header (GPL>=2).
45744 * manual/examples/argp-ex1.c: Likewise.
45745 * manual/examples/argp-ex2.c: Likewise.
45746 * manual/examples/argp-ex3.c: Likewise.
45747 * manual/examples/argp-ex4.c: Likewise.
45748 * manual/examples/atexit.c: Likewise.
45749 * manual/examples/db.c: Likewise.
45750 * manual/examples/dir.c: Likewise.
45751 * manual/examples/dir2.c: Likewise.
45752 * manual/examples/execinfo.c: Likewise.
45753 * manual/examples/filecli.c: Likewise.
45754 * manual/examples/filesrv.c: Likewise.
45755 * manual/examples/fmtmsgexpl.c: Likewise.
45756 * manual/examples/genpass.c: Likewise.
45757 * manual/examples/inetcli.c: Likewise.
45758 * manual/examples/inetsrv.c: Likewise.
45759 * manual/examples/isockad.c: Likewise.
45760 * manual/examples/longopt.c: Likewise.
45761 * manual/examples/memopen.c: Likewise.
45762 * manual/examples/memstrm.c: Likewise.
45763 * manual/examples/mkfsock.c: Likewise.
45764 * manual/examples/mkisock.c: Likewise.
45765 * manual/examples/mygetpass.c: Likewise.
45766 * manual/examples/pipe.c: Likewise.
45767 * manual/examples/popen.c: Likewise.
45768 * manual/examples/rprintf.c: Likewise.
45769 * manual/examples/search.c: Likewise.
45770 * manual/examples/select.c: Likewise.
45771 * manual/examples/setjmp.c: Likewise.
45772 * manual/examples/sigh1.c: Likewise.
45773 * manual/examples/sigusr.c: Likewise.
45774 * manual/examples/stpcpy.c: Likewise.
45775 * manual/examples/strdupa.c: Likewise.
45776 * manual/examples/strftim.c: Likewise.
45777 * manual/examples/strncat.c: Likewise.
45778 * manual/examples/subopt.c: Likewise.
45779 * manual/examples/swapcontext.c: Likewise.
45780 * manual/examples/termios.c: Likewise.
45781 * manual/examples/testopt.c: Likewise.
45782 * manual/examples/testpass.c: Likewise.
45783 * manual/examples/timeval_subtract.c: Likewise.
45786 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45788 * manual/timeval_subtract.c.texi: ... here, new file.
45790 2012-03-02 David S. Miller <davem@davemloft.net>
45792 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45794 2012-03-02 Joseph Myers <joseph@codesourcery.com>
45797 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45798 (__sin): Save and restore rounding mode and use round-to-nearest
45799 for all computations.
45800 (__cos): Save and restore rounding mode and use round-to-nearest
45801 for all computations.
45802 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45804 (tan): Save and restore rounding mode and use round-to-nearest for
45806 * math/libm-test.inc (cos_test_tonearest): New function.
45807 (cos_test_towardzero): Likewise.
45808 (cos_test_downward): Likewise.
45809 (cos_test_upward): Likewise.
45810 (sin_test_tonearest): Likewise.
45811 (sin_test_towardzero): Likewise.
45812 (sin_test_downward): Likewise.
45813 (sin_test_upward): Likewise.
45814 (tan_test_tonearest): Likewise.
45815 (tan_test_towardzero): Likewise.
45816 (tan_test_downward): Likewise.
45817 (tan_test_upward): Likewise.
45818 (main): Call the new functions.
45819 * sysdeps/i386/fpu/libm-test-ulps: Update.
45820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45823 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45824 small n, then large n, before computing and testing k+n.
45825 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45826 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45828 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45830 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45831 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45832 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45833 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45834 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45835 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45836 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45837 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45838 * math/libm-test.inc (scalbn_test): Add more tests.
45839 (scalbln_test): Likewise.
45841 * manual/filesys.texi (mode_t): Describe constraints on size and
45842 signedness, not exact equivalence to a particular type.
45844 (ino64_t): Likewise.
45846 (nlink_t): Likewise.
45847 (blkcnt_t): Likewise.
45848 (blkcnt64_t): Likewise.
45849 * manual/llio.texi (off_t): Likewise.
45852 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45853 (__ieee754_exp): Save and restore rounding mode and use
45854 round-to-nearest for all computations.
45855 * math/libm-test.inc (exp_test_tonearest): New function.
45856 (exp_test_towardzero): Likewise.
45857 (exp_test_downward): Likewise.
45858 (exp_test_upward): Likewise.
45859 (main): Call the new functions.
45860 * sysdeps/i386/fpu/libm-test-ulps: Update.
45861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45863 2012-03-01 Chris Demetriou <cgd@google.com>
45865 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45866 have predictable order.
45868 2012-03-01 David S. Miller <davem@davemloft.net>
45870 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45872 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45873 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45874 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45875 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45877 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45878 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45879 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45880 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45881 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45882 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45883 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45884 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45885 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45887 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45889 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45890 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45891 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45893 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45894 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45895 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45896 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45897 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45898 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45899 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45900 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45901 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45902 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45903 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45904 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45905 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45906 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45907 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45908 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45909 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45910 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45911 * sysdeps/sparc/elf/configure: Regenerated.
45913 2012-03-01 Joseph Myers <joseph@codesourcery.com>
45915 * configure.in (AS, LD): Require binutils 2.20 or later.
45916 * configure: Regenerated.
45917 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45918 as required minimum version.
45919 * INSTALL: Regenerated.
45923 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45924 before squaring exponent.
45925 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45926 bottom long double and 27 bits of top long double before squaring
45928 * math/libm-test.inc (erfc_test): Add more tests.
45929 * sysdeps/i386/fpu/libm-test-ulps: Update.
45930 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45931 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45933 2012-03-01 Kai Tietz <ktietz@redhat.com>
45935 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45936 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45937 containing bit-fields.
45938 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45939 * soft-fp/single.h (_FP_UNION_S): Likewise.
45940 * soft-fp/double.h (_FP_UNION_D): Likewise.
45942 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45945 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45946 not include ../strcmp.S.
45947 [USE_AS_STRNCASECMP_L]: Likewise.
45948 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45949 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45950 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45951 (__strncasecmp_l_ia32): Define as alias to
45952 __strncasecmp_l_nonascii.
45955 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45956 * sysdeps/i386/fpu/libm-test-ulps: Update.
45957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45959 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45962 2012-02-29 Jeff Law <law@redhat.com>
45964 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45965 out of bounds read.
45967 2012-02-29 Marek Polacek <polacek@redhat.com>
45970 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45971 * elf/Makefile: Add rules to run tst-unused-dep.out.
45973 2012-02-28 David S. Miller <davem@davemloft.net>
45975 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45976 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45977 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45978 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45979 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45980 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45982 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45984 * math/libm-test.inc (llround_test): Move one test from
45985 lround_test. Use TEST_f_L in moved test.
45986 (lround_test): Move misplaced test to llround_test. Add testcase
45989 2012-02-28 Ulrich Drepper <drepper@gmail.com>
45991 * sysdeps/x86_64/fpu/e_expf.S: New file.
45992 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45994 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
45997 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45998 of remain_len that may cause incomplete multi-byte character and
46000 * posix/bug-regex33.c: New file.
46001 * posix/Makefile (tests): Add bug-regex33.
46003 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46005 * manual/macros.texi: New file.
46006 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46007 * manual/libc.texinfo: Include macros.texi.
46008 * manual/creatute.texi: Likewise.
46009 * manual/install.texi: Likewise.
46010 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46011 @glibcadj{} in references to the GNU C Library.
46012 * manual/charset.texi: Likewise.
46013 * manual/conf.texi: Likewise.
46014 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46015 when not using those macros.
46016 * manual/creature.texi: Likewise.
46017 * manual/crypt.texi: Likewise.
46018 * manual/errno.texi: Likewise.
46019 * manual/filesys.texi: Likewise.
46020 * manual/header.texi: Likewise.
46021 * manual/install.texi: Likewise.
46022 * manual/intro.texi: Likewise.
46023 * manual/io.texi: Likewise.
46024 * manual/job.texi: Likewise.
46025 * manual/lang.texi: Likewise.
46026 * manual/libc.texiinfo: Likewise.
46027 * manual/llio.texi: Likewise.
46028 * manual/locale.texi: Likewise.
46029 * manual/maint.texi: Likewise.
46030 * manual/math.texi: Likewise.
46031 * manual/memory.texi: Likewise.
46032 * manual/message.texi: Likewise.
46033 * manual/nss.texi: Likewise.
46034 * manual/pattern.texi: Likewise.
46035 * manual/process.texi: Likewise.
46036 * manual/resource.texi: Likewise.
46037 * manual/search.texi: Likewise.
46038 * manual/setjmp.texi: Likewise.
46039 * manual/signal.texi: Likewise.
46040 * manual/socket.texi: Likewise.
46041 * manual/startup.texi: Likewise.
46042 * manual/stdio.texi: Likewise.
46043 * manual/string.texi: Likewise.
46044 * manual/sysinfo.texi: Likewise.
46045 * manual/syslog.texi: Likewise.
46046 * manual/terminal.texi: Likewise.
46047 * manual/time.texi: Likewise.
46048 * manual/users.texi: Likewise.
46049 * INSTALL: Regenerated.
46050 * NOTES: Regenerated.
46051 * sysdeps/gnu/errlist.c: Regenerated.
46053 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46055 * include/dirent.h: Include <dirstream.h> before
46058 2012-02-28 David S. Miller <davem@davemloft.net>
46060 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46061 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46062 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46063 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46065 2012-02-27 David S. Miller <davem@davemloft.net>
46067 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46068 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46069 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46070 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46072 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46073 frame pointer instead of stack pointer relative arg slot.
46074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46075 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46076 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46078 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46081 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46083 2012-02-27 David S. Miller <davem@davemloft.net>
46085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46086 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46087 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46088 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46089 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46090 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46091 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46092 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46094 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46096 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46097 later. Allow versions 5-9.
46098 * configure: Regenerated.
46099 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46100 required minimum version and 4.6 as recommended version. Do not
46101 mention bugs in GCC 2.7 and 2.8.
46102 * INSTALL: Regenerated.
46104 2012-02-27 David S. Miller <davem@davemloft.net>
46106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46110 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46111 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46112 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46113 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46115 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46116 manipulate bits before adding and subtracting TWO112[sx].
46117 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46119 2012-02-27 Roland McGrath <roland@hack.frob.com>
46122 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46123 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46124 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46125 being in POSIX, because they are in 1003.1-2008.
46127 * rt/tst-aio.c: Include <fcntl.h>.
46128 * rt/tst-aio7.c: Likewise.
46129 * rt/tst-aio64.c: Likewise.
46131 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46133 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46135 * manual/install.texi (--with-headers): Describe headers as
46136 interface headers, not private headers.
46137 (Specific advice for GNU/Linux systems): Describe use of headers
46138 from "make headers_install", not private headers from older
46140 * INSTALL: Regenerated.
46141 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46143 * sysdeps/unix/sysv/linux/configure: Regenerated.
46145 * manual/llio.texi (fclean): Remove documentation.
46147 * manual/Makefile (libc-texi-generated): New variable. Include
46149 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46150 $(libc-texi-generated), not duplicated list of files.
46151 (version.texi, stamp-version): New rules.
46152 (realclean): Remove $(libc-texi-generated), not individual files
46153 from that list. Do not remove dir-add.texinfo.
46154 * manual/libc.texinfo: Comment out uses of edition numbers and
46155 references to printed manual. Remove last-updated dates.
46156 (EDITION): Comment out.
46158 (VERSION, UPDATED): Remove.
46159 (version.texi): Include.
46161 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46163 * sysdeps/posix/spawni.c: Include <signal.h>.
46164 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46165 * sysdeps/pthread/aio_fsync.c: Likewise.
46167 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46169 * conform/Makefile (tests): Run only when not cross-compiling and
46170 when fast-check is not defined.
46172 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46173 * conform/data/limits.h-data: Fixes for POSIX2008.
46174 * conform/run-conformtest.sh: Run all tests.
46175 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46177 * include/bits/dlfcn.h: Likewise.
46178 * include/langinfo.h: Likewise.
46179 * include/monetary.h: Likewise.
46180 * include/sys/poll.h: Likewise.
46182 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46184 * posix/spawn.h: Define __need_sigset_t.
46185 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46186 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46187 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46188 to get sigevent_t only.
46189 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46190 only for __USE_GNU.
46191 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46192 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46193 process_vm_writev only for __USE_GNU.
46194 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46196 * conform/Makefile: For now ignore errors from run-conformtest.
46197 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46198 POSIX to avoid namespace pollution. Don't prepend headers.
46199 * conform/data/aio.h-data: Fixes for POSIX testing.
46200 * conform/data/fcntl.h-data: Likewise.
46201 * conform/data/glob.h-data: Likewise.
46202 * conform/data/grp.h-data: Likewise.
46203 * conform/data/pthread.h-data: Likewise.
46204 * conform/data/pwd.h-data: Likewise.
46205 * conform/data/signal.h-data: Likewise.
46206 * conform/data/spawn.h-data: Likewise.
46207 * conform/data/stdio.h-data: Likewise.
46208 * conform/data/stdlib.h-data: Likewise.
46209 * conform/data/stropts.h-data: Likewise.
46210 * conform/data/sys/mman.h-data: Likewise.
46211 * conform/data/sys/stat.h-data: Likewise.
46212 * conform/data/sys/types.h-data: Likewise.
46213 * conform/data/sys/wait.h-data: Likewise.
46214 * conform/data/time.h-data: Likewise.
46215 * conform/data/unistd.h-data: Likewise.
46216 * conform/data/utime.h-data: Likewise.
46218 * io/sys/stat.h: fchmod was always in POSIX.
46219 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46220 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46221 * rt/aio.h: Define __need_timespec before including <time.h>.
46222 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46223 struct. Add forward declaration of pthread_attr_t and use it in
46225 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46226 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46227 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46228 always remove CLK_TCK definition.
46230 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46232 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46234 2012-02-25 Ulrich Drepper <drepper@gmail.com>
46236 * conform/run-conformtest.sh: New file.
46237 * conform/Makefile: Run run-conformtest for tests.
46238 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46241 * conform/data/uchar.h-data: New file.
46242 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46243 * conform/data/arpa/inet.h-data: Likewise.
46244 * conform/data/assert.h-data: Likewise.
46245 * conform/data/complex.h-data: Likewise.
46246 * conform/data/cpio.h-data: Likewise.
46247 * conform/data/ctype.h-data: Likewise.
46248 * conform/data/dirent.h-data: Likewise.
46249 * conform/data/dlfcn.h-data: Likewise.
46250 * conform/data/errno.h-data: Likewise.
46251 * conform/data/fcntl.h-data: Likewise.
46252 * conform/data/float.h-data: Likewise.
46253 * conform/data/fmtmsg.h-data: Likewise.
46254 * conform/data/fnmatch.h-data: Likewise.
46255 * conform/data/ftw.h-data: Likewise.
46256 * conform/data/glob.h-data: Likewise.
46257 * conform/data/grp.h-data: Likewise.
46258 * conform/data/iconv.h-data: Likewise.
46259 * conform/data/inttypes.h-data: Likewise.
46260 * conform/data/langinfo.h-data: Likewise.
46261 * conform/data/libgen.h-data: Likewise.
46262 * conform/data/limits.h-data: Likewise.
46263 * conform/data/locale.h-data: Likewise.
46264 * conform/data/math.h-data: Likewise.
46265 * conform/data/monetary.h-data: Likewise.
46266 * conform/data/mqueue.h-data: Likewise.
46267 * conform/data/ndbm.h-data: Likewise.
46268 * conform/data/net/if.h-data: Likewise.
46269 * conform/data/netdb.h-data: Likewise.
46270 * conform/data/netinet/in.h-data: Likewise.
46271 * conform/data/nl_types.h-data: Likewise.
46272 * conform/data/poll.h-data: Likewise.
46273 * conform/data/pthread.h-data: Likewise.
46274 * conform/data/pwd.h-data: Likewise.
46275 * conform/data/regex.h-data: Likewise.
46276 * conform/data/sched.h-data: Likewise.
46277 * conform/data/search.h-data: Likewise.
46278 * conform/data/semaphore.h-data: Likewise.
46279 * conform/data/setjmp.h-data: Likewise.
46280 * conform/data/signal.h-data: Likewise.
46281 * conform/data/spawn.h-data: Likewise.
46282 * conform/data/stdarg.h-data: Likewise.
46283 * conform/data/stdio.h-data: Likewise.
46284 * conform/data/stdlib.h-data: Likewise.
46285 * conform/data/string.h-data: Likewise.
46286 * conform/data/strings.h-data: Likewise.
46287 * conform/data/stropts.h-data: Likewise.
46288 * conform/data/sys/ipc.h-data: Likewise.
46289 * conform/data/sys/mman.h-data: Likewise.
46290 * conform/data/sys/msg.h-data: Likewise.
46291 * conform/data/sys/resource.h-data: Likewise.
46292 * conform/data/sys/select.h-data: Likewise.
46293 * conform/data/sys/sem.h-data: Likewise.
46294 * conform/data/sys/shm.h-data: Likewise.
46295 * conform/data/sys/socket.h-data: Likewise.
46296 * conform/data/sys/stat.h-data: Likewise.
46297 * conform/data/sys/statvfs.h-data: Likewise.
46298 * conform/data/sys/time.h-data: Likewise.
46299 * conform/data/sys/timeb.h-data: Likewise.
46300 * conform/data/sys/times.h-data: Likewise.
46301 * conform/data/sys/types.h-data: Likewise.
46302 * conform/data/sys/uio.h-data: Likewise.
46303 * conform/data/sys/un.h-data: Likewise.
46304 * conform/data/sys/utsname.h-data: Likewise.
46305 * conform/data/sys/wait.h-data: Likewise.
46306 * conform/data/syslog.h-data: Likewise.
46307 * conform/data/tar.h-data: Likewise.
46308 * conform/data/termios.h-data: Likewise.
46309 * conform/data/utime.h-data: Likewise.
46310 * conform/data/utmpx.h-data: Likewise.
46311 * conform/data/varargs.h-data: Likewise.
46312 * conform/data/wchar.h-data: Likewise.
46313 * conform/data/wctype.h-data: Likewise.
46314 * conform/data/wordexp.h-data: Likewise.
46316 * include/stropts.h: New file.
46317 * include/uchar.h: New file.
46318 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46319 * include/assert.h: Likewise.
46320 * include/ctype.h: Likewise.
46321 * include/dirent.h: Likewise.
46322 * include/dlfcn.h: Likewise.
46323 * include/fcntl.h: Likewise.
46324 * include/fnmatch.h: Likewise.
46325 * include/glob.h: Likewise.
46326 * include/grp.h: Likewise.
46327 * include/libio.h: Likewise.
46328 * include/locale.h: Likewise.
46329 * include/math.h: Likewise.
46330 * include/net/if.h: Likewise.
46331 * include/netdb.h: Likewise.
46332 * include/netinet/in.h: Likewise.
46333 * include/pthread.h: Likewise.
46334 * include/pwd.h: Likewise.
46335 * include/regex.h: Likewise.
46336 * include/sched.h: Likewise.
46337 * include/search.h: Likewise.
46338 * include/setjmp.h: Likewise.
46339 * include/signal.h: Likewise.
46340 * include/stdio.h: Likewise.
46341 * include/stdlib.h: Likewise.
46342 * include/string.h: Likewise.
46343 * include/sys/cdefs.h: Likewise.
46344 * include/sys/mman.h: Likewise.
46345 * include/sys/msg.h: Likewise.
46346 * include/sys/resource.h: Likewise.
46347 * include/sys/select.h: Likewise.
46348 * include/sys/socket.h: Likewise.
46349 * include/sys/stat.h: Likewise.
46350 * include/sys/statvfs.h: Likewise.
46351 * include/sys/time.h: Likewise.
46352 * include/sys/times.h: Likewise.
46353 * include/sys/uio.h: Likewise.
46354 * include/sys/utsname.h: Likewise.
46355 * include/sys/wait.h: Likewise.
46356 * include/termios.h: Likewise.
46357 * include/time.h: Likewise.
46358 * include/ulimit.h: Likewise.
46359 * include/unistd.h: Likewise.
46360 * include/utime.h: Likewise.
46361 * include/wchar.h: Likewise.
46362 * include/wctype.h: Likewise.
46363 * include/wordexp.h: Likewise.
46365 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46367 * time/time.h: TIME_UTC must be a macro.
46368 Make timespec_get available for ISO C11 only as well.
46370 2012-02-24 Ulrich Drepper <drepper@gmail.com>
46372 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46373 Reported by Peng Haitao <penght@cn.fujitsu.com>.
46375 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46377 * configure.in: Use -o not -a in test for unsupported multi-arch.
46379 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46381 * manual/texinfo.tex: Update to version 2012-01-19.16.
46383 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46385 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46387 2012-02-24 Roland McGrath <roland@hack.frob.com>
46390 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46391 * manual/fdl-1.3.texi: New file.
46392 * manual/fdl-1.1.texi: File removed.
46395 * manual/libc.texinfo (FDL_VERSION): New @set.
46396 Use it for mention of FDL in cover text.
46397 (Documentation License): Use it in @include file name.
46399 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46400 Roland McGrath <roland@hack.frob.com>
46403 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46404 (not LONG_LONG_MAX and LONG_LONG_MIN.
46405 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46406 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
46408 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46410 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46414 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46415 manipulate bits before adding and subtracting TWO23[sx].
46416 * math/libm-test.inc (nearbyint_test): Add more tests.
46418 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46421 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46422 bits before adding and subtracting TWO23[sx].
46423 * math/libm-test.inc (rint_test): Add more tests.
46424 (rint_test_tonearest): Likewise.
46425 (rint_test_towardzero): Likewise.
46426 (rint_test_downward): Likewise.
46427 (rint_test_upward: Likewise.
46429 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46432 * include/stdc-predef.h: New file. Extracted from features.h.
46433 * include/features.h: Include stdc-predef.h.
46434 * Makefile (headers): Add stdc-predef.h.
46435 * CONFORMANCE (Compiler limitations): Update.
46437 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46439 * manual/libc.texinfo (VERSION, UPDATED): Revert.
46441 2012-02-21 David S. Miller <davem@davemloft.net>
46443 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46444 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46446 2012-02-20 David S. Miller <davem@davemloft.net>
46448 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46449 using a normal save/restore sequence, rather than allocating a
46450 dummy stack frame just to store a frame pointer and restore.
46451 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46453 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46455 * manual/install.texi: Fix stray word in line-wrapped comment.
46457 2012-02-20 David S. Miller <davem@davemloft.net>
46459 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46460 both binutils and gcc support GOTDATA.
46462 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46463 "rd %pc" in the PIC register setup sequences.
46465 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46466 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46467 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46468 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46469 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46470 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46471 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46472 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46473 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46474 (SYSCALL_ERROR_HANDLER): Likewise.
46475 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46476 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46477 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46478 (SYSCALL_ERROR_HANDLER): Likewise.
46480 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46481 (HAVE_GCC_GOTDATA): New.
46482 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46483 relocation support in both binutils and gcc.
46484 * sysdeps/sparc/elf/configure: Regenerate.
46486 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46487 * sysdeps/sparc/sparc32/elf/configure: Delete.
46488 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46489 * sysdeps/sparc/sparc64/elf/configure: Delete.
46490 * sysdeps/sparc/elf/configure.in: New file.
46491 * sysdeps/sparc/elf/configure: Generate.
46493 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46494 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46495 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46496 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46497 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46499 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46501 * manual/install.texi: Do not mention specific glibc version
46503 * manual/libc.texinfo (VERSION, UPDATED): Update.
46504 (@copying): Use @copyright{} and range of years.
46506 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46509 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46510 [crti.S not in sysdirs] (generated): Do not append.
46511 [crti.S not in sysdirs] (omit-deps): Likewise.
46512 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46513 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46514 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46515 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46516 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46518 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46519 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46520 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46521 * csu/defs.awk: Remove file.
46522 * sysdeps/generic/initfini.c: Likewise.
46523 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46525 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46528 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46530 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46531 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46532 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46533 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46534 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46535 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46537 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46538 (__EPOLL_PACKED): Define to empty if not defined by
46540 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46541 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46544 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46546 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46547 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46548 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46549 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46551 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46552 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46555 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46557 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46559 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46560 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46561 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46564 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46566 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46567 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46569 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46571 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46572 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46574 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46576 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46579 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46581 * math/w_acos.c: Use non-signaling floating-point comparisons.
46582 * math/w_acosf.c: Likewise.
46583 * math/w_acosh.c: Likewise.
46584 * math/w_acoshf.c: Likewise.
46585 * math/w_acoshl.c: Likewise.
46586 * math/w_acosl.c: Likewise.
46587 * math/w_asin.c: Likewise.
46588 * math/w_asinf.c: Likewise.
46589 * math/w_asinl.c: Likewise.
46590 * math/w_atanh.c: Likewise.
46591 * math/w_atanhf.c: Likewise.
46592 * math/w_atanhl.c: Likewise.
46593 * math/w_exp2.c: Likewise.
46594 * math/w_exp2f.c: Likewise.
46595 * math/w_exp2l.c: Likewise.
46596 * math/w_j0.c: Likewise.
46597 * math/w_j0f.c: Likewise.
46598 * math/w_j0l.c: Likewise.
46599 * math/w_j1.c: Likewise.
46600 * math/w_j1f.c: Likewise.
46601 * math/w_j1l.c: Likewise.
46602 * math/w_jn.c: Likewise.
46603 * math/w_jnf.c: Likewise.
46604 * math/w_log.c: Likewise.
46605 * math/w_log10.c: Likewise.
46606 * math/w_log10f.c: Likewise.
46607 * math/w_log10l.c: Likewise.
46608 * math/w_log2.c: Likewise.
46609 * math/w_log2f.c: Likewise.
46610 * math/w_log2l.c: Likewise.
46611 * math/w_logf.c: Likewise.
46612 * math/w_logl.c: Likewise.
46613 * math/w_sqrt.c: Likewise.
46614 * math/w_sqrtf.c: Likewise.
46615 * math/w_sqrtl.c: Likewise.
46616 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46617 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46618 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46619 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46620 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46622 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46625 * manual/string.texi (strnlen): Use correct parameter name in
46626 equivalent expression.
46628 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46631 * manual/users.texi (seteuid): Consistently use neweuid for
46634 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46637 * manual/nss.texi (Services in the NSS configuration): Correct
46638 list of services in example configuration file.
46640 2012-02-19 Nick Bowler <nbowler@draconx.ca>
46643 * manual/arith.texi: Remove statements about negative zero
46644 behaving identically to zero.
46646 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46649 * manual/install.texi: Do not document upgrading from libc5.
46651 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46654 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46656 2012-02-18 David S. Miller <davem@davemloft.net>
46658 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46659 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46660 %o7 across the call.
46661 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46663 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46664 SETUP_PIC_REG_LEAF.
46665 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46666 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46667 * sysdeps/sparc/crtn.S: Likewise.
46669 2012-02-17 Ulrich Drepper <drepper@gmail.com>
46671 * aout/Makefile: Remove.
46673 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46676 * manual/examples/argp-ex1.c (main): Format definition in GNU
46678 * manual/examples/argp-ex2.c (main): Likewise.
46679 * manual/examples/argp-ex3.c (main): Likewise.
46680 * manual/examples/argp-ex4.c (main): Likewise.
46681 * manual/examples/longopt.c (main): Use new-style prototype
46683 * manual/examples/strncat.c (main): Specify return type and use
46684 (void) for arguments.
46685 * manual/examples/subopt.c (main): Use char **argv argument.
46687 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46690 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46693 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46696 * manual/string.texi (strchr): Change when strchrnul is
46699 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46702 * manual/locale.texi (setlocale): Document LOCPATH.
46704 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46707 * manual/process.texi (execle): Move @dots{} before last argument.
46709 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
46712 * manual/charset.texi (Generic Charset Conversion): Fix typo
46713 (LC_TYPE -> LC_CTYPE).
46715 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46718 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46719 (scalbnf): Likewise.
46720 (scalbnl): Likewise.
46721 (scalbln): Likewise.
46722 (scalblnf): Likewise.
46723 (scalblnl): Likewise.
46724 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46725 (vwarnx): Likewise.
46728 * manual/filesys.texi (telldir): Use braces around return type.
46729 * manual/llio.texi (mmap): Add space after comma.
46730 (mmap64): Likewise.
46731 * manual/math.texi (jn): Use @var{} on parameter names.
46737 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46739 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46741 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46742 (sched_get_priority_max): Likewise.
46743 * manual/signal.texi (sigvec): Add space after comma.
46744 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46746 (if_indextoname): Likewise.
46747 (if_freenameindex): Likewise.
46748 (sendto): Use ',' instead of '.' in prototype.
46749 * manual/startup.texi (syscall): Use @dots{} instead of literal
46751 * manual/stdio.texi (__fpending): Separate initial words of
46752 paragraph from @deftypefun line.
46753 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46755 (vsyslog): Use @var{} on parameter names.
46756 * manual/terminal.texi (stty): Use @var{} on parameter names.
46757 * manual/users.texi (getutmp): Use @var{} on parameter names.
46758 (getutmpx): Likewise.
46760 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46763 * manual/stdio.texi (fopen): Fix typos in description of
46766 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46769 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46770 get clock_id definition.
46772 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
46775 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46776 (madvise): Cast every argument to void on its own.
46778 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46781 * manual/startup.texi (Exit Status): Fix typo.
46783 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46786 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46787 * manual/examples/argp-ex2.c: Likewise.
46788 * manual/examples/argp-ex3.c: Likewise.
46790 2012-02-16 Richard Henderson <rth@redhat.com>
46792 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46793 * sysdeps/s390/s390-32/initfini.c: Remove.
46794 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46795 * sysdeps/s390/s390-64/initfini.c: Remove.
46797 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46799 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46800 compiler output for sysdeps/generic/initfini.c.
46801 * sysdeps/sh/elf/initfini.c: Remove file.
46803 2012-02-16 David S. Miller <davem@davemloft.net>
46806 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46808 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46809 * sysdeps/sparc/crti.S: New file.
46810 * sysdeps/sparc/crtn.S: New file.
46811 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46812 * sysdeps/sparc/sparc64/Makefile: Likewise.
46814 2012-02-15 Mike Frysinger <vapier@gentoo.org>
46817 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46819 2012-02-15 Roland McGrath <roland@hack.frob.com>
46822 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46824 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46825 (write, read, close): Likewise.
46826 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46828 2012-02-15 Joseph Myers <joseph@codesourcery.com>
46830 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46831 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46832 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46833 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46835 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46836 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46839 2012-02-14 Marek Polacek <polacek@redhat.com>
46841 * sysdeps/x86_64/crti.S: New file.
46842 * sysdeps/x86_64/crtn.S: New file.
46843 * sysdeps/x86_64/elf/initfini.c: Remove file.
46845 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46847 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46848 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46849 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46850 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46852 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46853 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46856 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46858 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46859 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46860 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46861 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46863 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46864 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46867 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46869 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46870 __feraiseexcept instead of feraiseexcept.
46872 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46873 nanosleep invocations.
46874 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46875 strings, and add error checking for a nanosleep invocations.
46877 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46879 Replace FSF snail mail address with URLs, as per GNU coding standards.
46880 Most of the snail mail addresses were wrong anyway, and omitting
46881 them makes the source code easier to maintain. Almost all of the
46882 changes are to license notices and to locale LC_IDENTIFICATION
46883 addresses, except for this one:
46884 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46885 not its snail mail address.
46887 2012-02-09 Richard Henderson <rth@twiddle.net>
46889 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46890 of kernel-features.h.
46892 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46894 2012-02-08 Marek Polacek <polacek@redhat.com>
46896 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46897 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46898 * sysdeps/gnu/_G_config.h: Likewise.
46899 * sysdeps/generic/_G_config.h: Likewise.
46901 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46903 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46907 * sysdeps/powerpc/powerpc32/crti.S: New file.
46908 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46909 * sysdeps/powerpc/powerpc64/crti.S: New file.
46910 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46912 * Makeconfig (have-initfini): Don't set.
46913 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46914 * configure.in (nopic_initfini): Don't substitute.
46915 * config.h.in (HAVE_INITFINI): Don't #undef.
46916 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46917 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46919 2012-02-08 Joseph Myers <joseph@codesourcery.com>
46921 Support crti.S and crtn.S provided directly by architectures.
46922 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46923 [crti.S in sysdirs] (omit-deps): Likewise.
46924 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46925 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46926 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46927 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46928 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46929 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46930 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46931 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46932 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46933 compiler output for sysdeps/generic/initfini.c.
46934 * sysdeps/i386/elf/Makefile: Remove file.
46935 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46937 2012-02-07 Marek Polacek <polacek@redhat.com>
46939 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46940 * sysdeps/gnu/_G_config.h: Likewise.
46941 * sysdeps/mach/hurd/_G_config.h: Likewise.
46943 2012-02-07 Marek Polacek <polacek@redhat.com>
46945 * math/Makefile (tests): Add tst-CMPLX2.
46946 * math/tst-CMPLX2.c: New file.
46948 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46950 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46952 * math/libm-test.inc (jn_test): Add missing L suffix.
46954 2012-02-06 Marek Polacek <polacek@redhat.com>
46956 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46957 * sysdeps/i386/fpu/e_powf.S: Likewise.
46958 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46959 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46960 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46961 * sysdeps/i386/fpu/e_pow.S: Likewise.
46962 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46963 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46964 * sysdeps/i386/fpu/s_expm1.S: Likewise.
46965 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46966 * sysdeps/i386/fpu/e_log2.S: Likewise.
46967 * sysdeps/i386/fpu/e_log2l.S: Likewise.
46968 * sysdeps/i386/fpu/e_scalb.S: Likewise.
46969 * sysdeps/i386/fpu/e_powl.S: Likewise.
46970 * sysdeps/i386/fpu/s_log1p.S: Likewise.
46971 * sysdeps/i386/fpu/e_log10f.S: Likewise.
46972 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46973 * sysdeps/i386/fpu/e_logl.S: Likewise.
46974 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46975 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46976 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46977 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46978 * sysdeps/i386/fpu/e_log2f.S: Likewise.
46979 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46980 * sysdeps/i386/fpu/e_log.S: Likewise.
46981 * sysdeps/i386/fpu/s_cexp.S: Likewise.
46982 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46983 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46984 * sysdeps/i386/fpu/e_logf.S: Likewise.
46985 * sysdeps/i386/fpu/e_log10l.S: Likewise.
46986 * sysdeps/i386/fpu/e_atanh.S: Likewise.
46987 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46988 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46989 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46990 * sysdeps/i386/fpu/e_log10.S: Likewise.
46991 * sysdeps/i386/fpu/s_frexp.S: Likewise.
46992 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46993 * sysdeps/i386/fpu/s_asinh.S: Likewise.
46994 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46995 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46996 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46997 * sysdeps/i386/asm-syntax.h: Likewise.
46998 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46999 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47000 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47001 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47002 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47003 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47004 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47005 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47006 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47007 * sysdeps/powerpc/sysdep.h: Likewise.
47008 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47009 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47011 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47014 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47016 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47018 * sysdeps/i386/sysdep.h: Include <features.h>.
47019 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47022 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47024 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47026 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47029 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47031 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47032 (SETUP_PIC_REG): Use GET_PC_THUNK.
47033 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47036 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47038 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47039 for non-PIC compilation.
47040 (SETUP_PIC_REG): Add .p2align directive.
47041 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47042 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47043 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47044 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47045 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47046 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47047 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47048 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47049 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47050 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47051 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47052 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47053 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47054 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47055 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47056 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47057 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47058 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47059 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47060 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47061 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47062 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47063 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47064 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47065 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47067 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47068 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47069 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47070 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47071 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47072 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47073 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47074 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47075 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47076 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47077 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47078 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47079 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47080 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47081 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47083 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47085 * math/tst-CMPLX.c: Include <stdio.h>.
47087 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47089 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47091 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47092 * sysdeps/sparc/bits/mathdef.h: Likewise.
47094 2012-01-31 Marek Polacek <polacek@redhat.com>
47096 * libio/libio.h: Don't define _PARAMS.
47097 * locale/programs/config.h: Don't define PARAMS.
47098 * stdlib/strtol_l.c: Likewise.
47099 (__strtol_l): Remove PARAMS from the prototype.
47101 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47103 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47104 names. Just use the correct names. Remove unnecessary wrapper
47106 * malloc/arena.c: Likewise.
47107 * malloc/hooks.c: Likewise.
47109 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47110 ARENA_TEST says not to. Simplify test for creation of a new arena.
47111 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47113 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47115 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47117 (update_get_addr): New function.
47118 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47119 GET_ADDR_MODULE parameter.
47121 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47123 * crypt/cert.c: Remove __STDC__ conditionals.
47124 * crypt/crypt-entry.c: Likewise.
47125 * crypt/crypt_util.c: Likewise.
47126 * libio/filedoalloc.c: Likewise.
47127 * libio/fileops.c: Likewise.
47128 * libio/genops.c: Likewise.
47129 * libio/iofclose.c: Likewise.
47130 * libio/iofdopen.c: Likewise.
47131 * libio/iofopen.c: Likewise.
47132 * libio/iofopen64.c: Likewise.
47133 * libio/iogetdelim.c: Likewise.
47134 * libio/iopopen.c: Likewise.
47135 * libio/obprintf.c: Likewise.
47136 * libio/oldfileops.c: Likewise.
47137 * libio/oldiofclose.c: Likewise.
47138 * libio/oldiofdopen.c: Likewise.
47139 * libio/oldiofopen.c: Likewise.
47140 * libio/oldiopopen.c: Likewise.
47141 * libio/wfiledoalloc.c: Likewise.
47142 * libio/wgenops.c: Likewise.
47143 * locale/programs/xmalloc.c: Likewise.
47144 * misc/syslog.c: Likewise.
47145 * stdio-common/xbug.c: Likewise.
47146 * string/memchr.c: Likewise.
47147 * string/memcmp.c: Likewise.
47148 * string/memrchr.c: Likewise.
47149 * string/rawmemchr.c: Likewise.
47150 * sysdeps/posix/getcwd.c: Likewise.
47151 * time/strftime_l.c: Likewise.
47153 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47155 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47156 * config.make.in (config-cflags-sse2avx): Define.
47157 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47160 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47162 * scripts/config.guess: Update from upstream config git repository.
47163 * scripts/config.sub: Likewise.
47165 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47167 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47169 (R_TILEPRO_*, R_TILEGX_*): New macros.
47171 * scripts/firstversions.awk: Fix bug in version range handling.
47173 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47175 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47177 * include/sys/epoll.h: New file.
47178 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47181 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47183 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47184 Avoid unnecessary __WORDSIZE == 64 test.
47185 (fmaxf): Use VEX format if possible.
47190 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47191 * math/math_private.h: Remove libc_fegetround* and
47193 * sysdeps/i386/configure.in: Check for -msse2avx.
47194 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47195 also if SSE2AVX is defined.
47196 Remove libc_fegetround* and libc_fesetround*.
47197 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47198 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47199 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47201 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47202 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47203 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47204 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47205 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47207 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47209 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47211 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47213 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47215 2012-01-27 Ulrich Drepper <drepper@gmail.com>
47218 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47220 * Makeconfig (libm): Define.
47221 * elf/Makefile: Add rules to build and run tst-relsort1.
47222 * elf/tst-relsort1.c: New file.
47223 * elf/tst-relsort1mod1.c: New file.
47224 * elf/tst-relsort1mod2.c: New file.
47226 2012-01-27 Joseph Myers <joseph@codesourcery.com>
47228 * math/s_ldexp.c: Remove __STDC__ conditionals.
47229 * math/s_ldexpf.c: Likewise.
47230 * math/s_ldexpl.c: Likewise.
47231 * math/s_nextafter.c: Likewise.
47232 * math/s_nexttowardf.c: Likewise.
47233 * math/s_significand.c: Likewise.
47234 * math/s_significandf.c: Likewise.
47235 * math/s_significandl.c: Likewise.
47236 * math/w_jnl.c: Likewise.
47237 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47238 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47239 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47240 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47241 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47242 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47243 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47244 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47245 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47246 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47247 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47248 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47249 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47250 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47251 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47252 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47253 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47254 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47255 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47256 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47257 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47258 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47259 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47260 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47261 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47262 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47263 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47264 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47265 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47266 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47267 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47268 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47269 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47270 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47271 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47272 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47273 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47274 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47275 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47276 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47277 * sysdeps/ieee754/k_standard.c: Likewise.
47278 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47279 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47280 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47281 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47282 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47283 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47284 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47285 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47286 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47287 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47288 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47289 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47290 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47291 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47292 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47293 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47294 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47295 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47296 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47297 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47298 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47299 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47300 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47301 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47302 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47303 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47304 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47305 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47306 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47307 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47308 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47309 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47310 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47311 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47312 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47313 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47314 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47315 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47316 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47317 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47318 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47319 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47320 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47321 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47322 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47323 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47324 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47325 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47326 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47327 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47328 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47329 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47330 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47331 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47332 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47333 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47334 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47335 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47336 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47337 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47338 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47339 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47340 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47341 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47342 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47343 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47344 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47345 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47346 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47347 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47348 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47349 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47350 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47351 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47352 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47353 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47354 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47355 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47356 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47357 * sysdeps/ieee754/s_matherr.c: Likewise.
47358 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47359 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47360 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47361 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47363 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47365 * crypt/md5.h: Remove __STDC__ conditionals.
47366 * libio/libioP.h: Likewise.
47367 * locale/programs/config.h: Likewise.
47368 * sysdeps/generic/sysdep.h: Likewise.
47369 * sysdeps/i386/asm-syntax.h: Likewise.
47370 * sysdeps/s390/asm-syntax.h: Likewise.
47371 * sysdeps/unix/sysdep.h: Likewise.
47372 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47373 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47375 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47377 * libio/libio.h: Remove __STDC__ conditionals.
47378 * malloc/obstack.h: Likewise.
47379 * math/complex.h: Likewise.
47380 * math/math.h: Likewise.
47381 * sysdeps/generic/_G_config.h: Likewise.
47382 * sysdeps/gnu/_G_config.h: Likewise.
47383 * sysdeps/mach/hurd/_G_config.h: Likewise.
47384 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47385 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47386 * sysdeps/sparc/bits/mathdef.h: Likewise.
47388 2012-01-26 Ulrich Drepper <drepper@gmail.com>
47391 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47392 Clean up HAS_* macros.
47393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47394 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47396 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47398 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47399 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47400 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47401 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47402 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47404 2012-01-25 Joseph Myers <joseph@codesourcery.com>
47406 * elf/tst-unique3.cc (gets): Remove declaration.
47407 * elf/tst-unique3lib.cc (gets): Likewise.
47408 * elf/tst-unique3lib2.cc (gets): Likewise.
47409 * elf/tst-unique4.cc (gets): Likewise.
47411 2012-01-24 Ulrich Drepper <drepper@gmail.com>
47413 * include/stdio.h: Add C++ protection. Add gets declarations and
47415 * debug/tst-chk1.c: Don't declare gets here.
47416 * stdio-common/tst-gets.c: Likewise.
47418 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47420 * posix/glob: Remove directory.
47422 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47424 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47426 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
47428 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47429 of the non-standard EPFNOSUPPORT.
47431 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
47433 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47434 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47435 ANYWHERE set to 1 only on KERN_NO_SPACE error.
47437 2012-01-21 Ulrich Drepper <drepper@gmail.com>
47439 * wcsmbs/uchar.h: Test __STDC_VERSION__.
47441 2012-01-20 Ulrich Drepper <drepper@gmail.com>
47443 * nscd/aicache.c (addhstaiX): Do not cache negative results of
47445 * nscd/grpcache.c (cache_addgr): Likewise.
47446 * nscd/hstcache.c (cache_addhst): Likewise.
47447 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47448 * nscd/pwdcache.c (cache_addpw): Likewise.
47449 * nscd/servicescache.c (cache_addserv): Likewise.
47451 2012-01-16 Ulrich Drepper <drepper@gmail.com>
47453 * malloc/malloc.c: Various cleanups.
47454 * malloc/hooks.c: Likewise.
47456 * stdlib/Makefile (tests): Add bug-fmtmsg1.
47457 * stdlib/bug-fmtmsg1.c: New file.
47459 * stdlib/fmtmsg.c (init): Add missing unlock.
47460 Patch by Peng Haitao <penght@cn.fujitsu.com>.
47462 2012-01-12 Marek Polacek <polacek@redhat.com>
47464 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47467 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47469 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47470 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47471 macro to ensure uniqueness of label name.
47472 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47473 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47475 2012-01-11 Ulrich Drepper <drepper@gmail.com>
47477 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47479 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47480 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47481 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47482 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47484 2012-01-10 Ulrich Drepper <drepper@gmail.com>
47486 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47488 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47489 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47490 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47492 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47494 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47495 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47496 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47497 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47499 * math/bits/math-finite.h: Add ldexp support.
47501 2012-01-10 Marek Polacek <polacek@redhat.com>
47503 * locale/programs/localedef.h (show_archive_content): Add noreturn
47506 2012-01-09 Ulrich Drepper <drepper@gmail.com>
47508 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47510 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47512 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47514 * io/Makefile (headers): Add bits/poll2.h.
47516 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
47518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47519 typo #include statement.
47521 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47523 * include/sys/cdefs.h: Define __attribute_alloc_size.
47524 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47525 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47526 * elf/pldd.c: Likewise.
47527 * iconv/iconv_charmap.c: Likewise.
47528 * iconv/iconvconfig.c: Likewise.
47529 * iconv/strtab.c: Likewise.
47530 * locale/programs/locale.c: Likewise.
47531 * locale/programs/localedef.h: Likewise.
47532 * locale/programs/simple-hash.c: Likewise.
47533 * nscd/nscd.h: Likewise.
47534 * nss/makedb.c: Likewise.
47535 * sysdeps/generic/ldconfig.h: Likewise.
47536 * locale/programs/localedef.c: Remove xmalloc prototype.
47537 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47539 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47541 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47544 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47546 * math/Makefile (tests): Add tst-CMPLX.
47547 * math/tst-CMPLX.c: New file.
47549 * math/complex.h (CMPLXL): Fix typo.
47551 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47552 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47554 * debug/tst-chk1.c: Add poll and ppoll tests.
47555 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47556 * include/sys/poll.h: Add hidden proto for ppoll.
47557 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47558 * sysdeps/mach/hurd/ppoll.c: Likewise.
47559 * io/ppoll.c: Likewise.
47560 * debug/poll_chk.c: New file.
47561 * debug/ppoll_chk.c: New file.
47562 * include/bits/poll2.h: New file.
47563 * io/bits/poll2.h: New file.
47566 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47568 * configure.in: static is always set to yes. Remove.
47569 * config.make.in: Don't set build-static.
47570 * Makeconfig: Remove use of build-static.
47571 * dlfcn/Makefile: Likewise.
47572 * elf/Makefile: Likewise.
47573 * math/Makefile: Likewise.
47574 * misc/Makefile: Likewise.
47575 * nptl/Makefile: Likewise.
47576 * sysdeps/mach/hurd/Makefile: Likewise.
47578 * configure.in: PWD_P is not used anymore.
47579 * config.make.in: Remove PWD_P entry.
47581 * configure.in: Remove last remnants of RANLIB.
47582 No need to check for signed size_t anymore.
47583 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47585 Remove __builtin_expect test because we require at least gcc 3.4.
47586 * aclocal.m4: Likewise.
47588 * wcsmbs/mbrtoc16.c: Implement using towc function.
47589 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47590 * wcsmbs/wcsmbsload.c: Likewise.
47591 * iconv/gconv_simple.c: Likewise.
47592 * iconv/gconv_int.h: Likewise.
47593 * iconv/gconv_builtin.h: Likewise.
47594 * iconv/iconv_prog.c: Remove CHAR16 handling.
47596 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47598 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47600 * configure.in: Remove --with-elf and --enable-bounded options.
47601 Dont set base_machine for ia64. More non-ELF conditions removed.
47602 Remove testing and setting of leading underscore information.
47603 * config.make.in (build-bounded): Set to no.
47604 * config.h.in: Remove NO_UNDERSCORES entry.
47605 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47607 * csu/start.c: Remove !NO_UNDERSCORE code.
47608 * locale/localeinfo.h: Likewise.
47609 * sysdeps/generic/machine-gmon.h: Likewise.
47610 * sysdeps/generic/sysdep.h: Likewise.
47611 * sysdeps/i386/sysdep.h: Likewise.
47612 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47613 * sysdeps/mach/sysdep.h: Likewise.
47614 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47615 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47616 * sysdeps/sh/sysdep.h: Likewise.
47617 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47618 * sysdeps/unix/i386/sysdep.S: Likewise.
47619 * sysdeps/unix/sparc/start.c: Likewise.
47620 * sysdeps/unix/sparc/sysdep.S: Likewise.
47621 * sysdeps/unix/sparc/sysdep.h: Likewise.
47622 * sysdeps/unix/start.c: Likewise.
47623 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47624 * sysdeps/x86_64/sysdep.h: Likewise.
47626 2012-01-07 Ulrich Drepper <drepper@gmail.com>
47629 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47631 * argp/argp-fmtstream.h: Use const instead __const.
47632 * argp/argp.h: Likewise.
47633 * assert/assert.h: Likewise.
47634 * bits/fenv.h: Likewise.
47635 * bits/sched.h: Likewise.
47636 * bits/sigset.h: Likewise.
47637 * bits/sigthread.h: Likewise.
47638 * catgets/nl_types.h: Likewise.
47639 * conform/data/pthread.h-data: Likewise.
47640 * crypt/crypt-private.h: Likewise.
47641 * crypt/crypt.h: Likewise.
47642 * crypt/crypt_util.c: Likewise.
47643 * ctype/ctype.h: Likewise.
47644 * debug/execinfo.h: Likewise.
47645 * debug/mbsnrtowcs_chk.c: Likewise.
47646 * debug/mbsrtowcs_chk.c: Likewise.
47647 * debug/wcsnrtombs_chk.c: Likewise.
47648 * debug/wcsrtombs_chk.c: Likewise.
47649 * debug/wcstombs_chk.c: Likewise.
47650 * dirent/dirent.h: Likewise.
47651 * dlfcn/dlfcn.h: Likewise.
47652 * elf/neededtest4.c: Likewise.
47653 * grp/grp.h: Likewise.
47654 * gshadow/gshadow.h: Likewise.
47655 * iconv/gconv.h: Likewise.
47656 * iconv/gconv_int.h: Likewise.
47657 * iconv/gconv_simple.c: Likewise.
47658 * iconv/iconv.h: Likewise.
47659 * iconv/loop.c: Likewise.
47660 * iconv/skeleton.c: Likewise.
47661 * include/aio.h: Likewise.
47662 * include/aliases.h: Likewise.
47663 * include/argz.h: Likewise.
47664 * include/arpa/inet.h: Likewise.
47665 * include/assert.h: Likewise.
47666 * include/dirent.h: Likewise.
47667 * include/dlfcn.h: Likewise.
47668 * include/execinfo.h: Likewise.
47669 * include/fcntl.h: Likewise.
47670 * include/fenv.h: Likewise.
47671 * include/glob.h: Likewise.
47672 * include/grp.h: Likewise.
47673 * include/libintl.h: Likewise.
47674 * include/mntent.h: Likewise.
47675 * include/netdb.h: Likewise.
47676 * include/pwd.h: Likewise.
47677 * include/rpc/netdb.h: Likewise.
47678 * include/sched.h: Likewise.
47679 * include/search.h: Likewise.
47680 * include/shadow.h: Likewise.
47681 * include/signal.h: Likewise.
47682 * include/stdio.h: Likewise.
47683 * include/stdlib.h: Likewise.
47684 * include/string.h: Likewise.
47685 * include/sys/socket.h: Likewise.
47686 * include/sys/stat.h: Likewise.
47687 * include/sys/statfs.h: Likewise.
47688 * include/sys/statvfs.h: Likewise.
47689 * include/sys/syslog.h: Likewise.
47690 * include/sys/time.h: Likewise.
47691 * include/sys/uio.h: Likewise.
47692 * include/time.h: Likewise.
47693 * include/unistd.h: Likewise.
47694 * include/utmp.h: Likewise.
47695 * include/wchar.h: Likewise.
47696 * include/wctype.h: Likewise.
47697 * inet/aliases.h: Likewise.
47698 * inet/arpa/inet.h: Likewise.
47699 * inet/netinet/ether.h: Likewise.
47700 * inet/netinet/in.h: Likewise.
47701 * intl/libintl.h: Likewise.
47702 * io/bits/fcntl2.h: Likewise.
47703 * io/fcntl.h: Likewise.
47704 * io/ftw.h: Likewise.
47705 * io/sys/poll.h: Likewise.
47706 * io/sys/stat.h: Likewise.
47707 * io/sys/statfs.h: Likewise.
47708 * io/sys/statvfs.h: Likewise.
47709 * io/utime.h: Likewise.
47710 * libio/bits/stdio.h: Likewise.
47711 * libio/bits/stdio2.h: Likewise.
47712 * libio/libio.h: Likewise.
47713 * libio/libioP.h: Likewise.
47714 * libio/stdio.h: Likewise.
47715 * locale/lc-ctype.c: Likewise.
47716 * locale/locale.h: Likewise.
47717 * login/utmp.h: Likewise.
47718 * malloc/arena.c: Likewise.
47719 * malloc/malloc.c: Likewise.
47720 * malloc/malloc.h: Likewise.
47721 * malloc/mcheck.c: Likewise.
47722 * malloc/mtrace.c: Likewise.
47723 * math/bits/mathcalls.h: Likewise.
47724 * math/fenv.h: Likewise.
47725 * math/math_private.h: Likewise.
47726 * misc/bits/error.h: Likewise.
47727 * misc/bits/syslog.h: Likewise.
47728 * misc/err.h: Likewise.
47729 * misc/error.h: Likewise.
47730 * misc/fstab.h: Likewise.
47731 * misc/mntent.h: Likewise.
47732 * misc/regexp.h: Likewise.
47733 * misc/search.h: Likewise.
47734 * misc/sgtty.h: Likewise.
47735 * misc/sys/mman.h: Likewise.
47736 * misc/sys/syslog.h: Likewise.
47737 * misc/sys/uio.h: Likewise.
47738 * misc/sys/xattr.h: Likewise.
47739 * misc/ttyent.h: Likewise.
47740 * nis/rpcsvc/ypclnt.h: Likewise.
47741 * nss/nss.h: Likewise.
47742 * posix/bits/unistd.h: Likewise.
47743 * posix/fnmatch.h: Likewise.
47744 * posix/glob.h: Likewise.
47745 * posix/sched.h: Likewise.
47746 * posix/spawn.h: Likewise.
47747 * posix/sys/wait.h: Likewise.
47748 * posix/unistd.h: Likewise.
47749 * posix/wordexp.h: Likewise.
47750 * pwd/pwd.h: Likewise.
47751 * resolv/netdb.h: Likewise.
47752 * resource/sys/resource.h: Likewise.
47753 * rt/aio.h: Likewise.
47754 * rt/bits/mqueue2.h: Likewise.
47755 * rt/mqueue.h: Likewise.
47756 * shadow/shadow.h: Likewise.
47757 * signal/signal.h: Likewise.
47758 * socket/send.c: Likewise.
47759 * socket/sendto.c: Likewise.
47760 * socket/sys/socket.h: Likewise.
47761 * stdio-common/printf.h: Likewise.
47762 * stdlib/bits/stdlib.h: Likewise.
47763 * stdlib/fmtmsg.h: Likewise.
47764 * stdlib/monetary.h: Likewise.
47765 * stdlib/stdlib.h: Likewise.
47766 * stdlib/ucontext.h: Likewise.
47767 * streams/stropts.h: Likewise.
47768 * string/argz.h: Likewise.
47769 * string/bits/string2.h: Likewise.
47770 * string/string.h: Likewise.
47771 * string/strings.h: Likewise.
47772 * sunrpc/rpc/auth.h: Likewise.
47773 * sunrpc/rpc/auth_des.h: Likewise.
47774 * sunrpc/rpc/clnt.h: Likewise.
47775 * sunrpc/rpc/netdb.h: Likewise.
47776 * sunrpc/rpc/pmap_clnt.h: Likewise.
47777 * sunrpc/rpc/xdr.h: Likewise.
47778 * sysdeps/generic/inttypes.h: Likewise.
47779 * sysdeps/generic/net/if.h: Likewise.
47780 * sysdeps/generic/sys/swap.h: Likewise.
47781 * sysdeps/gnu/net/if.h: Likewise.
47782 * sysdeps/gnu/utmpx.h: Likewise.
47783 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47784 * sysdeps/i386/i486/bits/string.h: Likewise.
47785 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47786 * sysdeps/s390/bits/string.h: Likewise.
47787 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47788 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47789 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47790 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47791 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47792 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47793 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47794 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47795 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47796 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47797 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47798 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47799 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47800 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47801 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47802 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47803 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47804 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47805 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47806 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47807 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47808 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47809 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47810 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47811 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47812 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47813 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47814 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47815 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47816 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47817 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47818 * sysvipc/sys/ipc.h: Likewise.
47819 * sysvipc/sys/msg.h: Likewise.
47820 * sysvipc/sys/sem.h: Likewise.
47821 * sysvipc/sys/shm.h: Likewise.
47822 * termios/termios.h: Likewise.
47823 * time/sys/time.h: Likewise.
47824 * time/time.h: Likewise.
47825 * wcsmbs/bits/wchar2.h: Likewise.
47826 * wcsmbs/uchar.h: Likewise.
47827 * wcsmbs/wchar.h: Likewise.
47828 * wctype/wctype.h: Likewise.
47831 * Makeconfig: Remove all but ELF support including AIX support.
47832 * Makerules: Likewise.
47833 * config.h.in: Likewise.
47834 * config.make.in: Likewise.
47835 * configure: Likewise.
47836 * configure.in: Likewise.
47837 * csu/Makefile: Likewise.
47838 * csu/version.c: Likewise.
47839 * debug/Makefile: Likewise.
47840 * dlfcn/Makefile: Likewise.
47841 * elf/Makefile: Likewise.
47842 * extra-lib.mk: Likewise.
47843 * iconv/Makefile: Likewise.
47844 * include/libc-symbols.h: Likewise.
47845 * include/shlib-compat.h: Likewise.
47846 * resolv/Makefile: Likewise.
47847 * resolv/res_libc.c: Likewise.
47848 * rt/Makefile: Likewise.
47849 * sysdeps/i386/asm-syntax.h: Likewise.
47850 * sysdeps/i386/sysdep.h: Likewise.
47851 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47852 * sysdeps/mach/sysdep.h: Likewise.
47853 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47854 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47855 * sysdeps/s390/asm-syntax.h: Likewise.
47856 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47857 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47858 * sysdeps/sh/sysdep.h: Likewise.
47859 * sysdeps/unix/sparc/sysdep.h: Likewise.
47860 * sysdeps/wordsize-32/divdi3.c: Likewise.
47861 * sysdeps/x86_64/sysdep.h: Likewise.
47863 * argp/Versions: Remove _argp_unlock_xxx.
47866 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47867 * abilist/libBrokenLocale.abilist: Likewise.
47868 * abilist/libanl.abilist: Likewise.
47869 * abilist/libc.abilist: Likewise.
47870 * abilist/libcrypt.abilist: Likewise.
47871 * abilist/libdl.abilist: Likewise.
47872 * abilist/libm.abilist: Likewise.
47873 * abilist/libnsl.abilist: Likewise.
47874 * abilist/libpthread.abilist: Likewise.
47875 * abilist/libresolv.abilist: Likewise.
47876 * abilist/librt.abilist: Likewise.
47877 * abilist/libthread_db.abilist: Likewise.
47878 * abilist/libutil.abilist: Likewise.
47879 * abilist/libnss_db.abilist: New file.
47881 * scripts/abilist.awk: Add support for indirect functions.
47883 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47885 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47887 * shlib-versions: Remove entries for ports architectures.
47889 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47891 * elf/stackguard-macros.h: Remove support for IA-64.
47892 * elf/tst-auditmod1.c: Likewise.
47893 * sysdeps/generic/ldsodefs.h: Likewise.
47895 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47896 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47900 * configure.in: Remove --enable-omitfp support.
47902 * config.make.in: Likewise.
47903 * Makeconfig: Likewise.
47904 * manual/install.texi: Likewise.
47906 In case anyone cares, the IA-64 architecture could move to ports.
47907 * sysdeps/ia64/*: Removed.
47908 * sysdeps/unix/sysv/linux/ia64/*: Removed.
47909 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47912 * configure.in: Remove entries for unsupported architectures.
47915 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47916 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47918 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47919 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47920 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47921 fall back to using wcrtomb.
47922 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47923 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47925 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47926 * wcsmbs/tst-c16c32-1.c: New file.
47928 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47931 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47933 * elf/tst-unique3.cc: Add explicit declaration of gets.
47934 * elf/tst-unique3lib.cc: Likewise.
47935 * elf/tst-unique3lib2.cc: Likewise.
47936 * elf/tst-unique4.cc: Likewise.
47938 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47940 2012-01-06 Joseph Myers <joseph@codesourcery.com>
47943 * assert/assert.h (static_assert): Don't define for C++.
47944 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47945 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47947 2012-01-03 Ulrich Drepper <drepper@gmail.com>
47949 * iconv/loop.c (single loop): Fix assertion in storing of
47952 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47954 2012-01-01 Ulrich Drepper <drepper@gmail.com>
47956 * posix/getconf.c: Update copyright year.
47957 * nss/getent.c: Likewise.
47958 * nss/makedb.c: Likewise.
47959 * iconv/iconvconfig.c: Likewise.
47960 * iconv/iconv_prog.c: Likewise.
47961 * elf/ldconfig.c: Likewise.
47962 * elf/pldd.c: Likewise.
47963 * elf/sotruss.ksh: Likewise.
47964 * catgets/gencat.c: Likewise.
47965 * csu/version.c: Likewise.
47966 * elf/ldd.bash.in: Likewise.
47967 * elf/sprof.c (print_version): Likewise.
47968 * locale/programs/locale.c: Likewise.
47969 * locale/programs/localedef.c: Likewise.
47970 * login/programs/pt_chown.c: Likewise.
47971 * nscd/nscd.c (print_version): Likewise.
47972 * debug/xtrace.sh: Likewise.
47973 * malloc/memusage.sh: Likewise.
47974 * malloc/mtrace.pl: Likewise.
47975 * debug/catchsegv.sh: Likewise.
47977 2011-12-30 Jakub Jelinek <jakub@redhat.com>
47979 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47982 2011-12-24 Ulrich Drepper <drepper@gmail.com>
47985 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47986 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47988 * iconv/gconv_int.h: Likewise.
47989 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47990 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47991 from libc for GLIBC_2.16.
47992 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47993 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47994 * wcsmbs/uchar.h: Really define mbstate_t.
47995 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47996 * wcsmbs/c16rtomb.c: New file.
47997 * wcsmbs/mbrtoc16.c: New file.
47998 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47999 for C/POSIX locale.
48000 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48001 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48003 * wcsmbs/wchar.h: Add missing __restrict.
48005 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48008 * time/Makefile (routines): Add timespec_get.
48009 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48010 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48011 timespec for ISO C11.
48012 * time/timespec_get.c: New file.
48013 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48014 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48017 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48018 * stdlib/stdlib.h: Declare aligned_alloc.
48019 * Versions.def: Add GLIBC_2.16 for libc.
48020 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48023 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48026 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48030 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48033 * assert/assert.h (static_assert): Define.
48035 * version.h: Update for 2.16 development version.
48038 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48041 * version.h (RELEASE): Bump for 2.15 release.
48042 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48044 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48045 Patch by Marek Polacek <mpolacek@redhat.com>.
48047 * bits/byteswap.h: Protect long long constants with __extension__.
48048 * sysdeps/i386/bits/byteswap.h: Likewise.
48049 * sysdeps/ia64/bits/byteswap.h: Likewise.
48050 * sysdeps/s390/bits/byteswap.h: Likewise.
48051 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48053 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48056 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48057 destination buffer.
48058 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48060 2011-12-23 Marek Polacek <polacek@redhat.com>
48062 * elf/dl-addr.c (determine_info): Add inline keyword.
48063 * elf/tst-auditmod4b.c (check_avx): Likewise.
48064 * elf/tst-auditmod6b.c (check_avx): Likewise.
48065 * elf/tst-auditmod6c.c (check_avx): Likewise.
48066 * elf/tst-auditmod7b.c (check_avx): Likewise.
48068 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48070 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48073 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48076 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48077 processing for last bytes.
48079 2011-08-06 Bruno Haible <bruno@clisp.org>
48082 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48083 U+0385, not to U+1FEE.
48086 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48087 entry for U+00A5 U+0301.
48089 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48092 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48093 buffer for the output is too small.
48095 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48099 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48100 SSE flags if possible.
48102 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48105 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48106 processing for last bytes.
48108 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48110 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48111 (syscall-list-default-options, syscall-list-default-condition)
48112 (syscall-list-includes): Define.
48113 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48114 list of ABIs and options and #if conditions for each ABI. Do not
48115 handle common syscalls between ABIs specially.
48116 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48118 (syscall-list-variants, syscall-list-32bit-options)
48119 (syscall-list-32bit-condition, syscall-list-64bit-options)
48120 (syscall-list-64bit-condition): Define.
48121 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48122 (syscall-list-variants, syscall-list-32bit-options)
48123 (syscall-list-32bit-condition, syscall-list-64bit-options)
48124 (syscall-list-64bit-condition): Define.
48125 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48127 (syscall-list-variants, syscall-list-32bit-options)
48128 (syscall-list-32bit-condition, syscall-list-64bit-options)
48129 (syscall-list-64bit-condition): Define.
48130 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48132 (syscall-list-variants, syscall-list-32bit-options)
48133 (syscall-list-32bit-condition, syscall-list-64bit-options)
48134 (syscall-list-64bit-condition): Define.
48136 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48138 * locale/iso-639.def: Add brx entry.
48141 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48142 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48144 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48145 __feraiseexcept_renamed.
48147 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48150 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48151 EPOLLET with unsigned values.
48152 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48153 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48155 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48156 to large cancellation.
48157 * math/s_cacoshf.c: Likewise.
48158 * math/s_cacoshl.c: Likewise.
48160 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48164 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48165 * math/s_cacoshf.c: Likewise.
48166 * math/s_cacoshl.c: Likewise.
48168 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48171 * iconv/gconv.h: Define __GCONV_SWAP.
48172 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48173 * iconvdata/utf-16.c: Likewise.
48174 * iconvdata/utf-32.c: Likewise.
48176 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48179 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48180 numerator after shifting it by one limb.
48182 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48184 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48185 under [__USE_EXTERN_INLINES].
48187 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48190 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48192 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48194 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48195 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48197 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48198 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48199 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48200 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48201 for strncasecmp/strncasecmp_l compilation.
48202 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48203 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48205 2011-12-08 Marek Polacek <mpolacek@redhat.com>
48208 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48211 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48214 * time/tzfile.c (__tzfile_read): Check values from file header.
48216 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48218 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48219 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48220 * powerpc/powerpc32/dl-start.S: Likewise.
48221 * powerpc/powerpc32/elf/start.S: Likewise.
48222 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48223 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48224 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48225 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48226 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48227 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48228 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48229 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48230 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48231 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48232 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48233 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48234 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48235 * powerpc/powerpc32/memset.S: Likewise.
48236 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48237 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48238 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48239 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48240 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48241 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48242 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48243 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48244 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48245 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48246 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48247 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48248 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48250 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48252 * math/libm-test.inc: Added more nearbyint tests.
48253 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48254 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48255 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48256 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48258 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48260 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48263 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48265 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48266 Add wcscpy-ssse3 wcscpy-c.
48267 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48268 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48269 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48270 * sysdeps/x86_64/wcschr.S: New file.
48271 * sysdeps/x86_64/wcsrchr.S: New file.
48272 * string/test-strcmp.c: Remove checking of wcscmp function for
48274 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48275 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48276 wcsrchr-sse2 wcsrchr-c.
48277 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48278 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48279 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48280 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48281 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48282 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48283 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48284 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48285 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48286 * wcsmbc/wcschr.c (WCSCHR): New macro.
48288 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48290 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48291 * wcsmbs/test-wcsrchr.c: New file.
48292 * string/test-strrchr.c: Add wcsrchr support.
48294 * wcsmbs/test-wcscpy.c: New file.
48295 * string/test-strcpy.c: Add wcscpy support.
48298 2011-12-10 Ulrich Drepper <drepper@gmail.com>
48300 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48303 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48306 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48308 2011-12-04 Ulrich Drepper <drepper@gmail.com>
48310 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48311 Minor optimizations.
48313 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48314 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48315 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48317 2011-12-03 Ulrich Drepper <drepper@gmail.com>
48319 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48320 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48321 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48322 for gcc to avoid warnings.
48323 * inet/Makefile (tests): Add tst-checks.
48324 * inet/tst-checks.c: New file.
48326 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48329 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48332 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48333 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48335 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48337 2011-12-02 Ulrich Drepper <drepper@gmail.com>
48339 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48342 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48344 2011-11-29 Joseph Myers <joseph@codesourcery.com>
48346 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48347 conditional on GCC version.
48348 (__arch_compare_and_exchange_val_8_acq)
48349 (__arch_compare_and_exchange_val_16_acq)
48350 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48351 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48352 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48354 2011-12-02 Joseph Myers <joseph@codesourcery.com>
48356 * sysdeps/sh/backtrace.c: New file.
48358 2011-12-02 Andreas Schwab <schwab@redhat.com>
48360 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
48363 2011-12-01 Andreas Schwab <schwab@redhat.com>
48365 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48366 falling back to utime.
48368 2011-11-30 Andreas Schwab <schwab@redhat.com>
48370 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48371 expectations for float.
48373 2011-11-29 Andreas Schwab <schwab@redhat.com>
48375 * locale/weight.h (findidx): Add parameter len.
48376 * locale/weightwc.h (findidx): Likewise.
48377 * posix/fnmatch_loop.c (FCT): Adjust caller.
48378 * posix/regcomp.c (build_equiv_class): Likewise.
48379 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48380 * posix/regexec.c (check_node_accept_bytes): Likewise.
48381 * string/strcoll_l.c (STRCOLL): Likewise.
48382 * string/strxfrm_l.c (STRXFRM): Likewise.
48384 2011-11-17 Ulrich Drepper <drepper@gmail.com>
48386 * Makefile.in: Remove CVSOPT handling.
48387 * configure.in: Remove use of AC_REVISION.
48388 * iconvdata/Makefile (distribute): No need to filter out CVS.
48389 * scripts/list-sources.sh: Remove CVS, subversion and monotone
48392 2011-11-16 Andreas Schwab <schwab@redhat.com>
48394 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48395 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48396 [USE_AS_STRNCASECMP_L]: Likewise.
48397 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48398 NO_TLS_DIRECT_SEG_REFS.
48399 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48400 Fix argument offsets for non-PIC.
48401 [USE_AS_STRNCASECMP_L]: Likewise.
48402 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48403 NO_TLS_DIRECT_SEG_REFS.
48405 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48407 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48409 * locale/loadlocale.c (_nl_load_locale): Likewise.
48411 2011-11-15 Andreas Schwab <schwab@redhat.com>
48413 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48414 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48415 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48416 (SYSCALL_GETTIME): Set errno on error.
48418 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48419 count references to noai6ai_cached.
48421 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48423 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48425 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48426 FD_CLOEXEC for /proc/self/maps.
48428 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48429 FD_CLOEXEC for /proc/meminfo.
48431 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48434 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
48435 FD_CLOEXEC for given file.
48437 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48439 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48440 FD_CLOEXEC for /etc/hosts.
48441 (_gethtent): Likewise.
48443 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48445 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48446 cancellation and set FD_CLOEXEC for /etc/netgroup.
48448 * nss/nss_files/files-key.c (search): Don't allow cancellation when
48449 reading /etc/publickey.
48451 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48452 allow cancellation when reading /etc/group.
48454 * nss/nss_files/files-alias.c (internal_setent): Don't allow
48456 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
48458 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48459 when using data file.
48461 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48463 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48464 (write_nis_obj): Use "c" and "e" in fopen.
48466 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48468 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48470 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48472 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48474 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48477 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48479 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48481 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48483 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48484 file parsing and set FD_CLOEXEC.
48486 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48488 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48490 2011-11-14 Andreas Schwab <schwab@redhat.com>
48492 * malloc/arena.c (arena_get2): Don't call reused_arena when
48493 _int_new_arena failed.
48495 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48497 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48498 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48499 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48500 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48501 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48502 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48503 to compile strcasecmp and strncasecmp.
48504 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48505 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48509 2011-11-13 Ulrich Drepper <drepper@gmail.com>
48511 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48512 locale-defines.sym to gen-as-const-headers.
48513 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48514 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48515 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48516 to compile strcasecmp and strncasecmp.
48517 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48518 strcasecmp_l and strncasecmp_l.
48519 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48520 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48521 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48522 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48523 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48524 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48525 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48526 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48527 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48528 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48529 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48531 2011-11-12 Ulrich Drepper <drepper@gmail.com>
48533 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48534 result of SYSDEP_GETTIME_CPU to retval.
48535 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48536 parameter list to macro. Remove trailing semicolon. Adjust users.
48538 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48541 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48543 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48545 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48546 from unused variable.
48548 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48550 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48553 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48556 * sunrpc/rpc_prot.c (rejected): Fix case value.
48558 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48559 unsigned long long int to avoid warnings in shift.
48561 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48563 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48566 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48567 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48568 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48570 * nis/nis_table.c (nis_list): Use variable of correct type for
48571 result of __follow_path call.
48573 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48575 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48576 of math functions ceil, trunc, floor, round, and sqrt, when
48577 avaliable on the platform.
48578 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48580 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48581 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48582 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48584 2011-10-30 Marek Polacek <mpolacek@redhat.com>
48586 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48587 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48589 2011-11-11 Roland McGrath <roland@hack.frob.com>
48591 * include/unistd.h: Fix __readlink return type.
48592 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48594 2011-11-11 Ulrich Drepper <drepper@gmail.com>
48596 * stdlib/ucontext.h: Undo last change for makecontext.
48598 2011-11-11 Andreas Schwab <schwab@redhat.com>
48600 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48602 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48603 * setjmp/setjmp.h: Mark functions as non-leaf.
48604 * setjmp/bits/setjmp2.h: Likewise.
48605 * stdlib/ucontext.h: Likewise.
48607 2011-11-10 Andreas Schwab <schwab@redhat.com>
48609 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48610 (reused_arena): Don't check arena limit.
48611 (arena_get2): Atomically check arena limit.
48613 2011-11-08 Ulrich Drepper <drepper@gmail.com>
48615 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48616 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48618 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48621 2011-11-07 Andreas Schwab <schwab@redhat.com>
48623 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48624 handler when locking.
48626 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48627 Fix size of allocated buffer.
48629 2011-11-04 Andreas Schwab <schwab@redhat.com>
48632 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48633 declarations for long double functions.
48634 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48636 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48638 2011-11-03 Andreas Schwab <schwab@redhat.com>
48640 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48643 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48646 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48648 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48650 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48652 * include/alloca.h (stackinfo_alloca_round): Define.
48653 (extend_alloca): Use it.
48654 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48655 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48658 * scripts/check-local-headers.sh: Ignore libaudit.h.
48660 * nscd/Makefile (extra-objs): Make recursively expanded.
48662 2011-11-01 Ulrich Drepper <drepper@gmail.com>
48664 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48665 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48667 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48668 * posix/tst-rfc3484-2.c: Likewise.
48669 * posix/tst-rfc3484-3.c: Likewise.
48671 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48673 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48675 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48676 process_vm_writev from libc using GLIBC_2.15 version.
48678 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48680 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48682 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48685 2011-10-31 Ulrich Drepper <drepper@gmail.com>
48688 * nss/getent.c (initgroups_keys): Show error message in case no group
48691 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48692 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48693 __bump_nl_timestamp.
48694 * nscd/connections (nscd_init): When host database is served open
48695 netlink socket and request notification about configuration changes.
48696 (main_loop_poll): Track netlink file descriptor and bump timestamp
48697 in case data becomes available.
48698 (main_loop_epoll): Likewise.
48699 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48700 (database_pers_head): Add extra_data fileds.
48701 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48702 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48703 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48705 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48706 in6ai data, call __free_in6ai.
48707 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48708 Add -DHAVE_NETLINK.
48709 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48710 interface information. Reuse previous data if netlink timestamp
48712 (__bump_nl_timestamp): New function.
48713 (__free_in6ai): New function.
48715 2011-10-30 Ulrich Drepper <drepper@gmail.com>
48717 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48718 close_not_cancel_no_status here.
48719 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48721 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48724 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48727 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48728 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48729 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48731 2011-07-03 Andreas Jaeger <aj@suse.de>
48734 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48735 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48736 * math/libm-test.inc (sin_test): Add test case.
48738 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48741 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48742 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48744 * elf/chroot_canon.c (chroot_canon): Cleanups.
48746 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48749 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48750 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48752 * string/test-strchr.c: Make usable for strchrnul testing.
48753 * string/test-strchrnul.c: New file.
48754 * string/Makefile (strop-tests): Add strchrnul.
48756 * po/it.po: Update from translation team.
48757 * po/es.po: Likewise.
48759 2011-10-28 Ulrich Drepper <drepper@gmail.com>
48761 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48762 the three constants needed as parameters. Drop the others.
48763 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48764 __m128i_strloadu_tolower.
48765 Create and initialize variable zero and use it in all the places
48766 where _mm_setzero_si128 was used.
48768 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48769 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48770 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48771 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48773 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48774 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48775 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48776 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48777 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48778 __mpranred, __mptan.
48779 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48780 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48781 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48782 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48783 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48784 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48785 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48786 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48787 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48789 2011-10-28 Andreas Schwab <schwab@redhat.com>
48791 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48792 redefine if SHARED.
48793 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48795 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48796 wide char related routines to wcsmbs subdir.
48798 2011-10-27 Andreas Schwab <schwab@redhat.com>
48801 * misc/sys/cdefs.h (__THROWNL): Define.
48802 * posix/unistd.h: Use __THREADNL instead of __THREAD
48803 for memory synchronization functions.
48805 2011-10-26 Roland McGrath <roland@hack.frob.com>
48808 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48810 * manual/stdio.texi (Obstack Streams): Node removed.
48812 2011-10-26 Andreas Schwab <schwab@redhat.com>
48814 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48815 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48816 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48818 * math/math_private.h (math_force_eval): Allow non-addressable
48820 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48822 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48824 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48825 file is not needed.
48827 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48828 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48829 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48830 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48831 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48832 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48833 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48834 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48836 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48837 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48838 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48839 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48840 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48841 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48842 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48843 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48844 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48845 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48846 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48847 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48848 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48849 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48850 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48851 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48852 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48853 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48854 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48856 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48857 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48859 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48860 place. Use VEX encoding when compiling for AVX.
48862 2011-10-25 Andreas Schwab <schwab@redhat.com>
48864 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48865 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48867 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48869 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48871 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48872 useless if() expression.
48873 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48874 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48875 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48876 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48877 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48878 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48879 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48880 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48881 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48882 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48883 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48884 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48885 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48886 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48887 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48888 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48889 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48890 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48891 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48893 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48895 2011-10-25 Andreas Schwab <schwab@redhat.com>
48897 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48899 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48901 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48903 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48904 .text section. Avoid duplicate constants.
48905 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48906 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48907 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48908 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48909 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48910 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48911 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48912 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48913 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48914 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48915 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48916 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48917 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48918 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48919 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48920 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48921 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48922 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48923 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48924 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48925 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48926 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48927 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48928 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48929 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48930 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48931 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48932 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48933 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48934 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48935 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48936 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48937 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48938 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48939 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48940 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48941 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48942 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48943 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48944 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48945 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48946 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48947 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48948 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48949 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48951 2011-10-24 Ulrich Drepper <drepper@gmail.com>
48953 * sysdeps/x86_64/dla.h: Move to ...
48954 * sysdeps/x86_64/fpu/dla.h: ...here.
48955 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48956 situations. Use __builtin_fma only for gcc 4.6 and up.
48958 * config.make.in: Add have-mfma4 entry.
48959 * configure.in: Substitute libc_cv_cc_fma4.
48960 * math/Makefile (dbl-only-routines): Add sincostab.
48961 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48962 Use __sincostab not sincos.
48963 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48965 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48966 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48967 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48968 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
48970 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
48971 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
48972 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48973 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48975 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48976 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48978 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
48979 define aliases when function name is a macro.
48980 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48981 sysdeps/ieee754/dbl-64/sincos.tbl.
48982 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48983 fma4-enabled routines.
48984 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48985 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48986 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48987 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48988 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48989 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48990 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48991 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48992 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48993 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48994 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48995 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48996 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48997 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48998 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48999 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49000 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49001 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49002 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49003 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49004 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49005 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49006 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49007 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49008 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49009 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49010 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49011 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49012 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49013 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49015 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49017 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49018 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49019 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49020 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49021 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49022 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49023 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49024 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49026 2011-10-24 Andreas Schwab <schwab@redhat.com>
49028 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49030 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49032 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49034 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49036 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49038 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49039 Remove unused variable magic_bits.
49040 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49042 * string/strnlen.c: Define and use STRNLEN macro.
49043 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49044 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49045 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49046 * wcsmbs/wcslen.c: Define and use WCSLEN.
49047 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49048 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49049 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49050 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49051 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49052 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49053 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49055 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49058 strnlen-sse2-no-bsf.
49059 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49060 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49061 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49062 Add strnlen support.
49063 (USE_AS_STRNLEN): New macro.
49064 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49065 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49066 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49067 * sysdeps/x86_64/wcslen.S: New file.
49069 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49071 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49072 XMM-moves are used for copying on small sizes.
49074 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49076 * wcsmbs/Makefile (strop-tests): Add wcschr.
49077 * wcsmbs/test-wcschr.c: New file.
49078 * string/test-strchr.c: Update.
49079 Add wcschr support.
49082 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49084 * wcsmbs/Makefile (strop-tests): Add wcslen.
49085 * wcsmbs/test-wcslen.c: New file.
49086 * string/test-strlen.c: Update.
49087 Add wcslen support.
49090 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49092 * po/it.po: Update from translation team.
49094 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49096 * sysdeps/x86_64/wcscmp.S: Update.
49097 Fix wrong comparison semantics.
49098 wcscmp shall use signed comparison not unsigned.
49099 Don't use substraction to avoid overflow bug.
49100 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49101 * wcsmbc/wcscmp.c: Likewise.
49102 * string/test-strcmp.c: Likewise.
49103 Add new tests to check cases with negative values.
49105 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49107 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49108 * sysdeps/x86_64/dla.h: ...here. New file.
49109 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49110 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49111 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49112 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49113 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49114 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49115 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49116 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49117 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49119 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49121 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49122 __ynl_finite aliases.
49124 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49126 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49128 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49130 [DLA_FMA] (EMULV): Use DLA_FMA.
49131 [DLA_FMA] (MUL12): Use EMULV.
49132 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49133 that are not needed.
49134 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49135 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49137 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49138 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49139 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49140 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49142 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49144 * math/s_nan.c: Undef __nan.
49145 * math/s_nanf.c: Undef __nanf.
49146 * math/s_nanl.c: Undef __nanl.
49147 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49150 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49152 * math/s_catan.c: Add branch predictions.
49153 * math/s_catanf.c: Likewise.
49154 * math/s_catanh.c: Likewise.
49155 * math/s_catanhf.c: Likewise.
49156 * math/s_catanhl.c: Likewise.
49157 * math/s_catanl.c: Likewise.
49158 * math/s_cexp.c: Likewise.
49159 * math/s_cexpf.c: Likewise.
49160 * math/s_cexpl.c: Likewise.
49161 * math/s_clog.c: Likewise.
49162 * math/s_clog10.c: Likewise.
49163 * math/s_clog10f.c: Likewise.
49164 * math/s_clog10l.c: Likewise.
49165 * math/s_clogf.c: Likewise.
49166 * math/s_clogl.c: Likewise.
49167 * math/s_csqrt.c: Likewise.
49168 * math/s_csqrtf.c: Likewise.
49169 * math/s_csqrtl.c: Likewise.
49170 * math/s_ctanf.c: Likewise.
49171 * math/s_ctanh.c: Likewise.
49172 * math/s_ctanhf.c: Likewise.
49173 * math/s_ctanhl.c: Likewise.
49174 * math/s_ctanl.c: Likewise.
49176 * math/math_private.h: Define __nan, __nanf, __nanl.
49177 * math/s_cacosh.c: Include <math_private.h>.
49178 * math/s_cacoshl.c: Likewise.
49179 * math/s_casinh.c: Likewise.
49180 * math/s_casinhf.c: Likewise.
49181 * math/s_casinhl.c: Likewise.
49182 * math/s_ccos.c: Rely entire on ccosh.
49183 * math/s_ccosf.c: Rely entire on ccoshf.
49184 * math/s_ccosl.c: Rely entirely on ccoshl.
49185 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49186 Remove tests for FE_INVALID.
49187 * math/s_ccoshf.c: Likewise.
49188 * math/s_ccoshl.c: Likewise.
49189 * math/s_csin.c: Likewise.
49190 * math/s_csinf.c: Likewise.
49191 * math/s_csinh.c Likewise.
49192 * math/s_csinhf.c: Likewise.
49193 * math/s_csinhl.c: Likewise.
49194 * math/s_csinl.c: Likewise.
49195 * math/s_ctan.c: Likewise.
49196 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49197 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49198 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49200 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49202 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49203 compilation problems.
49205 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49208 2011-10-20 Ulrich Drepper <drepper@gmail.com>
49210 * sysdeps/i386/configure.in: Test for -mfma4 option.
49211 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49212 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49213 COMMON_CPUID_INDEX_80000001.
49214 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49215 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49216 use it if FMA3 is not supported.
49217 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49219 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49220 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49222 2011-10-20 Andreas Schwab <schwab@redhat.com>
49225 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49226 it would create a cycle with a link time dependency.
49228 2011-10-19 Ulrich Drepper <drepper@gmail.com>
49230 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49232 * string/Makefile (strop-tests): Add rawmemchr.
49233 * string/test-rawmemchr.c: New file.
49235 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49236 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49237 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49238 when compiling str{,n}casecmp and when AVX is available. Hook up
49239 new optimized code in initializers.
49241 2011-10-19 Andreas Schwab <schwab@redhat.com>
49243 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49244 __feraiseexcept instead of feraiseexcept.
49246 2011-10-18 Ulrich Drepper <drepper@gmail.com>
49248 * math/math_private.h: Define defaults for libc_fetestexcept and
49250 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49251 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49252 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49253 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49254 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49255 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49256 libc_fetestexcept and libc_feupdateenv.
49258 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49259 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49260 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49261 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49262 libc_feholdexcept_setround.
49264 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49265 Add s_nearbyint-c and s_nearbyintf-c.
49266 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49267 nearbyintf inlines.
49268 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49269 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49270 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49271 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49273 * math/math_private.h: Define defaults for libc_fegetround,
49274 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49275 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49276 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49277 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49278 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49279 standard functions.
49280 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49281 Remove comments and hacks for old compiler versions.
49282 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49283 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49284 libc_feholdexceptl.
49286 2011-10-18 Andreas Schwab <schwab@redhat.com>
49288 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49289 (__feraiseexcept_renamed): Add __NTH.
49290 (feraiseexcept): Add __NTH. Rename local variables to fix
49291 namespace violations.
49293 2011-10-17 Ulrich Drepper <drepper@gmail.com>
49295 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49297 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49299 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49300 recently added interfaces.
49301 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49303 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49304 about macro parameter expansion.
49306 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49307 __NO_MATH_INLINES is defined. Cleanups.
49309 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49310 and __floorf is target has SSE4.1.
49311 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49312 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49313 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49314 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49316 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49318 (floorf): Likewise.
49320 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49322 2011-10-17 Andreas Schwab <schwab@redhat.com>
49324 * misc/sys/cdefs.h: Fix last change.
49326 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49329 2011-10-16 Ulrich Drepper <drepper@gmail.com>
49331 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49333 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49334 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49335 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49336 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49337 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49338 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49339 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49340 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49341 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49342 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49343 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49344 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49345 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49346 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49347 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49348 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49349 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49350 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49351 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49352 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49353 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49354 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49356 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49357 ceil, ceilf, floor, floorf.
49359 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49360 Perform IRELATIVE relocations last.
49362 * elf/do-rel.h: Add another parameter nrelative, replacing the
49363 local variable with the same name. Change name of the function
49364 to end in Rel or Rela (uppercase).
49365 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49366 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
49367 elf_dynamic_do_##reloc function.
49369 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49371 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49372 is sufficient, at least on modern CPUs.
49374 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49376 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49377 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49379 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49381 * math/bits/math-finite.h: Add entries for exp.
49382 * math/e_expl.c: Add __*_finite alias.
49383 * sysdeps/i386/fpu/e_exp.S: Likewise.
49384 * sysdeps/i386/fpu/e_expf.S: Likewise.
49385 * sysdeps/i386/fpu/e_expl.c: Likewise.
49386 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49387 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49388 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49389 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49390 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49391 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49392 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49394 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49395 is sufficient, at least on modern CPUs.
49397 * ctype/ctype-info.c (__ctype_init): Define.
49398 * include/ctype.h (__ctype_init): Declare.
49399 (__ctype_b_loc): The variable is always initialized.
49400 (__ctype_toupper_loc): Likewise.
49401 (__ctype_tolower_loc): Likewise.
49402 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49403 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49405 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
49407 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49409 * configure.in: Also look in $cxxmachine/include for C++ system
49412 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49414 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49415 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49416 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49417 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
49418 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49419 (USE_AS_WMEMCMP): New macro.
49421 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49422 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49423 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49424 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49425 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49426 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49427 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49428 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49429 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49430 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49431 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49432 (USE_AS_WMEMCMP): New macro.
49433 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49434 * sysdeps/string/test-memcmp.c: Update.
49435 Fix simple_wmemcmp.
49437 * wcsmbs/wmemcmp.c: Update.
49438 (WMEMCMP): New macro.
49441 2011-10-12 Andreas Jaeger <aj@suse.de>
49444 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49446 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49448 * libio/iofwide.c (do_length): Avoid warning.
49450 * ctype/ctype.h (__isctype_f): Add missing __THROW.
49452 2011-10-14 Ulrich Drepper <drepper@gmail.com>
49454 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49456 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49457 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49458 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49459 * sysdeps/i386/i686/fpu/e_log.S: New file.
49460 * sysdeps/i386/i686/fpu/e_logf.S: New file.
49461 * sysdeps/i386/i686/fpu/e_logl.S: New file.
49463 * ctype/ctype.h: Add support for inlined isXXX functions when
49464 compiling C++ code.
49466 2011-10-14 Andreas Schwab <schwab@redhat.com>
49468 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49470 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49472 2011-10-13 Roland McGrath <roland@hack.frob.com>
49475 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49477 2011-10-13 Andreas Schwab <schwab@redhat.com>
49479 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49480 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49483 * sysdeps/x86_64/memrchr.S: Check for zero size.
49485 * string/stratcliff.c: Add memrchr tests.
49487 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49489 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49490 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49491 rawmemchr-sse2 rawmemchr-sse2-bsf.
49492 * sysdeps/i386/i686/multiarch/memchr.S: New file.
49493 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49494 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49495 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49496 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49497 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49498 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49499 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49500 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49501 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49502 * string/memrchr.c (MEMRCHR): New macro.
49504 2011-10-12 Ulrich Drepper <drepper@gmail.com>
49506 Add integration with gcc's -ffinite-math-only and optimize wrapper
49508 * Versions.def: Define GLIBC_2.15 version for libm.
49509 * math/Makefile (headers): Add bits/math-finite.h.
49510 * math/bits/math-finite.h: New file.
49511 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49512 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49513 * math/e_acoshl.c: Add __*_finite alias.
49514 * math/e_acosl.c: Likewise.
49515 * math/e_asinl.c: Likewise.
49516 * math/e_atan2l.c: Likewise.
49517 * math/e_atanhl.c: Likewise.
49518 * math/e_coshl.c: Likewise.
49519 * math/e_exp10.c: Likewise.
49520 * math/e_exp10f.c: Likewise.
49521 * math/e_exp10l.c: Likewise.
49522 * math/e_exp2l.c: Likewise.
49523 * math/e_fmodl.c: Likewise.
49524 * math/e_gammal_r.c: Likewise.
49525 * math/e_hypotl.c: Likewise.
49526 * math/e_j0l.c: Likewise.
49527 * math/e_j1l.c: Likewise.
49528 * math/e_jnl.c: Likewise.
49529 * math/e_lgammal_r.c: Likewise.
49530 * math/e_log10l.c: Likewise.
49531 * math/e_log2l.c: Likewise.
49532 * math/e_logl.c: Likewise.
49533 * math/e_powl.c: Likewise.
49534 * math/e_sinhl.c: Likewise.
49535 * math/e_sqrtl.c: Likewise.
49536 * math/e_scalb.c: Completely rewritten and optimized.
49537 * math/e_scalbf.c: Likewise.
49538 * math/e_scalbl.c: Likewise.
49539 * math/w_acos.c: Likewise.
49540 * math/w_acosf.c: Likewise.
49541 * math/w_acosl.c: Likewise.
49542 * math/w_acosh.c: Likewise.
49543 * math/w_acoshf.c: Likewise.
49544 * math/w_acoshl.c: Likewise.
49545 * math/w_asin.c: Likewise.
49546 * math/w_asinf.c: Likewise.
49547 * math/w_asinl.c: Likewise.
49548 * math/w_atan2.c: Likewise.
49549 * math/w_atan2f.c: Likewise.
49550 * math/w_atan2l.c: Likewise.
49551 * math/w_atanh.c: Likewise.
49552 * math/w_atanhf.c: Likewise.
49553 * math/w_atanhl.c: Likewise.
49554 * math/w_exp10.c: Likewise.
49555 * math/w_exp10f.c: Likewise.
49556 * math/w_exp10l.c: Likewise.
49557 * math/w_fmod.c: Likewise.
49558 * math/w_fmodf.c: Likewise.
49559 * math/w_fmodl.c: Likewise.
49560 * math/w_j0.c: Likewise.
49561 * math/w_j0f.c: Likewise.
49562 * math/w_j0l.c: Likewise.
49563 * math/w_j1.c: Likewise.
49564 * math/w_j1f.c: Likewise.
49565 * math/w_j1l.c: Likewise.
49566 * math/w_jn.c: Likewise.
49567 * math/w_jnf.c: Likewise.
49568 * math/w_log.c: Likewise.
49569 * math/w_logf.c: Likewise.
49570 * math/w_logl.c: Likewise.
49571 * math/w_log10.c: Likewise.
49572 * math/w_log10f.c: Likewise.
49573 * math/w_log10l.c: Likewise.
49574 * math/w_log2.c: Likewise.
49575 * math/w_log2f.c: Likewise.
49576 * math/w_log2l.c: Likewise.
49577 * math/w_pow.c: Likewise.
49578 * math/w_powf.c: Likewise.
49579 * math/w_powl.c: Likewise.
49580 * math/w_remainder.c: Likewise.
49581 * math/w_remainderf.c: Likewise.
49582 * math/w_remainderl.c: Likewise.
49583 * math/w_scalb.c: Likewise.
49584 * math/w_scalbf.c: Likewise.
49585 * math/w_scalbl.c: Likewise.
49586 * math/w_sqrt.c: Likewise.
49587 * math/w_sqrtf.c: Likewise.
49588 * math/w_sqrtl.c: Likewise.
49589 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49590 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49592 * math/math_private.h: Declare __kernel_standard_f.
49593 * math/w_cosh.c: Remove cruft and optimize a bit.
49594 * math/w_coshf.c: Likewise.
49595 * math/w_coshl.c: Likewise.
49596 * math/w_exp2.c: Likewise.
49597 * math/w_exp2f.c: Likewise.
49598 * math/w_exp2l.c: Likewise.
49599 * math/w_hypot.c: Likewise.
49600 * math/w_hypotf.c: Likewise.
49601 * math/w_hypotl.c: Likewise.
49602 * math/w_lgamma.c: Likewise.
49603 * math/w_lgamma_r.c: Likewise.
49604 * math/w_lgammaf.c: Likewise.
49605 * math/w_lgammaf_r.c: Likewise.
49606 * math/w_lgammal.c: Likewise.
49607 * math/w_lgammal_r.c: Likewise.
49608 * math/w_sinh.c: Likewise.
49609 * math/w_sinhf.c: Likewise.
49610 * math/w_sinhl.c: Likewise.
49611 * math/w_tgamma.c: Likewise.
49612 * math/w_tgammaf.c: Likewise.
49613 * math/w_tgammal.c: Likewise.
49614 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49615 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49616 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49617 Minor optimizations. Pretty printing. Remove cruft.
49618 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49619 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49620 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49621 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49622 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49623 * sysdeps/i386/fpu/e_asin.S: Likewise.
49624 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49625 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49626 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49627 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49628 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49629 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49630 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49631 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49632 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49633 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49634 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49635 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49636 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49637 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49638 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49639 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49640 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49641 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49642 * sysdeps/i386/fpu/e_log.S: Likewise.
49643 * sysdeps/i386/fpu/e_log10.S: Likewise.
49644 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49645 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49646 * sysdeps/i386/fpu/e_log2.S: Likewise.
49647 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49648 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49649 * sysdeps/i386/fpu/e_logf.S: Likewise.
49650 * sysdeps/i386/fpu/e_logl.S: Likewise.
49651 * sysdeps/i386/fpu/e_pow.S: Likewise.
49652 * sysdeps/i386/fpu/e_powf.S: Likewise.
49653 * sysdeps/i386/fpu/e_powl.S: Likewise.
49654 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49655 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49656 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49657 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49658 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49659 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49660 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49661 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49662 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49663 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49664 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49666 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49667 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49668 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49669 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49670 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49671 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49672 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49673 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49674 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49675 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49676 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49677 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49678 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49679 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49680 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49681 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49682 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49683 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49684 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49685 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49686 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49687 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49688 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49689 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49690 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49691 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49692 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49693 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49694 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49695 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49696 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49697 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49698 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49699 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49700 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49701 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49702 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49703 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49704 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49705 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49706 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49707 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49708 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49709 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49710 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49711 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49712 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49713 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49714 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49715 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49716 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49717 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49718 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49719 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49720 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49721 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49722 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49723 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49724 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49725 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49726 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49727 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49728 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49729 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49730 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49731 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49732 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49733 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49734 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49735 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49736 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49737 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49738 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49739 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49740 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49741 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49742 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49743 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49744 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49745 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49746 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49747 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49748 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49749 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49750 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49751 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49752 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49753 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49754 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49755 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49756 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49757 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49758 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49759 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49760 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49761 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49762 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49763 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49764 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49765 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49766 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49767 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49768 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49769 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49770 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49771 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49772 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49773 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49774 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49775 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49776 (__isnanf): Likewise.
49777 (__isinf_ns): Likewise.
49778 (__isinf_nsf): Likewise.
49779 (__finite): Likewise.
49780 (__finitef): Likewise.
49781 (__ieee754_sqrt): Define as macro.
49782 (__ieee754_sqrtf): Define as macro.
49783 (__ieee754_sqrtl): Define as macro.
49784 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49786 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49787 __FINITE_MATH_ONLY__ consistent.
49788 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49790 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49792 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49795 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49797 2011-10-09 Ulrich Drepper <drepper@gmail.com>
49799 * po/ja.po: Update from translation team.
49801 2011-10-08 Roland McGrath <roland@hack.frob.com>
49803 * locale/programs/locarchive.c (prepare_address_space): New function.
49804 (create_archive, enlarge_archive, open_archive): Use it.
49806 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49807 inside [SHARED], where it is used.
49809 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49811 * nss/getent.c (netgroup_keys): Remove unused variable.
49812 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49814 2011-10-08 Ulrich Drepper <drepper@gmail.com>
49816 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49817 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49818 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49819 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49820 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49821 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49822 * math/Makefile (libm-calls): Add s_isinf_ns.
49823 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49824 * math/multc3.c: Likewise.
49825 * math/s_casin.c: Likewise.
49826 * math/s_casinf.c: Likewise.
49827 * math/s_casinl.c: Likewise.
49828 * math/s_ccos.c: Likewise.
49829 * math/s_ccosf.c: Likewise.
49830 * math/s_ccosl.c: Likewise.
49831 * math/s_ctan.c: Likewise.
49832 * math/s_ctanf.c: Likewise.
49833 * math/s_ctanh.c: Likewise.
49834 * math/s_ctanhf.c: Likewise.
49835 * math/s_ctanhl.c: Likewise.
49836 * math/s_ctanl.c: Likewise.
49837 * math/w_fmod.c: Likewise.
49838 * math/w_fmodf.c: Likewise.
49839 * math/w_fmodl.c: Likewise.
49840 * math/w_remainder.c: Likewise.
49841 * math/w_remainderf.c: Likewise.
49842 * math/w_remainderl.c: Likewise.
49843 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49844 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49845 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49846 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49847 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49848 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49849 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49850 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49852 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49854 * stdio-common/printf_fphex.c: Likewise.
49855 * stdio-common/printf_size.c: Likewise.
49857 * math/e_exp10.c: Include math_private.h using <...> not "...".
49858 * math/e_exp10f.c: Likewise.
49859 * math/e_exp10l.c: Likewise.
49860 * math/e_exp2l.c: Likewise.
49861 * math/e_j0l.c: Likewise.
49862 * math/e_j1l.c: Likewise.
49863 * math/e_jnl.c: Likewise.
49864 * math/e_lgammal_r.c: Likewise.
49865 * math/e_rem_pio2l.c: Likewise.
49866 * math/e_scalb.c: Likewise.
49867 * math/e_scalbf.c: Likewise.
49868 * math/e_scalbl.c: Likewise.
49869 * math/k_cosl.c: Likewise.
49870 * math/k_sinl.c: Likewise.
49871 * math/k_tanl.c: Likewise.
49872 * math/s_cacoshf.c: Likewise.
49873 * math/s_catan.c: Likewise.
49874 * math/s_catanf.c: Likewise.
49875 * math/s_catanh.c: Likewise.
49876 * math/s_catanhf.c: Likewise.
49877 * math/s_catanhl.c: Likewise.
49878 * math/s_catanl.c: Likewise.
49879 * math/s_ccosh.c: Likewise.
49880 * math/s_ccoshf.c: Likewise.
49881 * math/s_ccoshl.c: Likewise.
49882 * math/s_cexp.c: Likewise.
49883 * math/s_cexpf.c: Likewise.
49884 * math/s_cexpl.c: Likewise.
49885 * math/s_clog.c: Likewise.
49886 * math/s_clog10.c: Likewise.
49887 * math/s_clog10f.c: Likewise.
49888 * math/s_clog10l.c: Likewise.
49889 * math/s_clogf.c: Likewise.
49890 * math/s_clogl.c: Likewise.
49891 * math/s_csin.c: Likewise.
49892 * math/s_csinf.c: Likewise.
49893 * math/s_csinh.c: Likewise.
49894 * math/s_csinhf.c: Likewise.
49895 * math/s_csinhl.c: Likewise.
49896 * math/s_csinl.c: Likewise.
49897 * math/s_csqrt.c: Likewise.
49898 * math/s_csqrtf.c: Likewise.
49899 * math/s_csqrtl.c: Likewise.
49900 * math/s_ctan.c: Likewise.
49901 * math/s_ctanf.c: Likewise.
49902 * math/s_ctanh.c: Likewise.
49903 * math/s_ctanhf.c: Likewise.
49904 * math/s_ctanhl.c: Likewise.
49905 * math/s_ctanl.c: Likewise.
49906 * math/s_ldexp.c: Likewise.
49907 * math/s_ldexpf.c: Likewise.
49908 * math/s_ldexpl.c: Likewise.
49909 * math/s_significand.c: Likewise.
49910 * math/s_significandf.c: Likewise.
49911 * math/s_significandl.c: Likewise.
49912 * math/w_acos.c: Likewise.
49913 * math/w_acosf.c: Likewise.
49914 * math/w_acosh.c: Likewise.
49915 * math/w_acoshf.c: Likewise.
49916 * math/w_acoshl.c: Likewise.
49917 * math/w_acosl.c: Likewise.
49918 * math/w_asin.c: Likewise.
49919 * math/w_asinf.c: Likewise.
49920 * math/w_asinl.c: Likewise.
49921 * math/w_atan2.c: Likewise.
49922 * math/w_atan2f.c: Likewise.
49923 * math/w_atan2l.c: Likewise.
49924 * math/w_atanh.c: Likewise.
49925 * math/w_atanhf.c: Likewise.
49926 * math/w_atanhl.c: Likewise.
49927 * math/w_cosh.c: Likewise.
49928 * math/w_coshf.c: Likewise.
49929 * math/w_coshl.c: Likewise.
49930 * math/w_dremf.c: Likewise.
49931 * math/w_exp10.c: Likewise.
49932 * math/w_exp10f.c: Likewise.
49933 * math/w_exp10l.c: Likewise.
49934 * math/w_exp2.c: Likewise.
49935 * math/w_exp2f.c: Likewise.
49936 * math/w_fmod.c: Likewise.
49937 * math/w_fmodf.c: Likewise.
49938 * math/w_fmodl.c: Likewise.
49939 * math/w_hypot.c: Likewise.
49940 * math/w_hypotf.c: Likewise.
49941 * math/w_hypotl.c: Likewise.
49942 * math/w_j0.c: Likewise.
49943 * math/w_j0f.c: Likewise.
49944 * math/w_j0l.c: Likewise.
49945 * math/w_j1.c: Likewise.
49946 * math/w_j1f.c: Likewise.
49947 * math/w_j1l.c: Likewise.
49948 * math/w_jn.c: Likewise.
49949 * math/w_jnf.c: Likewise.
49950 * math/w_jnl.c: Likewise.
49951 * math/w_lgamma.c: Likewise.
49952 * math/w_lgamma_r.c: Likewise.
49953 * math/w_lgammaf.c: Likewise.
49954 * math/w_lgammaf_r.c: Likewise.
49955 * math/w_lgammal.c: Likewise.
49956 * math/w_lgammal_r.c: Likewise.
49957 * math/w_log.c: Likewise.
49958 * math/w_log10.c: Likewise.
49959 * math/w_log10f.c: Likewise.
49960 * math/w_log10l.c: Likewise.
49961 * math/w_log2.c: Likewise.
49962 * math/w_log2f.c: Likewise.
49963 * math/w_log2l.c: Likewise.
49964 * math/w_logf.c: Likewise.
49965 * math/w_logl.c: Likewise.
49966 * math/w_pow.c: Likewise.
49967 * math/w_powf.c: Likewise.
49968 * math/w_powl.c: Likewise.
49969 * math/w_remainder.c: Likewise.
49970 * math/w_remainderf.c: Likewise.
49971 * math/w_remainderl.c: Likewise.
49972 * math/w_scalb.c: Likewise.
49973 * math/w_scalbf.c: Likewise.
49974 * math/w_scalbl.c: Likewise.
49975 * math/w_sinh.c: Likewise.
49976 * math/w_sinhf.c: Likewise.
49977 * math/w_sinhl.c: Likewise.
49978 * math/w_sqrt.c: Likewise.
49979 * math/w_sqrtf.c: Likewise.
49980 * math/w_sqrtl.c: Likewise.
49981 * math/w_tgamma.c: Likewise.
49982 * math/w_tgammaf.c: Likewise.
49983 * math/w_tgammal.c: Likewise.
49985 * po/ja.po: Update from translation team.
49987 2011-09-29 Andreas Jaeger <aj@suse.de>
49990 * sunrpc/netname.c (netname2host): Fix logic.
49994 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49996 * math/w_remainder.c (__remainder): Likewise.
49997 * math/w_remainderf.c (__remainderf): Likewise.
49998 * math/libm-test.inc (remainder_test): Add test cases.
50000 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50002 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50005 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50007 * string/test-memcmp.c: Avoid unncessary #defines.
50008 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50010 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50012 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50013 Use new sse2 version for core i3 - i7 as it's faster
50014 than sse42 version.
50015 (bit_Prefer_PMINUB_for_stringop): New.
50016 * sysdeps/x86_64/rawmemchr.S: Update.
50017 Replace with faster SSE2 version.
50018 * sysdeps/x86_64/memrchr.S: New file.
50019 * sysdeps/x86_64/memchr.S: Update.
50020 Replace with faster SSE2 version.
50022 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50024 * elf/dl-load.c (lose): Add cast to avoid warning.
50026 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50028 * po/ca.po: Update from translation team.
50030 * inet/getnetgrent_r.c: Hook up nscd.
50031 * nscd/Makefile (routines): Add nscd_netgroup.
50032 (nscd-modules): Add netgroupcache.
50033 (CFLAGS-netgroupcache.c): Define.
50034 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50035 (cache_search): Add const to second parameter.
50036 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50038 (dbs): Add netgrdb entry.
50039 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50040 (verify_persistent_db): Handle netgrdb.
50041 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50042 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50044 (netgroup_response_header): Define.
50045 (innetgroup_response_header): Define.
50046 (datahead): Add netgroup_response_header and innetgroup_response_header
50048 * nscd/nscd.conf: Add entries for netgroup cache.
50049 * nscd/nscd.h (dbtype): Add netgrdb.
50050 (_PATH_NSCD_NETGROUP_DB): Define.
50051 (netgroup_iov_disabled): Declare.
50052 (xmalloc, xcalloc, xrealloc): Move declarations here.
50053 (cache_search): Adjust prototype.
50054 Add netgroup-related prototypes.
50055 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50056 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50057 (__nscd_innetgr): Declare.
50058 * nscd/selinux.c (perms): Use access_vector_t as element type and
50059 add netgroup-related initializers.
50060 * nscd/netgroupcache.c: New file.
50061 * nscd/nscd_netgroup.c: New file.
50062 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50063 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50064 For four parameters use innetgr.
50065 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50066 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50067 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50068 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50070 * nscd/connections.c (register_traced_file): Don't register file
50071 for disabled databases.
50073 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50075 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50077 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50078 from tree and freeing node.
50080 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50082 * nss/nsswitch.c (__nss_database_lookup): Handle
50083 nss_parse_service_list out of memory case.
50085 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50087 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50088 out of memory case.
50090 2011-10-04 Andreas Schwab <schwab@redhat.com>
50092 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50093 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50095 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50096 elf_machine_rela, elf_machine_lazy_rel.
50097 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50098 (ELF_DYNAMIC_DO_REL): Likewise.
50099 (ELF_DYNAMIC_DO_RELA): Likewise.
50100 (ELF_DYNAMIC_RELOCATE): Likewise.
50101 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50102 to ELF_DYNAMIC_DO_REL.
50103 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50104 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50105 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50107 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50108 skip_ifunc, don't call ifunc function if non-zero.
50109 (elf_machine_rela): Likewise.
50110 (elf_machine_lazy_rel): Likewise.
50111 (elf_machine_lazy_rela): Likewise.
50112 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50113 (elf_machine_lazy_rel): Likewise.
50114 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50116 (elf_machine_lazy_rel): Likewise.
50117 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50119 (elf_machine_lazy_rel): Likewise.
50120 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50121 (elf_machine_lazy_rel): Likewise.
50122 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50123 (elf_machine_lazy_rel): Likewise.
50124 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50125 (elf_machine_lazy_rel): Likewise.
50126 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50127 (elf_machine_lazy_rel): Likewise.
50128 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50129 (elf_machine_lazy_rel): Likewise.
50130 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50131 (elf_machine_lazy_rel): Likewise.
50133 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50135 * nss/nss_files/files-init.c (_nss_files_init): Use static
50136 initialization for all the *_traced_file variables.
50138 2011-09-28 Andreas Schwab <schwab@redhat.com>
50140 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50142 2011-09-27 Roland McGrath <roland@hack.frob.com>
50145 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50147 2011-09-27 Andreas Schwab <schwab@redhat.com>
50149 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50150 Reread the line before reparsing it.
50152 2011-09-26 Andreas Schwab <schwab@redhat.com>
50154 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50156 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50157 Maxim Kuvyrkov <maxim@codesourcery.com>
50158 Joseph Myers <joseph@codesourcery.com>
50160 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50161 if needed for __stack_chk_guard.
50163 2011-09-19 Roland McGrath <roland@hack.frob.com>
50165 * sysdeps/posix/spawni.c (script_execute): Always define it.
50166 It will be optimized away if unused.
50167 (maybe_script_execute): New function.
50168 (__spawni): Call it.
50170 * Makerules: Don't include tls.make.
50171 (config-tls): Always set to thread.
50172 * tls.make.c: File removed.
50174 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50176 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50177 * config.make.in (CPPFLAGS-config): New substituted variable.
50179 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50181 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50184 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50185 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50187 2011-09-15 Roland McGrath <roland@hack.frob.com>
50189 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50190 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50191 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50192 (CALL_FAIL): Likewise.
50193 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50194 (CALL_FAIL): Macro removed.
50195 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50197 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50199 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50200 for __FINITE_MATH_ONLY__ == 1.
50202 2011-09-15 Andreas Schwab <schwab@redhat.com>
50204 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50205 __ieee754_sqrt instead of sqrt.
50206 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50207 __ieee754_sqrtf instead of sqrtf.
50208 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50209 __floorf instead of floorf.
50210 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50211 __floorf, __truncf instead of floorf, truncf.
50213 2011-09-14 Ulrich Drepper <drepper@gmail.com>
50215 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50217 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50218 __extern_always_inline.
50219 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50222 2011-09-14 Andreas Schwab <schwab@redhat.com>
50224 * elf/rtld.c (dl_main): Also relocate in dependency order when
50225 doing symbol dependency testing.
50227 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50229 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50230 Always define `refsym'.
50232 2011-09-13 Andreas Schwab <schwab@redhat.com>
50234 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50235 (__FD_ELT): Renamed from __FDELT.
50236 * misc/bits/select2.h (__FD_ELT): Likewise.
50237 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50238 __FD_MASK instead of __FDELT, __FDMASK.
50239 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50241 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50244 * elf/Makefile (gen-ldd): Fix pattern.
50246 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50247 (init_tls): Likewise.
50249 2011-09-12 Ulrich Drepper <drepper@gmail.com>
50251 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50253 2011-09-12 Andreas Schwab <schwab@redhat.com>
50255 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50256 `struct cmsghdr *' instead of `void *'.
50257 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50260 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50262 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50264 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50265 ldd_rewrite_script.
50267 2011-09-11 Ulrich Drepper <drepper@gmail.com>
50269 * configure.in: Remove --with-tls option.
50270 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50271 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50272 out in case it is missing.
50273 * sysdeps/ia64/elf/configure.in: Likewise.
50274 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50275 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50276 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50277 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50278 * sysdeps/sh/elf/configure.in: Likewise.
50279 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50280 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50281 * sysdeps/x86_64/elf/configure.in: Likewise.
50282 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50283 * sysdeps/mach/hurd/tls.h: Likewise.
50286 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50289 * configure.in: Fix use of AC_INIT.
50291 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50293 2011-09-10 Ulrich Drepper <drepper@gmail.com>
50295 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50297 * malloc/hooks.c: Likewise.
50300 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50301 variables statically.
50302 (narenas): Initialize.
50303 (list_lock): Initialize.
50304 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50305 initializtion of main_arena and list_lock. Small cleanups.
50306 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50307 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50308 Add initializers to main_arena and mp_.
50309 (malloc_state): Remove pagesize member. Change all users to use
50312 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50313 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50314 is always initialized.
50316 * malloc/malloc.c: Removed unused configurations and dead code.
50317 * malloc/arena.c: Likewise.
50318 * malloc/hooks.c: Likewise.
50319 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50321 * include/tls.h: Removed. USE___THREAD must always be defined.
50322 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50323 * elf/dl-libc.c: Likewise.
50324 * elf/dl-tsd.c: Likewise.
50325 * include/errno.h: Likewise.
50326 * include/netdb.h: Likewise.
50327 * include/resolv.h: Likewise.
50328 * inet/herrno-loc.c: Likewise.
50329 * inet/herrno.c: Likewise.
50330 * malloc/arena.c: Likewise.
50331 * malloc/hooks.c: Likewise.
50332 * malloc/malloc.c: Likewise.
50333 * resolv/res-state.c: Likewise.
50334 * resolv/res_libc.c: Likewise.
50335 * sysdeps/i386/dl-machine.h: Likewise.
50336 * sysdeps/ia64/dl-machine.h: Likewise.
50337 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50338 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50339 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50340 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50341 * sysdeps/sh/dl-machine.h: Likewise.
50342 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50343 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50344 * sysdeps/unix/i386/sysdep.S: Likewise.
50345 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50346 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50347 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50348 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50349 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50350 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50351 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50352 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50353 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50354 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50355 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50356 * sysdeps/x86_64/dl-machine.h: Likewise.
50357 * tls.make.c: Likewise.
50359 * configure.in: Remove --with-__thread option. Make tests for
50360 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50361 tls_model attribute fail if no support is available. Remove
50363 * Makeconfig: Adjust for dropped configure option. All features are
50365 * Makerules: Likewise.
50366 * Versions.def: Likewise.
50367 * argp/argp-fmtstream.c: Likewise.
50368 * argp/argp-fmtstream.h: Likewise.
50369 * argp/argp-help.c: Likewise.
50370 * assert/assert.c: Likewise.
50371 * config.h.in: Likewise.
50372 * config.make.in: Likewise.
50373 * configure: Likewise.
50374 * configure.in: Likewise.
50375 * csu/Versions: Likewise.
50376 * csu/init.c: Likewise.
50377 * elf/tst-audit2.c: Likewise.
50378 * elf/tst-tls10.c: Likewise.
50379 * elf/tst-tls10.h: Likewise.
50380 * elf/tst-tls11.c: Likewise.
50381 * elf/tst-tls12.c: Likewise.
50382 * elf/tst-tls14.c: Likewise.
50383 * elf/tst-tlsmod11.c: Likewise.
50384 * elf/tst-tlsmod12.c: Likewise.
50385 * elf/tst-tlsmod13.c: Likewise.
50386 * elf/tst-tlsmod13a.c: Likewise.
50387 * elf/tst-tlsmod14a.c: Likewise.
50388 * elf/tst-tlsmod15b.c: Likewise.
50389 * elf/tst-tlsmod16a.c: Likewise.
50390 * elf/tst-tlsmod16b.c: Likewise.
50391 * elf/tst-tlsmod7.c: Likewise.
50392 * elf/tst-tlsmod8.c: Likewise.
50393 * elf/tst-tlsmod9.c: Likewise.
50394 * gmon/gmon.c: Likewise.
50395 * grp/fgetgrent_r.c: Likewise.
50396 * grp/putgrent.c: Likewise.
50397 * hurd/fopenport.c: Likewise.
50398 * include/libc-symbols.h: Likewise.
50399 * include/tls.h: Likewise.
50400 * intl/gettextP.h: Likewise.
50401 * intl/loadinfo.h: Likewise.
50402 * locale/global-locale.c: Likewise.
50403 * locale/localeinfo.h: Likewise.
50404 * mach/devstream.c: Likewise.
50405 * malloc/arena.c: Likewise.
50406 * malloc/set-freeres.c: Likewise.
50407 * misc/err.c: Likewise.
50408 * misc/getttyent.c: Likewise.
50409 * misc/mntent_r.c: Likewise.
50410 * posix/getopt.c: Likewise.
50411 * posix/wordexp.c: Likewise.
50412 * pwd/fgetpwent_r.c: Likewise.
50413 * resolv/Versions: Likewise.
50414 * resolv/res_hconf.c: Likewise.
50415 * shadow/fgetspent_r.c: Likewise.
50416 * shadow/putspent.c: Likewise.
50417 * stdio-common/printf_fphex.c: Likewise.
50418 * stdio-common/tmpfile.c: Likewise.
50419 * stdlib/abort.c: Likewise.
50420 * stdlib/fmtmsg.c: Likewise.
50421 * sunrpc/auth_unix.c: Likewise.
50422 * sunrpc/clnt_perr.c: Likewise.
50423 * sunrpc/clnt_tcp.c: Likewise.
50424 * sunrpc/clnt_udp.c: Likewise.
50425 * sunrpc/clnt_unix.c: Likewise.
50426 * sunrpc/openchild.c: Likewise.
50427 * sunrpc/svc_simple.c: Likewise.
50428 * sunrpc/svc_tcp.c: Likewise.
50429 * sunrpc/svc_udp.c: Likewise.
50430 * sunrpc/svc_unix.c: Likewise.
50431 * sunrpc/xdr.c: Likewise.
50432 * sunrpc/xdr_array.c: Likewise.
50433 * sunrpc/xdr_rec.c: Likewise.
50434 * sunrpc/xdr_ref.c: Likewise.
50435 * sunrpc/xdr_stdio.c: Likewise.
50437 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50439 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50441 2011-07-03 Andreas Jaeger <aj@suse.de>
50443 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50444 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50445 regenerate with gen-libm-tests.pl.
50447 2010-05-12 Petr Baudis <pasky@suse.cz>
50450 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50451 around j0() zero points by switching to j1().
50452 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50453 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50454 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50455 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50457 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50459 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50461 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50463 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50464 Patch in part by Pavel Roskin <proski@gnu.org>.
50467 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50469 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
50470 Free memory block if necessary.
50473 * libio/genops.c (INTDEF): For string streams the _lock pointer can
50474 be NULL. Don't lock in this case.
50476 2011-09-09 Roland McGrath <roland@hack.frob.com>
50478 * elf/elf.h (ELFOSABI_GNU): New macro.
50479 (ELFOSABI_LINUX): Define to that.
50481 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
50483 * string/strncat.c (strncat): Undef the symbol in case it has been
50484 defined in bits/string.h.
50486 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50488 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50490 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50493 2011-08-17 Andreas Jaeger <aj@suse.de>
50495 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50497 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50498 Ian Lance Taylor <iant@google.com>
50500 * math/libm-test.inc (lround_test): New testcase.
50501 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50503 2011-09-08 Ulrich Drepper <drepper@gmail.com>
50505 * Makefile: Remove support for automatic cvs check-ins.
50506 * Makerules: Likewise.
50507 * config.make.in: Likewise.
50508 * configure.in: Likewise.
50509 * intl/Makefile: Likewise.
50510 * locale/Makefile: Likewise.
50511 * po/Makefile: Likewise.
50512 * posix/Makefile: Likewise.
50513 * sysdeps/gnu/Makefile: Likewise.
50514 * sysdeps/mach/hurd/Makefile: Likewise.
50515 * sysdeps/sparc/sparc32/Makefile: Likewise.
50518 * posix/Makefile (bug-regex32-ENV): Define.
50519 Patch by John Stanley <jpsinthemix@verizon.net>.
50521 * misc/Makefile (headers): Add bits/select2.h.
50522 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50523 * misc/bits/select2.h: New file.
50524 * include/bits/select2.h: New file.
50525 * debug/Makefile (routines): Add fdelt_chk.
50526 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50527 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50529 * debug/fdelt_chk.c: New file.
50531 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50532 * wcsmbs/test-wmemcmp.c: Likewise.
50533 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50534 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50536 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50538 * string/Makefile (strop-tests): Add memcmp.
50539 * string/test-wmemcmp.c: New file.
50540 * string/test-memcmp.c: Add wmemcmp support.
50542 2011-09-08 Roland McGrath <roland@hack.frob.com>
50545 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50548 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50549 garbage value in a __mach_port_mod_refs call in the cases of the
50550 task-self and thread-self ports.
50552 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50554 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50556 2011-09-08 Andreas Schwab <schwab@redhat.com>
50558 * elf/dl-load.c (lose): Check for non-null L.
50560 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50562 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50564 * elf/dl-libc.c (dlerror_run): Pass back error code from
50568 * elf/dl-load.c (lose): Free l_origin if it is valid.
50570 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50572 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50573 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50574 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50575 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50576 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50577 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50579 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50581 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50582 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50583 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50584 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50585 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50586 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50587 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50588 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50589 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50590 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50592 2011-08-15 Alan Modra <amodra@gmail.com>
50595 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50596 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50597 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50598 ppc_mcount to static-only-routines.
50599 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50601 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50602 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50604 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50606 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50607 for finite and infinity parameters.
50609 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50611 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50612 and add nop instructions for throughput optimization.
50613 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50615 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50617 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50618 aligned copy for power7 with vector-scalar instructions.
50619 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50621 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50623 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50626 2011-09-07 Andreas Schwab <schwab@redhat.com>
50629 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50632 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50634 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50635 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50636 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50637 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50640 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50642 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50643 Forgot to demangle the pointer.
50645 * sysdeps/i386/sysdep.h: Define atom_text_section.
50646 * sysdeps/x86_64/sysdep.h: Likewise.
50647 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50648 section with atom_text_section.
50649 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50650 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50651 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50652 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50653 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50655 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50656 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50657 already be defined. Change to take two parameters and don't assign
50658 result to variable. Adjust all users.
50659 Define INTERNAL_GETTIME if not already defined.
50660 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50662 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50663 HAVE_CLOCK_GETTIME_VSYSCALL.
50664 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50666 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50667 gettimeofday vsyscall, just use time.
50669 2011-09-06 Andreas Schwab <schwab@redhat.com>
50671 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50674 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50676 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50678 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50680 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50681 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50682 syscall if possible.
50684 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50686 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50687 e_ident. Don't pass to find_mapsXX.
50688 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50690 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50692 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50693 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50694 * sysdeps/x86_64/multiarch/strchr.S: Update.
50695 Check bit_slow_BSF bit.
50696 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50697 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50698 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50700 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50703 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50705 (tryshell): Define.
50706 (__spawni): Change last parameter to be flag. Test
50707 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50708 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50709 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50710 * posix/spawni.c: Likewise.
50711 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50712 * posix/spawnp.c: Likewise. Change normal version to use
50713 SPAWN_XFLAGS_USE_PATH.
50714 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50715 SPAWN_XFLAGS_TRY_SHELL.
50718 * posix/glob.h: Remove gcc 1.x support.
50721 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50723 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50726 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50728 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50729 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50730 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50731 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50732 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50733 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50735 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50737 * sysdeps/x86_64/wcscmp.S: New file.
50739 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50740 wcscmp-c wcscmp-sse2
50741 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50742 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50743 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50744 * wcsmbs/wcscmp.c: Allow renaming.
50746 2011-09-05 David S. Miller <davem@davemloft.net>
50748 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50749 stack slot, rather than the struct return pointer slot.
50750 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50751 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50752 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50753 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50755 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50757 * po/ja.po: Update from translation team.
50760 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50761 kernel in 64-bit binaries.
50763 2011-09-01 David S. Miller <davem@davemloft.net>
50765 * elf/elf.h (HWCAP_SPARC_*): Move to..
50766 * sysdeps/sparc/sysdep.h: this new file and add new values.
50767 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50768 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50769 _DL_HWCAP_COUNT to 24.
50770 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50772 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50773 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50774 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50775 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50776 instead of magic constants.
50777 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50779 2011-08-31 David S. Miller <davem@davemloft.net>
50781 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50783 Reimplement to do errno handling inline.
50784 (SYSCALL_ERROR_HANDLER): New macro.
50785 (__SYSCALL_STRING): Do not do errno handling in asm.
50786 (__CLONE_SYSCALL_STRING): Delete.
50787 (__INTERNAL_SYSCALL_STRING): Delete.
50788 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50789 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50790 (PSEUDO): Reimplement to do errno handling inline.
50791 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50792 (SYSCALL_ERROR_HANDLER): New macro.
50793 (__SYSCALL_STRING): Do not do errno handling in asm.
50794 (__CLONE_SYSCALL_STRING): Delete.
50795 (__INTERNAL_SYSCALL_STRING): Delete.
50796 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50797 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50799 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50800 (inline_syscall*): Add 'err' argument.
50801 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50802 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50803 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50804 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50806 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50807 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50809 2011-08-30 Andreas Schwab <schwab@redhat.com>
50811 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50813 2011-08-29 Jiri Olsa <jolsa@redhat.com>
50815 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50818 2011-08-24 David S. Miller <davem@davemloft.net>
50820 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50822 2011-08-24 Andreas Schwab <schwab@redhat.com>
50824 * elf/Makefile: Add rules to build and run unload8 test.
50825 * elf/unload8.c: New file.
50826 * elf/unload8mod1.c: New file.
50827 * elf/unload8mod1x.c: New file.
50828 * elf/unload8mod2.c: New file.
50829 * elf/unload8mod3.c: New file.
50831 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50834 2011-08-23 David S. Miller <davem@davemloft.net>
50836 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50837 subtract stack bias.
50838 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50839 %sp not %fp in calculations.
50840 (_JMPBUF_UNWINDS_ADJ): Likewise.
50842 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50843 (aio_suspend): Call it to force an exception region around the
50844 AIO_MISC_WAIT() invocation.
50846 2011-08-23 Andreas Schwab <schwab@redhat.com>
50848 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50851 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50853 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50855 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50856 and <dl-machine.h>.
50857 (Elf64_FuncDesc): Remove.
50859 2011-08-22 David S. Miller <davem@davemloft.net>
50861 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50862 sigaltstack check, add missing cfi directives.
50863 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50864 missing cfi directives, and sigaltstack handling.
50866 2011-08-16 Andreas Schwab <schwab@redhat.com>
50869 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50870 object is seen twice.
50871 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50873 * elf/Makefile (distribute): Add tst-initorder2.c.
50874 (tests): Add tst-initorder2.
50875 (modules-names): Add tst-initorder2a tst-initorder2b
50876 tst-initorder2c tst-initorder2d. Add rules to build them.
50877 ($(objpfx)tst-initorder2.out): New rule.
50878 * elf/tst-initorder2.c: New file.
50879 * elf/tst-initorder2.exp: New file.
50881 2011-08-22 Andreas Schwab <schwab@redhat.com>
50883 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50885 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50886 dependencies back to end of function.
50888 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50889 $(elfobjdir)/ld.so.
50891 2011-08-21 Ulrich Drepper <drepper@gmail.com>
50893 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50894 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50895 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50896 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50897 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50898 of __vdso_gettimeofday.
50899 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50900 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50902 (_libc_vdso_platform_setup): Remove initialization of
50903 __vdso_gettimeofday and __vdso_time.
50905 2011-08-20 Ulrich Drepper <drepper@gmail.com>
50907 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50908 and fgetc_unlocked.
50909 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50912 * elf/dl-open.c (add_to_global): Report additions to the global scope
50913 for LD_DEBUG=scopes.
50914 (dl_open_worker): Also print scope of newly loaded dependencies.
50915 (_dl_show_scope): Indicate if there is no scope.
50918 * stdio-common/Makefile (tests): Add bug24.
50919 * stdio-common/bug24.c: New file.
50921 2011-08-19 Andreas Jaeger <aj@suse.de>
50924 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50925 non-existant file when using close-on-exec mode.
50927 2011-08-20 Ulrich Drepper <drepper@gmail.com>
50929 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50930 the very first instruction.
50932 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50933 the CFI state in the end.
50934 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50935 inclusion of dl-trampoline.h.
50936 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50938 2011-08-19 Andreas Schwab <schwab@redhat.com>
50940 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50941 expectations for long double.
50943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50944 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50946 2011-08-14 David S. Miller <davem@davemloft.net>
50948 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50949 artificual limit depends upon the system page size.
50951 2011-08-17 Ulrich Drepper <drepper@gmail.com>
50953 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50954 * resolv/Makefile: Define CFLAGS-libresolv.
50956 2011-08-17 Andreas Schwab <schwab@redhat.com>
50958 * nss/makedb.c (compute_tables): Make variables used in nested
50961 2011-08-17 Ulrich Drepper <drepper@gmail.com>
50963 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50964 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50965 if buffer was too small.
50967 * elf/pldd.c (main): Attach to all threads in the process.
50968 Rewrite /proc handling to use *at functions.
50970 2011-08-16 Ulrich Drepper <drepper@gmail.com>
50972 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50973 specifies first scope to show.
50974 (dl_open_worker): Update callers. Move printing scope of new
50975 object to before the relocation.
50976 * elf/rtld.c (dl_main): Update _dl_show_scope call.
50977 * sysdeps/generic/ldsodefs.h: Update declaration.
50979 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50980 string for the scope number.
50982 2011-08-14 Ulrich Drepper <drepper@gmail.com>
50984 * nscd/servicescache.c (cache_addserv): Make sure written is always
50987 2011-08-14 Roland McGrath <roland@hack.frob.com>
50989 * sysdeps/i386/i486/bits/atomic.h
50990 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50991 statement expression, so as to suppress "set but not used" warning.
50992 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50994 * string/strncat.c (STRNCAT): Use prototype definition.
50996 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50997 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50999 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51000 (localedef-modules): Add localedef.
51001 (locale-modules): Add locale.
51003 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51004 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51005 to avoid a warning.
51007 2011-08-14 David S. Miller <davem@davemloft.net>
51009 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51010 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51012 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51014 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51015 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51016 * elf/rtld.c (dl_main): Set l_name of vDSO.
51017 Call _dl_show_scope when DL_DEBUG_SCOPES.
51018 (process_dl_debug): Recognize scopes flag and also set it for all.
51019 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51020 Declare _dl_show_scope.
51022 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51023 (do_dlopen): Pass caller_dlopen to dl_open.
51024 (__libc_dlopen_mode): Initialize caller_dlopen.
51026 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51027 of libc. Make tolower call locale-independent. Optimize a bit by
51028 using isdigit instead of isalnum.
51029 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51031 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51033 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51034 was a dependency or dynamically loaded.
51036 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51038 * intl/l10nflist.c: Allow architecture-specific pop function.
51039 * sysdeps/x86_64/l10nflist.c: New file.
51041 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51044 2011-08-10 Andreas Schwab <schwab@redhat.com>
51046 * include/dirent.h: Add libc_hidden_proto for scandirat and
51047 scandirat64. Don't declare __scandirat64.
51048 * dirent/scandirat.c: Add libc_hidden_def.
51049 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51050 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51052 2011-08-10 David S. Miller <davem@davemloft.net>
51054 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51056 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51057 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51058 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51060 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51062 * Versions.def [libc]: Add GLIBC_2.15.
51063 * dirent/Makefile (routines): Add scandirat and scandirat64.
51064 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51066 * dirent/dirent.h: Declare scandirat and scandirat64.
51067 * dirent/scandirat.c: New file.
51068 * dirent/scandirat64.c: New file.
51069 * sysdeps/wordsize-64/scandirat.c: New file.
51070 * sysdeps/wordsize-64/scandirat64.c: New file.
51071 * dirent/opendir.c: Define opendirat.
51072 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51074 * dirent/scandir64.c: Adjust for scandir.c change.
51075 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51076 __scandirat64, and __scandir_cancel_handler.
51077 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51078 additional parameter and use openat instead of open (outside of ld.so).
51079 Add new __opendir as wrapper around __opendirat.
51080 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51081 here without requiring old scandirat implementation.
51083 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51085 * dirent/scandir.c (cancel_handler): Renamed to
51086 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51087 defined. Adjust users.
51088 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51089 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51091 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51093 * string/test-string.h (IMPL): Use __STRING to expand name and then
51096 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51099 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51101 * string/Makefile: Update.
51102 (strop-tests): Append strncat.
51103 * string/test-wcscmp.c: New file.
51104 New comprehensive test for wcscmp.
51105 * string/test-strcmp.c: Update.
51106 (WIDE): New define.
51108 2011-07-22 Andreas Schwab <schwab@redhat.com>
51110 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51113 2011-07-26 Andreas Schwab <schwab@redhat.com>
51115 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51116 encoding to ACE if AI_IDN.
51118 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51120 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51121 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51123 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51125 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51126 Fix overflow bug in strncat.
51127 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51129 * string/test-strncat.c: Update.
51130 Add new tests for checking overflow bugs.
51132 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51134 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51135 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51136 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51137 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51138 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51139 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51140 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51141 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51142 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51144 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51145 (USE_AS_STRCAT): Define.
51146 Add strcat and strncat support.
51147 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51149 2011-07-25 Andreas Schwab <schwab@redhat.com>
51151 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51152 __n bigger than INT_MAX+1.
51153 (__strncmp_g): Likewise.
51155 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51157 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51158 * libio/stido.h: Likewise.
51160 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51162 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51165 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51166 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51167 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51168 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51169 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51172 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51175 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51177 (_dl_x86_64_save_sse): Likewise.
51179 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51181 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51183 (_dl_x86_64_save_sse): Likewise.
51185 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51187 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51189 2011-07-21 Andreas Schwab <schwab@redhat.com>
51191 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51193 (_dl_x86_64_save_sse): Use correct AVX check.
51195 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51197 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51198 bug in strncpy/strncat.
51199 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51201 2011-07-21 Ulrich Drepper <drepper@gmail.com>
51203 * string/tester.c (test_strcat): Add tests for different alignments
51204 of source and destination.
51205 (test_strncat): Likewise.
51207 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51210 * posix/glob.c (glob): Check passed in values before using them in
51211 expressions to avoid some overflows.
51212 (glob_in_dir): Likewise.
51215 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51216 check for AVX enablement so that we don't crash with old kernels and
51218 * elf/tst-audit4.c: Add same checks here.
51219 * elf/tst-audit6.c: Likewise.
51221 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51223 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51225 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51227 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51229 * po/cs.po: Update from translation team.
51230 * po/bg.po: Likewise.
51232 2011-07-12 Marek Polacek <mpolacek@redhat.com>
51234 * misc/sys/cdefs.h: Add support for const attribute.
51235 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51236 to gnu_dev_{major,minor,makedev} functions.
51238 2011-07-20 Marek Polacek <mpolacek@redhat.com>
51240 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51242 2011-07-20 Andreas Schwab <schwab@redhat.com>
51244 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51247 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51249 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51250 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51251 register in order to avoid conflicts with the soft frame pointer
51252 being held in r11 when necessary.
51253 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51254 (INTERNAL_VSYSCALL_NCS): Likewise.
51256 2011-07-14 Marek Polacek <mpolacek@redhat.com>
51258 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51259 * elf/dl-fini.c (_dl_fini): Adjust caller.
51260 * elf/dl-close.c (_dl_close_worker): Likewise.
51261 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51263 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51265 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51266 "aux_cache->nlibs < 0".
51268 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51269 in the reload-count case.
51271 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51273 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51274 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51275 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51276 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51277 * sysdeps/x86_64/multiarch/strcat.S: New file.
51278 * sysdeps/x86_64/multiarch/strncat.S: New file.
51279 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51280 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51281 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51282 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51283 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51284 (USE_AS_STRCAT): Define.
51285 Add strcat and strncat support.
51286 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51287 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51288 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51289 * string/strncat.c: Update.
51290 (USE_AS_STRNCAT): Define.
51291 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51292 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51294 * sysdeps/x86_64/multiarch/init-arch.h
51295 (bit_Prefer_PMINUB_for_stringop): New.
51296 (index_Prefer_PMINUB_for_stringop): Likewise.
51297 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51298 bit_Prefer_PMINUB_for_stringop.
51300 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51302 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51304 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51305 of casting of buffer.
51306 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51307 buffer32 and buffer64.
51308 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51309 writes instead of casting of buffer.
51310 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51312 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51315 2011-07-19 Andreas Schwab <schwab@redhat.com>
51317 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51319 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51321 * nscd/nscd.c (termination_handler): Don't do anything for a database
51322 if it has not yet been initialized.
51324 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51326 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51328 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51330 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51332 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51334 * po/nl.po: Update from translation team.
51335 * po/sv.po: Likewise.
51337 2011-07-16 Roland McGrath <roland@hack.frob.com>
51339 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51340 now disallowed by GCC.
51342 * configure.in (use-default-link): Default to yes if a test -shared
51343 link meets our qualifications.
51344 * configure: Regenerated.
51346 * config.make.in (output-format): New variable.
51347 * configure.in: Check for ld --print-output-format support.
51348 * configure: Regenerated.
51349 * Makerules ($(common-objpfx)format.lds)
51350 [$(output-format) != unknown]: Just use $(output-format),
51351 instead of the linker-script munging.
51353 2011-07-14 Roland McGrath <roland@hack.frob.com>
51355 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51356 of $(common-objpfx)shlib.lds.
51357 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51359 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51360 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51362 * configure.in (-z relro check): Adjust test code to add a large
51363 writable data section after it.
51364 * configure: Regenerated.
51366 2011-07-11 Roland McGrath <roland@hack.frob.com>
51368 * configure.in (-z relro check): Fix test code to make the variable
51370 * configure: Regenerated.
51372 2011-07-11 Ulrich Drepper <drepper@gmail.com>
51374 * nscd/nscd.h (struct traced_file): Define.
51375 (struct database_dyn): Remove inotify_descr, reset_res, and filename
51376 elements. Add traced_files.
51377 (inotify_fd): Declare.
51378 (register_traced_file): Declare.
51379 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51380 (inotify_fd): Export.
51381 (resolv_conf_descr): Remove.
51382 (nscd_init): Move inotify descriptor creation to main.
51383 Don't register files for notification here.
51384 (register_traced_file): New function.
51385 (invalidate_cache): Don't use reset_res to determine whether to call
51386 res_init, go through the list of registered files.
51387 (main_loop_poll): The inotify descriptors are now stored in the
51388 structures for the traced files.
51389 (main_loop_epoll): Likewise
51390 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
51391 to __nss_disable_nscd.
51392 * nscd/cache.c (prune_cache): There is no single inotify descriptor
51393 for a database anymore. Check the records for all the registered
51395 * nss/Makefile (libnss_files-routines): Add files-init.
51396 (libnss_db-routines): Add db-init.
51397 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51398 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51399 * nss/nss_db/db-init.c: New file.
51400 * nss/nss_files/files-init.c: New file.
51401 * nss/nsswitch.c (nss_load_library): New function. Broken out of
51402 __nss_lookup_function.
51403 (__nss_lookup_function): Call nss_load_library.
51404 (nss_load_all_libraries): New function.
51405 (__nss_disable_nscd): Take parameter with callback function for files
51406 to register. Set is_nscd. Load all the DSOs for the NSS modules
51407 used for the cached services.
51408 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51409 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51410 options for features to all the files in nscd.
51412 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51414 2011-07-10 Roland McGrath <roland@hack.frob.com>
51416 * csu/elf-init.c (__libc_csu_init): Comment typo.
51418 2011-07-09 Ulrich Drepper <drepper@gmail.com>
51420 * po/pl.po: Update from translation team.
51421 * po/ja.po: Likewise.
51422 * po/ru.po: Likewise.
51423 * po/ko.po: Likewise.
51424 * po/fr.po: Likewise.
51426 2011-07-09 Roland McGrath <roland@hack.frob.com>
51428 * configure.in (.ctors/.dtors header and trailer check):
51429 Use an empirical test on a built program.
51430 * configure: Regenerated.
51432 * configure.in (-z relro check): Use an empirical test on a built DSO.
51433 Detect, but do not require, on ia64.
51434 * configure: Regenerated.
51436 * configure.in (READELF): Find it with AC_CHECK_TOOL.
51437 Update tests that use readelf to use $READELF instead.
51438 * configure: Regenerated.
51440 2011-07-08 Ulrich Drepper <drepper@gmail.com>
51442 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51443 if the result is not used.
51445 2011-07-05 Andreas Jaeger <aj@suse.de>
51448 * stdlib/tst-strtod.c: Add testcase.
51450 2011-07-07 Ulrich Drepper <drepper@gmail.com>
51452 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51453 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51454 The latter has a higher limit. Take additional parameter to pass to
51456 (__pathconf): Pass file to __statfs_link_max.
51457 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51459 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51463 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51464 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51466 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51467 (__statfs_filesize_max): Likewise.
51468 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51470 2011-07-05 Andreas Jaeger <aj@suse.de>
51472 * resolv/res_comp.c (dn_skipname): Remove unused variable.
51474 2011-07-06 Marek Polacek <mpolacek@redhat.com>
51476 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51478 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51481 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
51483 * Makefile (strop-tests): Add strncat.
51484 * string/test-strncat.c: New file.
51486 2011-06-30 Marek Polacek <mpolacek@redhat.com>
51488 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51490 2011-06-21 Andreas Jaeger <aj@suse.de>
51492 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51493 Copy rule from iconvdata/Makefile.
51495 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51498 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51499 but no long options are defined, just return 'W'.
51501 2011-06-22 Marek Polacek <mpolacek@redhat.com>
51504 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51506 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51508 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51510 (innetgr): Likewise.
51512 2011-07-05 Roland McGrath <roland@hack.frob.com>
51514 * config.make.in (install_root): Default to $(DESTDIR).
51516 2011-07-05 Ulrich Drepper <drepper@gmail.com>
51518 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51520 2011-07-02 Roland McGrath <roland@hack.frob.com>
51522 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51524 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51525 containing directory rather than embedding absolute directory names.
51527 * scripts/check-local-headers.sh: Rewritten using awk.
51528 Match by word, not by line. Print error messages for matches.
51529 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51531 * Makerules [shlib-lds-flags empty]:
51532 ($(common-objpfx)libc_pic.opts): New target.
51533 ($(common-objpfx)libc_pic.os.clean): New target.
51534 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51536 * config.make.in (OBJCOPY): New variable.
51537 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51538 * configure: Regenerated.
51540 * config.make.in (use-default-link): New variable.
51541 * configure.in (use_default_link): Grok --with-default-link to set it.
51542 * configure: Regenerated.
51543 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51544 (shlib-lds, shlib-lds-flags): Define to empty.
51546 * Makerules (shlib-lds): New variable.
51547 (shlib-lds-flags): New variable.
51548 (build-shlib, build-moduile, build-module-asneeded): Use it.
51549 ($(common-objpfx)libc.so): Use $(shlib-lds).
51550 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51551 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51553 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51554 DT_FLAGS/DT_FLAGS_1 with zero flags.
51556 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51557 linker script munging.
51559 2011-07-02 Ulrich Drepper <drepper@gmail.com>
51561 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51563 * crypt/sha512.c (sha512_process_block): Perform total addition using
51564 128-bit if possible.
51565 (__sha512_finish_ctx): Likewise.
51566 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51568 * crypt/sha256.c (SWAP64): Define.
51569 (sha256_process_block): Perform total addition using 64-bit if
51571 (__sha256_finish_ctx): Likewise.
51573 2011-07-01 Ulrich Drepper <drepper@gmail.com>
51575 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51576 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51577 * nscd/hstcache.c (cache_addhst): Likewise.
51578 * nscd/grpcache.c (cache_addgr): Likewise.
51579 * nscd/aicache.c (addhstaiX): Likewise
51580 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51582 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
51584 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51585 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51586 * nscd/hstcache.c (cache_addhst): Likewise.
51587 * nscd/grpcache.c (cache_addgr): Likewise.
51588 * nscd/aicache.c (addhstaiX): Likewise
51590 2011-07-01 Andreas Schwab <schwab@redhat.com>
51592 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51593 domain only when needed.
51595 2011-06-30 Andreas Schwab <schwab@redhat.com>
51597 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51598 is always restored.
51600 2011-06-29 Ulrich Drepper <drepper@gmail.com>
51602 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51603 are re-adding the entry.
51604 * nscd/servicescache.c (cache_addserv): Likewise.
51606 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51608 * sysdeps/generic/dl-irel.h: fix protection against multiple
51610 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51612 2011-06-28 Ulrich Drepper <drepper@gmail.com>
51615 * malloc/memusage.sh: Fix quoting in message.
51616 * debug/xtrace.sh: Likewise.
51618 * configure.in: Remove support for --experimental-malloc option, make
51620 * config.make.in: Likewise.
51621 * malloc/Makefile: Likewise.
51623 2011-06-27 Andreas Schwab <schwab@redhat.com>
51625 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51626 two-byte characters.
51628 2011-06-27 Roland McGrath <roland@hack.frob.com>
51630 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51631 AC_CACHE_CHECK invocation.
51632 * configure: Regenerated.
51634 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51636 2011-06-27 Ulrich Drepper <drepper@gmail.com>
51639 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51640 bit from old_res_options.
51642 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51644 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51645 value type for setfct.
51647 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51649 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51650 __gettimeofday instead of gettimeofday.
51652 2011-06-26 Ulrich Drepper <drepper@gmail.com>
51654 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51656 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51658 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51660 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51663 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51665 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51666 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51667 strcpy-sse2-unaligned strncpy-sse2-unaligned
51668 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51669 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51670 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51671 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51672 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51673 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51674 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51675 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51676 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51677 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51678 (STRCPY): Support SSE2 and SSSE3 versions.
51680 2011-06-24 Ulrich Drepper <drepper@gmail.com>
51683 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51684 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51685 kernels which artificially limit size of requests.
51687 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51689 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51690 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51691 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51692 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51693 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51694 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51695 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51696 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51697 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51698 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51699 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51700 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51701 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51702 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51703 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51704 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51705 Enable unaligned load optimization for Intel Core i3, i5 and i7
51707 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51709 (index_Fast_Unaligned_Load): Define.
51710 (HAS_FAST_UNALIGNED_LOAD): Define.
51712 2011-06-23 Marek Polacek <mpolacek@redhat.com>
51714 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51716 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51719 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51720 until it is clear that the information is realy needed.
51721 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51723 2011-06-22 Andreas Schwab <schwab@redhat.com>
51725 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51727 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51729 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51730 /sys/devices/system/cpu/online if it is usable.
51732 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51733 reading the information from the /proc filesystem to once a second.
51735 2011-06-21 Andreas Jaeger <aj@suse.de>
51737 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51738 NULL after inclusion of kernel headers.
51740 2011-06-21 Ulrich Drepper <drepper@gmail.com>
51742 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51743 calls to internal_setent.
51746 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51747 addresses using gethostbyname4_r ignore IPv4 addresses.
51749 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51750 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51752 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51754 2011-06-20 David S. Miller <davem@davemloft.net>
51756 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51758 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51760 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51761 (elf_irel): Use it.
51762 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51763 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51764 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51765 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51766 * sysdeps/x86_64/dl-irel.h: Likewise.
51768 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51769 * elf/dl-sym.c: Likewise.
51771 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51773 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51774 need to dereference resplen2.
51776 2011-06-14 Andreas Schwab <schwab@redhat.com>
51778 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51780 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51782 * Makeconfig: Define vardbdir and inst_vardbdir.
51783 * nss/Makefile: Add rules to install db-Makefile.
51785 * nss/nss_db/db-XXX.c: Cleanup.
51787 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51788 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51790 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51791 * nss/makedb.c: Implement -g option to specify that value strings
51792 are generated and should not be added to table iterated over for
51794 * nss/nss_db/db-initgroups.c: New file.
51796 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51799 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51800 (internal_getgrouplist): Adjust to name change.
51801 Update use_initgroups_entry if this is not the first call.
51802 * nss/databases.def: Add initgroups entry.
51804 * nss/makedb.c (compute_tables): Check result of multiple hash table
51805 sizes to minimize maximum chain length.
51807 2011-06-14 Ulrich Drepper <drepper@gmail.com>
51809 * Versions.def: Add entry for libnss_db.
51810 * shlib-versions: Likewise.
51811 * nss/Makefile: Add rules to build libnss_db.
51812 * nss/Versions: Add libnss_db information. Organize libnss_files
51814 * nss/db-Makefile: Add gshadow support. Change rules for the new
51815 makedb progra. Some minor improvements to generate smaller files.
51816 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51818 * nss/makedb.c: ...here.
51819 Improve database format to be smaller and require less memory at
51821 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51823 * nss/nss_db/db-netgrp.c: Likewise.
51824 * nss/nss_db/db-open.c: Likewise.
51825 * nss/nss_files/flies-XXX.x: Adjust comments.
51826 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51827 * nss/nss_files/files-grp.c: Likewise.
51828 * nss/nss_files/files-hosts.c: Likewise.
51829 * nss/nss_files/files-network.c: Likewise.
51830 * nss/nss_files/files-proto.c: Likewise.
51831 * nss/nss_files/files-pwd.c: Likewise.
51832 * nss/nss_files/files-rpc.c: Likewise.
51833 * nss/nss_files/files-service.c: Likewise.
51834 * nss/nss_files/files-sgrp.c: Likewise.
51835 * nss/nss_files/files-spwd.c: Likewise.
51836 * nss/nss_db/db-alias.c: Removed.
51837 * nss/nss_db/dummy-db.h: Removed.
51839 2011-06-02 Ulrich Drepper <drepper@gmail.com>
51841 * nss/makedb.c: Rewritten to not use database library.
51842 * nss/Makefile: Update to build new makedb program.
51844 2011-06-14 Andreas Jaeger <aj@suse.de>
51846 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51847 memset declaration.
51849 2011-06-10 Andreas Schwab <schwab@redhat.com>
51851 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51854 2011-06-10 Roland McGrath <roland@hack.frob.com>
51856 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51857 * elf/Makefile ($(objpfx)ld.so): Likewise.
51859 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51860 Don't list ld.so twice in dependencies.
51862 * posix/bug-regex31.c: Include <stdlib.h>.
51864 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51866 * nis/nss_compat/compat-spwd.c
51867 (getspent_next_nss_netgr): Remove unused variable.
51868 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51870 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51871 nonmembers" output to use the right array.
51873 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51875 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51877 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51878 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51879 * catgets/gencat.c (read_input_file): Likewise.
51880 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51882 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51883 variable definition inside #if's controlling its use.
51885 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51887 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51889 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51891 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51894 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51896 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51897 * configure: Regenerated.
51899 * Makerules: Revert last change.
51900 * elf/Makefile: Likewise.
51902 2011-06-09 Roland McGrath <roland@hack.frob.com>
51904 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51905 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51906 (reloc-link): Likewise.
51908 2011-06-09 Ulrich Drepper <drepper@gmail.com>
51910 * elf/Makefile: Add rules to build pldd.
51911 * elf/pldd.c: New file.
51912 * elf/pldd-xx.c: New file.
51914 2011-06-07 Ulrich Drepper <drepper@gmail.com>
51916 * version.h: Update for 2.15 development version.
51918 2011-06-07 David S. Miller <davem@davemloft.net>
51920 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51922 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51923 elf_machine_lazy_rel): Likewise.
51924 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51925 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51926 elf_machine_lazy_rel): Likewise.
51927 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51928 dl_hwcap via passed in argument.
51929 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51932 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51934 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51936 2011-06-06 Roland McGrath <roland@hack.frob.com>
51939 * manual/fdl-1.1.texi: New file, verbatim from:
51940 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51941 * manual/lgpl-2.1.texi: New file, verbatim from:
51942 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51943 * manual/Makefile (licenses): New variable, list those new file names.
51945 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51947 * manual/fdl.texi: File removed.
51948 * manual/lesser.texi: File removed.
51949 * manual/libc.texinfo (Copying, Documentation License):
51950 Use new @include file names, put @appendix directive before @include.
51952 2011-06-04 Jakub Jelinek <jakub@redhat.com>
51955 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51956 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51957 (mq_open): Add __NTH.
51959 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51962 Assume Intel Core i3/i5/i7 processor if AVX is available.
51964 2011-05-31 Ulrich Drepper <drepper@gmail.com>
51966 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51969 2011-05-31 Andreas Schwab <schwab@redhat.com>
51971 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51972 memory. Use alloca_account. Fix memory leak when retrying.
51974 2011-05-31 Ulrich Drepper <drepper@gmail.com>
51976 * version.h (RELEASE): Bump for 2.14 release.
51977 * include/features.h (__GLIBC_MINOR__): Bump to 14.
51979 * config.make.in (RANLIB): Remove entry.
51981 2011-05-30 Ulrich Drepper <drepper@gmail.com>
51983 * po/Makefile (po-sed-cmd): Add ksh to extensions.
51984 (libc.pot): Work around missing support for .ksh extension in xgettext.
51987 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51988 if both request failed.
51989 (send_dg): In case of server errors clear resplen or *resplen2.
51992 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51993 when there are multiple maps.
51994 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51995 (_dl_fini): Remove test here.
51997 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51999 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52002 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52003 bit from old_res_options.
52004 (gaih_inet): Likewise.
52007 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52010 * resolv/res_init.c (res_setoptions): Make the code more compact.
52013 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52017 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52019 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52022 * malloc/malloc.h: Declare malloc hook variables as volatile.
52024 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52028 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52029 raise in the comment.
52030 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52031 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52032 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52034 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52037 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52038 grow the buffers more if it already has to be sufficient.
52039 (build_wcs_upper_buffer): Likewise.
52040 * posix/regexec.c (check_matching): Likewise.
52041 (clean_state_log_if_needed): Likewise.
52042 (extend_buffers): Don't enlarge buffers beyond size of the input
52044 Patches mostly by Emil Wojak <emil@wojak.eu>.
52045 * posix/bug-regex32.c: New file.
52046 * posix/Makefile (tests): Add bug-regex32.
52048 * locale/findlocale.c (_nl_find_locale): Return right away if
52049 _nl_explode_name failed.
52050 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52052 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52054 * debug/xtrace.sh: Unify messages.
52055 * malloc/memusage.sh: Likewise.
52058 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52059 time symbol from vDSO. Substitute with vsyscall if not available.
52060 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52063 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52064 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52065 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52066 Add sendmmsg and internal_sendmmsg.
52067 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52068 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52069 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52071 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52072 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52073 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52075 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52078 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52079 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52081 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52085 * iconvdata/Makefile (tests): Add bug-iconv9.
52086 * iconvdata/bug-iconv9.c: New file.
52088 2011-05-27 Andreas Schwab <schwab@redhat.com>
52091 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52093 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52095 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52096 (struct user_regs_struct): Change intcs field back to cs.
52098 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52100 * po/ja.po: Update from translation team.
52102 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52105 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52106 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52108 2011-05-20 Andreas Schwab <schwab@redhat.com>
52110 * stdlib/longlong.h: Update from GCC.
52112 2011-05-23 Andreas Schwab <schwab@redhat.com>
52114 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52116 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52117 Add parameter name.
52118 (__sysconf): Pass it down.
52120 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52123 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52125 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52126 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52127 add in in __libc_use_alloca calls. Adjust callers.
52128 (glob): Use malloc in some situations.
52130 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52131 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52134 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52136 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52137 and CLOCK_BOOTTIME_ALARM.
52140 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52143 * string/_strerror.c (__strerror_r): Print negative errors as signed
52147 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52148 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52149 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52151 * configure.in: Fix typo in redirection and correct removal of test
52152 files in two cases.
52155 * locale/setlocale.c (new_composite_name): Fix test to check for
52156 identical name of all categories.
52159 * libio/filedoalloc.c (local_isatty): New function.
52160 (_IO_file_doallocate): Use local_isatty.
52161 * stdio-common/perror.c (perror): In case a new stream is used
52162 forward the stream error.
52163 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52166 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52169 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52171 * include/alloca.h (extend_alloca_account): Define.
52174 * posix/regex.h: Fix comments with documentation of user-accessible
52175 fields after compilation and describe correct free'ing of pattern
52176 after re_compile_pattern.
52177 Patch by Reuben Thomas <rrt@sc3d.org>.
52179 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52181 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52182 and -mno-altivec to prevent the compiler from using Altivec and/or
52183 VSX instructions when the corresponding registers are not available.
52185 2011-05-19 Andreas Schwab <schwab@redhat.com>
52187 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52189 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52191 * libio/freopen.c (freopen): Use __dup2, not dup2.
52192 * libio/freopen64.c (freopen64): Likewise.
52194 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52197 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52198 * math/Makefile (tests): Add test-powl.
52199 (CFLAGS-test-powl.c): Define.
52200 * math/test-powl.c: New file.
52202 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52204 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52206 2011-05-17 Ulrich Drepper <drepper@gmail.com>
52209 * iconvdata/gb18030.c: Update to GB18020-2005.
52211 2011-05-16 Ulrich Drepper <drepper@gmail.com>
52213 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52214 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52215 Patch by Aharon Robbins <arnold@skeeve.com>.
52218 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52222 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52223 through underflows.
52226 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52227 point to strings before performing equality test for error_one_per_line
52231 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52234 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52235 (struct user_fpregs_struct): Avoid __uint*_t types.
52238 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52239 symbol info. Use it instead of calling _dl_addr locally.
52240 (lock_and_info): New function.
52241 (tr_freehook): Call lock_and_info and pass symbol info as additional
52242 parameter to tr_where.
52243 (tr_mallochook): Likewise.
52244 (tr_reallochook): Likewise.
52245 (tr_memalignhook): Likewise.
52247 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52248 used and couldn't be at all thread-safe.
52250 2011-05-15 Ulrich Drepper <drepper@gmail.com>
52252 * libio/freopen.c (freopen): Don't close old file descriptor
52253 before the new one is opened. Instead dup the new file descriptor
52254 to the old one after the new stream is created.
52255 * libio/freopen64.c (freopen64): Likewise.
52256 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52257 * libio/fileops.c (_IO_new_file_close_it): Handle new
52258 _IO_FLAGS2_NOCLOSE flag.
52259 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52260 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52261 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52262 _IO_FLAGS2_NOCLOSE flag.
52263 * include/unistd.h: Add hidden_proto for dup3.
52264 Define __have_dup3.
52265 * io/dup3.c: Define hidden symbol.
52266 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52269 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52270 when an incomplete long option is used.
52271 * posix/tst-getopt_long1.c: New file.
52272 * posix/Makefile (tests): Add tst-getopt_long1.
52275 * scripts/config.guess: Update from autoconf-2.68.
52276 * scripts/config.sub: Likewise.
52279 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52281 (has_cpuclock): ...this. New function.
52282 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52283 macro here based on has_cpuclock code.
52286 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52287 First byte (not low byte) is now always NUL.
52288 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52290 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52291 Use non-cancelable interfaces.
52294 * locale/iso-639.def: Add entry for Sorani.
52297 * include/stdlib.h: Move include protection to the right place.
52298 Define abort_msg_s. Declare __abort_msg with it.
52299 * stdlib/abort.c (__abort_msg): Adjust type.
52300 * assert/assert.c (__assert_fail_base): New function. Majority
52301 of code from __assert_fail. Allocate memory for __abort_msg with
52303 (__assert_fail): Now call __assert_fail_base.
52304 * assert/assert-perr.c: Remove bulk of implementation. Use
52305 __assert_fail_base.
52306 * include/assert.hL Declare __assert_fail_base.
52307 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52309 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52311 2011-05-14 Ulrich Drepper <drepper@gmail.com>
52315 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52316 until all modules are registered in the DTV.
52317 * elf/Makefile: Add rules to build and run tst-tls19.
52318 * elf/tst-tls19.c: New file.
52319 * elf/tst-tls19mod1.c: New file.
52320 * elf/tst-tls19mod2.c: New file.
52321 * elf/tst-tls19mod3.c: New file.
52322 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52325 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52329 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52330 two-byte sequence errors.
52331 * iconvdata/Makefile (tests): Add bug-iconv8.
52332 * iconvdata/bug-iconv8.c: New file.
52335 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52338 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52341 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52342 (dummy_getcfa): New function.
52343 (init): Get _Unwind_GetCFA address, use dummy if not found.
52344 (backtrace_helper): In recursion check, also check whether CFA changes.
52345 (__backtrace): Completely initialize arg.
52347 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52348 storing incomplete byte sequence in state object. Avoid testing for
52349 guaranteed too small input if we know there is enough data available.
52351 2011-05-11 Andreas Schwab <schwab@redhat.com>
52353 * Makeconfig (+link-pie): Indent.
52354 * Rules (binaries-pie): Define if $(have-fpie) and
52356 (binaries-shared): Also filter out $(binaries-pie).
52357 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52358 * nscd/Makefile (others-pie): Add nscd.
52359 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52360 ($(objpfx)nscd): Remove command override.
52361 * login/Makefile (others-pie): Add pt_chown.
52362 ($(objpfx)pt_chown): Remove command override.
52363 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52364 remove command overrides.
52366 2011-05-13 Ulrich Drepper <drepper@gmail.com>
52368 * libio/tst_putwc.c: Fix error messages.
52371 * libio/fileops.c (_IO_new_file_close_it): Always flush when
52372 currently writing and seek to current position when not.
52373 * libio/Makefile (tests): Add bug-fclose1.
52374 * libio/bug-fclose1.c: New file.
52376 2011-05-12 Ulrich Drepper <drepper@gmail.com>
52379 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52380 don't set DF_1_NODELETE here.
52381 (do_lookup_x): When entering new entry test for copy relocation
52382 and if necessary set DF_1_NODELETE flag.
52383 * elf/tst-unique4.cc: New file.
52384 * elf/tst-unique4.h: New file.
52385 * elf/tst-unique4lib.cc: New file.
52386 * elf/Makefile: Add rules to build and run tst-unique4.
52387 Patch by Piotr Bury <pbury@goahead.com>.
52389 2011-05-11 Ulrich Drepper <drepper@gmail.com>
52392 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52395 * misc/mntent_r.c (addmntent): Flush the stream after the output
52398 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52399 (is_trusted_path_normalize): Skip initial colon. Append slash
52400 to empty buffer. Duplicate is_trusted_path code but allow
52401 constructed patch to be prefix.
52402 (is_dst): Allow $ORIGIN followed by /.
52403 (_dl_dst_substitute): Correct clearing of check_for_trusted.
52404 Correct testing of result of is_trusted_path_normalize
52405 (decompose_rpath): Fix warning.
52407 2011-05-10 Ulrich Drepper <drepper@gmail.com>
52410 * grp/initgroups.c (internal_getgrouplist): When we found the service
52411 list through the initgroups entry in nsswitch.conf do not always
52412 continue on a successful lookup. Don't always use the
52413 __nss_group_database value if it is set.
52414 * nss/nsswitch.conf (initgroups): Change action for successful db
52415 lookup to continue for compatibility.
52417 2011-05-09 Ulrich Drepper <drepper@gmail.com>
52420 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52422 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52424 * iconvdata/tst-tables.sh: Likewise.
52425 * iconvdata/cp770.c: New file.
52426 * iconvdata/cp771.c: New file.
52427 * iconvdata/cp772.c: New file.
52428 * iconvdata/cp773.c: New file.
52429 * iconvdata/cp774.c: New file.
52430 * iconvdata/testdata/CP770: New file.
52431 * iconvdata/testdata/CP770..UTF8: New file.
52432 * iconvdata/testdata/CP771: New file.
52433 * iconvdata/testdata/CP771..UTF8: New file.
52434 * iconvdata/testdata/CP772: New file.
52435 * iconvdata/testdata/CP772..UTF8: New file.
52436 * iconvdata/testdata/CP773: New file.
52437 * iconvdata/testdata/CP773..UTF8: New file.
52438 * iconvdata/testdata/CP774: New file.
52439 * iconvdata/testdata/CP774..UTF8: New file.
52441 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52443 * iconvdata/gen-8bit-gap.sh: Likewise.
52444 * iconvdata/gen-8bit.sh: Likewise.
52446 * locale/iso-639.def: Add ary entry.
52449 * locale/C-translit.h.in: Add U20A1 transliteration.
52452 * locale/iso-639.def: Add wae entry.
52453 Patch by Kevin Bortis <bortis@translate-wae.ch>.
52456 * locale/programs/localedef.c (construct_output_path): Use ssize_t
52460 * locale/C-translit.h.in: Add entry for U20B9.
52461 Patch by pravin.d.s@gmail.com.
52463 2011-05-08 Ulrich Drepper <drepper@gmail.com>
52466 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52467 ENAMETOOLONG use generic getcwd.
52468 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
52469 in rtld. Use *stat64.
52470 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52471 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52472 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52473 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52474 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52475 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52476 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52477 __fstatat64 macros.
52478 * include/dirent.h: Add libc_hidden_proto for rewinddir.
52479 * dirent/rewinddir.c: Add libc_hidden_def.
52480 * sysdeps/mach/hurd/rewinddir.c: Likewise.
52481 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
52483 * include/dirent.h (__alloc_dir): Add flags parameter.
52484 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52485 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52487 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
52488 from fdopendir if O_CLOEXEC is already set.
52490 2011-03-15 Alan Modra <amodra@gmail.com>
52492 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52493 l_tls_firstbyte_offset non-zero. Save padding offset in
52494 l_tls_firstbyte_offset for later use.
52495 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52496 freeing static tls block.
52498 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
52500 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52501 where #ifdef was intended. The intent is to prevent ARG_MAX from
52502 being defined by the kernel headers.
52504 2011-05-07 Ulrich Drepper <drepper@gmail.com>
52507 * resolv/resolv.h: Define RES_NOTLDQUERY.
52508 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52509 no-tld-query and set RES_NOTLDQUERY.
52510 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52511 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52512 modern BIND to search name as TLD unless forbidden.
52514 2011-05-07 Petr Baudis <pasky@suse.cz>
52515 Ulrich Drepper <drepper@gmail.com>
52518 * elf/dl-load.c (fillin_rpath): Move trusted path check...
52519 (is_trusted_path): ...to here.
52520 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52521 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52522 using is_trusted_path_normalize() in setuid scripts.
52524 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52526 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52527 __BEGIN/__END_DECLS.
52529 2011-05-06 Ulrich Drepper <drepper@gmail.com>
52531 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52532 NSS_STATUS_NOTFOUND if no record was found.
52534 2011-05-05 Andreas Schwab <schwab@redhat.com>
52536 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52537 (headers-not-in-tirpc): Remove rpc/netdb.h
52538 * resolv/netdb.h: Revert last change.
52540 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52542 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52543 circular dependency between libgcc.a and libc.a.
52545 2011-05-05 Andreas Schwab <schwab@redhat.com>
52547 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52548 * nis/Makefile: Don't install rpcsvc/*.
52549 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52550 instead of <rpc/types.h>.
52551 (MAXHOSTNAMELEN): Define.
52553 2011-05-03 Andreas Schwab <schwab@redhat.com>
52555 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52557 2011-04-28 Maciej Babinski <mbabinski@google.com>
52560 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52561 gethostbyname4_r when IPv6 results are possible.
52563 2011-05-02 Ulrich Drepper <drepper@gmail.com>
52566 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52567 _PC_PIPE_BUF handling.
52569 2011-04-30 Bruno Haible <bruno@clisp.org>
52572 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52573 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52575 * inet/getnameinfo.c (getnameinfo): Likewise.
52577 2011-04-29 Ulrich Drepper <drepper@gmail.com>
52579 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52580 to groups setting in database lookup.
52581 * nss/nsswitch.conf: Add initgroups entry.
52583 2011-04-22 Ulrich Drepper <drepper@gmail.com>
52586 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52588 Patch by Eric Blake <eblake@redhat.com>.
52590 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52592 * sunrpc/Makefile (need-export-routines): Add svc_run.
52593 (routines): Remove svc_run.
52594 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52595 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52596 * sunrpc/svc_run.c (svc_run): Likewise.
52597 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52599 2011-04-21 Ulrich Drepper <drepper@gmail.com>
52601 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52602 problem in reallocation in last patch.
52604 2011-04-20 Ulrich Drepper <drepper@gmail.com>
52606 * sunrpc/Makefile: Move inclusion of Rules.
52608 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52610 * nss/nss_files/files-initgroups.c: New file.
52611 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52612 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52613 _nss_files_initgroups_dyn.
52615 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52617 * elf/elf.h (R_ARM_IRELATIVE): Define.
52619 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52621 * po/ru.po: Update from translation team.
52623 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52625 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52628 2011-02-06 Mike Frysinger <vapier@gentoo.org>
52631 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52632 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52633 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52634 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52635 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52637 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52639 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52641 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52642 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52643 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52645 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52648 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52650 * stdlib/bug-getcontext.c: New file.
52651 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52653 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52655 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52656 instructions into .machine "z9-109".
52657 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52658 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52660 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52662 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52663 between environment variables and auxiliary vector.
52665 2011-04-16 Ulrich Drepper <drepper@gmail.com>
52667 * Makefile: Add rules to build linkobj/libc.so.
52668 * include/libc-symbols.h: Define libc_hidden_nolink.
52669 * include/rpc/auth.h: Mark functions which are to be hidden.
52670 * include/rpc/auth_des.h: Likewise.
52671 * include/rpc/auth_unix.h: Likewise.
52672 * include/rpc/clnt.h: Likewise.
52673 * include/rpc/des_crypt.h: Likewise.
52674 * include/rpc/key_prot.h: Likewise.
52675 * include/rpc/pmap_clnt.h: Likewise.
52676 * include/rpc/pmap_prot.h: Likewise.
52677 * include/rpc/pmap_rmt.h: Likewise.
52678 * include/rpc/rpc_msg.h: Likewise.
52679 * include/rpc/svc.h: Likewise.
52680 * include/rpc/svc_auth.h: Likewise.
52681 * include/rpc/xdr.h: Likewise.
52682 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52683 * nss/Makefile: Likewise.
52684 * sunrpc/Makefile: Don't install headers. Build library with normal
52685 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52686 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52687 for the compat linking library. Remove use of INTDEF/INTUSE.
52688 * sunrpc/auth_none.c: Likewise.
52689 * sunrpc/auth_unix.c: Likewise.
52690 * sunrpc/authdes_prot.c: Likewise.
52691 * sunrpc/authuxprot.c: Likewise.
52692 * sunrpc/clnt_gen.c: Likewise.
52693 * sunrpc/clnt_perr.c: Likewise.
52694 * sunrpc/clnt_raw.c: Likewise.
52695 * sunrpc/clnt_simp.c: Likewise.
52696 * sunrpc/clnt_tcp.c: Likewise.
52697 * sunrpc/clnt_udp.c: Likewise.
52698 * sunrpc/clnt_unix.c: Likewise.
52699 * sunrpc/des_crypt.c: Likewise.
52700 * sunrpc/des_soft.c: Likewise.
52701 * sunrpc/get_myaddr.c: Likewise.
52702 * sunrpc/key_call.c: Likewise.
52703 * sunrpc/key_prot.c: Likewise.
52704 * sunrpc/netname.c: Likewise.
52705 * sunrpc/pm_getmaps.c: Likewise.
52706 * sunrpc/pm_getport.c: Likewise.
52707 * sunrpc/pmap_clnt.c: Likewise.
52708 * sunrpc/pmap_prot.c: Likewise.
52709 * sunrpc/pmap_prot2.c: Likewise.
52710 * sunrpc/pmap_rmt.c: Likewise.
52711 * sunrpc/publickey.c: Likewise.
52712 * sunrpc/rpc_cmsg.c: Likewise.
52713 * sunrpc/rpc_common.c: Likewise.
52714 * sunrpc/rpc_dtable.c: Likewise.
52715 * sunrpc/rpc_prot.c: Likewise.
52716 * sunrpc/rpc_thread.c: Likewise.
52717 * sunrpc/rtime.c: Likewise.
52718 * sunrpc/svc.c: Likewise.
52719 * sunrpc/svc_auth.c: Likewise.
52720 * sunrpc/svc_authux.c: Likewise.
52721 * sunrpc/svc_raw.c: Likewise.
52722 * sunrpc/svc_run.c: Likewise.
52723 * sunrpc/svc_simple.c: Likewise.
52724 * sunrpc/svc_tcp.c: Likewise.
52725 * sunrpc/svc_udp.c: Likewise.
52726 * sunrpc/svc_unix.c: Likewise.
52727 * sunrpc/svcauth_des.c: Likewise.
52728 * sunrpc/xcrypt.c: Likewise.
52729 * sunrpc/xdr.c: Likewise.
52730 * sunrpc/xdr_array.c: Likewise.
52731 * sunrpc/xdr_float.c: Likewise.
52732 * sunrpc/xdr_intXX_t.c: Likewise.
52733 * sunrpc/xdr_mem.c: Likewise.
52734 * sunrpc/xdr_rec.c: Likewise.
52735 * sunrpc/xdr_ref.c: Likewise.
52736 * sunrpc/xdr_sizeof.c: Likewise.
52737 * sunrpc/xdr_stdio.c: Likewise.
52739 2011-04-10 Ulrich Drepper <drepper@gmail.com>
52742 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52743 * sysdeps/ia64/dl-tls.h: Likewise.
52744 * sysdeps/powerpc/dl-tls.h: Likewise.
52745 * sysdeps/s390/dl-tls.h: Likewise.
52746 * sysdeps/sh/dl-tls.h: Likewise.
52747 * sysdeps/sparc/dl-tls.h: Likewise.
52748 * sysdeps/x86_64/dl-tls.h: Likewise.
52749 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52751 2011-03-14 Andreas Schwab <schwab@redhat.com>
52753 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52754 rpath element also skip the following colon.
52755 (expand_dynamic_string_token): Add is_path parameter and pass
52756 down to DL_DST_REQUIRED and _dl_dst_substitute.
52757 (decompose_rpath): Call expand_dynamic_string_token with
52758 non-zero is_path. Ignore empty rpaths.
52759 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52762 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52767 2011-04-09 Ulrich Drepper <drepper@gmail.com>
52770 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52771 Patch by Filipe David Manana <fdmanana@apache.org>.
52773 2011-04-07 Andreas Schwab <schwab@redhat.com>
52775 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52776 Maintain aligned stack.
52777 (CHECK_RSP): Remove unused macro.
52779 2011-04-03 Ulrich Drepper <drepper@gmail.com>
52781 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52782 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52784 2011-04-02 Ulrich Drepper <drepper@gmail.com>
52786 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52788 * include/features.h: Mention __USE_XOPEN2K8 in comment.
52790 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52793 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52794 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52795 * sysdeps/x86_64/memmove.c: New file.
52796 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52797 (memcpy): Renamed to ...
52798 (__new_memcpy): This.
52799 (memcpy): Provide GLIBC_2_14 memcpy.
52800 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52801 (memcpy): Provide GLIBC_2_2_5 memcpy.
52803 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52806 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52808 2011-03-30 Andreas Schwab <schwab@redhat.com>
52810 * misc/syncfs.c: New file.
52811 * misc/Makefile (routines): Add syncfs.
52812 * posix/unistd.h: Declare syncfs.
52813 * sysdeps/unix/syscalls.list: Add syncfs.
52815 2011-04-01 Andreas Schwab <schwab@redhat.com>
52817 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52819 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52820 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52821 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52822 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52823 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52824 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52825 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52827 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52829 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52830 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52831 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52832 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52833 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52834 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52835 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52837 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52838 sync_file_range.c with -fexceptions.
52839 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52840 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52841 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52842 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52843 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52844 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52845 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52846 sync_file_range as cancellation point
52847 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52848 now a wrapper around __call_sync_file_range with cancellation handling.
52849 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52850 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52851 function name to __call_sync_file_range.
52852 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52853 Add call_sync_file_range.
52855 2011-04-01 Andreas Schwab <schwab@redhat.com>
52857 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52860 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52862 * iconv/iconv.h: Fix typo in comment.
52863 * io/fcntl.h: Likewise.
52864 * libio/stdio.h: Likewise.
52865 * posix/spawn.h: Likewise.
52866 * posix/unistd.h: Likewise.
52867 * stdlib/stdlib.h: Likewise.
52868 * time/time.h: Likewise.
52869 * wcsmbs/wchar.h: Likewise.
52871 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52872 open_by_handle): Add.
52873 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52874 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52875 Augment a few comments.
52876 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52877 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52878 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52879 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52880 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52881 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52884 * io/fcntl.h (AT_EMPTY_PATH): Define.
52886 2011-03-30 Ulrich Drepper <drepper@gmail.com>
52888 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52889 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52890 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52892 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
52893 * Versions.def: Add GLIBC_2.14.
52894 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52897 2011-03-22 Ulrich Drepper <drepper@gmail.com>
52899 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52901 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52903 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52906 * string/test-strncmp.c (do_page_test): New function.
52907 (check2): Likewise.
52908 (test_main): Call check2.
52909 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52911 2011-03-20 Ulrich Drepper <drepper@gmail.com>
52914 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52915 Handle cache information in CPU leaf 4.
52916 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52918 2011-03-18 Ulrich Drepper <drepper@gmail.com>
52921 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52922 character representation.
52923 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52925 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52927 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52928 END(__isnan) to END(__isnanf) to match function entry point/label
52929 EALIGN(__isnanf,...).
52931 2011-03-10 Jakub Jelinek <jakub@redhat.com>
52933 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52935 2011-03-10 Ulrich Drepper <drepper@gmail.com>
52938 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52939 copy from the symbol referenced in the relocation to initialize the
52941 Patch by Piotr Bury <pbury@goahead.com>.
52942 * elf/Makefile: Add rules to build and tst-unique3.
52943 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52944 * elf/tst-unique3.cc: New file.
52945 * elf/tst-unique3.h: New file.
52946 * elf/tst-unique3lib.cc: New file.
52947 * elf/tst-unique3lib2.cc: New file.
52949 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52951 2011-03-10 Mike Frysinger <vapier@gentoo.org>
52953 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52954 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52957 2011-03-06 Ulrich Drepper <drepper@gmail.com>
52959 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52960 to-be-loaded object along a path to loader is ld.so.
52962 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52963 Ulrich Drepper <drepper@gmail.com>
52965 * sysdeps/x86_64/memset.S: After aligning destination, code
52966 branches to different locations depending on the value of
52967 misalignment, when multiarch is enabled. Fix this.
52969 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52971 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52972 Set _x86_64_preferred_memory_instruction for AMD processsors.
52973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52974 Set bit_Prefer_SSE_for_memop for AMD processors.
52976 2011-03-04 Ulrich Drepper <drepper@gmail.com>
52978 * libio/fmemopen.c (fmemopen): Optimize a bit.
52980 2011-03-03 Andreas Schwab <schwab@redhat.com>
52982 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52984 2011-03-03 Roland McGrath <roland@redhat.com>
52986 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52988 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
52990 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52991 __bzero_ultra1 instead of __memset_ultra1.
52993 2011-02-23 Andreas Schwab <schwab@redhat.com>
52994 Ulrich Drepper <drepper@gmail.com>
52997 * include/link.h (struct link_map): Add l_orig_initfini.
52998 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52999 returning unsuccessfully.
53000 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53001 close of a file loaded at startup, restore the original l_initfini
53003 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53004 list, store the pointer.
53005 * elf/Makefile ($(objpfx)noload-mem): New rule.
53006 (noload-ENV): Define.
53007 (tests): Add $(objpfx)noload-mem.
53008 * elf/noload.c: Include <memcheck.h>.
53009 (main): Call mtrace. Close all opened handles.
53011 2011-02-17 Andreas Schwab <schwab@redhat.com>
53014 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53015 dependencies are missing.
53017 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53019 Fix __if_freereq crash: Unlike the generic version which uses free,
53021 * sysdeps/mach/hurd/ifreq.h: New file.
53023 2011-01-27 Petr Baudis <pasky@suse.cz>
53024 Ulrich Drepper <drepper@gmail.com>
53027 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53028 to extend_alloca().
53029 * stdio-common/bug23.c: New file.
53030 * stdio-common/Makefile (tests): Add bug23.
53032 2010-09-28 Andreas Schwab <schwab@redhat.com>
53033 Ulrich Drepper <drepper@gmail.com>
53036 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53037 before performing relro protection. At old place add assertion
53038 to make sure nothing changed.
53040 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53041 Glauber de Oliveira Costa <glommer@gmail.com>
53043 * elf/elf.h: Add new ARM TLS relocs.
53045 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53048 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53050 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53052 * sysdeps/wordsize-64/tst-writev.c: New file.
53054 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53056 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53057 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53058 insns in _dl_start to prevent a TOC reference before relocs are
53061 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53064 * Makeconfig: Remove RANLIB definition.
53065 * Makerules: Don't use RANLIB.
53066 * aclocal.m4: Remove ranlib test.
53067 * configure.in: No need to check for ranlib.
53068 * elf/rtld-Rules: Don't use RANLIB.
53070 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53072 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53074 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53075 inclusion protection macro.
53077 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53078 SIGRTMIN and SIGRTMAX and print information in that case only when
53079 SIGRTMIN is defined.
53081 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53083 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53084 arginfo fn returning -1.
53086 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53087 and thousands string is zero terminated.
53089 2011-02-03 Andreas Schwab <schwab@redhat.com>
53091 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53092 sysdeps/unix/sysv/linux/bits/socket.h.
53094 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53096 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53097 (__CPU_COUNT): Remove old macros.
53098 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53099 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53100 (__CPU_ALLOC, __CPU_FREE): Add macros.
53101 (__sched_cpualloc, __sched_cpufree): Add declarations.
53103 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53105 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53106 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53107 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53108 (readdhstai): Return value of addhstaiX call.
53109 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53110 (addgrbyX): Return value returned by cache_addgr.
53111 (readdgrbyname): Return value returned by addgrbyX.
53112 (readdgrbygid): Likewise.
53113 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53114 (addpwbyX): Return value returned by cache_addpw.
53115 (readdpwbyname): Return value returned by addhstbyX.
53116 (readdpwbyuid): Likewise.
53117 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53118 (addservbyX): Return value returned by cache_addserv.
53119 (readdservbyname): Return value returned by addservbyX:
53120 (readdservbyport): Likewise.
53121 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53122 (addhstbyX): Return value returned by cache_addhst.
53123 (readdhstbyname): Return value returned by addhstbyX.
53124 (readdhstbyaddr): Likewise.
53125 (readdhstbynamev6): Likewise.
53126 (readdhstbyaddrv6): Likewise.
53127 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53128 (readdinitgroups): Return value returned by addinitgroupsX.
53129 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53130 (prune_cache): Keep track of timeout value of re-added entries.
53131 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53132 * nscd/nscd.h: Adjust prototypes of readd* functions.
53134 2011-02-04 Roland McGrath <roland@redhat.com>
53136 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53137 (nis_stats): Likewise.
53138 * nis/nis_modify.c (nis_modify): Likewise.
53139 * nis/nis_remove.c (nis_remove): Likewise.
53140 * nis/nis_add.c (nis_add): Likewise.
53142 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53144 * posix/fnmatch_loop.c: Add some consts.
53146 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53148 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53151 * config.make.in (config-cflags-novzeroupper): Define.
53152 * configure.in: Substitute libc_cv_cc_novzeroupper.
53153 * elf/Makefile (AVX-CFLAGS): Define.
53154 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53155 (CFLAGS-tst-auditmod4a.c): Likewise.
53156 (CFLAGS-tst-auditmod4b.c): Likewise.
53157 (CFLAGS-tst-auditmod6b.c): Likewise.
53158 (CFLAGS-tst-auditmod6c.c): Likewise.
53159 (CFLAGS-tst-auditmod7b.c): Likewise.
53160 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53162 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53164 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53165 function to the callback.
53166 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53168 2011-02-02 Andreas Schwab <schwab@redhat.com>
53170 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53173 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53176 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53178 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53180 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53183 * elf/Makefile: Add rules to build and run new test.
53184 * elf/tst-initorder.c: New file.
53185 * elf/tst-initorder.exp: New file.
53186 * elf/tst-initordera1.c: New file.
53187 * elf/tst-initordera2.c: New file.
53188 * elf/tst-initordera3.c: New file.
53189 * elf/tst-initordera4.c: New file.
53190 * elf/tst-initorderb1.c: New file.
53191 * elf/tst-initorderb2.c: New file.
53192 * elf/tst-order-a1.c: New file.
53193 * elf/tst-order-a2.c: New file.
53194 * elf/tst-order-a3.c: New file.
53195 * elf/tst-order-a4.c: New file.
53196 * elf/tst-order-b1.c: New file.
53197 * elf/tst-order-b2.c: New file.
53198 * elf/tst-order-main.c: New file.
53199 New test case by George Gensure <werkt0@gmail.com>.
53201 2010-10-01 Andreas Schwab <schwab@redhat.com>
53203 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53204 decoding ACE if AI_CANONIDN.
53206 2011-01-18 Ulrich Drepper <drepper@gmail.com>
53208 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53210 2011-01-17 Ulrich Drepper <drepper@gmail.com>
53212 * version.h (RELEASE): Bump for 2.13 release.
53213 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53215 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53217 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53219 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53220 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53221 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53222 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53223 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53224 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53226 * posix/getconf.c: Update copyright year.
53227 * catgets/gencat.c: Likewise.
53228 * csu/version.c: Likewise.
53229 * debug/catchsegv.sh: Likewise.
53230 * debug/xtrace.sh: Likewise.
53231 * elf/ldconfig.c: Likewise.
53232 * elf/ldd.bash.in: Likewise.
53233 * elf/sprof.c (print_version): Likewise.
53234 * iconv/iconv_prog.c: Likewise.
53235 * iconv/iconvconfig.c: Likewise.
53236 * locale/programs/locale.c: Likewise.
53237 * locale/programs/localedef.c: Likewise.
53238 * malloc/memusage.sh: Likewise.
53239 * malloc/mtrace.pl: Likewise.
53240 * nscd/nscd.c (print_version): Likewise.
53241 * nss/getent.c: Likewise.
53243 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53244 PF_CAIF, and PF_ALG.
53245 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53247 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53249 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53250 (modules-names): Use them.
53251 (ifunc-test-modules, ifunc-pie-tests): Define.
53252 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53253 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53254 (test-extras): Likewise.
53255 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53256 $(compile-command.c).
53257 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53258 (all-built-dso): Define.
53259 (check-textrel.out, check-execstack.out): Depend on it.
53261 * configure.in: Don't override --enable-multi-arch.
53263 2011-01-15 Ulrich Drepper <drepper@gmail.com>
53266 * nscd/hstcache.c (tryagain): Define.
53267 (cache_addhst): Return tryagain not notfound for temporary errors.
53268 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53271 2011-01-14 Ulrich Drepper <drepper@gmail.com>
53274 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53275 to make the syscall.
53276 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53279 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53280 and fall back to matching as normal character if the string ends before
53281 the matching ']' is found. This is what POSIX requires.
53282 * posix/testfnm.c: Adjust test result.
53283 * posix/globtest.sh: Adjust test result. Add new test.
53284 * posix/tst-fnmatch.input: Likewise.
53285 * posix/tst-fnmatch2.c: Add new test.
53287 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53289 * elf/Makefile (check-execstack): Revert last change. Depend on
53291 (check-execstack.h): New target.
53292 (generated): Add check-execstack.h.
53293 * elf/check-execstack.c: Include "check-execstack.h".
53294 (main): Revert last change.
53295 (handle_file): Return zero if GNU_STACK is absent and
53296 DEFAULT_STACK_PERMS doesn't include PF_X.
53298 2011-01-13 Ulrich Drepper <drepper@gmail.com>
53300 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53301 in child fails because the descriptor is already closed.
53302 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53303 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53304 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53307 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53311 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53312 temporary buffer used to handle multi lookups locally.
53313 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53315 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53317 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53320 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53322 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53323 alignment for SSE2.
53325 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53328 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53329 characters. When rounding increased number of integer digits recompute
53331 * stdio-common/tst-grouping.c: New file.
53332 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53334 2011-01-09 Ulrich Drepper <drepper@gmail.com>
53336 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53337 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53339 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53341 * bits/select.h: Likewise.
53343 2011-01-08 Ulrich Drepper <drepper@gmail.com>
53345 * po/ja.po: Update from translation team.
53347 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
53350 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53351 implementation just like for lxstat, fxstatat, et al.
53353 2010-12-27 Jim Meyering <meyering@redhat.com>
53356 * posix/regexec.c (build_trtable): Return failure indication upon
53357 calloc failure. Otherwise, re_search_internal could infloop on OOM.
53359 2010-12-25 Ulrich Drepper <drepper@gmail.com>
53362 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53363 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53364 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53365 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53368 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53371 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53372 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53374 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
53376 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53377 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53378 script has SORT_BY_INIT_PRIORITY.
53379 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53380 NO_CTORS_DTORS_SECTIONS is defined.
53381 * elf/soinit.c: Likewise.
53382 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53383 NO_CTORS_DTORS_SECTIONS is defined.
53384 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53385 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53386 * sysdeps/sh/init-first.c: Likewise.
53387 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53389 2010-12-24 Ulrich Drepper <drepper@gmail.com>
53391 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53392 always use the slow path.
53394 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
53396 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53397 similar rule which adds the sysdep directories to the header search in
53398 order to pick up the correct platform stackinfo.h.
53399 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53400 perform test if it is, otherwise return successfully without testing.
53401 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53402 DEFAULT_STACK_PERMS define in stackinfo.h.
53403 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53404 defined in stackinfo.h.
53405 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53406 DEFAULT_STACK_PERMS defined in stackinfo.h.
53407 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53408 * sysdeps/ia64/stackinfo.h: Likewise.
53409 * sysdeps/s390/stackinfo.h: Likewise.
53410 * sysdeps/sh/stackinfo.h: Likewise.
53411 * sysdeps/sparc/stackinfo.h: Likewise.
53412 * sysdeps/x86_64/stackinfo.h: Likewise.
53413 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53414 PF_X for powerpc64. Retain PF_X for powerpc32.
53416 2010-12-19 Ulrich Drepper <drepper@gmail.com>
53418 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53420 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53421 GETDENTS_64BIT_ALIGNED.
53423 2010-12-14 Ulrich Drepper <dreper@gmail.com>
53425 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53427 2010-12-10 Andreas Schwab <schwab@redhat.com>
53429 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53432 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53433 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53435 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53436 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53438 2010-12-09 Ulrich Drepper <drepper@gmail.com>
53441 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53444 2010-12-09 Jakub Jelinek <jakub@redhat.com>
53446 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53448 2010-12-03 Ulrich Drepper <drepper@gmail.com>
53450 * po/it.po: Update from translation team.
53452 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
53454 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53457 2010-11-30 Ulrich Drepper <drepper@gmail.com>
53459 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53461 2010-11-24 Andreas Schwab <schwab@redhat.com>
53463 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53465 (gaih_getanswer_slice): Likewise.
53467 2010-10-20 Jakub Jelinek <jakub@redhat.com>
53469 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53471 2010-05-31 Petr Baudis <pasky@suse.cz>
53474 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53475 silently even in the chroot mode.
53477 2010-11-22 Ulrich Drepper <drepper@gmail.com>
53479 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53480 last patch a bit. Pretty printing
53482 2010-05-31 Petr Baudis <pasky@suse.cz>
53485 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53486 initialization of skip_initgroups_dyn.
53488 2010-11-19 Ulrich Drepper <drepper@gmail.com>
53490 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53491 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53493 2010-11-16 Ulrich Drepper <drepper@gmail.com>
53495 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53497 2010-11-11 Andreas Schwab <schwab@redhat.com>
53499 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53500 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53501 (tst-fnmatch-ENV): Set MALLOC_TRACE.
53502 ($(objpfx)tst-fnmatch-mem): New rule.
53503 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53504 * posix/tst-fnmatch.c (main): Call mtrace.
53506 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
53508 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53509 Support Intel processor model 6 and model 0x2c.
53511 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
53513 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53516 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
53519 * string/test-strncasecmp.c (check_result): New function.
53520 (do_one_test): Use it.
53521 (check1): New function.
53522 (test_main): Use it.
53523 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53524 Support strcasecmp and strncasecmp.
53526 2010-11-08 Ulrich Drepper <drepper@gmail.com>
53529 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53530 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53532 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53534 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53536 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53538 * sysdeps/x86_64/multiarch/bzero.S: New file.
53539 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53540 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53541 * sysdeps/x86_64/multiarch/memset.S: New file.
53542 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53543 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53544 Set bit_Prefer_SSE_for_memop for Intel processors.
53545 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53547 (index_Prefer_SSE_for_memop): Define.
53548 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53550 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
53552 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53553 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53555 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53558 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53559 (__x86_64_raw_data_cache_size_half): Likewise.
53560 (__x86_64_raw_shared_cache_size): Likewise.
53561 (__x86_64_raw_shared_cache_size_half): Likewise.
53563 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53564 (__x86_64_raw_data_cache_size_half): Likewise.
53565 (__x86_64_raw_shared_cache_size): Likewise.
53566 (__x86_64_raw_shared_cache_size_half): Likewise.
53567 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53568 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53569 and __x86_64_raw_shared_cache_size_half. Round
53570 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53571 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53572 to multiple of 256 bytes.
53574 2010-11-03 Ulrich Drepper <drepper@gmail.com>
53577 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53578 of inacessible symlinks. Verify result of symlink before returning it.
53579 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53580 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53582 2010-10-28 Erich Ritz <erichritz@gmail.com>
53584 * math/math.h (isinf): Fix typo in comment.
53586 2010-11-01 Ulrich Drepper <drepper@gmail.com>
53588 * po/da.po: Update from translation team.
53590 2010-10-26 Ulrich Drepper <drepper@gmail.com>
53592 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53593 is added to the list.
53595 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53596 Ulrich Drepper <drepper@gmail.com>
53598 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53599 the global list here. Move code to...
53600 (_dl_add_to_namespace_list): ...here. New function.
53601 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53602 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53603 * elf/dl-load.c (lose): Don't remove the element from the list.
53604 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53605 (_dl_map_object): Likewise.
53607 2010-10-25 Ulrich Drepper <drepper@gmail.com>
53610 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53611 into all bytes of SSE register.
53612 Patch by Richard Li <richardpku@gmail.com>.
53614 2010-10-24 Ulrich Drepper <drepper@gmail.com>
53617 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53620 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53622 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53623 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53624 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53625 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53630 2010-10-22 Andreas Schwab <schwab@redhat.com>
53632 * include/dlfcn.h (__RTLD_SECURE): Define.
53633 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53634 mode & __RTLD_SECURE instead.
53635 (open_path): Rename preloaded parameter to secure.
53636 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53637 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53638 * elf/dl-deps.c (openaux): Likewise.
53639 * elf/rtld.c (struct map_args): Remove is_preloaded.
53640 (map_doit): Don't use it.
53641 (dl_main): Likewise.
53642 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53643 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53645 2010-09-09 Andreas Schwab <schwab@redhat.com>
53647 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53648 (sysd-rules-targets): Remove duplicates.
53649 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53650 rtld-%.$o dependency.
53652 2010-10-18 Andreas Schwab <schwab@redhat.com>
53654 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53655 _dl_map_object do it.
53657 2010-10-19 Ulrich Drepper <drepper@gmail.com>
53659 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53660 fast fma builtins, define the macros in the C99 standard.
53661 (FP_FAST_FMAF): Likewise.
53662 (FP_FAST_FMAL): Likewise.
53663 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53665 * bits/mathdef.h: Update copyright year.
53666 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53668 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53670 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53671 builtins, define the macros in the C99 standard.
53672 (FP_FAST_FMAF): Likewise.
53673 (FP_FAST_FMAL): Likewise.
53674 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53676 (FP_FAST_FMAF): Likewise.
53678 2010-10-15 Jakub Jelinek <jakub@redhat.com>
53681 * math/libm-test.inc (fma_test): Some new testcases.
53682 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53683 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53684 y and infinite z. Do multiplication by C already in long double.
53685 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53687 y and infinite z. Do bitwise or of inexact bit into u.d.
53688 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53689 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53690 * sysdeps/i386/fpu/s_fma.S: Removed.
53691 * sysdeps/i386/fpu/s_fmal.S: Removed.
53693 2010-10-16 Jakub Jelinek <jakub@redhat.com>
53696 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53698 computation is not scheduled after fetestexcept. Fix value
53699 of minimum denormal long double.
53701 2010-10-14 Jakub Jelinek <jakub@redhat.com>
53704 * math/libm-test.inc (fma_test): Add some more tests.
53705 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53708 2010-10-15 Andreas Schwab <schwab@redhat.com>
53710 * scripts/data/localplt-s390-linux-gnu.data: New file.
53711 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53713 2010-10-13 Jakub Jelinek <jakub@redhat.com>
53716 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53717 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53719 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53721 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53723 if one of x and y is very large and the other is subnormal.
53724 * sysdeps/s390/fpu/s_fmaf.c: New file.
53725 * sysdeps/s390/fpu/s_fma.c: New file.
53726 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53727 * sysdeps/powerpc/fpu/s_fma.S: New file.
53728 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53729 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53730 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53732 2010-10-12 Jakub Jelinek <jakub@redhat.com>
53735 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53737 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53738 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53739 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53740 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53741 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53742 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53743 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53745 2010-10-12 Ulrich Drepper <drepper@redhat.com>
53748 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53749 * posix/bug-regex31.input: Add test case.
53751 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53753 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53754 * posix/bug-regex31.input: New file.
53757 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53758 (parse_sub_exp): Fix last change, use postorder.
53760 * posix/bug-regex31.c: New file.
53761 * posix/Makefile: Add rules to build and run bug-regex31.
53763 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53766 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53769 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53770 to have entries in sys_siglist.
53773 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53776 2010-10-07 Jakub Jelinek <jakub@redhat.com>
53779 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53780 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53781 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53782 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53783 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53784 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53785 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53786 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53787 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53788 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53789 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53790 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53791 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53792 * math/ftestexcept.c (fetestexcept): Likewise.
53793 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53794 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53795 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53796 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53797 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53798 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53799 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53801 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53804 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53807 2010-10-06 Ulrich Drepper <drepper@gmail.com>
53809 * string/bug-strstr1.c: New file.
53810 * string/Makefile: Add rules to build and run bug-strstr1.
53812 2010-10-05 Eric Blake <eblake@redhat.com>
53815 * string/str-two-way.h (two_way_long_needle): Always clear memory
53816 when skipping input due to the shift table.
53818 2010-10-03 Ulrich Drepper <drepper@gmail.com>
53821 * malloc/mcheck.c: Handle large requests.
53824 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53825 for strncmp and strncasecmp.
53826 * string/stratcliff.c: Add tests for strcmp and strncmp.
53827 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53829 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53831 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53834 2010-09-30 Andreas Jaeger <aj@suse.de>
53836 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53837 (CGROUP_SUPER_MAGIC): Define.
53838 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53839 Handle btrfs and cgroup file systems.
53840 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53843 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
53845 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53846 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53848 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53851 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53852 trying to locate the ELF header.
53854 2010-09-27 Andreas Schwab <schwab@redhat.com>
53857 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53858 Mask out sign-bit copies when constructing f_fsid.
53860 2010-09-24 Petr Baudis <pasky@suse.cz>
53862 * debug/stack_chk_fail_local.c: Add missing licence exception.
53863 * debug/warning-nop.c: Likewise.
53865 2010-09-15 Joseph Myers <joseph@codesourcery.com>
53867 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53868 implementing getdents64 using getdents syscall, set d_type if
53869 __ASSUME_GETDENTS32_D_TYPE.
53871 2010-09-16 Andreas Schwab <schwab@redhat.com>
53873 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53874 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53876 2010-09-21 Ulrich Drepper <drepper@redhat.com>
53879 * posix/unistd.h: Undo change of feature selection for ftruncate from
53882 2010-09-20 Ulrich Drepper <drepper@redhat.com>
53884 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53887 2010-09-20 Andreas Schwab <schwab@redhat.com>
53889 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53891 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53893 2010-09-14 Andreas Schwab <schwab@redhat.com>
53895 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53896 variables after CHECK_SP call.
53897 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53899 2010-09-13 Andreas Schwab <schwab@redhat.com>
53900 Ulrich Drepper <drepper@redhat.com>
53902 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53903 re-relocationg ld.so.
53904 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53905 _dl_init_paths call.
53906 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53909 2010-09-14 Ulrich Drepper <drepper@redhat.com>
53911 * resolv/res_init.c (__res_vinit): Count the default server we added.
53913 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53914 Ulrich Drepper <drepper@redhat.com>
53917 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53918 (____longjmp_chk): Use %ebx for saving value across system call.
53921 2010-09-06 Andreas Schwab <schwab@redhat.com>
53923 * manual/Makefile: Don't mix pattern rules with normal rules.
53925 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53927 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53929 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53930 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53931 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53932 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53933 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53936 2010-09-04 Ulrich Drepper <drepper@redhat.com>
53939 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53940 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53942 2010-09-02 Ulrich Drepper <drepper@redhat.com>
53944 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53945 * sysdeps/x86_64/addmul_1.S: Likewise.
53946 * sysdeps/x86_64/lshift.S: Likewise.
53947 * sysdeps/x86_64/mul_1.S: Likewise.
53948 * sysdeps/x86_64/rshift.S: Likewise.
53949 * sysdeps/x86_64/sub_n.S: Likewise.
53950 * sysdeps/x86_64/submul_1.S: Likewise.
53952 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53954 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53955 Define __sched_param instead of SCHED_* and sched_param when
53956 <bits/sched.h> is included with __need_schedparam defined.
53957 * bits/sched.h [__need_schedparam]
53958 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53959 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53960 (__defined_schedparam): Define to 1.
53961 (__sched_param): New structure, identical to sched_param.
53962 (__need_schedparam): Undefine.
53964 2010-08-31 Mike Frysinger <vapier@gentoo.org>
53966 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53967 (epoll_create1): Declare.
53969 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53971 2010-08-31 Andreas Schwab <schwab@redhat.com>
53974 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53975 shifting retval into place.
53977 2010-09-01 Ulrich Drepper <drepper@redhat.com>
53979 * nis/rpcsvc/nis.h: Update copyright notice.
53980 * nis/rpcsvc/nis.x: Likewise.
53981 * nis/rpcsvc/nis_callback.h: Likewise.
53982 * nis/rpcsvc/nis_callback.x: Likewise.
53983 * nis/rpcsvc/nis_object.x: Likewise.
53984 * nis/rpcsvc/nis_tags.h: Likewise.
53985 * nis/rpcsvc/yp.h: Likewise.
53986 * nis/rpcsvc/yp.x: Likewise.
53987 * nis/rpcsvc/ypupd.h: Likewise.
53988 * nis/yp_xdr.c: Likewise.
53989 * nis/ypupdate_xdr.c: Likewise.
53991 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
53992 mainly the body of pmap_getport. Add parameters to specify timeouts.
53993 (pmap_getport): Use __libc_rpc_getport.
53994 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53995 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53996 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53998 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54003 2010-08-27 Roland McGrath <roland@redhat.com>
54005 * sysdeps/i386/i686/multiarch/Makefile
54006 (CFLAGS-varshift.c): New variable.
54008 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54010 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54011 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54013 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54015 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54017 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54019 * sysdeps/x86_64/strlen.S: Unroll the loop.
54020 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54021 strlen-sse2 strlen-sse2-bsf.
54022 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54023 __strlen_no_bsf if bit_Slow_BSF is set.
54024 (__strlen_sse42): Removed.
54025 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54026 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54028 2010-08-25 Roland McGrath <roland@redhat.com>
54030 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54031 * sysdeps/x86_64/multiarch/varshift.c: New file.
54032 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54033 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54034 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54035 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54037 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54039 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54040 strlen-sse2 strlen-sse2-bsf.
54041 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54042 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54043 (__strlen_sse2): Removed.
54044 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54045 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54046 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54047 bit_Slow_BSF for Atom.
54048 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54049 (index_Slow_BSF): Define.
54050 (HAS_SLOW_BSF): Define.
54052 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54055 * resolv/res_init.c (__res_vinit): When no server address at all
54056 is given default to loopback.
54058 2010-08-24 Roland McGrath <roland@redhat.com>
54060 * configure.in: Remove config-name.h generation.
54061 * configure: Regenerated.
54062 * config-name.in: File removed.
54063 * scripts/config-uname.sh: New file.
54064 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54065 ($(objdir)config-name.h): New target.
54067 * sunrpc/rpc_parse.h: Avoid nested comment.
54069 2010-08-24 Richard Henderson <rth@redhat.com>
54070 Ulrich Drepper <drepper@redhat.com>
54071 H.J. Lu <hongjiu.lu@intel.com>
54073 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54075 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54076 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54077 _mm_alignr_epi8 with _mm_loadu_si128.
54078 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54079 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54080 (__m128i_shift_right): Removed.
54081 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54082 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54083 * sysdeps/x86_64/multiarch/varshift.h: New file.
54084 * sysdeps/x86_64/multiarch/varshift.S: New file.
54086 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54088 * configure.in: Move assembler checks to before sysdep dir checking.
54090 2010-08-20 Petr Baudis <pasky@suse.cz>
54092 * LICENSES: Sync the sunrpc license.
54094 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54096 * sunrpc/auth_des.c: Update copyright notice once again.
54097 * sunrpc/auth_none.c: Likewise.
54098 * sunrpc/auth_unix.c: Likewise.
54099 * sunrpc/authdes_prot.c: Likewise.
54100 * sunrpc/authuxprot.c: Likewise.
54101 * sunrpc/bindrsvprt.c: Likewise.
54102 * sunrpc/clnt_gen.c: Likewise.
54103 * sunrpc/clnt_perr.c: Likewise.
54104 * sunrpc/clnt_raw.c: Likewise.
54105 * sunrpc/clnt_simp.c: Likewise.
54106 * sunrpc/clnt_tcp.c: Likewise.
54107 * sunrpc/clnt_udp.c: Likewise.
54108 * sunrpc/clnt_unix.c: Likewise.
54109 * sunrpc/des_crypt.c: Likewise.
54110 * sunrpc/des_soft.c: Likewise.
54111 * sunrpc/get_myaddr.c: Likewise.
54112 * sunrpc/getrpcport.c: Likewise.
54113 * sunrpc/key_call.c: Likewise.
54114 * sunrpc/key_prot.c: Likewise.
54115 * sunrpc/openchild.c: Likewise.
54116 * sunrpc/pm_getmaps.c: Likewise.
54117 * sunrpc/pm_getport.c: Likewise.
54118 * sunrpc/pmap_clnt.c: Likewise.
54119 * sunrpc/pmap_prot.c: Likewise.
54120 * sunrpc/pmap_prot2.c: Likewise.
54121 * sunrpc/pmap_rmt.c: Likewise.
54122 * sunrpc/rpc/auth.h: Likewise.
54123 * sunrpc/rpc/auth_unix.h: Likewise.
54124 * sunrpc/rpc/clnt.h: Likewise.
54125 * sunrpc/rpc/des_crypt.h: Likewise.
54126 * sunrpc/rpc/key_prot.h: Likewise.
54127 * sunrpc/rpc/netdb.h: Likewise.
54128 * sunrpc/rpc/pmap_clnt.h: Likewise.
54129 * sunrpc/rpc/pmap_prot.h: Likewise.
54130 * sunrpc/rpc/pmap_rmt.h: Likewise.
54131 * sunrpc/rpc/rpc.h: Likewise.
54132 * sunrpc/rpc/rpc_des.h: Likewise.
54133 * sunrpc/rpc/rpc_msg.h: Likewise.
54134 * sunrpc/rpc/svc.h: Likewise.
54135 * sunrpc/rpc/svc_auth.h: Likewise.
54136 * sunrpc/rpc/types.h: Likewise.
54137 * sunrpc/rpc/xdr.h: Likewise.
54138 * sunrpc/rpc_clntout.c: Likewise.
54139 * sunrpc/rpc_cmsg.c: Likewise.
54140 * sunrpc/rpc_common.c: Likewise.
54141 * sunrpc/rpc_cout.c: Likewise.
54142 * sunrpc/rpc_dtable.c: Likewise.
54143 * sunrpc/rpc_hout.c: Likewise.
54144 * sunrpc/rpc_main.c: Likewise.
54145 * sunrpc/rpc_parse.c: Likewise.
54146 * sunrpc/rpc_parse.h: Likewise.
54147 * sunrpc/rpc_prot.c: Likewise.
54148 * sunrpc/rpc_sample.c: Likewise.
54149 * sunrpc/rpc_scan.c: Likewise.
54150 * sunrpc/rpc_scan.h: Likewise.
54151 * sunrpc/rpc_svcout.c: Likewise.
54152 * sunrpc/rpc_tblout.c: Likewise.
54153 * sunrpc/rpc_util.c: Likewise.
54154 * sunrpc/rpc_util.h: Likewise.
54155 * sunrpc/rpcinfo.c: Likewise.
54156 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54157 * sunrpc/rpcsvc/key_prot.x: Likewise.
54158 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54159 * sunrpc/rpcsvc/mount.x: Likewise.
54160 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54161 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54162 * sunrpc/rpcsvc/rex.x: Likewise.
54163 * sunrpc/rpcsvc/rstat.x: Likewise.
54164 * sunrpc/rpcsvc/rusers.x: Likewise.
54165 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54166 * sunrpc/rpcsvc/spray.x: Likewise.
54167 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54168 * sunrpc/rtime.c: Likewise.
54169 * sunrpc/svc.c: Likewise.
54170 * sunrpc/svc_auth.c: Likewise.
54171 * sunrpc/svc_authux.c: Likewise.
54172 * sunrpc/svc_raw.c: Likewise.
54173 * sunrpc/svc_run.c: Likewise.
54174 * sunrpc/svc_simple.c: Likewise.
54175 * sunrpc/svc_tcp.c: Likewise.
54176 * sunrpc/svc_udp.c: Likewise.
54177 * sunrpc/svc_unix.c: Likewise.
54178 * sunrpc/svcauth_des.c: Likewise.
54179 * sunrpc/xcrypt.c: Likewise.
54180 * sunrpc/xdr.c: Likewise.
54181 * sunrpc/xdr_array.c: Likewise.
54182 * sunrpc/xdr_float.c: Likewise.
54183 * sunrpc/xdr_mem.c: Likewise.
54184 * sunrpc/xdr_rec.c: Likewise.
54185 * sunrpc/xdr_ref.c: Likewise.
54186 * sunrpc/xdr_sizeof.c: Likewise.
54187 * sunrpc/xdr_stdio.c: Likewise.
54189 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54192 2010-08-19 Andreas Schwab <schwab@redhat.com>
54194 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54196 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54198 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54199 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54200 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54201 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54202 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54203 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54204 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54205 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54206 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54207 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54208 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54209 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54210 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54211 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54213 2010-07-26 Anton Blanchard <anton@samba.org>
54215 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54216 * malloc/arena.c (heap_trim): Likewise.
54218 2010-08-16 Ulrich Drepper <drepper@redhat.com>
54220 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54222 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54223 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54225 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54227 * sysdeps/i386/elf/Makefile: New file.
54229 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54231 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54232 from fanotify_init.
54233 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54234 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54236 2010-08-15 Ulrich Drepper <drepper@redhat.com>
54238 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54240 * sysdeps/multiarch/strcmp.S: Likewise.
54242 2010-08-14 Ulrich Drepper <drepper@redhat.com>
54244 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54245 strncase_l-nonascii.
54246 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54247 Add strncase_l-ssse3.
54248 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54249 * sysdeps/x86_64/strcmp.S: Likewise.
54250 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54251 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54252 * sysdeps/x86_64/strncase.S: New file.
54253 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54254 * sysdeps/x86_64/strncase_l.S: New file.
54255 * string/Makefile (strop-tests): Add strncasecmp.
54256 * string/test-strncasecmp.c: New file.
54258 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54261 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54262 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54264 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54266 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54268 2010-08-12 Ulrich Drepper <drepper@redhat.com>
54270 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54271 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54272 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54274 2010-05-01 Alan Modra <amodra@gmail.com>
54276 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54277 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54278 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54279 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54280 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54281 tidying. Don't tail-call __sigjmp_save for static lib.
54282 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54284 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54285 (CALL_MCOUNT): Add eh info, and nop after bl.
54286 (TAIL_CALL_SYSCALL_ERROR): New macro.
54287 (PSEUDO_RET): Use it.
54288 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54289 Correct save location of integer regs and cr.
54290 (_dl_profile_resolve): Correct cr save location. Delete nops
54291 after bl when SHARED. Reduce cfi size a little by better
54292 placement of cfi directives.
54293 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54294 make a stack frame. Instead use parm save area as a temp.
54295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54296 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54298 Don't make a stack frame for parent, use parm save area.
54299 Increase child stack frame to 112 bytes. Don't save unused reg,
54300 and adjust reg usage. Set up cfi on error recovery and
54301 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54303 (__makecontext): Add dummy nop after jump to exit.
54304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54305 Use correct parm save area and cr save, reduce stack frame.
54306 Correct cfi for possible PSEUDO_RET frame setup.
54307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54308 Branch to local label emitted by PSEUDO_RET rather than
54311 2010-08-12 Andreas Schwab <schwab@redhat.com>
54314 * locale/programs/locale.c (print_assignment): New function.
54315 (show_locale_vars): Use it.
54317 2010-08-11 Ulrich Drepper <drepper@redhat.com>
54319 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54321 (struct statfs64): Likewise.
54322 (_STATFS_F_FLAGS): Define.
54323 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54324 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54325 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54326 (ST_VALID): Define locally.
54327 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54328 __statvfs_getflags, use the provided value.
54329 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54330 __ASSUME_STATFS_F_FLAGS.
54332 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54334 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54335 Add sys/fanotify.h.
54336 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54337 fanotify_mask for GLIBC_2.13.
54338 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54339 fanotify_init and fanotify_mark.
54340 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54341 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54343 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54345 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54346 prlimit64 for GLIBC_2.13.
54347 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54349 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54352 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54353 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54354 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54355 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54357 * sysdeps/unix/sysv/linux/prlimit.c: New file.
54360 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54361 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54363 * nss/Makefile: Add rules to build and run tst-nss-test1.
54364 * shlib-versions: Add entry for libnss_test1.
54365 * nss/nss_test1.c: New file.
54366 * nss/tst-nss-test1.c: New file.
54368 * nss/nsswitch.c (__nss_database_custom): Define new variable.
54369 (__nss_configure_lookup): Set appropriate entry in
54370 __nss_configure_lookup to true.
54371 * nss/nsswitch.h: Define enum with indeces of databases in
54372 databases and __nss_database_custom arrays. Declare
54373 __nss_database_custom.
54374 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54375 to avoid using nscd when custom rules are installed.
54376 * nss/getXXbyYY_r.c: Likewise.
54377 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54379 * nss/nss_files/files-parse.c: Whitespace fixes.
54381 2010-08-09 Ulrich Drepper <drepper@redhat.com>
54384 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54385 * posix/fnmatch_loop.c: Likewise.
54387 2010-07-17 Andi Kleen <ak@linux.intel.com>
54389 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54390 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54391 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54392 * Versions.def [GLIBC_2.13]: Add.
54394 2010-08-06 Ulrich Drepper <drepper@redhat.com>
54396 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54397 Also fail if tpwd after pwuid call is NULL.
54399 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
54401 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54402 when converting to ms.
54404 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54406 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54407 EOPNOTSUPP errors with ENOTTY.
54408 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54409 EOPNOTSUPP errors with ENOTTY.
54411 2010-07-31 Ulrich Drepper <drepper@redhat.com>
54413 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54414 Add strcasecmp_l-ssse3.
54415 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54417 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54418 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54419 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54421 2010-07-30 Ulrich Drepper <drepper@redhat.com>
54423 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54425 * string/Makefile (strop-tests): Add strcasecmp.
54426 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54427 strcasecmp_l-nonascii.
54428 (gen-as-const-headers): Add locale-defines.sym.
54429 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54430 * sysdeps/x86_64/strcasecmp.S: New file.
54431 * sysdeps/x86_64/strcasecmp_l.S: New file.
54432 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54433 * sysdeps/x86_64/locale-defines.sym: New file.
54434 * string/test-strcasecmp.c: New file.
54436 * string/test-strcasestr.c: Test both ends of the range of characters.
54437 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54439 2010-07-29 Roland McGrath <roland@redhat.com>
54442 * manual/locale.texi (Yes-or-No Questions): Fix example code.
54444 2010-07-27 Ulrich Drepper <drepper@redhat.com>
54446 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54449 2010-07-27 Andreas Schwab <schwab@redhat.com>
54451 * manual/memory.texi (Malloc Tunable Parameters): Document
54454 2010-07-26 Roland McGrath <roland@redhat.com>
54457 * configure.in (-fgnu89-inline check): Set and substitute
54458 gnu89_inline, not libc_cv_gnu89_inline.
54459 * configure: Regenerated.
54460 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54462 2010-07-26 Ulrich Drepper <drepper@redhat.com>
54464 * string/test-strnlen.c: New file.
54465 * string/Makefile (strop-tests): Add strnlen.
54466 * string/tester.c (test_strnlen): Add a few more test cases.
54467 * string/tst-strlen.c: Better error reporting.
54469 * sysdeps/x86_64/strnlen.S: New file.
54471 2010-07-24 Ulrich Drepper <drepper@redhat.com>
54473 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54474 lower-latency instructions.
54476 2010-07-23 Ulrich Drepper <drepper@redhat.com>
54478 * string/test-strcasestr.c: New file.
54479 * string/test-strstr.c: New file.
54480 * string/Makefile (strop-tests): Add strstr and strcasestr.
54481 * string/str-two-way.h: Don't undefine MAX.
54482 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54484 2010-07-21 Andreas Schwab <schwab@redhat.com>
54486 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54487 strcasestr-nonascii.
54488 (CFLAGS-strcasestr-nonascii.c): Define.
54489 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54490 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54491 Remove unused attribute.
54493 2010-07-20 Roland McGrath <roland@redhat.com>
54495 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54496 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
54497 ld.so.cache was broken. With it, there is no way to disable dsocaps
54498 like LD_HWCAP_MASK can disable hwcaps.
54500 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54502 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54504 2010-07-16 Ulrich Drepper <drepper@redhat.com>
54506 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54507 call in strcasestr.
54508 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54509 __strcasestr_sse42_nonascii.
54510 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54511 strcasestr-nonascii.c.
54512 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54514 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
54516 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54517 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54518 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54519 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54521 2010-07-09 Ulrich Drepper <drepper@redhat.com>
54523 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54526 2010-07-06 Andreas Schwab <schwab@redhat.com>
54529 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54532 2010-07-06 Ulrich Drepper <drepper@redhat.com>
54534 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54535 _PC_PIPE_BUF using F_GETPIPE_SZ.
54537 2010-07-05 Roland McGrath <roland@redhat.com>
54539 * manual/arith.texi (Rounding Functions): Fix rint description
54540 implicit in round description.
54542 2010-07-02 Ulrich Drepper <drepper@redhat.com>
54544 * elf/Makefile: Fix linking for a few tests to make recent linker
54547 2010-06-30 Andreas Schwab <schwab@redhat.com>
54549 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54550 $(common-objpfx)libc_nonshared.a.
54552 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
54554 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54555 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54556 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54557 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54558 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54559 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54560 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54561 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54566 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54569 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54572 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54574 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54576 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54577 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54578 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54579 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54580 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54581 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54582 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54583 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54584 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54585 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54586 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54587 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54597 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54603 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54605 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54606 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54607 * string/memmove.c (memmove): Renamed to ...
54608 (MEMMOVE): ...this. Default to memmove.
54609 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54610 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54612 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54613 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54614 mempcpy-ssse3-back memmove-ssse3-back.
54615 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54616 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54617 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54618 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54619 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54620 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54621 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54622 * sysdeps/x86_64/multiarch/memmove.c: New file.
54623 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54624 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54625 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54626 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54627 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54628 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54630 (index_Fast_Copy_Backward): Define.
54631 (HAS_ARCH_FEATURE): Define.
54632 (HAS_FAST_REP_STRING): Define.
54633 (HAS_FAST_COPY_BACKWARD): Define.
54635 2010-06-21 Andreas Schwab <schwab@redhat.com>
54637 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54638 Restore proper fallback handling.
54640 2010-06-19 Ulrich Drepper <drepper@redhat.com>
54643 * posix/group_member.c (__group_member): Correct checking loop.
54645 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54646 OOM in getpwuid_r correctly. Return error number when the caller
54647 should return, otherwise -1.
54648 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54649 call returning > 0 value.
54650 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54652 2010-06-07 Andreas Schwab <schwab@redhat.com>
54654 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54655 libc_nonshared.a from targets in modules-names.
54657 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54659 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54662 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
54664 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54665 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54666 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54667 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54669 2010-06-02 Andreas Schwab <schwab@redhat.com>
54671 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54673 2010-06-14 Ulrich Drepper <drepper@redhat.com>
54675 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54677 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54678 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54679 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54680 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54681 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54682 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54684 2010-06-14 Roland McGrath <roland@redhat.com>
54686 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54688 2010-06-07 Jakub Jelinek <jakub@redhat.com>
54690 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54691 __REDIRECT followed by __THROW.
54692 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54693 * posix/getopt.h (getopt): Likewise.
54695 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54697 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54698 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54699 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54701 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54702 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54704 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
54706 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54708 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54712 Properly check family and model.
54714 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54716 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54718 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
54720 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54722 2010-05-21 Ulrich Drepper <drepper@redhat.com>
54724 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54727 2010-05-19 Andreas Schwab <schwab@redhat.com>
54729 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54732 2010-05-21 Andreas Schwab <schwab@redhat.com>
54734 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54735 and internal_recvmmsg.
54736 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54737 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54738 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54739 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54741 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54742 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54743 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54745 2010-05-20 Andreas Schwab <schwab@redhat.com>
54747 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54749 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
54751 POWER7 optimizations.
54752 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54753 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54755 2010-05-19 Ulrich Drepper <drepper@redhat.com>
54757 * version.h: Update for 2.13 development version.
54759 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
54761 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54762 exceptions. Return 0.
54764 2010-05-07 Roland McGrath <roland@redhat.com>
54766 * elf/ldconfig.c (main): Add a const.
54768 2010-05-06 Ulrich Drepper <drepper@redhat.com>
54770 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54771 (args_options): Add no-idn option.
54772 (ahosts_keys_int): Add idn_flags to ai_flags.
54773 (parse_option): Handle 'i' option to clear idn_flags.
54775 * malloc/malloc.c (_int_free): Possible race in the most recently
54776 added check. Only act on the data if no current modification
54779 See ChangeLog.17 for earlier changes.