1 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
6 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
9 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
10 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
11 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
13 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
15 * sysdeps/i386/tls-macros.h: Include <features.h>.
16 (TLS_LE): Use non-PIC version for GCC >= 5.0.
20 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
21 define for GCC >= 5.0.
23 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
25 * math/test-fenv.c (test_single_exception, set_single_exc,
26 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
27 feexcp_mask_test, feenable_test, fe_single_test): Add
28 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
29 case where they are not used.
30 * math/libm-test.inc: Likewise.
31 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
32 unused in the absence of FP rounding/exception support.
33 * stdio-common/tst-printf-round.c: Likewise.
34 * stdlib/tst-strtod-round.c: Likewise.
35 * stdlib/tst-strtod-underflow.c: Likewise.
37 2014-12-30 Joseph Myers <joseph@codesourcery.com>
40 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
42 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
43 __feraiseexcept and define as weak alias of __feraiseexcept. Use
45 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
46 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
47 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
49 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
50 __feraiseexcept and define as weak alias of __feraiseexcept. Use
52 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
54 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
55 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
56 __feraiseexcept and define as weak alias of __feraiseexcept. Use
58 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
60 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
61 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
62 (__feraiseexcept): Likewise.
63 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
64 __feraiseexcept and define as weak alias of __feraiseexcept. Use
66 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
67 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
69 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
70 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
72 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
74 (feraiseexcept): Define as weak not strong alias. Use
76 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
77 New inline function. Factored out of ...
78 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
79 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
80 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
82 * math/w_acos.c (__acos): Likewise.
83 * math/w_asin.c (__asin): Likewise.
84 * math/w_ilogb.c (__ilogb): Likewise.
85 * math/w_j0.c (y0): Likewise.
86 * math/w_j1.c (y1): Likewise.
87 * math/w_jn.c (yn): Likewise.
88 * math/w_log.c (__log): Likewise.
89 * math/w_log10.c (__log10): Likewise.
90 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
91 * sysdeps/aarch64/fpu/math_private.h
92 (libc_feupdateenv_test_aarch64): Likewise.
93 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
94 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
95 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
96 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
97 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
98 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
99 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
100 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
101 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
102 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
104 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
107 * io/test-utime.c (main): Replace %ld with %jd and cast to
109 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
110 * nptl/tst-mutex5.c: Include <stdint.h>.
111 (do_test): Replace %ld with %jd and cast to intmax_t.
112 * posix/tst-regex.c (run_test): Likewise.
113 (run_test_backwards): Likewise.
114 * rt/tst-clock.c: Include <stdint.h>.
115 (clock_test): Replace %ld with %jd and cast to intmax_t.
116 * rt/tst-cpuclock1.c: Include <stdint.h>.
117 (do_test): Replace %lu with %ju and cast to uintmax_t.
118 * rt/tst-cpuclock2.c: Include <stdint.h>.
119 (do_test): Replace %lu with %ju and cast to uintmax_t.
120 * rt/tst-mqueue1.c: Include <stdint.h>.
121 (check_attrs): Replace %ld with %jd and cast to intmax_t.
122 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
124 * rt/tst-mqueue4.c (do_test): Likewise.
125 * rt/tst-timer4.c: Include <stdint.h>.
126 (check_ts): Replace %ld with %jd and cast to intmax_t.
128 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
129 and cast to intmax_t.
130 * sysdeps/pthread/tst-timer.c (main): Likewise.
131 * time/clocktest.c (main): Likewise.
132 * time/tst-posixtz.c (do_test): Likewise.
133 * timezone/tst-timezone.c (main): Likewise.
135 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
136 H.J. Lu <hongjiu.lu@intel.com>
138 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
139 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
140 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
141 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
142 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
143 version if bit_Fast_Unaligned_Load is set.
144 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
145 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
146 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
147 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
148 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
149 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
151 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
152 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
153 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
155 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
156 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
157 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
158 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
160 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
162 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
163 instead of #if to avoid a Wundef warning.
164 * stdlib/tst-limits.c (do_test): Likewise.
166 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
167 parallel other exception macros.
168 (fegetenv): Convert from macro to extern inline so that it applies
169 retroactively to inline functions already seen by the compiler.
170 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
172 * posix/Makefile (before-compile): Use $(objpfx) for
173 posix-conf-vars-def.h.
175 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
177 * posix/getconf.c (main): Use size_t for type of I.
178 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
181 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
182 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
183 * posix/posix-envs.def: Likewise.
184 * sysdeps/posix/sysconf.c: Likewise.
185 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
186 (specs): Remove array.
187 * scripts/gen-posix-conf-vars.awk: Support generation of specs
190 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
191 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
192 (__sysconf): Use CONF_IS_* macros.
194 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
195 ($(objpfx)posix-conf-vars-def.h): New target.
196 * posix/posix-conf-vars.list: New file.
197 * posix/posix-conf-vars.h: New file.
198 * posix/confstr.c: Include posix-conf-vars.h.
199 (confstr): Use CONF_IS_* macros.
200 * posix/posix-envs.def: Include posix-conf-vars.h. Use
202 * scripts/gen-posix-conf-vars.awk: New file.
204 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
206 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
207 fegetround): Add no-op macros to avoid linknamespace issues.
209 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
210 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
212 * sysdeps/unix/sysv/linux/tile/sysdep.h
213 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
214 assembly-specific section to avoid a redefinition warning.
216 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
217 long before casting to pointer to avoid a cast warning.
219 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
221 * sysdeps/tile/tilegx/Implies: New file.
223 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
225 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
227 2014-12-23 Florian Weimer <fweimer@redhat.com>
229 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
231 2014-12-22 Joseph Myers <joseph@codesourcery.com>
233 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
235 * sysdeps/unix/sysv/linux/utimes.c: Do not include
237 (__utimes) [__NR_utimes]: Make code unconditional.
238 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
239 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
240 (__ASSUME_UTIMES): Do not undefine.
241 * sysdeps/unix/sysv/linux/tile/kernel-features.h
242 (__ASSUME_UTIMES): Likewise.
243 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
244 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
245 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
246 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
248 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
250 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
252 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
255 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
256 alias to weak alias for j0l, y0l.
257 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
258 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
261 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
264 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
266 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
267 to zero if not already defined.
269 2014-12-22 Joseph Myers <joseph@codesourcery.com>
272 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
273 (__kernel_standard_f): Remove. Moved to k_standardf.c.
274 (__kernel_standard_l): Remove. Moved to k_standardl.c with
275 (char *) casts added.
276 * sysdeps/ieee754/k_standardf.c: New file.
277 * sysdeps/ieee754/k_standardl.c: Likewise.
278 * math/Makefile (libm-support): Remove k_standard.
279 (libm-calls): Add k_standard.
281 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
283 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
284 Optimize to avoid an unnecessary FPCR read.
286 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
288 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
289 Optimize to reduce FPCR/FPSR accesses.
291 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
293 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
294 Call libc_fetestexcept_aarch64.
296 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
298 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
299 Call libc_fesetround_aarch64.
301 2014-12-22 Joseph Myers <joseph@codesourcery.com>
304 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
305 (__bind): Do not define as weak alias.
306 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
308 (__getsockname): Do not define as weak alias.
310 2014-12-22 Will Newton <will.newton@linaro.org>
312 * manual/install.texi: Document that we require bison 2.7
314 * INSTALL: Regenerate.
315 * configure.ac: Use AC_CHECK_PROG_VER instead of
316 AC_PATH_PROG when checking for bison and check for
317 version 2.7 or above.
318 * configure: Regenerate.
320 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
323 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
324 * sysdeps/tile/ffsll.c (ffsll): To here.
326 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
328 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
330 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
332 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
334 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
335 hidden ___tls_get_addr.
336 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
337 hidden __tls_get_addr.
338 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
339 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
342 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
344 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
347 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
349 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
350 from "call _dl_init@PLT".
351 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
353 2014-12-21 Anders Kaseorg <andersk@mit.edu>
355 * manual/search.texi: (Array Sort Function): Clarify stable sorting
358 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
360 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
362 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
365 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
368 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
370 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
372 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
373 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
374 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
375 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
376 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
378 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
380 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
381 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
382 (PTR_SUBU): Use subu for mips32r6/mips64r6.
383 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
384 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
386 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
388 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
390 * string/strncat.c (STRNCAT): Simplify implementation.
392 2014-12-19 David S. Miller <davem@davemloft.net>
394 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
395 access the quad as both a long double and as a series of 4 words.
397 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
398 link_map->l_info array access.
400 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
402 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
404 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
405 * math/atest-exp2.c (TIMEOUT): Likewise.
406 * math/atest-sincos.c (TIMEOUT): Likewise.
408 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
410 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
411 -Wno-error with -fno-builtin-lround.
413 2014-12-19 Torvald Riegel <triegel@redhat.com>
415 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
416 Contains futex constants and functions moved over from ...
417 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
418 <lowlevellock-futex.h>.
419 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
420 (lll_timedwait_tid): Add comments and parentheses around macro
423 2014-12-19 Torvald Riegel <triegel@redhat.com>
425 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
426 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
427 (__lll_private_flag): Remove.
428 (lll_futex_wait): Likewise.
429 (lll_futex_timed_wait): Likewise.
430 (lll_futex_wake): Likewise.
431 (lll_futex_requeue): Likewise.
432 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
433 (__lll_timedwait_tid): Spell out argument names.
434 (lll_timedwait_tid): Add comments and parentheses around macro
436 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
437 LLL_SHARED and LLL_PRIVATE usable from assembly code.
439 2014-12-19 Torvald Riegel <triegel@redhat.com>
441 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
442 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
443 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
444 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
445 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
446 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
447 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
448 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
449 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
450 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
451 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
452 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
453 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
454 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
455 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
456 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
457 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
458 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
459 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
461 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
463 * sysdeps/x86_64/x32/Makefile: New file.
465 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
467 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
468 1L with (mp_limb_t) 1.
470 2014-12-17 Roland McGrath <roland@hack.frob.com>
472 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
473 * nptl/libc_pthread_init.c: ... here.
474 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
475 * nptl/register-atfork.c: ... here.
477 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
478 Use pthread_sigmask rather than INTERNAL_SYSCALL.
479 Use assert_perror to check its return value.
480 (__gai_create_helper_thread): Likewise.
482 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
484 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
486 2014-12-17 Joseph Myers <joseph@codesourcery.com>
489 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
491 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
493 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
495 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
497 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
498 (profil_counter): Likewise.
499 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
500 (profil_counter): Likewise.
501 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
503 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
505 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
506 (profil_counter): Likewise.
507 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
509 [!__profil_counter] (profil_counter): Define as weak alias of
511 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
512 (profil_counter): Rename to __profil_counter.
513 [!__profil_counter] (profil_counter): Define as weak alias of
515 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
516 (profil_counter): Rename to __profil_counter.
517 [!__profil_counter] (profil_counter): Define as weak alias of
519 * sysdeps/posix/profil.c: Update comment referring to
521 (__profil): Use __profil_counter instead of profil_counter.
522 * sysdeps/posix/sprofil.c (profil_counter): Rename to
523 __profil_counter. Use __profil_counter_ushort and
524 __profil_counter_uint in definitions.
525 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
526 instead of profil_counter_uint and profil_counter_ushort.
529 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
530 define as weak alias of __inet_makeaddr.
531 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
532 as weak alias of __inet_addr.
533 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
534 as weak alias of __inet_pton. Use libc_hidden_weak.
535 * include/arpa/inet.h (__inet_pton): Declare. Use
537 (inet_makeaddr): Don't use libc_hidden_proto.
538 (__inet_makeaddr): Declare. Use libc_hidden_proto.
539 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
540 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
541 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
543 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
544 (test-xfail-POSIX/time.h/linknamespace): Likewise.
546 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
548 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
550 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
552 * stdio-common/bug-vfprintf-nargs.c (do_test):
553 Cast value to intptr_t to avoid format warning
554 for usage with PRIdPTR printing macro.
556 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
558 * libio/tst-widetext.c (do_test):
559 Use format type %td instead of %Zd for ptrdiff_t
560 in order to avoid format warning.
562 2014-12-17 Andreas Schwab <schwab@suse.de>
564 * nscd/mem.c (gc): Add size_t cast to match printf format.
566 2014-12-16 Roland McGrath <roland@hack.frob.com>
568 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
569 (init): Apply PTR_MANGLE to pointers before storing them.
570 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
573 2014-12-16 Joseph Myers <joseph@codesourcery.com>
576 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
577 define as weak alias of __memrchr.
578 (__memrchr): Do not define as strong alias of memrchr.
579 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
581 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
582 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
583 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
586 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
587 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
588 (if_indextoname): Rename to __if_indextoname and define as weak
589 alias of __if_indextoname. Use libc_hidden_weak.
590 (if_freenameindex): Rename to __if_freenameindex and define as
591 weak alias of __if_freenameindex.
592 (if_nameindex): Rename to __if_nameindex and define as weak alias
594 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
595 __if_nametoindex and define as weak alias of __if_nametoindex.
596 Use libc_hidden_weak.
597 (if_freenameindex): Rename to __if_freenameindex and define as
598 weak alias of __if_freenameindex.
599 (if_nameindex): Rename to __if_nameindex and define as weak alias
601 (if_indextoname): Rename to __if_indextoname and define as weak
602 alias of __if_indextoname. Use libc_hidden_weak.
603 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
604 __if_nametoindex and define as weak alias of __if_nametoindex.
605 Use libc_hidden_weak.
606 (if_freenameindex): Rename to __if_freenameindex and define as
607 weak alias of __if_freenameindex. Use libc_hidden_weak.
608 (if_nameindex_netlink): Use __if_freenameindex instead of
610 (if_nameindex): Rename to __if_nameindex and define as weak alias
611 of __if_nameindex. Use libc_hidden_weak.
612 (if_indextoname): Rename to __if_indextoname and define as weak
613 alias of __if_indextoname. Use libc_hidden_weak.
614 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
616 [!_ISOMAC] (__if_freenameindex): Likewise.
617 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
619 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
621 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
622 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
623 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
624 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
625 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
626 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
627 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
629 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
631 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
632 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
634 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
636 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
637 subscript above bounds'
639 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
642 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
644 * libio/tst-fopenloc.c: Use test-skeleton.c.
646 * stdlib/tst-bsearch.c: Use test-skeleton.c.
647 (entry): Rename to ITEM.
648 (do_test, comp): Adjust.
650 * stdio-common/tst-fseek.c: Use test-skeleton.c.
652 2014-12-16 Torvald Riegel <triegel@redhat.com>
654 * string/tester.c: Include <libc-internal.h>.
655 (test_memset): Ignore -Wmemset-transposed-args.
657 2014-12-16 Torvald Riegel <triegel@redhat.com>
659 * misc/tst-mntent2.c (do_test): Fix warning.
661 2014-12-16 Torvald Riegel <triegel@redhat.com>
663 * elf/tst-unique4lib.cc(a): Mark as used.
665 2014-12-16 Florian Weimer <fweimer@redhat.com>
668 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
671 2014-12-16 Allan McRae <allan@archlinux.org>
673 * stdio-common/Makefile (tests): Re-add bug26.
675 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
678 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
681 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
683 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
684 (__lll_lock_wait): Likewise.
685 (__lll_timedlock_wait): Likewise.
686 (__lll_timedwait_tid): Likewise.
687 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
688 (__lll_robust_timedlock_wait): Likewise.
689 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
690 (lll_cond_trylock): Likewise.
691 (__lll_lock): Likewise.
692 (__lll_robust_lock): Likewise.
693 (__lll_cond_lock): Likewise.
694 (lll_robust_cond_lock): Likewise.
695 (__lll_timedlock): Likewise.
696 (__lll_robust_timedlock): Likewise.
697 (__lll_unlock): Likewise.
698 (__lll_robust_unlock): Likewise.
699 (lll_wait_tid): Likewise.
700 (lll_timedwait_tid): Likewise.
702 2014-12-15 Torvald Riegel <triegel@redhat.com>
704 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
706 2014-12-15 Torvald Riegel <triegel@redhat.com>
708 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
710 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
712 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
713 * stdio-common/tst-sprintf.c: Likewise.
715 2014-12-15 Torvald Riegel <triegel@redhat.com>
717 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
719 2014-12-15 Jeff Law <law@redhat.com>
722 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
723 on the heap. (CVE-2012-3406)
724 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
725 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
726 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
728 2014-12-15 Will Newton <will.newton@linaro.org>
730 * manual/install.texi: Bump required version of texinfo
732 * INSTALL: Regenerated.
733 * configure.ac: Check for makeinfo version 4.7 and above.
734 * configure: Regenerated.
736 2014-12-12 Roland McGrath <roland@hack.frob.com>
738 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
739 PREFIX, string constant to insert between directory and name.
740 * sysdeps/posix/shm_open.c: Update caller.
741 * sysdeps/posix/shm_unlink.c: Likewise.
742 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
743 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
744 (SEM_SHM_PREFIX): New macro.
745 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
746 [$(have-thread-library) = no].
747 * nptl/Makefile (libpthread-routines): Add shm-directory.
748 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
749 * sysdeps/nptl/shm-directory.h: New file.
750 * sysdeps/posix/shm-directory.c
751 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
752 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
753 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
755 (__where_is_shmfs): Function removed.
756 (mountpoint, defaultmount, defaultdir, __namedsem_once):
758 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
760 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
762 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
763 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
764 unconditional for use inside libpthread.
765 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
767 2014-12-12 Roland McGrath <roland@hack.frob.com>
769 * nptl/pthread_getaffinity.c: New file.
770 * nptl/pthread_setaffinity.c: New file.
771 * nptl/pthread_getname.c: New file.
772 * nptl/pthread_setname.c: New file.
774 * nptl/pthread_create.c (START_THREAD_DEFN)
775 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
777 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
778 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
780 * resolv/res_send.c (send_vc): Disable warning resplen may
781 be used uninitialized.
783 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
786 (ATTR_NULL): New define checks ATTR against NULL.
787 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
788 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
790 2014-12-11 James Lemke <jwlemke@codesourcery.com>
794 (mem2mem_check): Revert my previous change.
795 (malloc_check_get_size): Revert my previous change.
796 (mem2chunk_check): Revert my previous change.
798 2014-12-11 Roland McGrath <roland@hack.frob.com>
800 * sysdeps/posix/shm-directory.c: New file.
801 * sysdeps/posix/shm-directory.h: New file.
802 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
803 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
804 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
805 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
806 Transmute EPERM to EACCES.
807 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
809 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
810 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
812 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
814 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
815 pointer and cast to uintptr_t.
816 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
817 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
818 Add cast to avoid warning.
819 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
821 2014-12-11 Joseph Myers <joseph@codesourcery.com>
823 * nptl/semaphore.h: Move to ...
824 * sysdeps/pthread/semaphore.h: ... here.
825 * Makefile (installed-headers): Change nptl/semaphore.h to
826 sysdeps/pthread/semaphore.h.
828 2014-12-11 Roland McGrath <roland@hack.frob.com>
830 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
831 generated error format strings.
833 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
834 -Wformat-extra-args warnings for scanf formats.
835 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
836 test of zero-length format (duh).
837 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
838 corner-case scanf format test.
839 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
840 generated fprintf format string.
841 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
842 corner-case sprintf format tests.
843 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
844 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
845 -Wformat-extra-args warnings throughout.
846 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
847 (CFLAGS-scanf4.c): Likewise.
848 (CFLAGS-scanf7.c): Likewise.
849 (CFLAGS-tst-sprintf.c): Likewise.
850 (CFLAGS-tst-printf.c): Likewise.
851 (CFLAGS-tst-printfsz.c): Likewise.
853 2014-12-11 Joseph Myers <joseph@codesourcery.com>
855 * include/cpio.h: New file.
856 * include/fmtmsg.h: Likewise.
858 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
859 corresponding format argument to size_t.
860 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
862 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
863 corresponding format argument to size_t.
864 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
866 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
867 corresponding format argument to size_t.
868 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
869 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
870 (CFLAGS-tst-mbswcs2.c): Likewise.
871 (CFLAGS-tst-mbswcs3.c): Likewise.
872 (CFLAGS-tst-mbswcs4.c): Likewise.
873 (CFLAGS-tst-mbswcs5.c): Likewise.
874 (CFLAGS-tst-trans.c): Likewise
876 2014-12-11 Roland McGrath <roland@hack.frob.com>
878 * posix/regexbug1.c (main): Use "%s" format with regerror results,
879 rather than assuming they won't contain any '%'s.
881 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
883 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
884 inhibit_loop_to_libcall to avoid recursive calls.
885 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
886 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
888 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
890 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
893 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
895 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
896 integer value instead of boolean.
898 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
900 * malloc/malloc.c: Fix powerof2 check.
902 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
904 * locale/programs/locfile.h (maybe_swap_uint32):
905 Remove inline and add unused attribute.
907 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
909 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
910 Truncating assembler expression to a .long expression.
912 2014-12-11 Andreas Schwab <schwab@suse.de>
914 * elf/rtld.c (struct map_args): Constify str member.
915 (do_preload): Constify fname argument.
917 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
919 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
920 constants definition.
922 2014-12-11 Andreas Schwab <schwab@suse.de>
925 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
926 FORCE_ELISION instead of DO_ELISION.
927 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
929 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
932 * iconvdata/gconv-modules: Remove duplicate entry.
934 2014-12-11 Will Newton <will.newton@linaro.org>
936 Merge gettext 0.19.3 into intl/.
938 This involves a number of cosmetic changes to comments
939 and ANSI function definitions and prototypes throughout
940 all the files. The gettext copyright header is used but
941 with the date ranges taken from the glibc copy.
943 * NEWS: Add gettext merge to 2.21.
944 * intl/bindtextdom.c: Switch to gettext copyright.
945 Use ANSI definitions and prototypes.
946 Use gl_* locking primitives rather than __libc_* ones.
947 Use __builtin_expect rather than __glibc_likely/unlikely.
948 * intl/dcgettext.c: Switch to gettext copyright.
949 Use ANSI definitions and prototypes.
950 * intl/dcigettext.c: Switch to gettext copyright.
951 Use ANSI definitions and prototypes.
952 (INTDIV0_RAISES_SIGFPE): New define.
953 Use gl_* locking primitives rather than __libc_* ones.
954 Include eval-plural.h instead of plural-eval.c.
955 Use __builtin_expect rather than __glibc_likely/unlikely.
956 * intl/dcngettext.c: Switch to gettext copyright.
957 Use ANSI definitions and prototypes.
958 * intl/dgettext.c: Likewise.
959 * intl/dngettext.c: Likewise.
960 * intl/plural-eval.c: Renamed to...
961 * intl/eval-plural.h: ...this.
962 * intl/explodename.c: Switch to gettext copyright.
963 Use ANSI definitions and prototypes.
964 (_nl_explode_name): Use strchr instead of __rawmemchr.
965 * intl/finddomain.c: Switch to gettext copyright.
966 Use ANSI definitions and prototypes.
967 Use gl_* locking primitives rather than __libc_* ones.
968 (_nl_find_domain): Use malloc rather than alloca for
969 allocation of temporary locale name.
970 * intl/gettext.c: Switch to gettext copyright.
971 Use ANSI definitions and prototypes.
972 * intl/gettextP.h: Switch to gettext copyright.
973 Use ANSI definitions and prototypes.
974 Use gl_* locking primitives rather than __libc_* ones.
975 * intl/gmo.h: Switch to gettext copyright.
976 (struct sysdep_string): Move struct segment_pair outside of
978 * intl/hash-string.c: Use ANSI definitions and prototypes.
979 * intl/hash-string.h: Switch to gettext copyright.
980 Use ANSI definitions and prototypes.
981 * intl/l10nflist.c: Switch to gettext copyright.
982 Use ANSI definitions and prototypes.
983 (_nl_normalize_codeset): Avoid integer overflow.
984 * intl/loadinfo.h: Switch to gettext copyright.
985 Use ANSI definitions and prototypes.
986 (LIBINTL_DLL_EXPORTED): New define.
987 (PATH_SEPARATOR): New define.
988 * intl/loadmsgcat.c: Switch to gettext copyright.
989 * intl/localealias.c: Switch to gettext copyright.
990 Use ANSI definitions and prototypes.
991 (_nl_expand_alias): Use PATH_SEPARATOR.
992 * intl/ngettext.c: Switch to gettext copyright.
993 Use ANSI definitions and prototypes.
994 * intl/plural-exp.c: Likewise.
995 * intl/plural-exp.h: Switch to gettext copyright.
996 Use ANSI definitions and prototypes.
997 (struct expression): Move definition of enum operator outside
998 of struct definition.
999 * intl/plural.c: Regenerate.
1000 * intl/plural.y: Switch to gettext copyright.
1001 Use ANSI definitions and prototypes.
1003 * intl/textdomain.c: Switch to gettext copyright.
1004 Use ANSI definitions and prototypes.
1005 Use gl_* locking primitives rather than __libc_* ones.
1007 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1009 * debug/warning-nop.c: Add used atrribute.
1011 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1013 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1015 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1016 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1017 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1019 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1020 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1023 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1024 Undefine after defining function. Define as weak alias of
1025 __wcschr. Use libc_hidden_weak.
1026 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1027 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1028 (libc_hidden_def): Also define __GI___wcschr alias.
1029 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1030 __wcschr and define as weak alias of __wcschr.
1031 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1033 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1034 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1035 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1036 libc_hidden_weak. Do not use libc_hidden_def.
1037 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1038 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1039 __GI___wcschr alias.
1040 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1041 [IS_IN (libc)] (wcschr): Define as macro expanding to
1043 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1044 [IS_IN (libc)] (__wcschr_power6): Likewise.
1045 [IS_IN (libc)] (__wcschr_power7): Likewise.
1046 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1048 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1050 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1051 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1052 __wcschr and define as weak alias of __wcschr. Use
1053 libc_hidden_builtin_def.
1054 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1055 as weak alias of __wcschr. Use libc_hidden_weak.
1056 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1058 * time/era.c (_nl_init_era_entries): Likewise.
1059 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1061 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1062 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1064 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1066 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1067 format for long int variable.
1069 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1072 * manual/search.texi: (Array Sort Function): Remove claim how to make
1075 2014-12-10 Andreas Schwab <schwab@suse.de>
1078 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1079 user-controlled locks.
1081 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1083 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1086 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1088 * configure.ac (--disable-werror): New configure option.
1089 (enable_werror): New AC_SUBST.
1090 * configure: Regenerated.
1091 * config.make.in (enable-werror): New variable.
1092 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1094 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1095 * manual/install.texi (Configuring and compiling): Document
1097 * INSTALL: Regenerated.
1098 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1099 (CFLAGS-tst-chk2.c): Likewise.
1100 (CFLAGS-tst-chk3.c): Likewise.
1101 (CFLAGS-tst-chk4.cc): Likewise.
1102 (CFLAGS-tst-chk5.cc): Likewise.
1103 (CFLAGS-tst-chk6.cc): Likewise.
1104 (CFLAGS-tst-lfschk1.c): Likewise.
1105 (CFLAGS-tst-lfschk2.c): Likewise.
1106 (CFLAGS-tst-lfschk3.c): Likewise.
1107 (CFLAGS-tst-lfschk4.cc): Likewise.
1108 (CFLAGS-tst-lfschk5.cc): Likewise.
1109 (CFLAGS-tst-lfschk6.cc): Likewise.
1111 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1112 (main): Disable -Wdeprecated-declarations around calls to
1113 register_printf_function.
1115 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1116 (do_test): Disable -Wdiv-by-zero around some calls to
1117 fwrite_unlocked and fread_unlocked.
1119 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1120 (DIAG_POP_NEEDS_COMMENT): Likewise.
1121 (_DIAG_STR1): Likewise.
1122 (_DIAG_STR): Likewise.
1123 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1124 * stdio-common/bug21.c: Include <libc-internal.h>.
1125 (do_test): Disable -Wformat around call to sscanf.
1126 * stdio-common/scanf14.c: Include <libc-internal.h>.
1127 (main): Disable -Wformat around some calls to scanf functions.
1129 2014-12-09 Torvald Riegel <triegel@redhat.com>
1131 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1133 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1135 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1136 stack variable alignment.
1138 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1141 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1142 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1143 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1144 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1145 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1146 __getrlimit instead of getrlimit.
1147 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1148 __gettimeofday instead of gettimeofday.
1149 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1151 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1153 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1154 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1156 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1157 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1159 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1161 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1162 for wide-character tests.
1164 2014-12-04 Roland McGrath <roland@hack.frob.com>
1166 * io/openat64.c: #include <libc-internal.h>
1167 (__openat64): Prototypify. Use ignore_value on MODE.
1168 * io/openat.c: Likewise.
1169 * misc/reboot.c: #include <libc-internal.h>
1170 (reboot): Prototypify. Use ignore_value on HOWTO.
1171 * misc/ptrace.c: #include <libc-internal.h>
1172 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1174 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1176 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1177 XPG4, UNIX98 and XOPEN2K.
1178 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1180 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1182 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1184 * libio/fileops.c: Use ISO C style for function definitions.
1185 * libio/iofopen.c: Likewise.
1186 * libio/wfileops.c: Likewise.
1189 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1191 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1192 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1193 (fgets_func): Function pointer to fgets and fgetws.
1194 (do_ftell_test): Add test to verify ftell value after read
1196 (do_test): Set fgets_func.
1198 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1199 O_TRUNC flag for w and w+ modes.
1200 (do_rewind_test): Likewise.
1201 (do_ftell_test): Likewise.
1202 (do_write_test): Likewise.
1205 * libio/fileops.c (do_ftell): Seek only when there are
1207 * libio/wfileops.c (do_ftell_wide): Likewise.
1208 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1210 (do_one_test): Call it.
1212 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1214 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1215 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1216 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1218 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1219 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1220 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1222 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1224 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1226 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1229 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1230 as weak alias of __getifaddrs. Use libc_hidden_weak.
1231 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1232 __freeifaddrs. Use libc_hidden_weak.
1233 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1234 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1235 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1236 __freeifaddrs. Use libc_hidden_weak.
1237 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1238 __getifaddrs and define as weak alias of __getifaddrs. Use
1240 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1241 __freeifaddrs. Use libc_hidden_weak.
1242 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1244 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1245 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1247 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1250 * sysdeps/mips/start.S (__start): Use indirect jump to call
1253 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1255 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1257 * nptl/tst-mutex1.c: Include <stdbool.h>.
1258 [!ATTR] (ATTR_NULL): New macro.
1259 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1260 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1261 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1263 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1267 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1268 Change conditional to [__USE_MISC].
1271 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1273 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1275 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1277 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1279 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1280 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1281 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1282 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1283 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1284 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1285 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1286 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1287 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1289 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1291 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1293 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1294 Remove strpbrk objects.
1295 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1296 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1297 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1298 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1299 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1300 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1302 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1303 Remove strcspn objects.
1304 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1305 (__libc_ifunc_impl_list): Remove strcspn implementation.
1306 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1307 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1308 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1309 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1311 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1312 Remove strspn objetcs.
1313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1314 (__libc_ifunc_impl_list): Remove strspn implementation.
1315 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1316 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1317 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1318 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1320 2014-12-01 James Lemke <jwlemke@codesourcery.com>
1324 (mem2mem_check): Add a terminator to the chain of checking blocks.
1325 (malloc_check_get_size): Use it here.
1326 (mem2chunk_check): Ditto.
1328 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1330 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1331 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1333 2014-11-29 Carlos O'Donell <carlos@redhat.com>
1335 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1337 * nptl/nptl-init.c: Include libc-internal.h.
1338 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1340 * elf/ldconfig.c (search_dir): Expand comment.
1342 2014-11-29 Joseph Myers <joseph@codesourcery.com>
1344 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1346 (linknamespace-symlist-stdlibs-tests): Likewise.
1347 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1348 instead of $(objpfx)symlist-stdlibs.
1349 (linknamespace-libs-isoc): New variable.
1350 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1351 (linknamespace-libs-ISO): New variable.
1352 (linknamespace-libs-ISO99): Likewise.
1353 (linknamespace-libs-ISO11): Likewise.
1354 (linknamespace-libs-XPG3): Likewise.
1355 (linknamespace-libs-XPG4): Likewise.
1356 (linknamespace-libs-POSIX): Likewise.
1357 (linknamespace-libs-UNIX98): Likewise.
1358 (linknamespace-libs-XOPEN2K): Likewise.
1359 (linknamespace-libs-POSIX2008): Likewise.
1360 (linknamespace-libs-XOPEN2K8): Likewise.
1361 ($(objpfx)symlist-stdlibs): Replace by
1362 $(linknamespace-symlist-stdlibs-tests). Use
1363 $(linknamespace-libs-$*) as set of libraries.
1364 ($(linknamespace-header-tests)): Update dependencies. Use
1365 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1366 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1367 * conform/linknamespace.pl: Remove comment about considering
1368 definitions of symbols from irrelevant libraries.
1370 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1373 * elf/dl-tls.c: Include <atomic.h>.
1374 (oom): Remove #ifdef SHARED/#endif.
1375 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1376 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1377 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1379 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1380 * nptl/Makefile (tests): Add tst-stack4.
1381 (modules-names): Add tst-stack4mod.
1382 ($(objpfx)tst-stack4): New.
1383 (tst-stack4mod.sos): Likewise.
1384 ($(objpfx)tst-stack4.out): Likewise.
1385 ($(tst-stack4mod.sos)): Likewise.
1387 * nptl/tst-stack4.c: New file.
1388 * nptl/tst-stack4mod.c: Likewise.
1390 2014-11-27 J. Brown <jb999@gmx.de>
1392 * sysdeps/x86/bits/string.h: Add recent CPUs.
1394 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1396 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1399 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1402 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1405 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1407 * nscd/connections.c: Include libc-internal.h because of macro
1410 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1412 * string/bits/string3.h (__warn_memset_zero_len): Don't
1413 declare for gcc newer than 5.0.
1414 (memset): Don't test for zero-length __LEN for gcc newer than
1417 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1419 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1420 size_t for %zu format.
1422 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1423 difference, not %ju.
1425 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1427 * include/libc-internal.h (ignore_value): New macro.
1428 * nscd/connections.c (restart): Wrap calls to setuid and setgid
1431 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1434 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1435 pthread_cleanup_push to void *.
1437 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1442 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1443 instead of 1L << 52.
1445 * libio/bug-rewind.c (do_test): Check fwscanf return values.
1446 * libio/bug-rewind2.c (do_test): Likewise.
1448 * debug/test-stpcpy_chk-ifunc.c: Remove file.
1449 * debug/test-strcpy_chk-ifunc.c: Likewise.
1450 * wcsmbs/test-wcschr-ifunc.c: Likewise.
1451 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1452 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1453 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1454 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1455 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1456 * Rules [$(multi-arch) = no] (tests): Do not filter out
1458 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1459 * debug/Makefile (tests-ifunc): Remove variable.
1460 (tests): Do not add $(tests-ifunc).
1461 * wcsmbs/Makefile (tests-ifunc): Remove variable.
1462 (tests): Do not add $(tests-ifunc).
1463 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1464 [TEST_IFUNC]: Remove conditionals.
1465 * string/test-string.h (TEST_IFUNC): Remove macro.
1466 [TEST_IFUNC]: Remove conditionals.
1468 * string/test-strchr.c [!WIDE] (L): New macro.
1469 [WIDE] (L): Likewise.
1470 (check1): Use CHAR instead of char. Use L on string and character
1473 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
1475 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1477 * sysdeps/powerpc/bits/atomic.h
1478 (__arch_atomic_exchange_and_add_32_acq): Add definition.
1479 (__arch_atomic_exchange_and_add_32_rel): Likewise.
1480 (atomic_exchange_and_add_acq): Likewise.
1481 (atomic_exchange_and_add_rel): Likewise.
1482 * sysdeps/powerpc/powerpc32/bits/atomic.h
1483 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1484 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1485 * sysdeps/powerpc/powerpc64/bits/atomic.h
1486 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1487 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1489 2014-11-26 Torvald Riegel <triegel@redhat.com>
1491 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1492 Change synchronization of __sched_fifo_min_prio and
1493 __sched_fifo_max_prio.
1494 * nptl/pthread_mutexattr_getprioceiling.c
1495 (pthread_mutexattr_getprioceiling): Likewise.
1496 * nptl/pthread_mutexattr_setprioceiling.c
1497 (pthread_mutexattr_setprioceiling): Likewise.
1498 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1499 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1502 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1504 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1507 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1509 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1510 third argument const.
1512 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
1514 fnmatch: work around GCC compiler warning bug with uninit var
1515 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1516 This works around a bug with x86-64 GCC 4.9.2 and earlier
1517 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1518 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1519 used uninitialized in this function [-Wmaybe-uninitialized]".
1521 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1523 * posix/bug-regex31.c (main): Return RES not 0.
1525 2014-11-25 Anton Blanchard <anton@samba.org>
1527 * sysdeps/powerpc/bits/atomic.h
1528 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1530 2014-11-24 Sterling Augustine <saugustine@google.com>
1532 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1534 2014-11-24 Ryan Cumming <etaoins@gmail.com>
1537 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1539 2014-11-24 Joseph Myers <joseph@codesourcery.com>
1542 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1543 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1545 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1546 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1548 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1550 * string/strncpy.c (strncpy): Improve performance by using memset.
1552 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1554 * string/strcpy.c (strcpy):
1555 Improve performance by using strlen and memcpy.
1557 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
1559 * string/strcoll_l.c (get_next_seq): __always_inline.
1560 * string/strcoll_l.c (do_compare): __always_inline.
1562 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1564 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1566 * include/mqueue.h: Likewise.
1567 * include/stdlib.h: Likewise.
1569 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1570 (get_null_defines): Adjust.
1571 * sunrpc/Makefile: Adjust comment.
1572 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1573 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1574 (CFLAGS-interp.c): Likewise.
1575 (CFLAGS-ldconfig.c): Likewise.
1576 (CPPFLAGS-.os): Likewise.
1577 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1578 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1579 * extra-modules.mk (extra-modules.mk): Likewise.
1580 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1581 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1582 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1583 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1584 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1585 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1586 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1587 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1588 * iconvdata/Makefile (CPPFLAGS): Likewise.
1589 (cpp-srcs-left): Add libof for all iconvdata routines.
1590 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1591 * include/assert.h: Likewise.
1592 * include/ctype.h: Likewise.
1593 * include/errno.h: Likewise.
1594 * include/libc-symbols.h: Likewise.
1595 * include/math.h: Likewise.
1596 * include/netdb.h: Likewise.
1597 * include/resolv.h: Likewise.
1598 * include/stdio.h: Likewise.
1599 * include/stdlib.h: Likewise.
1600 * include/string.h: Likewise.
1601 * include/sys/stat.h: Likewise.
1602 * include/wctype.h: Likewise.
1603 * intl/l10nflist.c: Likewise.
1604 * libidn/idn-stub.c: Likewise.
1605 * libio/libioP.h: Likewise.
1606 * nptl/libc_multiple_threads.c: Likewise.
1607 * nptl/pthreadP.h: Likewise.
1608 * posix/regex_internal.h: Likewise.
1609 * resolv/res_hconf.c: Likewise.
1610 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1611 * sysdeps/arm/memmove.S: Likewise.
1612 * sysdeps/arm/sysdep.h: Likewise.
1613 * sysdeps/generic/_itoa.h: Likewise.
1614 * sysdeps/generic/symbol-hacks.h: Likewise.
1615 * sysdeps/gnu/errlist.awk: Likewise.
1616 * sysdeps/gnu/errlist.c: Likewise.
1617 * sysdeps/i386/i586/memcpy.S: Likewise.
1618 * sysdeps/i386/i586/memset.S: Likewise.
1619 * sysdeps/i386/i686/memcpy.S: Likewise.
1620 * sysdeps/i386/i686/memmove.S: Likewise.
1621 * sysdeps/i386/i686/mempcpy.S: Likewise.
1622 * sysdeps/i386/i686/memset.S: Likewise.
1623 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1624 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1625 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1626 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1627 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1628 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1629 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1630 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1631 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1632 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1633 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1634 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1635 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1636 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1637 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1638 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1639 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1640 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1641 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1642 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1643 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1644 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1645 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1646 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1647 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1648 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1649 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1650 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1651 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1652 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1653 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1654 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1655 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1656 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1657 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1658 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1659 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1660 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1661 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1662 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1663 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1664 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1665 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1666 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1667 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1668 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1669 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1670 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1671 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1672 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1673 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1674 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1675 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1676 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1677 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1678 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1679 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1680 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1681 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1682 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1683 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1684 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1685 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1686 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1687 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1688 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1689 * sysdeps/posix/closedir.c: Likewise.
1690 * sysdeps/posix/opendir.c: Likewise.
1691 * sysdeps/posix/readdir.c: Likewise.
1692 * sysdeps/posix/rewinddir.c: Likewise.
1693 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1694 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1695 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1696 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1697 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1698 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1699 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1700 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1701 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1702 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1703 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1704 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1705 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1706 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1707 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1708 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1709 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1710 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1711 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1712 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1713 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1714 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1715 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1716 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1717 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1718 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1719 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1720 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1721 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1722 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1723 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1724 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1725 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1726 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1727 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1728 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1729 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1730 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1731 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1732 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1733 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1734 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1735 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1736 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1737 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1738 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1739 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1740 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1741 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1742 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1743 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1744 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1745 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1746 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1747 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1748 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1749 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1750 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1751 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1752 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1753 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1754 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1755 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1756 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1757 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1758 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1759 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1760 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1761 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1762 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1763 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1764 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1765 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1766 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1767 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1768 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1769 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1770 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1771 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1772 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1773 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1774 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1775 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1776 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1777 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1778 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1779 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1780 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1781 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1782 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1783 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1784 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1785 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1786 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1787 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1788 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1789 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1790 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1791 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1792 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1793 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1794 * sysdeps/unix/alpha/sysdep.S: Likewise.
1795 * sysdeps/unix/alpha/sysdep.h: Likewise.
1796 * sysdeps/unix/make-syscalls.sh: Likewise.
1797 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1798 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1799 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1800 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1801 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1802 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1803 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1804 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1805 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1806 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1807 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1808 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1809 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1810 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1811 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1812 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1813 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1814 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1815 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1816 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1817 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1818 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1819 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1820 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1821 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1822 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1823 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1826 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1827 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1828 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1829 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1830 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1831 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1832 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1833 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1834 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1835 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1836 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1837 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1838 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1839 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1840 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1841 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1842 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1843 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1844 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1845 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1846 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1847 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1848 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1849 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1850 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1851 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1852 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1853 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1854 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1855 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1856 * sysdeps/x86_64/memcpy.S: Likewise.
1857 * sysdeps/x86_64/memmove.c: Likewise.
1858 * sysdeps/x86_64/memset.S: Likewise.
1859 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1860 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1861 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1862 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1863 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1864 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1865 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1866 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1867 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1868 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1869 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1870 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1871 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1872 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1873 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1874 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1875 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1876 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1877 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1878 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1879 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1880 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1881 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1882 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1883 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1884 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1885 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1886 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1887 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1888 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1889 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1890 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1891 * sysdeps/x86_64/strcmp.S: Likewise.
1893 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1895 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1896 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1897 * elf/rtld-Rules: Likewise.
1898 * elf/setup-vdso.h: Likewise.
1899 * include/assert.h: Likewise.
1900 * include/bits/stdlib-float.h: Likewise.
1901 * include/errno.h: Likewise.
1902 * include/sys/stat.h: Likewise.
1903 * include/unistd.h: Likewise.
1904 * sysdeps/aarch64/setjmp.S: Likewise.
1905 * sysdeps/alpha/setjmp.S: Likewise.
1906 * sysdeps/arm/__longjmp.S: Likewise.
1907 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1908 * sysdeps/arm/setjmp.S: Likewise.
1909 * sysdeps/arm/sysdep.h: Likewise.
1910 * sysdeps/generic/_itoa.h: Likewise.
1911 * sysdeps/generic/dl-sysdep.h: Likewise.
1912 * sysdeps/generic/ldsodefs.h: Likewise.
1913 * sysdeps/i386/dl-tls.h: Likewise.
1914 * sysdeps/i386/setjmp.S: Likewise.
1915 * sysdeps/m68k/setjmp.c: Likewise.
1916 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1917 * sysdeps/mach/hurd/opendir.c: Likewise.
1918 * sysdeps/posix/getcwd.c: Likewise.
1919 * sysdeps/posix/opendir.c: Likewise.
1920 * sysdeps/posix/profil.c: Likewise.
1921 * sysdeps/powerpc/dl-procinfo.h: Likewise.
1922 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1923 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1924 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1925 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1926 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1927 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1928 * sysdeps/s390/dl-tls.h: Likewise.
1929 * sysdeps/s390/s390-32/setjmp.S: Likewise.
1930 * sysdeps/s390/s390-64/setjmp.S: Likewise.
1931 * sysdeps/sh/sh3/setjmp.S: Likewise.
1932 * sysdeps/sh/sh4/setjmp.S: Likewise.
1933 * sysdeps/unix/alpha/sysdep.h: Likewise.
1934 * sysdeps/unix/arm/sysdep.S: Likewise.
1935 * sysdeps/unix/i386/sysdep.S: Likewise.
1936 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1937 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1938 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1939 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1940 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1941 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1942 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1943 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1944 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1945 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1946 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1947 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1948 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1951 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1952 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1953 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1954 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1955 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1956 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1957 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1958 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1959 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1960 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1961 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1962 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1963 * sysdeps/unix/x86_64/sysdep.S: Likewise.
1964 * sysdeps/x86_64/setjmp.S: Likewise.
1966 * include/math.h: Use IS_IN instead of IS_IN_libm.
1967 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1968 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1969 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1970 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1971 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1972 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1973 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1974 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1975 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1976 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1977 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1978 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1979 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1980 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1981 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1982 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1983 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1984 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1985 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1986 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1987 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1988 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1989 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1990 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1991 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1992 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1993 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1994 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1995 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1996 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1997 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1998 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1999 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2000 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2002 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2004 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2006 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2010 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2011 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2012 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2013 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2014 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2015 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2017 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2019 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2020 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2021 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2022 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2023 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2024 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2025 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2026 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2027 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2028 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2029 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2030 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2031 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2032 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2033 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2034 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2035 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2036 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2038 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2039 * nptl/pthreadP.h: Likewise.
2040 * nptl_db/structs.def: Likewise.
2041 * sysdeps/arm/sysdep.h: Likewise.
2042 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2043 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2044 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2045 * sysdeps/unix/alpha/sysdep.h: Likewise.
2046 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2047 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2048 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2049 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2050 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2051 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2052 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2053 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2054 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2055 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2056 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2057 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2058 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2059 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2062 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2063 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2064 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2066 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2067 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2068 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2069 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2070 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2071 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2073 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2074 * nptl/pthreadP.h: Likewise.
2075 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2076 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2077 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2078 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2079 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2080 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2081 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2082 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2083 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2084 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2085 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2086 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2091 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2092 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2093 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2094 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2096 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2097 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2098 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2100 * dlfcn/dladdr.c: Use IS_IN.
2101 * dlfcn/dladdr1.c: Likewise.
2102 * dlfcn/dlclose.c: Likewise.
2103 * dlfcn/dlerror.c: Likewise.
2104 * dlfcn/dlinfo.c: Likewise.
2105 * dlfcn/dlmopen.c: Likewise.
2106 * dlfcn/dlopen.c: Likewise.
2107 * dlfcn/dlsym.c: Likewise.
2108 * dlfcn/dlvsym.c: Likewise.
2110 * include/ifaddrs.h: Use IS_IN.
2111 * inet/check_pf.c: Likewise.
2112 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2113 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2115 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2117 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2118 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2120 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2121 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2124 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2126 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2127 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2128 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2129 * include/libc-symbols.h (IS_IN_LIB): New macro.
2130 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2131 * include/netdb.h: Likewise.
2132 * include/stap-probe.h: Remove all uses of IN_LIB.
2134 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2135 instead of IN_MODULE.
2136 * include/libc-symbols.h (IN_MODULE): Define using
2138 (PASTE_NAME, PASTE_NAME1): New macros.
2139 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2141 (STAP_PROBE_ASM): Likewise.
2143 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2145 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2146 __mach_init in dlopened libc.
2148 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2150 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2151 * sysdeps/arm/preconfigure: Regenerate.
2153 2014-11-21 Roland McGrath <roland@hack.frob.com>
2155 * nptl/pthread_create.c (__pthread_create_2_1): Set
2156 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2157 when copying values from IATTR into PD.
2159 2014-11-21 Will Newton <will.newton@linaro.org>
2160 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2162 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2163 Refactor inline-asm. Also add comment.
2165 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2166 ElfW macro instead of hardcoded Elf64 types.
2167 (la_aarch64_gnu_pltenter): Likewise.
2168 * sysdeps/aarch64/dl-machine.h
2169 (elf_machine_runtime_setup): Use ElfW(Addr).
2171 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2172 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2173 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2174 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2175 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2176 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2177 (R_AARCH64_TLS_DTPMOD): This.
2178 (R_AARCH64_TLS_DTPREL64): Rename to ...
2179 (R_AARCH64_TLS_DTPREL): This.
2180 (R_AARCH64_TLS_TPREL64): Rename to ...
2181 (R_AARCH64_TLS_TPREL): This.
2182 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2183 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2184 R_AARCH64_TLS_TPREL64.
2185 (elf_machine_rela): Likewise.
2187 2014-11-21 Torvald Riegel <triegel@redhat.com>
2189 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2190 by setting it to 0. 64b atomics are not supported currently.
2192 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2195 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2196 search domain names.
2198 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2202 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2204 * posix/tst-getaddrinfo5.c: New.
2205 * posix/Makefile (tests): Add it.
2207 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2211 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2212 after parsing line but before break_if_match.
2213 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2214 if there is a protocol mismatch.
2216 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2218 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2219 because the potential race is on the user-supplied stream.
2221 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2223 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2224 string literal if not passed a buffer.
2225 * manual/job.texi (ctermid): Update reasoning, note deviation
2226 from posix, suggest mtasurace when not passed a buffer, for
2227 future non-preliminary safety notes.
2229 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2231 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2232 of not passing it a buffer.
2233 Reported by Peng Haitao.
2235 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2237 * manual/Makefile ($(objpfx)stamp-summary): Require
2238 check-safety.sh to pass.
2239 * manual/check-safety.sh: Wish for verification that every
2240 @deftypefn and @deftypefun is followed by a @safety remark.
2242 2014-11-20 Roland McGrath <roland@hack.frob.com>
2244 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2246 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2247 PTHREAD_CANCEL_ASYNCHRONOUS.
2248 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2251 * nptl/default-sched.h: New file.
2252 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2253 * nptl/pthread_create.c: Include it.
2254 (__pthread_create_2_1): Use collect_default_sched instead of making
2255 Linux syscalls here directly.
2257 2014-11-20 Torvald Riegel <triegel@redhat.com>
2259 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2260 __pthread_once): Use C11 atomics.
2262 2014-11-20 Torvald Riegel <triegel@redhat.com>
2264 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2266 2014-11-20 Torvald Riegel <triegel@redhat.com>
2268 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2269 atomic_thread_fence_acquire, atomic_thread_fence_release,
2270 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2271 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2272 atomic_compare_exchange_weak_relaxed,
2273 atomic_compare_exchange_weak_acquire,
2274 atomic_compare_exchange_weak_release,
2275 atomic_exchange_acquire, atomic_exchange_release,
2276 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2277 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2278 atomic_fetch_and_acquire,
2279 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2281 2014-11-20 Torvald Riegel <triegel@redhat.com>
2283 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2284 USE_ATOMIC_COMPILER_BUILTINS): Define.
2285 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2286 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2287 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2288 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2289 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2290 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2291 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2292 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2293 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2294 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2295 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2296 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2297 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2298 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2299 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2300 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2301 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2302 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2303 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2304 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2305 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2306 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2307 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2308 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2309 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2310 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2311 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2312 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2313 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2314 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2315 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2316 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2317 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2318 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2319 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2320 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2321 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2322 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2323 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2324 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2326 2014-11-19 Roland McGrath <roland@hack.frob.com>
2328 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2329 the sched_priority value here. It was already checked when the user
2330 called pthread_attr_setschedparam.
2332 * nptl/tst-bad-schedattr.c: New file.
2333 * nptl/Makefile (tests): Add it.
2335 2014-11-19 Carlos O'Donell <carlos@redhat.com>
2336 Florian Weimer <fweimer@redhat.com>
2337 Joseph Myers <joseph@codesourcery.com>
2338 Adam Conrad <adconrad@0c3.net>
2339 Andreas Schwab <schwab@suse.de>
2340 Brooks <bmoses@google.com>
2343 * wordexp-test.c (__dso_handle): Add prototype.
2344 (__register_atfork): Likewise.
2345 (__app_register_atfork): New function.
2346 (registered_forks): New global.
2347 (register_fork): New function.
2348 (test_case): Add 3 new tests for WRDE_CMDSUB.
2349 (main): Call __app_register_atfork.
2350 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2351 fork count is non-zero fail the test.
2352 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2354 (parse_dollars): Remove check for WRDE_NOCMD.
2355 (parse_dquote): Likewise.
2357 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2359 * Makeconfig (built-modules): List non-library modules to be
2361 (module-cppflags): Include libc-modules.h for
2362 everything except shlib-versions.v.i.
2364 (before-compile): Add libc-modules.h.
2365 ($(common-objpfx)libc-modules.h,
2366 $(common-objpfx)libc-modules.stmp): New targets.
2367 (common-generated): Add libc-modules.h and libc-modules.stmp.
2368 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2369 * include/libc-symbols.h: Don't include libc-modules.h.
2370 * include/libc-modules.h: Remove file.
2371 * scripts/gen-libc-modules.awk: New script to generate
2373 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2374 Depend on libc-modules.stmp.
2376 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2378 * Makeconfig (in-module): Get value of libof set for the
2380 (CPPFLAGS): Use $(in-module).
2381 * Makerules: Don't suffix routine names for nonlib.
2382 * include/libc-modules.h: New file.
2383 * include/libc-symbols.h: Include libc-modules.h
2384 (IS_IN): New macro to replace IS_IN_* macros.
2385 * elf/Makefile: Set libof-* for each routine.
2386 * elf/rtld-Rules: Likewise.
2387 * extra-modules.mk: Likewise.
2388 * iconv/Makefile: Likewise.
2389 * iconvdata/Makefile: Likewise.
2390 * locale/Makefile: Likewise.
2391 * malloc/Makefile: Likewise.
2392 * nss/Makefile: Likewise.
2393 * sysdeps/gnu/Makefile: Likewise.
2394 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2395 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2396 * sysdeps/s390/s390-64/Makefile: Likewise.
2397 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
2398 CPPFLAGS for nscd instead of nonlib.
2400 2014-11-18 Roland McGrath <roland@hack.frob.com>
2402 * nptl/createthread.c: New file.
2404 * nptl/createthread.c: Moved ...
2405 * sysdeps/unix/sysv/linux/createthread.c: ... here.
2407 * nptl/createthread.c: Add proper top-line comment.
2408 (do_clone): Folded into ...
2409 (create_thread): ... here. Take new arguments STOPPED_START and
2410 THREAD_RAN. Always set PD->stopped_start to something here. Don't
2411 increment __nptl_threads, do event-reporting logic, do
2412 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2413 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
2414 resource cleanup if sched_setaffinity or sched_setscheduler fails,
2415 just send SIGCANCEL.
2416 * nptl/pthread_create.c: Forward-declare create_thread before
2417 including createthread.c.
2418 (start_thread): Use new macro START_THREAD_DEFN to replace defining
2419 declaration, and new macro START_THREAD_SELF to replace argument.
2420 Remove return statement.
2421 (report_thread_creation): New function.
2422 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
2423 synchronization logic, and __nptl_nthreads increment here, around
2424 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
2425 PD->parent_cancelhandling here, before create_thread. When
2426 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2427 __deallocate_stack, and ENOMEM translation here.
2429 2014-11-18 Joseph Myers <joseph@codesourcery.com>
2432 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2433 (mptwo): Rename to __mptwo.
2434 (__inv): Use __mptwo instead of mptwo.
2435 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2436 (mptwo): Rename to __mptwo.
2437 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2438 of mpone and __mptwo instead of mptwo.
2439 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2441 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2442 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2443 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2444 of mpone and __mptwo instead of mptwo.
2445 (__mpranred): Use __mpone instead of mpone.
2446 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2448 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2449 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2450 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2451 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2452 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2453 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2454 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2455 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2456 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2457 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2458 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2459 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2460 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2461 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2462 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2463 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2464 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2465 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2466 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2468 2014-11-18 Tom de Vries <tom@codesoucery.com>
2470 * manual/signal.texi (Primitives Interrupted by Signals): In section,
2471 replace BSD Handler xref with BSD Signal Handling.
2473 2014-11-17 Richard Henderson <rth@redhat.com>
2475 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2476 (_FP_PACK_RAW_2): Remove.
2477 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2478 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2479 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2480 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2481 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2482 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2483 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2484 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2485 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2486 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2487 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2488 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2489 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2490 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2491 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2492 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2494 2014-11-14 Roland McGrath <roland@hack.frob.com>
2496 * signal/signal.h [__USE_MISC]
2497 (struct sigvec): Remove type.
2498 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2499 (sigvec): Remove declaration.
2500 * sysdeps/posix/sigvec.c: Moved ...
2501 * signal/sigvec.c: ... here, replacing old file.
2502 (struct sigvec): New type, copied from old signal.h definition.
2503 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2504 (__sigvec): Convert definition to prototype.
2505 (sigvec): Replace weak_alias with compat_symbol.
2506 * signal/Versions (libc: GLIBC_2.21): New version set.
2507 * include/signal.h: Remove __sigvec declaration.
2508 * sysdeps/unix/bsd/sigvec.c: Remove file.
2509 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2510 * manual/signal.texi (BSD Handler): Remove subsection.
2511 Move siginterrupt up to ...
2512 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
2513 (Blocking in BSD): Fold subsection into its parent.
2514 * NEWS: Mention sigvec removal.
2516 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2518 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2519 (DLA_FMS): Make definition conditional only on [__FMA4__].
2520 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2523 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2524 Make definition conditional only on [PROF].
2525 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2527 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2528 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2530 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2532 * include/signal.h (__sigpause): Move declaration above call to
2534 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2536 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2537 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2539 2014-11-14 David S. Miller <davem@davemloft.net>
2541 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2542 Define before including <string/memcpy.c> and <string/mempcpy.c>.
2544 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2546 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2547 * configure: Regenerated.
2548 * manual/install.texi (Tools for Compilation): Document a
2549 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2550 compiler verified to work.
2551 * INSTALL: Regenerated.
2553 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2554 redeclare with asm name.
2555 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2556 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2557 including <string.h>.
2558 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2559 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2560 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2561 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2562 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2563 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2564 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2566 2014-11-13 Joseph Myers <joseph@codesourcery.com>
2568 * stdlib/strtol.c (__strtol): Use prototype definition.
2571 * stdlib/strtol.c (SYM__): New macro.
2573 (__strtol): Likewise.
2574 (strtol): Rename to __strtol and define as weak alias of
2575 __strtol. Use libc_hidden_weak.
2577 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2579 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2580 Use numbered labels in inline assembly.
2582 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2584 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2585 Add setjmp LIBC_PROBE.
2586 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2588 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2589 Add longjmp, longjmp_target LIBC_PROBE.
2590 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2593 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2595 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2596 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2597 to get rid of unused variable warning.
2599 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2601 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2602 Check for unwind_backtrace == NULL only in SHARED case.
2603 (__backchain_backtrace): Compile only in SHARED case.
2604 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2606 (__backchain_backtrace): Declare as static.
2608 2014-11-12 Roland McGrath <roland@hack.frob.com>
2610 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2611 (__libc_multiple_threads_ptr): Variable moved ...
2612 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2614 2014-11-12 Joseph Myers <joseph@codesourcery.com>
2616 * conform/GlibcConform.pm: New file.
2617 * conform/conformtest.pl: Use GlibcConform module.
2618 * conform/linknamespace.pl: New file.
2619 * conform/list-header-symbols.pl: Likewise.
2620 * conform/Makefile (linknamespace-symlists-base): New variable.
2621 (linknamespace-symlists-tests): Likewise.
2622 (linknamespace-header-base): Likewise.
2623 (linknamespace-header-tests): Likewise.
2624 (tests-special): Add new tests.
2625 ($(linknamespace-symlists-tests)): New rule.
2626 (linknamespace-libs): New variable.
2627 ($(objpfx)symlist-stdlibs): New rule.
2628 ($(linknamespace-header-tests)): Likewise.
2629 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2630 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2631 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2632 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2633 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2634 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2635 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2636 (test-xfail-ISO/math.h/linknamespace): Likewise.
2637 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2638 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2639 (test-xfail-ISO/time.h/linknamespace): Likewise.
2640 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2641 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2642 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2643 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2644 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2645 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2646 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2647 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2648 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2649 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2650 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2651 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2652 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2653 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2654 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2655 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2656 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2657 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2658 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2659 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2660 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2661 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2662 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2663 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2664 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2665 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2666 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2667 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2668 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2669 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2670 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2671 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2672 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2673 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2674 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2675 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2676 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2677 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2678 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2679 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2680 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2681 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2682 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2683 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2684 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2685 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2686 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2687 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2688 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2689 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2690 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2691 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2692 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2693 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2694 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2695 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2696 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2697 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2698 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2699 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2700 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2701 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2702 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2703 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2704 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2705 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2706 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2707 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2708 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2709 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2710 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2711 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2712 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2713 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2714 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2715 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2716 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2717 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2718 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2719 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2720 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2721 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2722 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2723 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2724 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2725 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2726 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2727 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2728 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2729 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2730 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2731 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2732 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2733 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2734 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2735 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2736 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2737 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2738 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2739 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2740 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2741 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2742 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2743 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2744 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2745 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2746 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2747 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2748 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2749 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2750 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2751 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2752 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2753 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2754 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2755 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2756 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2757 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2758 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2759 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2760 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2761 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2762 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2763 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2764 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2765 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2766 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2767 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2768 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2769 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2770 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2771 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2772 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2773 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2774 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2775 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2776 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2777 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2778 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2779 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2780 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2781 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2782 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2783 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2784 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2785 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2786 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2787 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2788 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2789 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2792 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2796 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2797 (memmem): Rename to __memmem and define as weak alias of
2798 __memmem. Use libc_hidden_weak.
2799 (__memmem): Use libc_hidden_def.
2800 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2801 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2805 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2806 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2807 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2808 and define as weak alias of __fgets_unlocked. Use
2810 (__fgets_unlocked): Use libc_hidden_def.
2811 * include/stdio.h (__fgets_unlocked): Declare. Use
2813 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2814 __fgets_unlocked instead of fgets_unlocked.
2815 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2816 (GET_NPROCS_CONF_PARSER): Likewise.
2817 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2818 (GET_NPROCS_CONF_PARSER): Likewise.
2821 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2822 weak alias of __wmemset. Use libc_hidden_weak.
2823 (__wmemset): Use libc_hidden_def.
2824 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2825 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2829 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2830 with asm name __mempcpy.
2831 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2834 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2835 and define as weak alias of __rawmemchr.
2836 (__rawmemchr): Do not define as strong alias of rawmemchr.
2839 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2841 (qsort): Call __qsort_r instead of qsort_r.
2842 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2843 (__qsort_r): Declare. Call libc_hidden_proto.
2844 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2846 * nscd/gai.c (__qsort_r): Define to qsort_r.
2847 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2848 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2849 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2852 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2853 define as weak alias of __malloc_info.
2856 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2857 as weak alias of __rewinddir. Don't use libc_hidden_def.
2858 (__rewinddir): Use libc_hidden_def.
2859 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2860 as weak alias of __rewinddir. Don't use libc_hidden_def.
2861 (__rewinddir): Use libc_hidden_def.
2862 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2863 weak alias of __rewinddir. Don't use libc_hidden_def.
2864 (__rewinddir): Use libc_hidden_def.
2865 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2866 (__rewinddir): Use libc_hidden_proto.
2867 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2869 (__getcwd): Use __rewinddir instead of rewinddir.
2872 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2873 alias of __fileno. Use libc_hidden_weak.
2874 (__fileno): Use libc_hidden_def.
2875 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2876 * libio/ftello.c (ftello): Rename to __ftello and define as weak
2878 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2880 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2881 (__fread_unlocked): Define as strong alias of _IO_fread. Use
2883 (fread_unlocked): Don't use libc_hidden_ver.
2884 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2885 and define as weak alias of __fread_unlocked. Don't use
2887 (__fread_unlocked): Use libc_hidden_def.
2888 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
2889 (ftello): Don't use libc_hidden_proto.
2890 (__ftello): Declare. Use libc_hidden_proto.
2891 (fread_unlocked): Don't use libc_hidden_proto.
2892 (__fread_unlocked): Declare. Use libc_hidden_proto.
2893 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2894 and __ftello instead of fileno, fread_unlocked and ftello.
2896 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
2898 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2900 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2902 (_dl_start_user): Likewise.
2903 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2905 2014-11-12 Carlos O'Donell <carlos@redhat.com>
2906 Siddhesh Poyarekar <siddhesh@redhat.com>
2908 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2909 Move argv and envp down instead of moving argc up.
2910 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2912 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
2915 * test-skeleton.c (main): Return successful if one of
2916 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2917 * string/tst-strcoll-overflow.c: Define expected status.
2919 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
2922 * locale/iso-639.def: Define Bhili and Tulu language codes.
2924 2014-11-11 Alan Hayward <alan.hayward@arm.com>
2926 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2928 2014-11-10 Renlin Li <Renlin.Li@arm.com>
2931 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2933 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
2935 * configure.ac: Updated check of minimal required version to
2937 * manual/install.texi (Tools for Compilation): Updated version
2939 * configure: Regenerated.
2940 * INSTALL: Likewise.
2942 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
2944 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2947 2014-11-07 Joseph Myers <joseph@codesourcery.com>
2949 * include/sys/wait.h (__libc_waitpid): Remove declaration.
2950 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2951 (__waitpid): Don't define as alias. Use libc_hidden_def not
2953 (waitpid): Define as alias of __waitpid.
2954 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2956 (__waitpid): Don't define as alias. Use libc_hidden_def not
2958 (waitpid): Define as alias of __waitpid.
2959 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2960 __libc_waitpid alias.
2961 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2962 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2964 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2965 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2966 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2968 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2970 (__waitpid): Don't define as alias. Use libc_hidden_def not
2972 (waitpid): Define as alias of __waitpid.
2974 2014-11-06 Carlos O'Donell <carlos@redhat.com>
2976 * manual/llio.texi: Add comment that write safety has been
2979 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2980 (localplt-build-dso): Add elf/ld.so.
2981 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2982 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2985 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2990 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2991 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2992 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2993 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2994 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2995 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2996 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2997 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2998 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2999 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3000 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3002 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3005 * include/libc-symbols.h (INTUSE): Remove macro.
3007 (INTVARDEF): Likewise.
3008 (_INTVARDEF): Likewise.
3009 (INTDEF2): Likewise.
3010 (INTVARDEF2): Likewise.
3011 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3012 rtld_hidden_def instead of INTVARDEF.
3013 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3014 (_dl_starting_up_internal): Remove declaration.
3015 (_dl_starting_up): Use rtld_hidden_proto.
3016 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3018 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3019 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3021 * elf/dl-writev.h (_dl_writev): Likewise.
3022 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3023 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3024 _dl_starting_up_internal.
3026 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3028 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3031 2014-11-05 Will Newton <will.newton@linaro.org>
3033 * benchtests/Makefile: (bench-malloc): Add malloc thread
3034 scalability benchmark.
3035 * benchtests/bench-malloc-threads.c: New file.
3037 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3039 * sysdeps/aarch64/strchrnul.S: New file.
3041 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3043 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3045 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3047 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3049 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3051 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3053 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3056 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3058 * catgets/test-gencat.c: Use test-skeleton.c.
3059 * catgets/tst-catgets.c: Likewise.
3060 * csu/tst-empty.c: Likewise.
3061 * elf/tst-audit2.c: Likewise.
3062 * elf/tst-global1.c: Likewise.
3063 * elf/tst-pathopt.c: Likewise.
3064 * elf/tst-piemod1.c: Likewise.
3065 * elf/tst-tls10.c: Likewise.
3066 * elf/tst-tls11.c: Likewise.
3067 * elf/tst-tls12.c: Likewise.
3068 * gnulib/tst-gcc.c: Likewise.
3069 * iconvdata/tst-e2big.c: Likewise.
3070 * iconvdata/tst-loading.c: Likewise.
3071 * iconv/tst-iconv1.c: Likewise.
3072 * iconv/tst-iconv2.c: Likewise.
3073 * inet/test-inet6_opt.c: Likewise.
3074 * inet/tst-gethnm.c: Likewise.
3075 * inet/tst-network.c: Likewise.
3076 * inet/tst-ntoa.c: Likewise.
3077 * intl/tst-codeset.c: Likewise.
3078 * intl/tst-gettext2.c: Likewise.
3079 * intl/tst-gettext3.c: Likewise.
3080 * intl/tst-ngettext.c: Likewise.
3081 * intl/tst-translit.c: Likewise.
3082 * io/test-stat.c: Likewise.
3083 * libio/test-fmemopen.c: Likewise.
3084 * libio/tst-freopen.c: Likewise.
3085 * libio/tst-sscanf.c: Likewise.
3086 * libio/tst-ungetwc1.c: Likewise.
3087 * libio/tst-ungetwc2.c: Likewise.
3088 * libio/tst-widetext.c: Likewise.
3089 * localedata/tst-ctype.c: Likewise.
3090 * localedata/tst-digits.c: Likewise.
3091 * localedata/tst-leaks.c: Likewise.
3092 * localedata/tst-mbswcs1.c: Likewise.
3093 * localedata/tst-mbswcs2.c: Likewise.
3094 * localedata/tst-mbswcs3.c: Likewise.
3095 * localedata/tst-mbswcs4.c: Likewise.
3096 * localedata/tst-mbswcs5.c: Likewise.
3097 * localedata/tst-setlocale.c: Likewise.
3098 * localedata/tst-trans.c: Likewise.
3099 * localedata/tst-wctype.c: Likewise.
3100 * localedata/tst-xlocale1.c: Likewise.
3101 * login/tst-grantpt.c: Likewise.
3102 * malloc/tst-calloc.c: Likewise.
3103 * malloc/tst-malloc.c: Likewise.
3104 * malloc/tst-mallocstate.c: Likewise.
3105 * malloc/tst-mcheck.c: Likewise.
3106 * malloc/tst-mtrace.c: Likewise.
3107 * malloc/tst-obstack.c: Likewise.
3108 * math/atest-exp2.c: Likewise.
3109 * math/atest-exp.c: Likewise.
3110 * math/atest-sincos.c: Likewise.
3111 * math/test-matherr.c: Likewise.
3112 * math/test-misc.c: Likewise.
3113 * math/test-powl.c: Likewise.
3114 * math/tst-definitions.c: Likewise.
3115 * misc/tst-dirname.c: Likewise.
3116 * misc/tst-efgcvt.c: Likewise.
3117 * misc/tst-fdset.c: Likewise.
3118 * misc/tst-hsearch.c: Likewise.
3119 * misc/tst-mntent2.c: Likewise.
3120 * nptl/tst-sem7.c: Likewise.
3121 * nptl/tst-sem8.c: Likewise.
3122 * nptl/tst-sem9.c: Likewise.
3123 * nss/test-netdb.c: Likewise.
3124 * posix/tst-fnmatch.c: Likewise.
3125 * posix/tst-getlogin.c: Likewise.
3126 * posix/tst-gnuglob.c: Likewise.
3127 * posix/tst-mmap.c: Likewise.
3128 * pwd/tst-getpw.c: Likewise.
3129 * resolv/tst-inet_ntop.c: Likewise.
3130 * rt/tst-timer.c: Likewise.
3131 * stdio-common/test-fseek.c: Likewise.
3132 * stdio-common/test-popen.c: Likewise.
3133 * stdio-common/test-vfprintf.c: Likewise.
3134 * stdio-common/tst-cookie.c: Likewise.
3135 * stdio-common/tst-fileno.c: Likewise.
3136 * stdio-common/tst-gets.c: Likewise.
3137 * stdio-common/tst-obprintf.c: Likewise.
3138 * stdio-common/tst-perror.c: Likewise.
3139 * stdio-common/tst-sprintf2.c: Likewise.
3140 * stdio-common/tst-sprintf3.c: Likewise.
3141 * stdio-common/tst-sprintf.c: Likewise.
3142 * stdio-common/tst-swprintf.c: Likewise.
3143 * stdio-common/tst-tmpnam.c: Likewise.
3144 * stdio-common/tst-unbputc.c: Likewise.
3145 * stdio-common/tst-wc-printf.c: Likewise.
3146 * stdlib/tst-environ.c: Likewise.
3147 * stdlib/tst-fmtmsg.c: Likewise.
3148 * stdlib/tst-limits.c: Likewise.
3149 * stdlib/tst-rand48-2.c: Likewise.
3150 * stdlib/tst-rand48.c: Likewise.
3151 * stdlib/tst-random2.c: Likewise.
3152 * stdlib/tst-random.c: Likewise.
3153 * stdlib/tst-strtol.c: Likewise.
3154 * stdlib/tst-strtoll.c: Likewise.
3155 * stdlib/tst-tls-atexit.c: Likewise.
3156 * stdlib/tst-xpg-basename.c: Likewise.
3157 * string/test-ffs.c: Likewise.
3158 * string/tst-bswap.c: Likewise.
3159 * string/tst-inlcall.c: Likewise.
3160 * string/tst-strtok.c: Likewise.
3161 * string/tst-strxfrm.c: Likewise.
3162 * sysdeps/x86_64/tst-audit10.c: Likewise.
3163 * sysdeps/x86_64/tst-audit3.c: Likewise.
3164 * sysdeps/x86_64/tst-audit4.c: Likewise.
3165 * sysdeps/x86_64/tst-audit5.c: Likewise.
3166 * time/tst-ftime_l.c: Likewise.
3167 * time/tst-getdate.c: Likewise.
3168 * time/tst-mktime3.c: Likewise.
3169 * time/tst-mktime.c: Likewise.
3170 * time/tst-posixtz.c: Likewise.
3171 * time/tst-strptime2.c: Likewise.
3172 * time/tst-strptime3.c: Likewise.
3173 * wcsmbs/tst-btowc.c: Likewise.
3174 * wcsmbs/tst-mbrtowc.c: Likewise.
3175 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3176 * wcsmbs/tst-wchar-h.c: Likewise.
3177 * wcsmbs/tst-wcpncpy.c: Likewise.
3178 * wcsmbs/tst-wcrtomb.c: Likewise.
3179 * wcsmbs/tst-wcsnlen.c: Likewise.
3180 * wcsmbs/tst-wcstof.c: Likewise.
3182 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3185 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3187 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3189 (_dl_mcount): Use rtld_hidden_proto.
3190 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3192 * elf/rtld.c (_rtld_global_ro): Likewise.
3195 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3196 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3197 of _dl_init_internal.
3198 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3199 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3200 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3201 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3202 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3203 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3204 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3205 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3206 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3207 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3208 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3209 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3210 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3211 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3212 * sysdeps/tile/dl-start.S (_start): Likewise.
3213 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3214 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3217 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3218 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3219 (rtld_progname): Make macro definition unconditional.
3220 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3222 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3223 (dl_main): Likewise.
3224 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3225 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3226 instead of _dl_argv_internal.
3227 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3228 __GI__dl_argv instead of INTUSE(_dl_argv).
3229 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3230 __GI__dl_argv instead of _dl_argv_internal.
3232 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3233 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3235 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3236 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3238 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3239 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3241 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3242 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3244 2014-11-04 Andreas Schwab <schwab@suse.de>
3246 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3248 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3250 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3251 mtvsrd instruction in binary form.
3253 2014-11-03 Andreas Schwab <schwab@suse.de>
3256 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3257 for less than MB_LEN_MAX use a local buffer of that size.
3258 * libio/tst-fputws.c: New file.
3259 * libio/Makefile (tests): Add tst-fputws.
3261 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3263 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3264 the size of the fpu_fr.fpu_dregs[] array.
3266 2014-11-01 Joseph Myers <joseph@codesourcery.com>
3268 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3269 (__nanosleep): Do not define as alias.
3270 (nanosleep): Define as alias of __nanosleep.
3271 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3272 __libc_nanosleep name.
3274 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3276 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3277 install.texi in comment.
3279 2014-10-31 Torvald Riegel <triegel@redhat.com>
3281 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3282 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3283 ... add here and use lwsync or sync ...
3284 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3285 ... and add here using lwsync.
3287 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3289 * elf/dl-machine-reject-phdr.h: New file.
3290 * elf/dl-load.c: #include that.
3291 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3292 if that returned true.
3294 2014-10-31 Roland McGrath <roland@hack.frob.com>
3297 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3298 gen-as-const-headers chunk. Add a big scare comment after the last
3299 safe place to touch before-compile.
3301 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3303 * manual/install.texi (Tools for Compilation): Update autoconf
3304 version requirements.
3305 * INSTALL: Regenerated.
3307 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3308 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3309 (__libc_pselect): Likewise.
3312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3317 2014-10-31 Torvald Riegel <triegel@redhat.com>
3319 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3320 correct barrier instruction.
3321 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3323 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3326 2014-10-30 Roland McGrath <roland@hack.frob.com>
3328 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3329 after defining inlines. Instead, just use parens to defeat macro
3330 expansion of __isctype in its declaration.
3332 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3334 * include/sys/uio.h (__libc_readv): Remove declaration.
3335 (__libc_writev): Likewise.
3336 * misc/readv.c (__libc_readv): Rename to __readv.
3337 (__readv): Do not define as alias.
3338 (readv): Define as alias of __readv.
3339 * misc/writev.c (__libc_writev): Rename to __writev.
3340 (__writev): Do not define as alias.
3341 (writev): Define as alias of __writev.
3342 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3343 (__readv): Do not define as alias.
3344 (readv): Define unconditionally as alias of __readv.
3345 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3346 (__writev): Do not define as alias.
3347 (writev): Define unconditionally as alias of __writev.
3348 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3350 (writev): Do not define __libc_writev name.
3352 2014-10-30 Roland McGrath <roland@hack.frob.com>
3354 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3355 (convert_charseq): New function, broken out of ...
3356 (use_from_charmap): ... here. Call it.
3357 (use_to_charmap): Use convert_charseq and free instead of duplicating
3358 its code with a variable-length stack struct.
3360 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3362 * include/fcntl.h (__libc_creat): Remove declaration.
3363 * io/creat.c (__libc_creat): Rename to creat.
3364 (creat): Do not define as alias.
3365 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3366 of creat instead of __libc_creat.
3367 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3369 (creat): Do not define as alias.
3370 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3372 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3374 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3377 2014-10-29 Carlos O'Donell <carlos@redhat.com>
3379 * manual/llio.texi: Add comments discussing why write() may be
3380 considered MT-unsafe on Linux.
3382 2014-10-28 Carlos O'Donell <carlos@redhat.com>
3384 * dl-load.c (local_strdup): Remove.
3385 (expand_dynamic_string_token): Use __strdup.
3386 (decompose_rpath): Likewise.
3387 (_dl_map_object): Likewise.
3389 2014-10-28 Joseph Myers <joseph@codesourcery.com>
3392 * sysdeps/generic/unwind-dw2-fde.c
3393 (__register_frame_info_bases_internal): Do not declare.
3394 (__register_frame_info_table_bases_internal): Likewise.
3395 (__deregister_frame_info_bases_internal): Likewise.
3396 (__register_frame_info_bases): Declare and use hidden_proto before
3397 definition. Use hidden_def instead of INTDEF.
3398 (__register_frame_info_table_bases): Likewise.
3399 (__deregister_frame_info_bases): Likewise.
3400 (__register_frame_info): Do not use INTUSE.
3401 (__register_frame): Likewise.
3402 (__register_frame_info_table): Likewise.
3403 (__register_frame_table): Likewise.
3404 (__deregister_frame_info): Likewise.
3405 (__deregister_frame): Likewise.
3407 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
3409 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3410 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3412 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3414 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3417 2014-10-27 Joseph Myers <joseph@codesourcery.com>
3420 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3421 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3422 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3423 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3424 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3425 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3426 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3427 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3428 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3429 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3430 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3431 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3432 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3434 (setfsuid): Likewise.
3435 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3436 (setfsuid): Likewise.
3437 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3438 (setfsuid): Likewise.
3439 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3441 (setfsuid): Likewise.
3442 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3443 (setfsuid): Likewise.
3444 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3446 (setfsuid): Likewise.
3448 2014-10-27 Andreas Schwab <schwab@suse.de>
3451 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3452 check for Slow_SSE4_2 feature bit.
3453 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3454 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3455 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3456 Likewise. Fix check for Fast_Unaligned_Load feature bit.
3458 2014-10-24 Roland McGrath <roland@hack.frob.com>
3460 * configure.ac: Validate compiler version with a empirical test of
3461 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3463 * configure: Regenerated.
3465 * inet/htons.c (htons): Prototypify.
3466 * inet/htonl.c (htonl): Likewise.
3468 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3470 * string/strncat.c (strncat): Improve performance by using strlen.
3472 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3474 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3476 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3478 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3479 Call libc_fetestexcept_aarch64.
3481 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3483 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3484 Call libc_feholdexcept_aarch64.
3486 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3488 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3489 Call get_rounding_mode.
3491 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3493 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3496 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3498 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3501 2014-10-24 Joseph Myers <joseph@codesourcery.com>
3504 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3505 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3506 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3507 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3508 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3509 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3510 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3511 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3512 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3513 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3514 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3515 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3516 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3517 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3518 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3519 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3520 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3521 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3522 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3523 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3524 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3525 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3526 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3527 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3528 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3529 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3530 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3531 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3532 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3533 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3534 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3535 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3536 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3537 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3538 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3539 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3540 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3541 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3542 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3543 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3544 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3546 (geteuid): Likewise.
3549 (getresgid): Likewise.
3550 (getresuid): Likewise.
3551 (getgroups): Likewise.
3552 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3553 (geteuid): Likewise.
3556 (getresgid): Likewise.
3557 (getresuid): Likewise.
3558 (getgroups): Likewise.
3559 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3560 (geteuid): Likewise.
3563 (getresgid): Likewise.
3564 (getresuid): Likewise.
3565 (getgroups): Likewise.
3566 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3568 (geteuid): Likewise.
3571 (getresgid): Likewise.
3572 (getresuid): Likewise.
3573 (getgroups): Likewise.
3574 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3575 (geteuid): Likewise.
3578 (getresgid): Likewise.
3579 (getresuid): Likewise.
3580 (getgroups): Likewise.
3581 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3583 (geteuid): Likewise.
3586 (getgroups): Likewise.
3589 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3590 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3591 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3592 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3593 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3594 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3595 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3596 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3597 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3598 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3599 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3600 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3601 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3603 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3606 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3610 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3613 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3618 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3620 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3623 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3625 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3628 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3630 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3631 Remove unused include.
3633 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3635 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3636 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3637 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3638 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3640 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3641 Helge Deller <deller@gmx.de>
3644 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3645 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3646 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3648 2014-10-23 Joseph Myers <joseph@codesourcery.com>
3651 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3652 Remove macro definition.
3653 (__ashrdi3_v_glibc20): Likewise.
3654 (__lshrdi3_v_glibc20): Likewise.
3655 (__cmpdi2_v_glibc20): Likewise.
3656 (__ucmpdi2_v_glibc20): Likewise.
3657 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3658 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3659 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3660 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3661 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3662 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3664 2014-10-22 Roland McGrath <roland@hack.frob.com>
3666 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3667 old GNU extension [0] syntax.
3668 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3669 alloca rather than an array member with variable length.
3670 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3671 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3672 (parse_opt): ... here. Likewise use alloca there.
3673 Validate the -i argument before checking for rootness.
3674 (send_shutdown): New function, broken out of ...
3675 (parse_opt): ... here.
3677 2014-10-22 Roland McGrath <roland@hack.frob.com>
3679 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3680 macro to get at the _rt_local_ro field.
3681 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3682 ([PIC] case) or _dl_hwcap ([!PIC] case).
3683 * sysdeps/arm/setjmp.S: Likewise.
3685 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3686 * sysdeps/arm/configure.ac: New check to define it.
3687 * sysdeps/arm/configure: Regenerated.
3688 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3689 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3690 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3691 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3692 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3693 Use move/movt pair instead of a load.
3694 (LDST_GLOBAL): Macro removed.
3695 (LDR_GLOBAL): New macro replaces it.
3696 (LDR_HIDDEN): New macro.
3697 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3698 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3700 * setjmp/tst-setjmp-static.c: New file.
3701 * setjmp/Makefile (tests): Add it.
3702 (tests-static): New variable.
3704 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3707 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3709 2014-10-21 Joseph Myers <joseph@codesourcery.com>
3712 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3714 2014-10-21 Roland McGrath <roland@hack.frob.com>
3716 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3718 2014-10-20 Roland McGrath <roland@hack.frob.com>
3720 * io/fts.c (dirent_not_directory): New function.
3721 (fts_build): Call it.
3723 2014-10-20 Roland McGrath <roland@hack.frob.com>
3725 * nptl/version.c (__nptl_main): Use normal __write rather than
3727 (banner): Update copyright years.
3729 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3731 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3732 * nptl/pthread_cond_timedwait.c: Likewise.
3733 * nptl/pthread_mutex_timedlock.c: Likewise.
3734 * nptl/sem_timedwait.c: Likewise.
3736 * sysdeps/nptl/bits/libc-lock.h
3737 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3738 (__libc_lock_init_recursive): Return void, not 0.
3739 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3740 (__libc_rwlock_init): Likewise.
3741 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3743 2014-10-20 Torvald Riegel <triegel@redhat.com>
3746 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3747 (__pthread_once_slow): ... here.
3748 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3749 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3751 2014-10-20 Torvald Riegel <triegel@redhat.com>
3754 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3755 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3756 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3757 * nptl/pthread_once.c (__pthread_once): Likewise.
3760 2014-10-20 Joseph Myers <joseph@codesourcery.com>
3763 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3765 (writev): Use __libc_writev as strong name.
3766 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3767 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3769 2014-10-17 Roland McGrath <roland@hack.frob.com>
3771 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3773 * sysdeps/i386/nptl/tls.h
3774 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3775 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3777 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3778 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3779 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3780 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3781 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3782 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3784 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3785 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3787 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3789 (__pthread_mutex_init): ... here. Call it.
3790 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3791 Conditionalize PI cases on [__NR_futex].
3792 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3793 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3794 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3796 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3797 conditional on [SIGSETXID].
3798 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3799 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3800 is defined. Likewise for SIGSETXID.
3801 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3802 Conditionalize definitions on [SIGSETXID].
3803 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3804 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3805 unblocking on [SIGCANCEL].
3807 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3808 [__NR_set_robust_list].
3810 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3812 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3813 (do_compare): Likewise.
3815 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
3818 * string/strcoll_l.c: Don't include stdio.h.
3819 (coll_seq): Remove members idxarr and rulearr.
3820 (get_next_seq_cached): Remove function.
3821 (get_next_seq): Likewise.
3822 (get_next_seq_nocache): Rename to get_next_seq.
3823 (do_compare): Remove function.
3824 (do_compare_nocache): Rename to do_compare.
3825 (STRCOLL): Remove weight and rules cache.
3827 2014-10-16 Roland McGrath <roland@hack.frob.com>
3829 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3830 * sysdeps/arm/sfp-machine.h: ... to here.
3831 * sysdeps/arm/Implies: Remove arm/soft-fp.
3833 2014-10-14 Joseph Myers <joseph@codesourcery.com>
3835 * conform/data/sys/utsname.h-data (*_t): Allow.
3836 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3837 [POSIX] (WEXITED): Do not expect constant.
3838 [POSIX] (WSTOPPED): Likewise.
3839 [POSIX] (WNOHANG): Likewise.
3840 [POSIX] (WNOWAIT): Likewise.
3841 [POSIX] (siginfo_t): Do not expect type or elements.
3842 [POSIX] (pid_t): Do not expect type.
3843 [POSIX] (signal.h): Do not allow header.
3844 [POSIX] (sys/resource.h): Likewise.
3845 [POSIX] (si_*): Do not allow pattern.
3846 [POSIX] (W*): Likewise.
3847 [POSIX] (P_*): Likewise.
3848 [POSIX] (BUS_*): Likewise.
3849 [POSIX] (CLD_*): Likewise.
3850 [POSIX] (FPE_*): Likewise.
3851 [POSIX] (ILL_*): Likewise.
3852 [POSIX] (POLL_*): Likewise.
3853 [POSIX] (SEGV_*): Likewise.
3854 [POSIX] (SI_*): Likewise.
3855 [POSIX] (TRAP_*): Likewise.
3856 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3859 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3862 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3863 infinite loop when __recvmsg returns 0.
3865 2014-10-10 Joseph Myers <joseph@codesourcery.com>
3867 * CANCEL-FCT-WAIVE: Remove file.
3868 * CANCEL-FILE-WAIVE: Likewise.
3871 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3872 instead of INTVARDEF.
3873 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3874 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3875 rtld_hidden_data_def instead of INTVARDEF.
3876 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3877 * elf/dl-deps.c (expand_dst): Likewise.
3878 * elf/dl-load.c (_dl_dst_count): Likewise.
3879 (_dl_dst_substitute): Likewise.
3880 (decompose_rpath): Likewise.
3881 (_dl_init_paths): Likewise.
3882 (open_path): Likewise.
3883 (_dl_map_object): Likewise.
3884 * elf/rtld.c (dl_main): Likewise.
3885 (process_dl_audit): Likewise.
3886 (process_envvars): Likewise.
3887 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3889 (__libc_enable_secure): Use rtld_hidden_proto.
3891 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
3894 (add_path): New function broken out of _dl_rtld_di_serinfo.
3895 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
3897 2014-10-09 Joseph Myers <joseph@codesourcery.com>
3899 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3900 parentheses around macro arguments.
3901 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3902 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3903 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3904 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3905 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3906 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3907 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3908 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3909 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3910 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3911 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3912 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3913 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3914 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3915 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3916 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3917 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3918 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3919 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3920 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3921 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3922 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3923 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3924 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3925 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3926 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3927 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3928 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3929 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3930 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3931 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3932 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3933 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3934 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3935 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3936 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3938 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3939 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3940 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3941 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3942 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3943 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3944 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3945 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3946 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3947 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3948 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3949 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3950 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3951 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3952 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3953 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3954 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3955 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3956 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3957 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3958 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3959 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3960 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3961 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3962 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3963 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3964 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3965 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3966 (_FP_FRAC_SRS_1): Likewise.
3967 (_FP_FRAC_CLZ_1): Likewise.
3968 (_FP_MUL_MEAT_1_imm): Likewise.
3969 (_FP_MUL_MEAT_1_wide): Likewise.
3970 (_FP_MUL_MEAT_1_hard): Likewise.
3971 (_FP_SQRT_MEAT_1): Likewise.
3972 (_FP_FRAC_ASSEMBLE_1): Likewise.
3973 (_FP_FRAC_DISASSEMBLE_1): Likewise.
3974 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3975 (__FP_CLZ_2): Likewise.
3976 (_FP_MUL_MEAT_2_wide): Likewise.
3977 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3978 (_FP_MUL_MEAT_2_gmp): Likewise.
3979 (_FP_MUL_MEAT_2_120_240_double): Likewise.
3980 (_FP_SQRT_MEAT_2): Likewise.
3981 (_FP_FRAC_ASSEMBLE_2): Likewise.
3982 (_FP_FRAC_DISASSEMBLE_2): Likewise.
3983 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3984 (_FP_FRAC_CLZ_4): Likewise.
3985 (_FP_MUL_MEAT_4_wide): Likewise.
3986 (_FP_MUL_MEAT_4_gmp): Likewise.
3987 (_FP_SQRT_MEAT_4): Likewise.
3988 (_FP_FRAC_ASSEMBLE_4): Likewise.
3989 (_FP_FRAC_DISASSEMBLE_4): Likewise.
3990 * soft-fp/op-common.h (_FP_CMP): Likewise.
3991 (_FP_CMP_EQ): Likewise.
3992 (_FP_CMP_UNORD): Likewise.
3993 (_FP_TO_INT): Likewise.
3994 (_FP_FROM_INT): Likewise.
3995 [!__FP_CLZ] (__FP_CLZ): Likewise.
3996 (_FP_DIV_HELP_imm): Likewise.
3997 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3999 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4000 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4001 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4002 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4003 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4004 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4005 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4006 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4007 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4008 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4009 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4010 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4011 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4012 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4013 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4014 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4015 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4016 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4017 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4018 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4019 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4020 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4021 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4022 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4023 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4024 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4025 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4026 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4027 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4028 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4029 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4030 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4031 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4032 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4033 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4034 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4035 (FP_UNPACK_RAW_SP): Likewise.
4036 (FP_PACK_RAW_S): Likewise.
4037 (FP_PACK_RAW_SP): Likewise.
4038 (FP_UNPACK_S): Likewise.
4039 (FP_UNPACK_SP): Likewise.
4040 (FP_UNPACK_SEMIRAW_S): Likewise.
4041 (FP_UNPACK_SEMIRAW_SP): Likewise.
4042 (FP_PACK_S): Likewise.
4043 (FP_PACK_SP): Likewise.
4044 (FP_PACK_SEMIRAW_S): Likewise.
4045 (FP_PACK_SEMIRAW_SP): Likewise.
4046 (_FP_SQRT_MEAT_S): Likewise.
4047 (FP_CMP_S): Likewise.
4048 (FP_CMP_EQ_S): Likewise.
4049 (FP_CMP_UNORD_S): Likewise.
4050 (FP_TO_INT_S): Likewise.
4051 (FP_FROM_INT_S): Likewise.
4053 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4055 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4056 (FP_EX_INVALID_IMZ): Likewise.
4057 (FP_EX_INVALID_IMZ_FMA): Likewise.
4058 (FP_EX_INVALID_ISI): Likewise.
4059 (FP_EX_INVALID_ZDZ): Likewise.
4060 (FP_EX_INVALID_IDI): Likewise.
4061 (FP_EX_INVALID_SQRT): Likewise.
4062 (FP_EX_INVALID_CVI): Likewise.
4063 (FP_EX_INVALID_VC): Likewise.
4064 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4065 "invalid" exceptions.
4066 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4067 (_FP_ADD_INTERNAL): Likewise.
4068 (_FP_MUL): Likewise.
4069 (_FP_FMA): Likewise.
4070 (_FP_DIV): Likewise.
4071 (_FP_CMP_CHECK_NAN): Likewise.
4072 (_FP_SQRT): Likewise.
4073 (_FP_TO_INT): Likewise.
4074 (FP_EXTEND): Likewise.
4076 2014-10-09 Allan McRae <allan@archlinux.org>
4078 * po/fr.po: Update French translation from translation project.
4080 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4083 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4085 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4086 (__cxa_atexit): Use libc_hidden_proto.
4087 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4090 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4092 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4093 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4094 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4095 [!_ISOMAC] (__iswctype_internal): Likewise.
4096 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4097 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4099 (fcntl): Remove __fcntl_internal alias.
4100 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4101 __connect_internal alias.
4102 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4105 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4106 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4108 (_FP_CHECK_FLUSH_ZERO): New macro.
4109 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4110 (_FP_CMP): Likewise.
4111 (_FP_CMP_EQ): Likewise.
4112 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4114 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4115 (FP_TRUNC): Likewise.
4117 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4118 treated as invalid conversion, not as normal exponent.
4120 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4121 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4122 (_FP_CMP_EQ): Likewise.
4123 (_FP_CMP_UNORD): Likewise.
4124 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4125 (FP_CMP_EQ_D): Likewise.
4126 (FP_CMP_UNORD_D): Likewise.
4127 * soft-fp/extended.h (FP_CMP_E): Likewise.
4128 (FP_CMP_EQ_E): Likewise.
4129 (FP_CMP_UNORD_E): Likewise.
4130 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4131 (FP_CMP_EQ_Q): Likewise.
4132 (FP_CMP_UNORD_Q): Likewise.
4133 * soft-fp/single.h (FP_CMP_S): Likewise.
4134 (FP_CMP_EQ_S): Likewise.
4135 (FP_CMP_UNORD_S): Likewise.
4136 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4137 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4138 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4139 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4140 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4141 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4142 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4143 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4144 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4145 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4146 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4147 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4148 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4150 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4152 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4153 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4155 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4157 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4158 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4159 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4160 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4162 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4164 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4165 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4167 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4169 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4170 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4171 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4172 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4175 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4176 a subnormal result, set the underflow exception if trapping on
4177 underflow is enabled.
4178 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4179 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4180 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4182 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4183 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4184 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4185 * soft-fp/extendxftf2.c (__extendxftf2): Use
4186 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4188 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4189 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4190 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4191 FP_HANDLE_EXCEPTIONS.
4192 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4193 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4194 FP_HANDLE_EXCEPTIONS.
4195 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4196 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4197 FP_HANDLE_EXCEPTIONS.
4198 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4199 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4200 FP_HANDLE_EXCEPTIONS.
4202 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4205 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4206 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4208 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4209 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4211 (__adjtimex): Define using libc_hidden_ver.
4212 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4214 (ntp_gettime): Call __adjtimex directly.
4215 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4217 (ntp_gettimex): Call __adjtimex directly.
4218 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4219 __adjtimex_internal alias.
4221 2014-10-08 Roland McGrath <roland@hack.frob.com>
4224 * nscd/nscd.c (more_help): Rewrite list of tables collection
4225 using xstrdup and asprintf.
4227 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4229 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4230 Roland McGrath <roland@hack.frob.com>
4232 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4233 (do_lookup_unique): ... local function 'enter' here; update callers.
4235 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4237 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4238 compat_symbol calls on [SHARED].
4239 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4240 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4242 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4243 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4244 (oldsetrlimit): Remove.
4245 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4246 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4247 (lchown): New syscall entry.
4248 (oldsetrlimit): Remove.
4249 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4250 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4251 (oldsetrlimit): Remove.
4252 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4255 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4256 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4257 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4258 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4259 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4260 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4262 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4264 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4267 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4269 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4270 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4271 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4272 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4273 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4275 (__old_sem_post): Likewise.
4277 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4279 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4280 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4281 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4282 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4283 Use INLINE_VSYSCALL macro.
4284 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4285 __vdso_clock_gettime.
4286 * sysdeps/unix/sysv/linux/tile/init-first.c
4287 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4288 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4289 __vdso_clock_gettime.
4291 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4292 to set up frame more cleanly.
4294 * sysdeps/tile/memcmp.c: New file.
4296 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4298 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4299 * sysdeps/tile/tilegx/strcasestr.c: New file.
4300 * sysdeps/tile/tilegx/strnlen.c: New file.
4301 * sysdeps/tile/tilegx/strstr.c: New file.
4303 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4305 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
4307 * nptl/tst-setuid3.c: Write errors to stdout.
4309 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4312 (preload): New functions broken out of _dl_map_object_deps.
4313 (_dl_map_object_deps): Remove a nested function. Update call sites.
4315 2014-10-01 Joseph Myers <joseph@codesourcery.com>
4318 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4319 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4321 2014-10-01 Steve Ellcey <sellcey@mips.com>
4323 * sysdeps/mips/strcmp.S: New.
4325 2014-09-30 Joseph Myers <joseph@codesourcery.com>
4328 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4330 (mkdirat): Likewise.
4331 (readlinkat): Likewise.
4332 (renameat): Likewise.
4333 (symlinkat): Likewise.
4334 (unlinkat): Likewise.
4335 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4336 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4337 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4338 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4339 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4340 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4341 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4343 2014-09-30 Will Newton <will.newton@linaro.org>
4345 * math/math.h: Define long double math functions if
4346 _LIBC_TEST is defined.
4347 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4349 * localedata/Makefile: Move assignment to tests-special
4350 into an ifdef testing run-built-tests.
4351 * timezone/Makefile: Likewise.
4353 2014-09-29 Joseph Myers <joseph@codesourcery.com>
4355 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4356 with $(BASH) not $(SHELL).
4358 2014-09-29 Carlos O'Donell <carlos@redhat.com>
4359 Matthew LeGendre <legendre1@llnl.gov>
4362 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4365 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4367 * stdio-common/printf_fp.c
4368 (hack_digit): New function, broken out of ...
4369 (__printf_fp): ... local function here. Update call sites.
4370 hack_digit now takes an additional parameter that is a pointer
4371 to a struct of the referenced locals. Those locals moved inside
4372 the struct and references updated.
4374 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4376 * aclocal.m4: Require autoconf 2.69.
4377 * configure: Regenerated.
4378 * sysdeps/aarch64/configure: Likewise.
4379 * sysdeps/alpha/configure: Likewise.
4380 * sysdeps/arm/armv7/configure: Likewise.
4381 * sysdeps/arm/configure: Likewise.
4382 * sysdeps/ia64/configure: Likewise.
4383 * sysdeps/mach/configure: Likewise.
4384 * sysdeps/mips/configure: Likewise.
4385 * sysdeps/s390/configure: Likewise.
4386 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4389 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4391 * sysdeps/ia64/configure.ac: Likewise.
4393 2014-09-26 Joseph Myers <joseph@codesourcery.com>
4395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4396 specify symbol version for ld.so. Do not include entry for
4398 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4399 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4400 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4403 * Makeconfig [$(build-shared) = yes]
4404 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4406 [$(build-shared) = yes && $(soversions.mk-done) = t]
4407 ($(common-objpfx)gnu/lib-names.h): Remove rule.
4408 [$(build-shared) = yes && $(soversions.mk-done) = t]
4409 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
4411 [$(build-shared) = yes && $(soversions.mk-done) = t]
4412 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4414 [$(build-shared) = yes && $(soversions.mk-done) = t]
4415 (common-generated): Don't append gnu/lib-names.h and
4416 gnu/lib-names.stmp here.
4417 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4418 (lib-names-h-abi): New variable.
4419 [$(build-shared) = yes && $(soversions.mk-done) = t]
4420 (lib-names-stmp-abi): Likewise.
4421 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4422 abi-variants] (before-compile): Append
4423 $(common-objpfx)$(lib-names-h-abi).
4424 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4425 abi-variants] (common-generated): Append gnu/lib-names.h.
4426 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4427 abi-variants] (install-others-nosubdir): Depend on
4428 $(inst_includedir)/$(lib-names-h-abi).
4429 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4430 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4431 [$(build-shared) = yes && $(soversions.mk-done) = t]
4432 ($(common-objpfx)$(lib-names-h-abi)): New rule.
4433 [$(build-shared) = yes && $(soversions.mk-done) = t]
4434 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4435 [$(build-shared) = yes && $(soversions.mk-done) = t]
4436 (common-generated): Append $(lib-names-h-abi) and
4437 $(lib-names-stmp-abi).
4438 * scripts/lib-names.awk: Do not handle multi being set.
4439 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4441 (abi-lp64_be-ld-soname): Likewise.
4442 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4444 (abi-hard-ld-soname): Likewise.
4445 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4446 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4448 (abi-o32_hard-ld-soname): Likewise.
4449 (abi-o32_soft_2008-ld-soname): Likewise.
4450 (abi-o32_hard_2008-ld-soname): Likewise.
4451 (abi-n32_soft-ld-soname): Likewise.
4452 (abi-n32_hard-ld-soname): Likewise.
4453 (abi-n32_soft_2008-ld-soname): Likewise.
4454 (abi-n32_hard_2008-ld-soname): Likewise.
4455 (abi-n64_soft-ld-soname): Likewise.
4456 (abi-n64_hard-ld-soname): Likewise.
4457 (abi-n64_soft_2008-ld-soname): Likewise.
4458 (abi-n64_hard_2008-ld-soname): Likewise.
4459 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4461 (abi-64-v2-ld-soname): Likewise.
4462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4464 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4466 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4468 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4470 (abi-64-ld-soname): Likewise.
4471 (abi-x32-ld-soname): Likewise.
4472 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4474 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4476 2014-09-23 Joseph Myers <joseph@codesourcery.com>
4479 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4480 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4481 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4482 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4483 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4484 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4485 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4486 syscall entry for GLIBC_2.2 symbol version.
4487 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4489 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4490 (setrlimit): Likewise.
4491 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4494 2014-09-23 Will Newton <will.newton@linaro.org>
4496 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4497 _LINUX_ARM_SYSDEP_H include guard too.
4498 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4501 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4503 * sysdeps/unix/sysv/linux/eventfd.c:
4504 Make first argument unsigned.
4505 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4506 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4508 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
4510 * socket/recvmmsg.c (recvmmsg): Drop const argument.
4511 * socket/sys/socket.h: Likewise
4512 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4514 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4516 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4518 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
4520 * time/tst-ftime.c: New test.
4521 * time/Makefile (tests): Add tst-ftime.
4523 2014-09-17 Joseph Myers <joseph@codesourcery.com>
4525 * soft-fp/extended.h: Fix comment formatting.
4526 * soft-fp/op-1.h: Likewise.
4527 * soft-fp/op-2.h: Likewise.
4528 * soft-fp/op-4.h: Likewise.
4529 * soft-fp/op-8.h: Likewise.
4530 * soft-fp/op-common.h: Likewise.
4531 * soft-fp/soft-fp.h: Likewise.
4533 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4535 2014-09-16 Joseph Myers <joseph@codesourcery.com>
4538 * Makeconfig (soversions-default-setname): Remove variable.
4539 ($(common-objpfx)soversions.i): Don't pass default_setname to
4541 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4542 oldest_abi to abi-versions.awk.
4543 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4544 * config.make.in (oldest-abi): Remove variable.
4545 * configure.ac (--enable-oldest-abi): Remove configure option.
4546 * configure: Regenerated.
4547 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4549 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4550 * scripts/soversions.awk: Do not handle default_setname variable.
4551 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4553 * sysdeps/mach/hurd/configure: Regenerated.
4554 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4556 * sysdeps/unix/sysv/linux/configure: Regenerated.
4558 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4560 * elf/Makefile (CFLAGS-interp.c): Remove.
4561 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4563 * elf/interp.c: Include generated runtime-linker.h
4565 * Makerules (lib%.so): Don't include $(+interp) in
4567 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4568 * dlfcn/eval.c: Remove file.
4570 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4574 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4578 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4580 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4581 Jakub Jelinek <jakub@redhat.com>
4584 * libio/stdio.h: Check definition of __fortify_function
4585 instead of __extern_always_inline to include bits/stdio2.h.
4586 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4587 check if __extern_always_inline is defined.
4588 [__USE_MISC || __USE_XOPEN]: Likewise.
4589 [__USE_ISOC99] Likewise.
4590 * misc/sys/cdefs.h (__fortify_function): Define only if
4591 __extern_always_inline is defined.
4592 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4593 __extern_always_inline and __extern_inline only for g++-4.3
4594 and newer or a compatible gcc.
4596 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4599 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4600 last change to handle zero prefix length.
4602 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4604 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4607 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4610 2014-09-13 Allan McRae <allan@archlinux.org>
4612 * po/ru.po: Update Russian translation from translation project.
4614 2014-09-12 Roland McGrath <roland@hack.frob.com>
4616 * locale/programs/locale.c (show_locale_vars): Inline local function
4617 into its sole call site. Clean up some style nits.
4618 (print_item): New function, broken out of ...
4619 (show_info): ... local function here. Clean up style nits.
4621 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4623 (set_class_defaults): ... local function set_default here.
4624 Define set_default as a macro locally to pass constant parameters.
4625 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4626 rather than a shared local.
4628 * stdlib/rpmatch.c (try): New function, broken out of ...
4629 (rpmatch): ... local function here. Also, prototypify definition.
4631 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4633 * scripts/soversions.awk: Do not handle configuration names.
4634 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4635 vendor and os variables to soversions.awk.
4636 * configure.ac: Do not modify gnu-* host_os.
4637 * configure: Regenerated
4638 * shlib-versions: Remove first column with configuration names.
4639 * nptl/shlib-versions: Likewise.
4640 * nptl_db/shlib-versions: Likewise.
4641 * sysdeps/hppa/shlib-versions: Likewise.
4642 * sysdeps/m68k/shlib-versions: Likewise.
4643 * sysdeps/mach/hurd/shlib-versions: Likewise.
4644 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4645 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4646 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4647 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4648 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4649 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4650 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4651 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4654 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4655 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4656 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4657 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4658 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4659 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4660 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4661 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4664 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4665 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4667 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4668 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4669 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4671 * shlib-versions: Remove OS-specific entries. Moved to files in
4673 * sysdeps/mach/hurd/shlib-versions: New file.
4674 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4676 * nptl/shlib-versions: Remove architecture-specific entries.
4677 Moved to files in sysdeps.
4678 * shlib-versions: Likewise.
4679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4681 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4682 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4683 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4684 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4686 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4687 (UDP_NO_CHECK6_RX): Likewise.
4689 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4691 * sysdeps/posix/sysconf.c (__sysconf): Spell
4692 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4694 2014-08-12 Florian Weimer <fweimer@redhat.com>
4696 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4698 * iconv/Versions (__gconv_transliterate): Export for use from
4700 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4701 (struct __gconv_trans_data, __gconv_trans_fct,
4702 __gconv_trans_context_fct, __gconv_trans_query_fct,
4703 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4705 (struct __gconv_step_data): Remove __trans member.
4706 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4707 longer hidden. Remove unused trans_data argument.
4708 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4709 (__gconv_translit_find): Remove declaration.
4710 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4712 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4713 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4714 trans_data argument. Add hidden definition.
4715 (__gconv_translit_find): Remove.
4716 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4717 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4718 * iconv/skeleton.c: Remove transliteration initialization.
4719 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4720 __gconv_step_data initialization.
4721 * libio/iofwide.c (__libio_translit_): Remove.
4722 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4723 * wcsmbs/btowc.c (__btowc): Likewise.
4724 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4725 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4726 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4727 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4728 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4729 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4730 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4731 * wcsmbs/wctob.c (wctob): Likewise.
4733 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4736 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4737 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4739 * sysdeps/x86/Makefile: Adjust.
4741 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4742 Roland McGrath <roland@hack.frob.com>
4744 * locale/weight.h: Add include guard.
4745 (findidx): Make static rather than auto; take new parameters
4746 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4747 * locale/weightwc.h: Likewise.
4748 * posix/fnmatch_loop.c
4749 (FCT): Change type of EXTRA from int32_t to wint_t.
4750 Don't include either header inside the function.
4751 Call FINDIDX rather than findidx, and pass new arguments.
4752 #undef FINDIDX at the end of the file.
4753 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4754 FINDIDX before including fnmatch_loop.c for the non-wide version.
4755 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4756 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4757 for the wide version.
4758 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4759 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4760 Pass new arguments to findidx.
4761 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4762 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4763 Don't #include it inside the function. Pass new arguments to findidx.
4764 * posix/regex_internal.h
4765 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4766 (re_string_elem_size_at): Don't #include it inside the function.
4767 Pass new arguments to findidx.
4768 * string/strcoll_l.c: #include WEIGHT_H at top level.
4769 (get_next_seq): Don't #include it inside the function.
4770 Pass new arguments to findidx.
4771 (get_next_seq_nocache): Likewise.
4772 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4773 (STRXFRM): Don't #include it inside the function.
4774 Pass new arguments to findidx.
4776 2014-09-11 Florian Weimer <fweimer@redhat.com>
4779 * malloc/malloc.c (unlink): Turn asserts into a call to
4782 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
4785 * libio/wfileops (do_ftell_wide): Free OUT.
4787 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4789 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4791 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4794 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4795 group if the current group is empty.
4797 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4799 * benchtests/bench-memset.c (test_main): Add more test from size
4800 from 32 to 512 bytes.
4801 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4802 Add POWER8 memset object.
4803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4804 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4805 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4807 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4809 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4810 multiarch POWER8 memset optimization.
4811 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4812 POWER8 memset optimization.
4814 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4815 Remove bzero multiarch objects.
4816 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4817 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4818 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4819 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4821 [__bzero]: Redefine to specific name.
4822 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4823 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4824 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4826 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4827 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4829 2014-09-10 Florian Weimer <fweimer@redhat.com>
4831 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4832 warnings into errors.
4834 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4835 __cxa_thread_atexit_impl prototype.
4837 2014-09-09 Steve Ellcey <sellcey@mips.com>
4839 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4840 Fix capitalization of error message.
4842 2014-09-09 Steve Ellcey <sellcey@mips.com>
4844 * sysdeps/mips/preconfigure: Modify ABI tests.
4846 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4848 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4850 2014-09-07 Roland McGrath <roland@hack.frob.com>
4851 Carlos O'Donell <carlos@systemhalted.org>
4853 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4854 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4855 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4856 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4857 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4858 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4859 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4860 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4861 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4862 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4863 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4864 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4865 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4866 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4867 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4868 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4869 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4870 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4871 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4872 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4873 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4874 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4875 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4876 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4877 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4878 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4879 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4880 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4881 Deconditionalize the code that was previously under [RESET_PID].
4882 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4883 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4884 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4885 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4888 2014-09-08 Allan McRae <allan@archlinux.org>
4890 * version.h (RELEASE): Set to "development".
4891 (VERSION): Set to "2.20.90"
4893 2014-09-07 Allan McRae <allan@archlinux.org
4895 * version.h (RELEASE): Set to "stable".
4896 (VERSION): Set to "2.20"
4897 * include/features.h (__GLIBC_MINOR__): Set to 20.
4899 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4902 * po/ko.po: Update Korean translation from translation project.
4904 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
4907 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4908 macro for handling signed relocations.
4910 2014-09-03 Florian Weimer <fweimer@redhat.com>
4913 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4914 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4916 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4917 * iconvdata/ibm935.c (BODY): Likewise.
4918 * iconvdata/ibm937.c (BODY): Likewise.
4919 * iconvdata/ibm939.c (BODY): Likewise.
4920 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4922 * iconvdata/Makefile (iconv-test.out): Pass module list to test
4924 * iconvdata/run-iconv-test.sh: New test loop for checking for
4927 2014-09-02 Khem Raj <raj.khem@gmail.com>
4929 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4932 2014-09-01 Allan McRae <allan@archlinux.org>
4934 * po/eo.po: Update Esperanto translation from translation project.
4936 * po/ca.po: Update Catalan translation from translation project.
4938 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
4940 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4943 2014-08-27 Mark Wielaard <mjw@redhat.com>
4946 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4947 to call set_thread_area instead of hand written asm.
4948 (__NR_set_thread_area): Removed define.
4949 (TLS_FLAG_WRITABLE): Likewise.
4950 (__ASSUME_SET_THREAD_AREA): Remove check.
4951 (TLS_EBX_ARG): Remove define.
4952 (TLS_LOAD_EBX): Likewise.
4954 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
4956 Simplify atomicity of socket creation in bind.
4958 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4959 looking up the name after linking the file.
4961 2014-08-27 Allan McRae <allan@archlinux.org>
4963 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4965 2014-08-26 Florian Weimer <fweimer@redhat.com>
4968 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4969 trans_compare, open_translit, __gconv_translit_find):
4970 Remove module loading code.
4972 2014-08-26 Allan McRae <allan@archlinux.org>
4974 * po/vi.po: Update Vietnamese translation from translation project.
4976 * po/uk.po: Update Ukrainian translation from translation project.
4978 * po/fr.po: Update French translation from translation project.
4980 * po/ru.po: Update Russian translation from translation project.
4982 * po/pl.po: Update Polish translation from translation project.
4984 * po/cs.po: Update Czech translation from translation project.
4986 * po/de.po: Update German translation from translation project.
4988 * po/bg.po: Update Bulgarian translation from translation project.
4990 * po/sv.po: Update Sweedish translation from translation project.
4992 * po/nl.po: Update Dutch translation from translation project.
4994 * po/es.po: Update Spanish translation from translation project.
4996 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4998 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5000 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5001 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5002 (CPPFLAGS-iconvconfig): Likewise.
5003 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5005 * include/libc-symbols.h: Remove unnecessary check for
5007 * nptl/pthreadP.h: Likewise.
5008 * sysdeps/aarch64/setjmp.S: Likewise.
5009 * sysdeps/alpha/setjmp.S: Likewise.
5010 * sysdeps/arm/sysdep.h: Likewise.
5011 * sysdeps/i386/setjmp.S: Likewise.
5012 * sysdeps/m68k/setjmp.c: Likewise.
5013 * sysdeps/posix/getcwd.c: Likewise.
5014 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5015 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5016 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5017 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5018 * sysdeps/sh/sh3/setjmp.S: Likewise.
5019 * sysdeps/sh/sh4/setjmp.S: Likewise.
5020 * sysdeps/unix/alpha/sysdep.h: Likewise.
5021 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5022 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5023 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5024 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5027 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5028 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5029 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5030 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5031 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5032 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5033 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5034 * sysdeps/x86_64/setjmp.S: Likewise.
5036 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5039 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5041 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5042 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5044 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5046 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5049 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5050 and __x86_64__ when disabling x87 inline functions.
5052 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5055 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5056 asm statement with __cpuid_count.
5058 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5060 * configure.ac: Change __ehdr_start code to dereference the struct.
5061 Run readelf on the output to look for relocations.
5062 * configure: Regenerated.
5064 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5067 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5069 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5071 2014-08-12 Roland McGrath <roland@hack.frob.com>
5073 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5075 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5078 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5079 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5081 2014-08-12 Sean Anderson <seanga2@gmail.com>
5083 * malloc/malloc.c: Fix typo in comment.
5085 2014-08-09 Allan McRae <allan@archlinux.org>
5087 * Regenerate libc.po.
5089 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5091 * intl/tst-gettext2.sh: Check every lang file for creation.
5093 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5095 * sysdeps/aarch64/fpu/math_private.h
5096 (libc_feholdsetround_noex_aarch64_ctx): New function.
5098 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5100 * sysdeps/arm/armv6/strcpy.S (strcpy):
5101 Fix performance issue in misaligned cases.
5103 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5105 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5106 Move definition from termios.h.
5107 (struct termio): Likewise.
5108 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5109 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5110 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5111 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5113 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5114 Move definition to ioctl-types.h
5115 (struct termio): Likewise.
5116 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5117 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5118 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5119 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5122 2014-08-05 Richard Henderson <rth@redhat.com>
5124 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5126 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5128 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5129 Use __feraiseexcept.
5130 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5131 Protect libm symbols with IS_IN_libm.
5133 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5135 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5137 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5139 2014-08-04 Will Newton <will.newton@linaro.org>
5141 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5144 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5146 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5147 variants for each function.
5149 2014-08-04 Roland McGrath <roland@hack.frob.com>
5151 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5153 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5154 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5156 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5157 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5158 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5159 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5160 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5161 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5162 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5163 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5164 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5165 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5166 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5167 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5168 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5169 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5170 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5171 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5172 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5173 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5174 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5175 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5176 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5177 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5178 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5179 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5180 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5181 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5182 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5183 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5184 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5185 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5186 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5187 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5188 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5189 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5190 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5191 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5192 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5193 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5194 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5195 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5196 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5197 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5198 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5199 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5200 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5201 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5202 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5203 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5204 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5205 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5206 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5207 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5208 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5210 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5211 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5213 2014-08-04 Roland McGrath <roland@hack.frob.com>
5215 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5216 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5217 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5218 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5219 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5220 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5222 2014-08-04 Roland McGrath <roland@hack.frob.com>
5224 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5225 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5226 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5227 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5229 2014-08-04 Roland McGrath <roland@hack.frob.com>
5231 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5232 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5233 (__libc_vfork): Define function under this name.
5234 (__vfork): Define as an alias.
5235 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5236 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5238 2014-08-04 Roland McGrath <roland@hack.frob.com>
5240 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5241 that was previously under [RESET_PID].
5242 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5244 2014-08-04 Andreas Schwab <schwab@suse.de>
5246 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5248 2014-08-03 Mike Frysinger <vapier@gentoo.org>
5250 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5253 2014-08-01 Roland McGrath <roland@hack.frob.com>
5255 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5257 2014-08-01 Richard Henderon <rth@redhat.com>
5259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5260 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5261 typo in exact zero test.
5262 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5263 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5264 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5266 2014-08-01 Roland McGrath <roland@hack.frob.com>
5268 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5269 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5270 * sysdeps/arm/sysdep.h: ... here.
5271 [!__ASSEMBLER__]: Include <stdint.h>.
5273 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5275 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5276 (HAVE_WCTYPE_H): Likewise.
5277 (HAVE_ISWCTYPE): Likewise.
5278 (ENABLE_NLS): Likewise.
5279 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5280 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5282 * posix/regex_internal.c: Check if DEBUG is defined and is
5285 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5286 (HAVE_MBSRTOWCS): Likewise.
5287 * posix/fnmatch.c: Include string.h unconditionally.
5289 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5291 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5294 2014-07-31 Roland McGrath <roland@hack.frob.com>
5296 * sysdeps/generic/safe-fatal.h: New file.
5297 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5298 * nptl/forward.c: Include it.
5299 (__pthread_unwind): Use __safe_fatal as default action, rather
5300 than a bogus use of INTERNAL_SYSCALL that could never work.
5302 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5303 * configure.ac (libc_cv_builtin_trap): New test.
5304 * configure: Regenerated.
5305 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5306 (ABORT_INSTRUCTION): Define using __builtin_trap.
5308 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5309 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5310 * sysdeps/nptl/nptl-signals.h: New file.
5311 * nptl/pthreadP.h: Include <nptl-signals.h>.
5313 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5315 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5316 (ONE_DIRECTION): Define.
5317 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5318 (ONE_DIRECTION): Define.
5319 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5320 (ONE_DIRECTION): Define.
5322 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5324 * sysdeps/s390/Makefile: Delete file.
5325 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5326 * sysdeps/s390/__longjmp.c: Delete file.
5327 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5328 Remove fields __flags and __reserved.
5329 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5331 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5332 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5333 * sysdeps/s390/rtld-setjmp.S: Likewise.
5334 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5335 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5336 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5337 * sysdeps/s390/s390-32/setjmp.S: ... here.
5339 (__sigsetjmp): Remove setting __flags field.
5340 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5341 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5342 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5343 * sysdeps/s390/s390-64/setjmp.S: ... here.
5345 (__sigsetjmp): Remove setting __flags field.
5346 * sysdeps/s390/setjmp.S: Delete file.
5347 * sysdeps/s390/sigjmp.c: Likewise.
5348 * sysdeps/s390/v1-longjmp.c: Likewise.
5349 * sysdeps/s390/v1-setjmp.h: Likewise.
5350 * sysdeps/s390/v1-sigjmp.c: Likewise.
5351 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5352 Remove v1-longjmp_chk.
5353 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5354 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5355 Include debug/longjmp_chk.c and add versioning.
5356 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5357 Include nptl/pt-longjmp.c and add versioning.
5358 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5359 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5360 Include __longjmp.c.
5361 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5363 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5364 (__getcontext): Remove setting __flags field.
5366 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5367 Don't restore upper high grps.
5368 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5370 (__swapcontext): Remove setting uc_flags field.
5371 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5373 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5374 Include __longjmp.c.
5375 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5377 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5378 (__getcontext): Remove setting __flags field.
5380 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5381 (__swapcontext): Remove setting uc_flags field.
5382 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5383 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5384 Remove fields uc_high_gprs and __reserved.
5385 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5386 New file with reverted content.
5387 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5388 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5390 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5393 2014-07-31 Andreas Schwab <schwab@suse.de>
5395 * config.h.in (HAVE_IFUNC): Define to 0.
5396 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5399 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
5401 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5402 memmove-avx-unaligned, memcpy-avx-unaligned and
5403 mempcpy-avx-unaligned.
5404 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5405 Add tests for AVX memcpy functions.
5406 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5407 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5409 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5410 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5412 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5413 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5415 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5416 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5417 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5419 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5422 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5425 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
5428 * manual/llio.texi: Add section about open file description locks.
5429 * manual/examples/ofdlocks.c: Example of open file description
5431 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5432 F_OFD_SETLK, and F_OFD_SETLKW.
5434 2014-07-23 Allan McRae <allan@archlinux.org>
5436 * po/es.po: Update Spanish translation from translation project.
5438 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
5440 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5442 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
5445 * sysdeps/arm/dl-machine.h (elf_machine_rela)
5446 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5447 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5449 2014-07-17 Joseph Myers <joseph@codesourcery.com>
5452 * math/fesetenv.c (__fesetenv)
5453 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5454 * math/feupdateenv.c (__feupdateenv)
5455 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5457 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5458 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5459 (__ASSUME_SOCKETCALL): Do not define.
5461 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5462 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5463 (__ASSUME_SOCKETCALL): Do not define.
5464 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5465 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5466 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5467 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5468 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5469 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5470 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5471 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5473 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5474 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5475 (__ASSUME_SOCKETCALL): Do not define.
5476 (__ASSUME_IPC64): Define unconditionally.
5477 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5478 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5479 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5480 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5481 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5482 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5483 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5486 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5487 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5488 (__ASSUME_SOCKETCALL): Do not define.
5489 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5490 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5491 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5492 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5493 (__ASSUME_REQUEUE_PI): Define unconditionally.
5494 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5495 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5496 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5497 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5498 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5499 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5501 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5502 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5503 (__ASSUME_SOCKETCALL): Do not define.
5504 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5505 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5506 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5507 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5508 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5509 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5511 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5512 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5513 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5514 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5515 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5516 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5517 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5518 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5519 (__ASSUME_GETCPU_SYSCALL): Likewise.
5521 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5522 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5523 cases for individual architectures.
5524 * sysdeps/gnu/configure: Regenerated.
5525 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5526 LIBC_SLIBDIR_RTLDDIR.
5527 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5528 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5529 LIBC_SLIBDIR_RTLDDIR.
5530 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5531 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5532 LIBC_SLIBDIR_RTLDDIR.
5533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5535 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5536 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5538 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5539 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5541 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5542 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5543 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5544 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5546 * sysdeps/aarch64/shlib-versions: Move to ...
5547 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5548 * sysdeps/alpha/shlib-versions: Move to ...
5549 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5550 * sysdeps/arm/shlib-versions: Move to ...
5551 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5552 * sysdeps/hppa/shlib-versions: Move all contents except for
5553 libgcc_s entry to ...
5554 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
5556 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
5557 * sysdeps/ia64/shlib-versions: Move to ...
5558 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
5560 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5561 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5562 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5563 * sysdeps/microblaze/shlib-versions: Move to ...
5564 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5565 * sysdeps/mips/shlib-versions: Move to ...
5566 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5568 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5569 * sysdeps/tile/shlib-versions: Move to ...
5570 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5571 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5573 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5574 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5576 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5578 2014-07-17 Will Newton <will.newton@linaro.org>
5580 * sysdeps/arm/bits/atomic.h
5581 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5582 (__arch_compare_and_exchange_bool_16_int): Likewise.
5583 (__arch_compare_and_exchange_bool_64_int): Likewise.
5585 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5586 into an #else block.
5588 2014-07-16 Roland McGrath <roland@hack.frob.com>
5590 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5591 just Linux configurations. Test empirically that the compiler sets
5592 __ARM_EABI__, rather than using the tuple to decide.
5593 * sysdeps/arm/preconfigure: Regenerated.
5594 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5595 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5596 contents appended ...
5597 * sysdeps/arm/configure.ac: ... here.
5598 * sysdeps/arm/configure: Regenerated.
5600 2014-07-15 Roland McGrath <roland@hack.frob.com>
5602 * nptl/pthread_kill.c: New file.
5603 * nptl/pthread_sigmask.c: New file.
5604 * nptl/pthread_sigqueue.c: New file.
5606 * sysdeps/nptl/lowlevellock.h: New file.
5607 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5608 * sysdeps/nptl/lowlevellock-futex.h: New file.
5610 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5611 Remove dead declarations.
5613 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5615 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5616 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5618 * sysdeps/x86_64/configure.ac: Likewise.
5619 * sysdeps/i386/configure: Regenerated.
5620 * sysdeps/x86_64/configure: Likewise.
5621 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5622 memset-avx2 only if config-cflags-avx2 is yes.
5623 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5624 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5626 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5627 only if HAVE_AVX2_SUPPORT is defined.
5628 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5630 2014-07-14 Alan Modra <amodra@gmail.com>
5633 * elf/elf.h (DT_PPC64_NUM): Correct value.
5634 * NEWS: Add to fixed bug list.
5636 2014-07-13 Jim Meyering <meyering@fb.com>
5639 regex: don't deref NULL upon heap allocation failure
5640 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5641 failure in one more place.
5642 To trigger the segfault, configure grep -with-included-regex,
5643 build it, and run these commands:
5644 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5646 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5648 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5650 2014-07-11 Richard Henderson <rth@redhat.com>
5652 * sysdeps/aarch64/libm-test-ulps: Update.
5654 2014-07-10 Florian Weimer <fweimer@redhat.com>
5657 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5658 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5659 (__nptl_setxid): Initialize error member. Call
5660 __nptl_setxid_error.
5661 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5662 * nptl/descr.h (struct xid_command): Add error member.
5663 * nptl/tst-setuid3.c: New file.
5664 * nptl/Makefile (tests): Add it.
5666 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5668 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5670 (__lll_trylock): Use __lll_base_trylock.
5671 (__lll_cond_trylock): Likewise.
5673 2014-07-10 Roland McGrath <roland@hack.frob.com>
5675 * nptl/pthread_create.c (start_thread): Use atomic_or and
5676 lll_futex_wake directly rather than lll_robust_dead.
5677 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5678 (lll_robust_dead): Macro removed.
5679 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5680 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5681 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5682 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5683 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5684 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5685 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5686 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5687 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5688 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5689 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5690 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5691 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5692 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5693 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5695 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5696 Use atomic_compare_and_exchange_val_acq directly rather than
5698 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5699 (__lll_robust_trylock, lll_robust_trylock): Removed.
5700 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5701 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5702 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5703 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5704 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5705 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5706 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5707 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5708 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5709 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5710 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5711 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5712 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5713 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5715 2014-07-02 Florian Weimer <fweimer@redhat.com>
5717 * manual/locale.texi (Locale Names): New section documenting
5718 locale name syntax. Adjust menu and node chaining accordingly.
5719 (Choosing Locale): Reference Locale Names, Locale Categories.
5720 Mention setting LC_ALL=C. Reflect that name syntax is now
5722 (Locale Categories): New section title. Reference Locale Names.
5723 LC_ALL is an environment variable, but not a category.
5724 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5725 description, now in Locale Name. Reference that section. Locale
5726 name syntax is now documented.
5728 2014-07-02 Florian Weimer <fweimer@redhat.com>
5731 * locale/findlocale.c (name_present, valid_locale_name): New
5733 (_nl_find_locale): Use the loc_name variable to store name
5734 candidates. Call name_present and valid_locale_name to check and
5735 validate locale names. Return an error if the locale is invalid.
5737 2014-07-02 Florian Weimer <fweimer@redhat.com>
5739 * locale/setlocale.c (setlocale): Use strdup for allocating
5740 composite name copy.
5742 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5744 Sync up with gnulib.
5745 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5746 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5747 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5748 and _GL_ARG_NONNULL.
5749 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5750 [!_LIBC]: Include code for Windows and Cygwin.
5751 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5752 Include prototype for int strerror_r.
5753 [!_LIBC] (is_open): New function.
5754 (flush_stdout): New function.
5755 (print_errno_message): Use it.
5757 (error_at_line): Likewise.
5758 (error_tail) Add function attribute macros. Use
5761 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5763 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5765 * io/ftw.c: Include sys/param.h unconditionally.
5767 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5770 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5772 (freecache): New function to free CACHE on exit.
5774 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5777 2014-07-09 David S. Miller <davem@davemloft.net>
5779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5781 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5782 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5783 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5784 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5785 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5786 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5787 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5788 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5789 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5790 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5791 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5792 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5793 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5795 2014-07-09 Andreas Schwab <schwab@suse.de>
5797 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5799 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5800 (do_test): Likewise.
5802 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5804 2014-07-09 Will Newton <will.newton@linaro.org>
5806 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5807 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5808 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5809 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5810 * sysdeps/hppa/start.S (_start): Likewise.
5812 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5814 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5816 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5819 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5821 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5822 after checking that it is non-NULL.
5824 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5826 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5828 * sysdeps/powerpc/memmove.c: Remove file.
5829 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5830 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5831 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5832 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5833 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5834 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5835 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5836 string memmove instead of removed powerpc one.
5838 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5839 [weak_alias]: Fix compiler warning due trailing data.
5840 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5841 [weak_alias]: Likewise.
5842 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5843 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5845 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5846 (__libc_ifunc_impl_list): Add memmove functions.
5848 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5850 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5852 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5854 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5856 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5858 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5860 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5862 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5864 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5866 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5868 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5870 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5872 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5874 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5876 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5878 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5880 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5882 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5885 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5887 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5888 to avoid alignment traps in non-cacheable memory.
5889 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5891 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5893 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5894 file: multiarch power7 memmove.
5895 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5896 multiarch default memmove.
5897 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5898 multiarch memove for powerpc32/power4.
5900 * string/bcopy.c: Use full path to include memmove.c.
5901 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5903 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5904 bcopy for powerpc64.
5905 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5906 bcopy for powerpc64.
5907 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5908 and memmove implementations.
5909 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5910 optimized multiarch memmove for POWER7/powerpc64.
5911 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5912 default multiarch memmove for powerpc64.
5913 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5914 multiarch for powerpc64.
5915 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5916 for POWER7/powerpc64.
5917 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5918 memmove for POWER7/powerpc64.
5920 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5923 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5924 __ELF_NATIVE_CLASS equal to 64.
5926 2014-07-07 Roland McGrath <roland@hack.frob.com>
5928 * sysdeps/nptl/lowlevellock.h: File removed.
5930 * NEWS: NPTL is no longer an add-on!
5931 * nptl/internaltypes.h: Moved ...
5932 * sysdeps/nptl/internaltypes.h: ... here.
5933 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5934 * sysdeps/nptl/fork.c: Likewise.
5935 * sysdeps/nptl/gai_misc.h: Likewise.
5936 * sysdeps/nptl/librt-cancellation.c: Likewise.
5937 * sysdeps/nptl/jmp-unwind.c: Likewise.
5938 * sysdeps/nptl/setxid.h: Likewise.
5939 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5940 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5941 * sysdeps/unix/sysv/linux/arm/Implies: New file.
5942 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5943 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5944 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5945 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5946 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5947 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5948 * sysdeps/unix/sysv/linux/mips/Implies: New file.
5949 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5950 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5951 * sysdeps/unix/sysv/linux/sh/Implies: New file.
5952 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5953 * sysdeps/unix/sysv/linux/tile/Implies: New file.
5954 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5955 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5956 * nptl/Makeconfig: Moved ...
5957 * sysdeps/nptl/Makeconfig: ... here.
5958 * nptl/configure: File removed.
5959 * nptl/ANNOUNCE: File removed.
5960 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5961 * sysdeps/unix/sysv/linux/configure: Regenerated.
5963 * nptl/Makefile (routines): Add libc_pthread_init,
5964 libc_multiple_threads, register-atfork and unregister-atfork.
5965 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5966 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5967 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5968 pthread-pi-defines.sym, structsem.sym.
5969 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5970 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5971 [$(subdir) = nptl] (tests): Add tst-setgetname.
5972 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5973 * sysdeps/unix/sysv/linux/sigaction.c: Just include
5974 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5975 [!LIBC_SIGACTION]: Remove aliases.
5976 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5977 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5978 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5979 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5980 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5981 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5982 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5983 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5984 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5985 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5986 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5987 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5988 __libc_allocate_rtsig_private.
5989 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5990 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5991 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5992 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5993 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5994 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5995 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5996 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5997 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5998 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5999 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6000 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6001 * nptl/internaltypes.h: ... here.
6002 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6003 * sysdeps/nptl/jmp-unwind.c: ... here.
6004 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6005 * nptl/libc-lowlevellock.c: ... here.
6006 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6007 * nptl/libc_multiple_threads.c: ... here.
6008 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6009 * nptl/libc_pthread_init.c: ... here.
6010 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6011 * nptl/lowlevelbarrier.sym: ... here.
6012 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6013 * nptl/lowlevelcond.sym: ... here.
6014 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6015 * nptl/lowlevellock.c: ... here.
6016 * nptl/lowlevellock.h: Moved ...
6017 * sysdeps/nptl/lowlevellock.h: ... here.
6018 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6019 * nptl/lowlevelrobustlock.c: ... here.
6020 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6021 * nptl/lowlevelrobustlock.sym: ... here.
6022 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6023 * nptl/lowlevelrwlock.sym: ... here.
6024 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6025 * nptl/pt-fork.c: ... here.
6026 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6027 * nptl/pthread-pi-defines.sym: ... here.
6028 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6029 * nptl/pthread_attr_getaffinity.c: ... here.
6030 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6031 * nptl/pthread_attr_setaffinity.c: ... here.
6032 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6033 * nptl/pthread_mutex_cond_lock.c: ... here.
6034 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6036 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6037 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6038 * nptl/pthread_once.c: ... here, replacing old file.
6039 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6040 * nptl/pthread_yield.c: ... here.
6041 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6042 * nptl/register-atfork.c: ... here.
6043 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6044 * nptl/sem_post.c: ... here.
6045 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6046 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6047 * nptl/sem_timedwait.c: ... here.
6048 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6049 * nptl/sem_trywait.c: ... here.
6050 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6051 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6052 * nptl/sem_wait.c: ... here.
6053 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6054 * nptl/structsem.sym: ... here.
6055 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6056 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6057 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6058 * nptl/unregister-atfork.c: ... here.
6059 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6060 * nptl/unwindbuf.sym: ... here.
6061 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6062 * sysdeps/nptl/fork.c: ... here.
6063 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6064 * sysdeps/nptl/fork.h: ... here.
6065 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6066 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6067 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6068 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6069 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6070 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6071 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6072 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6073 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6074 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6075 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6076 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6077 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6078 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6079 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6080 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6081 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6082 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6083 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6084 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6085 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6086 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6087 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6088 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6089 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6090 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6091 * sysdeps/unix/sysv/linux/raise.c: ... here.
6092 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6093 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6094 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6095 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6096 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6097 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6098 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6099 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6100 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6101 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6102 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6103 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6104 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6105 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6106 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6108 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6110 * sysdeps/generic/memcopy.h: Add comment for
6111 MEMCPY_OK_FOR_FWD_MEMMOVE.
6113 2014-07-04 Will Newton <will.newton@linaro.org>
6115 * string/memchr.c: Merge from gnulib.
6116 [_LIBC]: Remove conditionals.
6117 (__ptr_t): Remove define.
6118 (LONG_MAX_32_BITS): Likewise.
6119 (LONG_MAX): Likewise.
6120 (MEMCHR): Use ANSI prototype and optimize algorithm.
6122 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6124 2014-07-03 Roland McGrath <roland@hack.frob.com>
6126 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6127 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6129 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6130 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6131 in a bare environment with no <stdlib.h> installed.
6132 * sysdeps/nptl/configure: Regenerated.
6134 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6136 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6137 AC_EGREP_CPP for kernel header checks, so they only succeed if
6138 including <linux/version.h> actually works right.
6139 * sysdeps/unix/sysv/linux/configure: Regenerated.
6141 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6142 value so it's not diagnosed as unused.
6144 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6145 thing) with "ifeq ($(subdir),rt)".
6147 2014-07-03 Richard Henderson <rth@redhat.com>
6149 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6150 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6151 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6153 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6154 (math_force_eval): New.
6156 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6157 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6159 * sysdeps/alpha/fpu/s_round.c: Remove file.
6160 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6162 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6163 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6164 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6165 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6166 (_dl_start, print_statistics): Likewise.
6167 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6168 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6170 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6171 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6172 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6173 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6174 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6175 (HP_SMALL_TIMING_AVAIL): Define.
6176 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6177 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6178 (HP_SMALL_TIMING_AVAIL): Define.
6179 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6180 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6182 * sysdeps/aarch64/hp-timing.h: New file.
6184 * sysdeps/generic/hp-timing.h: Remove dead comment.
6185 * sysdeps/generic/hp-timing-common.h: New file.
6186 * sysdeps/alpha/hp-timing.h: Include it.
6187 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6188 * sysdeps/i386/i686/hp-timing.h: Likewise.
6189 * sysdeps/ia64/hp-timing.h: Likewise.
6190 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6191 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6192 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6193 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6194 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6195 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6198 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6199 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6200 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6201 * elf/rtld.c (_dl_start_final): Likewise.
6202 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6203 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6204 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6205 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6206 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6207 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6208 (HP_TIMING_DIFF_INIT): Remove.
6209 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6210 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6211 (HP_TIMING_DIFF_INIT): Remove.
6212 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6213 * sysdeps/i386/i686/hp-timing.c: Remove file.
6214 * sysdeps/x86_64/hp-timing.c: Remove file.
6215 * sysdeps/ia64/hp-timing.c: Remove file.
6216 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6217 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6218 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6219 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6221 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6222 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6223 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6224 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6225 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6226 (HP_TIMING_ACCUM): Remove.
6227 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6228 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6229 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6231 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6232 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6233 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6234 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6235 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6236 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6237 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6238 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6240 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6242 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6244 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6246 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6248 Sync up with gettext.
6249 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6250 [_MSC_VER]: Include malloc.h
6251 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6252 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6253 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6254 TEMP_FAILURE_RETRY. Cast return of alloca.
6255 [!_LIBC] Call gl_rwlock_init.
6256 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6258 2014-07-02 Roland McGrath <roland@hack.frob.com>
6260 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6261 before checking its value.
6263 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6265 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6267 * debug/memcpy_chk.c: Don't include pagecopy.h.
6268 * debug/mempcpy_chk.c: Likewise.
6269 * string/memcpy.c: Likewise.
6270 * string/memmove.c: Likewise.
6271 * sysdeps/powerpc/memmove.c: Likewise.
6272 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6273 definition of PAGE_COPY_FWD_MAYBE here...
6274 * sysdeps/generic/pagecopy.h: ... from here.
6275 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6277 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6278 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6280 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6281 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6283 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6284 (__libc_ifunc_impl_list): Likewise.
6285 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6286 multiarch strcat for PPC64.
6287 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6288 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6290 2014-07-02 Roland McGrath <roland@hack.frob.com>
6292 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6294 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6296 * intl/loadmsgcat.c: Remove declaration of
6297 get_sysdep_segment_value.
6298 (get_sysdep_segment_value): Use ISO C style.
6299 (_nl_load_domain): Use ISO C style. Get rid of redundant
6300 semicolon. Fix typo and formatting in comment.
6301 (_nl_unload_domain): Use ISO C style.
6303 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6305 2014-07-02 Will Newton <will.newton@linaro.org>
6307 * malloc/obstack.c: Merge from gnulib master.
6308 [HAVE_CONFIG_H]: Remove conditional code.
6309 [!_LIBC]: Include config.h.
6310 [!ELIDE_CODE]: Don't include inttypes.h, include
6311 stdint.h unconditionally.
6312 (print_and_abort): Mark as _Noreturn.
6313 (_obstack_allocated_p): Mark as __attribute_pure__.
6314 (obstack_free): Rename to __obstack_free.
6315 [!__attribute__]: Remove conditional code.
6316 * malloc/obstack.h: Merge from gnulib master.
6317 [__cplusplus]: Move conditional down.
6318 [!__attribute_pure__]: Define __attribute_pure__ here
6319 if it is not already defined.
6320 (_obstack_memory_used): Mark as __attribute_pure__.
6321 [!__obstack_free]: Define as obstack_free.
6322 [__GNUC__]: Remove check for ancient NeXT gcc.
6324 2014-07-02 Will Newton <will.newton@linaro.org>
6325 Paul Eggert <eggert@cs.ucla.edu>
6327 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6329 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6331 * resolv/gethnamaddr.c: Add comment warning that the file is
6334 2014-07-01 Carlos O'Donell <carlos@redhat.com>
6336 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6339 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6340 entry for aio_cancel and aio_cancel64.
6341 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6342 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6343 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6344 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6345 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6346 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6347 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6348 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6349 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6350 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6351 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6352 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6353 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6355 2014-07-01 Roland McGrath <roland@hack.frob.com>
6357 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6358 * nptl/pthread_mutex_lock.c: Likewise.
6359 * nptl/pthread_mutex_timedlock.c: Likewise.
6360 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6362 2014-07-01 Richard henderson <rth@redhat.com>
6364 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6365 (__isnan, __isnanl): Remove.
6366 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6368 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6370 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6372 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6374 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6376 * resolv/nss_dns/dns-host.c (getanswer_r)
6377 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6379 2014-07-01 Joseph Myers <joseph@codesourcery.com>
6381 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6382 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6384 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6385 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6387 2014-07-01 Roland McGrath <roland@hack.frob.com>
6389 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6390 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6392 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6393 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6395 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6396 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6398 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6399 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6401 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6402 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6403 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6404 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6406 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6407 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6408 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6409 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6410 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6412 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6414 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6415 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6416 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6417 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6418 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6419 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6420 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6421 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6422 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6423 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6424 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6425 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6426 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6427 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6428 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6429 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6430 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6431 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6432 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6433 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6435 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6436 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6437 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6438 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6439 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6440 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6441 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6442 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6444 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
6446 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6447 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6448 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6451 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6455 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6457 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6458 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6460 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6462 * sysdeps/arm/libm-test-ulps: Regenerated.
6464 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6465 Roland McGrath <roland@hack.frob.com>
6467 * test-skeleton.c (signal_handler): Kill the whole process group
6468 before killing the child individually.
6469 (main): Report any failure on `setpgid'.
6471 2014-06-30 Roland McGrath <roland@hack.frob.com>
6473 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6474 from _TLS_H to _ARM_NPTL_TLS_H.
6475 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6476 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6478 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6481 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6482 (__expm1l): Return argument unchanged when small but not
6485 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6487 (_FP_UNPACK_RAW_1_P): Likewise.
6488 (_FP_PACK_RAW_1): Likewise.
6489 (_FP_PACK_RAW_1_P): Likewise.
6490 (_FP_MUL_MEAT_1_wide): Likewise.
6491 (_FP_MUL_MEAT_DW_1_hard): Likewise.
6492 (_FP_MUL_MEAT_1_hard): Likewise.
6493 (_FP_DIV_MEAT_1_imm): Likewise.
6494 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6495 (_FP_DIV_MEAT_1_udiv): Likewise.
6496 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6497 (_FP_UNPACK_RAW_2): Likewise.
6498 (_FP_UNPACK_RAW_2_P): Likewise.
6499 (_FP_PACK_RAW_2): Likewise.
6500 (_FP_PACK_RAW_2_P): Likewise.
6501 (_FP_MUL_MEAT_DW_2_wide): Likewise.
6502 (_FP_MUL_MEAT_2_wide): Likewise.
6503 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6504 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6505 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6506 (_FP_MUL_MEAT_2_gmp): Likewise.
6507 (_FP_DIV_MEAT_2_udiv): Likewise.
6508 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6509 (_FP_FRAC_SRL_4): Likewise.
6510 (_FP_FRAC_SRST_4): Likewise.
6511 (_FP_FRAC_SRS_4): Likewise.
6512 (_FP_UNPACK_RAW_4): Likewise.
6513 (_FP_UNPACK_RAW_4_P): Likewise.
6514 (_FP_PACK_RAW_4): Likewise.
6515 (_FP_PACK_RAW_4_P): Likewise.
6516 (_FP_MUL_MEAT_DW_4_wide): Likewise.
6517 (_FP_MUL_MEAT_4_wide): Likewise.
6518 (_FP_MUL_MEAT_4_gmp): Likewise.
6519 (umul_ppppmnnn): Likewise.
6520 (_FP_DIV_MEAT_4_udiv): Likewise.
6521 (__FP_FRAC_ADD_4): Likewise.
6522 (__FP_FRAC_SUB_3): Likewise.
6523 (__FP_FRAC_SUB_4): Likewise.
6524 (__FP_FRAC_DEC_3): Likewise.
6525 (__FP_FRAC_DEC_4): Likewise.
6526 (__FP_FRAC_ADDI_4): Likewise.
6527 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6528 (_FP_FRAC_SRL_8): Likewise.
6529 (_FP_FRAC_SRS_8): Likewise.
6531 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6533 (FP_UNPACK_RAW_EP): Likewise.
6534 (FP_PACK_RAW_E): Likewise.
6535 (FP_PACK_RAW_EP): Likewise.
6536 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6537 (_FP_ISSIGNAN): Likewise.
6538 (_FP_ADD_INTERNAL): Likewise.
6539 (_FP_FMA): Likewise.
6540 (_FP_CMP): Likewise.
6541 (_FP_SQRT): Likewise.
6542 (_FP_TO_INT): Likewise.
6543 (_FP_FROM_INT): Likewise.
6544 (FP_EXTEND): Likewise.
6545 (_FP_DIV_MEAT_N_loop): Likewise.
6547 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6549 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6552 2014-06-29 Joseph Myers <joseph@codesourcery.com>
6555 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6556 result with correct sign in case of exponents that produce
6557 overflow except for X very close to 1.
6559 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6561 mktime: merge #if/#ifdef usage from glibc
6562 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6563 as that works with both Glibc's and Gnulib's style.
6564 See thread starting at Siddhesh Poyarekar's bug report at:
6565 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6567 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6569 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6570 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6571 * sysdeps/tile/tilegx/memmove.c: Remove file.
6573 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6575 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6576 abi-name definition.
6577 * scripts/soversions.awk: Do not handle or generate ABI lines.
6578 * shlib-versions: Remove ABI entries.
6579 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6580 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6582 2014-06-27 Roland McGrath <roland@hack.frob.com>
6584 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6585 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6586 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6587 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6588 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6589 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6590 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6592 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6594 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6595 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6596 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6597 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6598 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6599 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6600 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6601 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6602 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6603 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6604 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6605 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6606 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6608 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6609 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6610 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6611 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6612 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6613 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6615 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6616 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6618 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6619 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6620 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6621 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6623 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6624 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6625 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6626 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6627 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6628 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6629 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6630 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6632 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6633 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6634 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6635 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6637 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6638 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6640 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6641 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6642 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6643 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6645 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6647 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6648 Identical file removed.
6649 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6651 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6652 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6653 Identical file removed.
6654 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6655 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6656 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6658 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6659 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6660 Identical file removed.
6661 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6662 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6663 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6664 Identical file removed.
6665 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6666 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6667 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6668 Identical file removed.
6669 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6670 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6671 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6672 Identical file removed.
6673 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6675 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6676 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6677 Identical file removed.
6678 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6680 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6681 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6682 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6683 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6684 Identical file removed.
6685 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6687 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6689 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6690 Identical file removed.
6691 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6693 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6694 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6695 Identical file removed.
6696 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6698 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6699 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6700 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6701 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6702 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6703 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6705 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6706 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6707 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6709 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6710 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6711 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6712 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6713 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6715 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
6718 * nscd/nscd.c (monitor_child): Return exit status of child
6719 instead of return value from wait syscall.
6721 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6723 * configure.ac (libc_commonpagesize): Remove variable.
6724 (libc_relro_required): Likewise.
6725 (libc_cv_z_relro): Remove configure test.
6726 * configure: Regenerated.
6727 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6729 (libc_relro_required): Likewise.
6730 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6731 (libc_relro_required): Likewise.
6732 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6733 (libc_relro_required): Likewise.
6734 * sysdeps/arm/preconfigure: Regenerated.
6735 * sysdeps/ia64/preconfigure: Remove file.
6736 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6738 (libc_relro_required): Likewise.
6742 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6743 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6744 recompute overflowing results in original rounding mode.
6745 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6746 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6747 recompute overflowing results in original rounding mode.
6748 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6749 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6750 recompute overflowing results in original rounding mode.
6751 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6752 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6753 recompute overflowing results in original rounding mode.
6754 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6755 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6756 recompute overflowing results in original rounding mode.
6757 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6758 (libc_feholdsetround_ctx): New macro.
6759 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6760 * sysdeps/i386/fpu/libm-test-ulps: Update.
6761 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6763 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6765 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6766 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6767 corresponding .cpsetup call.
6769 2014-06-26 Roland McGrath <roland@hack.frob.com>
6771 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6772 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6773 * sysdeps/arm/Makefile [$(subdir) = csu]
6774 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6775 (static-only-routines): Add aeabi_read_tp here.
6776 (shared-only-routines): Add libc-aeabi_read_tp here.
6777 (CFLAGS-libc-start.c): Add -fexceptions here.
6778 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6779 (sysdep_routines, static-only-routines, shared-only-routines):
6780 Don't add to these here.
6781 (CFLAGS-libc-start.c): Likewise.
6783 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6784 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6785 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6786 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6787 * sysdeps/arm/Makefile [$(subdir) = rt]
6788 (librt-sysdep_routines, librt-shared-only-routines):
6789 Append rt-aeabi_unwind_cpp_pr1 here.
6790 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6791 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6792 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6793 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6794 Append nptl-aeabi_unwind_cpp_pr1 here.
6795 (tests): Filter out tst-cleanupx4 here.
6796 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6797 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6798 Don't do those here.
6800 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6802 * scripts/list-sources.sh: Do not handle ports specially.
6804 2014-06-26 Roland McGrath <roland@hack.frob.com>
6806 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6807 * sysdeps/arm/feupdateenv.c: Likewise.
6809 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6811 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6813 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6814 trailing whitespace removed.
6815 * scripts/config.guess: Update to version 2014-03-23.
6816 * scripts/config.sub: Update to version 2014-05-01
6817 * scripts/install-sh: Update to version 2013-12-25.23.
6818 * scripts/move-if-change: Update from gnulib.
6820 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6822 * debug/memmove_chk.c: Remove pagecopy.h include.
6824 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6826 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6827 identical to gnulib mktime.
6829 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6831 * configure.ac: Do not test for machine being rs6000. Do not test
6833 * configure: Regenerated.
6835 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6837 * configure: Regenerated.
6838 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6839 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6840 Remove configure test.
6841 * sysdeps/arm/configure: Regenerated.
6842 * sysdeps/nptl/configure.ac: Do not check
6843 libc_cv_asm_cfi_directives.
6844 * sysdeps/nptl/configure: Regenerated.
6845 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6846 * sysdeps/x86_64/nptl/configure: Remove generated file.
6847 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6849 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6851 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6853 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6854 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6855 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6858 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6859 instead of whether it is defined.
6860 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6861 * sysdeps/hppa/dl-machine.h: Likewise.
6862 * sysdeps/ia64/dl-machine.h: Likewise.
6863 * sysdeps/m68k/dl-machine.h: Likewise.
6864 * sysdeps/microblaze/dl-machine.h: Likewise.
6865 * sysdeps/mips/dl-machine.: Likewise.
6866 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6867 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6868 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6869 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6870 * sysdeps/sh/dl-machine.h: Likewise.
6871 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6872 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6873 * sysdeps/tile/dl-machine.h: Likewise.
6874 * sysdeps/x86_64/dl-machine.h: Likewise.
6876 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6878 (verify_persistent_db): Likewise.
6880 2014-06-26 Roland McGrath <roland@hack.frob.com>
6882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6883 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6884 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6885 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6886 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6888 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6890 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6891 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6893 Identical file removed.
6894 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6895 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6897 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6899 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6900 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6901 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6902 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6903 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6904 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6906 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6907 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6908 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6909 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6910 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6913 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6914 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6915 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6916 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6917 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6918 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6919 Identical file removed.
6920 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6921 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6922 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6923 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6926 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6928 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6929 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6930 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6931 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6932 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6933 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6934 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6935 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6936 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6937 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6938 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6940 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6943 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6944 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6945 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6946 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6948 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6949 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6950 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6952 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6954 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6955 * sysdeps/unix/sysv/linux/s390/Versions
6956 (libpthread: GLIBC_2.19): New version set.
6957 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6958 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6959 (librt: GLIBC_2.3.3): New version set.
6960 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6961 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6962 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6963 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6964 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6965 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6966 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6967 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6968 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6969 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6970 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6971 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6972 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6973 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6974 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6975 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6976 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6977 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6978 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6979 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6980 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6981 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6982 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6983 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6984 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6985 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6986 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6987 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6988 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6989 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6990 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6991 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6992 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6993 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6994 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6995 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6996 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6997 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6998 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6999 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7000 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7001 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7002 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7003 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7004 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7006 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7007 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7008 (__libc_vfork): Define the function under this name.
7009 [!NOT_IN_libc] (__vfork): Make this an alias.
7010 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7011 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7012 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7013 (__libc_vfork): Define the function under this name.
7014 [!NOT_IN_libc] (__vfork): Make this an alias.
7015 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7016 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7017 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7018 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7019 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7020 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7022 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7023 code that was previously under [RESET_PID].
7024 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7025 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7026 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7028 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7029 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7030 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7031 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7032 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7033 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7034 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7035 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7036 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7037 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7038 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7040 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7041 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7042 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7043 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7044 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7045 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7046 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7047 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7048 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7049 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7050 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7051 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7052 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7053 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7054 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7055 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7056 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7057 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7058 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7059 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7060 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7061 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7062 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7063 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7064 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7065 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7066 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7067 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7068 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7070 2014-06-25 Roland McGrath <roland@hack.frob.com>
7072 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7073 that was previously under [RESET_PID].
7074 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7076 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7078 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7079 not undefine and redefine.
7080 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7081 [O_CLOEXEC]: Make code unconditional.
7082 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7083 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7084 <kernel-features.h>.
7085 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7086 conditional variable definition.
7087 (shm_open) [O_CLOEXEC]: Make code unconditional.
7088 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7091 * configure.ac (USE_REGPARMS): Don't define here.
7092 * configure: Regenerated.
7093 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7094 * sysdeps/i386/configure: Regenerated.
7096 * nptl/createthread.c: Don't include kernel-features.h.
7097 * nptl/pthread_cancel.c: Likewise.
7098 * nptl/pthread_condattr_setclock.c: Likewise.
7099 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7100 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7101 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7102 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7103 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7104 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7105 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7106 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7107 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7108 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7109 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7110 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7111 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7112 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7113 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7114 * nscd/gai.c: Likewise.
7115 * nss/nss_db/db-open.c: Likewise.
7116 * sysdeps/generic/ldsodefs.h: Likewise.
7117 * sysdeps/sh/nptl/tls.h: Likewise.
7118 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7119 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7120 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7121 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7122 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7123 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7124 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7125 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7126 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7127 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7128 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7129 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7130 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7131 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7132 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7133 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7134 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7135 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7136 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7137 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7138 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7139 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7140 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7141 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7142 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7143 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7144 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7145 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7146 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7147 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7148 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7149 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7150 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7151 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7152 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7153 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7154 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7155 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7156 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7157 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7158 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7159 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7160 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7161 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7162 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7163 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7164 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7165 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7166 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7167 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7168 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7169 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7170 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7171 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7172 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7173 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7174 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7175 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7198 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7199 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7200 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7201 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7202 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7203 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7204 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7205 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7206 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7207 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7208 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7209 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7210 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7211 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7212 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7213 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7214 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7215 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7216 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7217 * sysdeps/unix/sysv/linux/system.c: Likewise.
7218 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7219 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7220 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7221 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7222 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7223 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7224 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7226 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7227 * configure: Regenerated.
7228 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7230 * configure.ac (base_machine): Do not set specially for particular
7232 * configure: Regenerated.
7233 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7234 settings from configure.ac.
7235 * sysdeps/i386/preconfigure: New file.
7236 * sysdeps/s390/preconfigure: Likewise.
7237 * sysdeps/sh/preconfigure: Likewise.
7238 * sysdeps/sparc/preconfigure: Likewise.
7240 2014-06-25 Roland McGrath <roland@hack.frob.com>
7242 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7243 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7244 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7245 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7246 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7247 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7248 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7249 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7250 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7251 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7252 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7253 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7254 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7255 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7256 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7257 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7258 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7259 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7260 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7262 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7263 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7264 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7265 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7266 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7267 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7268 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7269 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7270 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7271 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7272 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7273 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7274 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7275 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7276 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7277 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7278 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7279 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7280 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7281 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7282 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7283 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7284 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7285 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7286 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7287 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7288 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7289 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7290 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7291 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7292 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7293 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7294 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7295 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7296 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7297 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7298 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7299 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7301 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7302 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7303 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7304 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7305 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7307 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7309 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7310 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7312 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7313 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7315 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7316 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7317 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7318 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7319 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7320 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7321 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7322 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7324 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7325 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7327 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7328 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7329 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7330 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7332 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7333 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7334 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7335 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7336 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7338 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7339 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7340 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7341 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7343 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7346 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7347 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7348 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7351 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7352 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7353 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7354 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7355 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7356 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7357 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7360 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7361 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7363 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7364 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7365 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7368 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7369 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7370 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7371 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7372 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7374 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7376 * timezone/checktab.awk: Update from tzcode 2014e.
7377 * timezone/private.h: Likewise.
7378 * timezone/tzfile.h: Likewise.
7379 * timezone/zdump.c: Likewise.
7380 * timezone/zic.c: Likewise.
7382 * sysdeps/unix/sysv/linux/kernel-features.h
7383 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7384 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7385 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7386 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7387 Remove conditional code.
7389 2014-06-25 Will Newton <will.newton@linaro.org>
7391 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7392 (_dl_arm_cap_flags): Add HWCAP2 values.
7393 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7394 (_DL_HWCAP_COUNT): Increase to 37.
7395 (_DL_HWCAP_LAST): New define.
7396 (_DL_HWCAP2_LAST): New define.
7397 (_dl_procinfo): Add support for printing
7399 (_dl_string_hwcap): Use _dl_hwcap_string.
7401 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7405 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7407 * README: Do not mention ports directory.
7409 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7411 * sysdeps/unix/sysv/linux/futimes.c: Do not include
7412 <kernel-features.h>.
7413 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7414 conditional variable definition.
7415 (__futimes): Update comment.
7416 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7417 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7420 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7421 arguments close to 0.
7422 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7424 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7426 * math/auto-libm-test-in: Add more tests of exp10.
7427 * math/auto-libm-test-out: Regenerated.
7428 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7430 * sysdeps/unix/sysv/linux/kernel-features.h
7431 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7432 * sysdeps/unix/sysv/linux/readv.c: Do not include
7433 <kernel-features.h>.
7434 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7435 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7436 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7438 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7440 * sysdeps/unix/sysv/linux/writev.c: Do not include
7441 <kernel-features.h>.
7442 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7443 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7444 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7446 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7449 2014-06-25 Will Newton <will.newton@linaro.org>
7451 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7452 comment changes throughout the file. Remove checks
7453 for HAVE_*_H definitions that are not required.
7454 (__gen_tempname): Call abort if an unknown kind value is
7457 2014-06-25 Andreas Schwab <schwab@suse.de>
7460 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7461 scalbln, scalblnf, scalblnl in libc.
7463 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7466 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7467 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7468 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7470 2014-06-24 Roland McGrath <roland@hack.frob.com>
7472 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7473 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7474 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7475 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7477 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7478 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7480 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7481 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7482 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7483 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7484 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7485 * sysdeps/x86/bits/pthreadtypes.h: ... here.
7486 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7487 * sysdeps/x86/bits/semaphore.h: ... here.
7488 * sysdeps/x86/nptl/elide.h: Moved ...
7489 * sysdeps/x86/elide.h: ... here.
7490 * sysdeps/x86_64/nptl/Implies: File removed.
7491 * sysdeps/i386/nptl/Implies: File removed.
7493 2014-06-24 Joseph Myers <joseph@codesourcery.com>
7496 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7497 return the argument for normal arguments with exponent below -64.
7498 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7500 * math/auto-libm-test-in: Add another test of expm1.
7501 * math/auto-libm-test-out: Regenerated.
7504 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7505 calling __erfcl for arguments at least 16.
7506 * math/auto-libm-test-in: Add more tests of erf.
7507 * math/auto-libm-test-out: Regenerated.
7509 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7510 individual architectures.
7511 * sysdeps/unix/sysv/linux/configure: Regenerated.
7512 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7513 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7514 * sysdeps/unix/sysv/linux/powerpc/configure.ac
7515 (ldd_rewrite_script): Define variable.
7516 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7521 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7522 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7523 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7524 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7525 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7526 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7527 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7528 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7530 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7533 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7534 Rename member __data.d to __data.__elision_data.
7536 2014-06-24 Wilco <wdijkstr@arm.com>
7538 * NEWS: Add 16918 to fixed bug list.
7540 2014-06-24 Wilco <wdijkstr@arm.com>
7542 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7544 2014-06-24 Wilco <wdijkstr@arm.com>
7546 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7547 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7548 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7549 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7550 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7551 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7552 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7555 2014-06-24 Wilco <wdijkstr@arm.com>
7557 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7559 2014-06-24 Wilco <wdijkstr@arm.com>
7561 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7562 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7563 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7564 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7566 2014-06-24 Wilco <wdijkstr@arm.com>
7569 * sysdeps/arm/feupdateenv.c (feupdateenv):
7570 Rewrite to reduce FPSCR accesses and fix return value.
7572 2014-06-24 Wilco <wdijkstr@arm.com>
7574 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7575 Optimize to avoid unnecessary FPSCR writes.
7576 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7577 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7578 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7579 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7581 2014-06-24 Wilco <wdijkstr@arm.com>
7583 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7584 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7585 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7586 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7587 Call libc_fetestexcept_vfp.
7588 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7589 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7590 __SOFTFP__ ifdef so that they can be built for softfp.
7592 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7594 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7595 argument type signed char.
7597 * Makerules (check-abi): Dump diff of symlist if the test
7600 2014-06-23 Roland McGrath <roland@hack.frob.com>
7602 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7605 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7606 Remove unused variable ST.
7608 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7612 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7613 small arguments before calling __expm1.
7614 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7615 small arguments before calling __expm1f.
7616 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7617 small arguments before calling __expm1l.
7618 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7620 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7621 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7622 spurious underflow for some cosh tests.
7623 * math/auto-libm-test-out: Regenerated.
7624 * sysdeps/i386/fpu/libm-test-ulps: Update.
7627 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7628 (__ieee754_y1): Set errno if return value overflows.
7629 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7630 (__ieee754_y1f): Set errno if return value overflows.
7631 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7632 (__ieee754_y1l): Set errno if return value overflows.
7633 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7634 (__ieee754_y1l): Set errno if return value overflows.
7635 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7636 * math/auto-libm-test-out: Regenerated.
7638 * math/gen-auto-libm-tests.c: Document use of
7639 ignore-zero-inf-sign.
7640 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7641 (input_flags): Add ignore-zero-inf-sign.
7642 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7643 * math/gen-libm-test.pl (generate_testfile): Handle
7644 ignore-zero-inf-sign.
7645 * math/auto-libm-test-in: Mark some cpow tests with
7646 ignore-zero-inf-sign and some with xfail-rounding.
7647 * math/auto-libm-test-out: Regenerated.
7648 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7649 * sysdeps/i386/fpu/libm-test-ulps: Update.
7650 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7653 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7654 overflowing or underflowing operations take place with sign of
7656 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7657 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7658 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7659 (__ieee754_pow): Recompute overflowing and underflowing results in
7660 original rounding mode.
7661 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7662 (__powl_helper): Allow negative argument X and scale negated value
7663 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7664 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7665 overflowing or underflowing operations take place with sign of
7667 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7669 * math/auto-libm-test-in: Add more tests of pow.
7670 * math/auto-libm-test-out: Regenerated.
7671 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7672 (pow_tonearest_test_data): Remove.
7673 (pow_test_tonearest): Likewise.
7674 (pow_towardzero_test_data): Likewise.
7675 (pow_test_towardzero): Likewise.
7676 (pow_downward_test_data): Likewise.
7677 (pow_test_downward): Likewise.
7678 (pow_upward_test_data): Likewise.
7679 (pow_test_upward): Likewise.
7680 (main): Don't call removed functions.
7681 * sysdeps/i386/fpu/libm-test-ulps: Update.
7682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7684 2014-06-23 Roland McGrath <roland@hack.frob.com>
7686 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7688 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7689 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7698 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7714 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7718 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7732 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7744 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7746 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7760 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7764 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7766 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7820 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7847 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7849 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7860 2014-06-23 Will Newton <will.newton@linaro.org>
7861 Wilco <wdijkstr@arm.com>
7863 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7864 implementation. Include get-rounding-mode.h.
7865 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7866 [!libc_feholdsetround_noex_ctx]: Define
7867 libc_feholdsetround_noex_ctx.
7868 [!libc_feholdsetround_noexf_ctx]: Define
7869 libc_feholdsetround_noexf_ctx.
7870 [!libc_feholdsetround_noexl_ctx]: Define
7871 libc_feholdsetround_noexl_ctx.
7872 (libc_feholdsetround_ctx): New function.
7873 (libc_feresetround_ctx): New function.
7874 (libc_feholdsetround_noex_ctx): New function.
7875 (libc_feresetround_noex_ctx): New function.
7877 2014-06-23 Roland McGrath <roland@hack.frob.com>
7879 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7880 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7881 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7882 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7883 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7884 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7886 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7887 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7888 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7889 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7890 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7891 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7892 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7893 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7894 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7895 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7896 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7898 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7900 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7901 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7902 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7903 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7904 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7906 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7907 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7908 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7909 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7910 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7911 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7912 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7913 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7915 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7916 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7918 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7919 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7920 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7921 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7923 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7924 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7925 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7926 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7927 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7928 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7929 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7930 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7931 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7932 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7934 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7936 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7937 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7938 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7939 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7940 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7941 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7942 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7943 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7944 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7945 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7946 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7947 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7948 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7950 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7951 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7952 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7953 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7954 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7955 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7957 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7958 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7959 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7960 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7961 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7963 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7964 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7965 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7966 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7967 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7968 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7969 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7970 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7971 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7972 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7973 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7974 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7975 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7976 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7977 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7978 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7979 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7980 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7981 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7982 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7983 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7984 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7985 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7986 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7987 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7988 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7989 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7990 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7992 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7994 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7995 (FALLOC_FL_COLLAPSE_RANGE): New macro.
7996 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7997 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7998 (IPV6_PMTUDISC_INTERFACE): Likewise.
7999 (IPV6_PMTUDISC_OMIT): Likewise.
8001 2014-06-23 Andreas Schwab <schwab@suse.de>
8003 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8004 Remove unused errout label.
8006 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8008 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8009 macro: hardware supports Vector Crypto instructions.
8011 2014-06-23 Will Newton <will.newton@linaro.org>
8013 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8014 rather than __builtin_expect.
8016 * elf/dl-lookup.c (undefined_msg): Remove variable.
8017 (_dl_lookup_symbol_x): Replace undefined_msg with string
8020 * elf/dl-lookup.c (do_lookup_unique): New function.
8021 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8022 to a separate function.
8024 2014-06-23 Andreas Schwab <schwab@suse.de>
8027 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8028 before reading the next line.
8030 2014-06-23 Will Newton <will.newton@linaro.org>
8032 * test-skeleton.c (signal_handler): Use printf and %m
8033 rather than perror. Use printf rather than fprintf to
8034 stderr. Use puts rather than fputs to stderr.
8037 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8039 * nscd/nscd.c (thread_info_t): Remove typedef.
8040 (thread_info): Remove variable.
8042 2014-06-21 Allan McRae <allan@archlinux.org>
8044 * NEWS: Mention CVE-2014-4043.
8046 2014-06-20 Roland McGrath <roland@hack.frob.com>
8048 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8049 * nptl/smp.h: ... here.
8051 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8053 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8054 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8055 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8056 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8058 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8059 * nptl/stack-aliasing.h: New file.
8060 * sysdeps/i386/i686/stack-aliasing.h: New file.
8061 * sysdeps/i386/i686/nptl/Makefile: File removed.
8062 * sysdeps/x86_64/stack-aliasing.h: New file.
8063 * sysdeps/x86_64/nptl/Makefile
8064 (CFLAGS-pthread_create.c): Variable removed.
8066 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8067 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8069 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8070 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8073 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8075 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8076 (__ASSUME_SIGFRAME_V2): Remove macro.
8077 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8078 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8079 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8080 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8081 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8082 Declare as function. Remove conditional macro definitions.
8083 (__default_rt_sa_restorer): Likewise.
8084 (__default_sa_restorer_v1): Remove declaration.
8085 (__default_sa_restorer_v2): Likewise.
8086 (__default_rt_sa_restorer_v1): Likewise.
8087 (__default_rt_sa_restorer_v2): Likewise.
8088 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8089 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8090 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8092 2014-06-20 Roland McGrath <roland@hack.frob.com>
8094 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8095 (libpthread-routines): Add sysdep.
8096 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8097 * sysdeps/unix/sysv/linux/sparc/Versions
8098 (libpthread: GLIBC_2.3.3): New version set.
8099 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8100 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8101 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8102 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8103 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8104 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8106 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8107 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8108 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8109 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8110 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8111 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8112 * sysdeps/sparc/nptl/sem_init.c: ... here.
8113 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8114 * sysdeps/sparc/nptl/sem_post.c: ... here.
8115 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8116 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8117 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8118 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8119 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8120 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8121 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8122 (libpthread-routines): Add cpu_relax.
8123 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8125 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8126 (librt: GLIBC_2.3.3): New version set.
8127 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8128 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8129 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8130 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8131 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8132 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8133 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8134 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8136 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8137 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8138 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8139 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8140 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8141 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8142 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8143 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8144 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8145 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8147 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8149 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8151 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8153 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8155 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8157 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8159 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8161 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8163 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8165 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8167 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8169 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8170 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8171 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8172 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8173 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8174 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8175 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8176 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8177 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8178 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8179 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8181 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8182 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8183 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8184 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8185 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8187 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8189 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8190 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8191 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8192 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8193 * nscd/nscd.c: Likewise.
8194 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8195 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8196 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8197 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8199 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8200 <kernel-features.h>.
8201 (init_mq_netlink): Remove conditional have_sock_cloexec
8202 definitions. Remove code conditional on have_sock_cloexec < 0.
8203 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8204 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8205 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8206 <kernel-features.h>.
8207 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8208 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8210 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8212 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8213 Add tests for memset_chk and memset.
8215 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8218 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8221 * elf/tst-dl-iter-static.c: New file.
8222 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8224 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8227 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8229 * sysdeps/unix/sysv/linux/kernel-features.h
8230 (__ASSUME_F_GETOWN_EX): Remove macro.
8231 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8232 <kernel-features.h>.
8233 (miss_F_GETOWN_EX): Remove variable or macro.
8234 (do_fcntl): Do not check miss_F_GETOWN_EX.
8235 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8237 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8239 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8240 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8241 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8243 * sysdeps/unix/sysv/linux/kernel-features.h
8244 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8245 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8246 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8247 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8249 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8252 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8253 Fix calculation of the symbol's value.
8254 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8255 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8256 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8257 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8258 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8259 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8260 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8261 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8262 (modules-names): Add `tst-armtlsdescmod',
8263 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8264 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8265 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8266 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8267 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8268 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8269 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8270 ($(objpfx)tst-armtlsdescloc): New dependency.
8271 ($(objpfx)tst-armtlsdescextnow): Likewise.
8272 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8273 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8275 * sysdeps/arm/configure: Regenerate.
8277 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8279 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8280 (__atfct_seterrno_2): Likewise.
8281 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8282 <kernel-features.h>.
8283 (__ASSUME_ATFCTS): Do not undefine and redefine.
8284 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8285 (__have_atfcts): Remove conditional definition.
8286 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8287 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8288 unreachable if [__ASSUME_ATFCTS].
8289 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8290 not undefine and redefine.
8291 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8292 <kernel-features.h>.
8293 (faccessat) [__NR_faccessat]: Make code unconditional.
8294 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8295 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8296 <kernel-features.h>.
8297 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8298 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8299 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8300 <kernel-features.h>.
8301 (fchownat) [__NR_fchownat]: Make code unconditional.
8302 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8303 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8304 <kernel-features.h>.
8305 (futimesat) [__NR_futimesat]: Make code unconditional.
8306 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8307 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8308 <kernel-features.h>.
8309 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8310 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8311 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8312 <kernel-features.h>.
8313 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8314 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8315 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8316 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8317 <kernel-features.h>.
8318 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8319 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8320 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8321 <kernel-features.h>.
8322 (linkat) [__NR_linkat]: Make code unconditional.
8323 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8324 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8325 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8326 <kernel-features.h>.
8327 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8328 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8329 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8330 <kernel-features.h>.
8331 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8332 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8333 * sysdeps/unix/sysv/linux/openat.c: Do not include
8334 <kernel-features.h>.
8335 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8336 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8337 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8338 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8339 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8340 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8341 <kernel-features.h>.
8342 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8343 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8344 result of INLINE_SYSCALL directly, not via int variable.
8345 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8346 <kernel-features.h>.
8347 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8348 (renameat) [__NR_renameat]: Make code unconditional.
8349 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8350 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8351 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8352 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8353 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8354 (__ASSUME_ATFCTS): Do not undefine and redefine.
8355 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8356 <kernel-features.h>.
8357 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8358 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8359 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8360 <kernel-features.h>.
8361 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8362 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8363 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8364 (__ASSUME_ATFCTS): Do not undefine and redefine.
8365 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8366 <kernel-features.h>.
8367 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8368 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8369 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8370 <kernel-features.h>.
8371 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8372 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8374 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8376 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8378 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8381 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8382 constructed tree before returning error.
8383 * posix/bug-regexp36.c: Expand test case.
8385 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8388 * math/libm-test.inc (scalbln_test_date):
8389 Add errno expectations.
8390 * math/w_scalblnf.c: New File.
8391 Add wrapper which checks for setting errno to ERANGE.
8392 Add weak_alias for corresponding scalbln function.
8393 * math/w_scalbln.c: Likewise.
8394 * math/w_scalblnl.c: Likewise.
8395 * math/Makefile (libm-calls): Add w_scalbln.
8396 * sysdeps/ieee754/flt-32/s_scalblnf.c:
8397 Remove weak_alias for corresponding scalbln function.
8398 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8399 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8400 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8401 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8402 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8403 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8404 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8405 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8406 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8407 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8408 Remove long_double_symbol for scalblnl function in libm, libc.
8409 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8410 Add wrapper which checks for setting errno to ERANGE.
8411 Add long_double_symbol for scalblnl function in libm, libc.
8412 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8413 Remove long_double_symbol for scalblnl in libm.
8414 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8415 Add wrapper which checks for setting errno to ERANGE.
8416 Add long_double_symbol for scalblnl function in libm.
8417 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8418 Do not use wrapper because of own implementation.
8420 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
8422 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8423 3 bytes for __pad1 for x32.
8424 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8426 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
8427 H.J. Lu <hongjiu.lu@intel.com>
8429 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8430 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8431 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8432 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8433 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8435 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
8438 * posix/regcomp.c (parse_expression): Deallocate partially
8439 constructed tree before returning error.
8440 * posix/Makefile.c (tests): Add bug-regex36.
8441 (generated): Add bug-regex36.mtrace.
8442 (tests-special): Add $(objpfx)bug-regex36-mem.out
8443 (bug-regex36-ENV): New variable.
8444 ($(objpfx)bug-regex36-mem.out): New rule.
8445 * posix/bug-regex36.c: New file.
8447 2014-06-19 Will Newton <will.newton@linaro.org>
8449 * malloc/malloc.c (systrim): If extra is zero then return
8452 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8454 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8456 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
8458 * sysdeps/aarch64/strchr.S: New file.
8460 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8463 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8464 from arguments -2 or below.
8465 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8466 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8468 2014-06-18 Andreas Schwab <schwab@suse.de>
8471 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8472 of a bracket expr not to run off the end of the string.
8473 * posix/Makefile (tests): Add tst-fnmatch3.
8474 * posix/tst-fnmatch3.c: New file.
8476 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8478 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8479 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8480 [$(cross-compiling) = no]: Likewise.
8481 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8482 [$(cross-compiling) = no]: Likewise.
8484 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8487 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8488 double, adjusted for any remainder from the high double.
8489 * math/libm-test.inc (nearbyint): Add tests.
8492 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8494 * nptl/sysdeps/powerpc/Makefile: Moved ...
8495 * sysdeps/powerpc/nptl/Makefile: ... here.
8496 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8497 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8498 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8499 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8500 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8501 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8502 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8503 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8504 * nptl/sysdeps/powerpc/tls.h: Moved ...
8505 * sysdeps/powerpc/nptl/tls.h: ... here.
8507 2014-06-16 Joseph Myers <joseph@codesourcery.com>
8510 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8511 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8512 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8513 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8514 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8515 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8516 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8517 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8518 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8520 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
8522 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8524 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
8526 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8529 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8532 2014-06-16 Florian Weimer <fweimer@redhat.com>
8535 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8536 non-executed part of the test.
8538 2014-06-16 Andreas Schwab <schwab@suse.de>
8540 * string/bits/string2.h (strdup, strndup): Update feature guard.
8542 2014-06-14 David S. Miller <davem@davemloft.net>
8544 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8546 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
8548 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8549 that was previously under [RESET_PID].
8550 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8552 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8553 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8554 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8555 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8556 (__libc_vfork): New strong alias.
8557 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8559 2014-06-14 Andi Kleen <ak@linux.intel.com>
8561 * sysdeps/generic/elide.h: New file.
8563 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8565 * Makefile (installed-headers): Adjust path of pthread.h header.
8567 2014-06-13 Roland McGrath <roland@hack.frob.com>
8569 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8570 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8571 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8572 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8574 * nptl/sysdeps/s390/Makefile: Moved ...
8575 * sysdeps/s390/nptl/Makefile: ... here.
8576 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8577 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8578 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8579 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8580 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8581 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8582 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8583 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8584 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8585 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8586 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8587 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8588 * nptl/sysdeps/s390/tls.h: Moved ...
8589 * sysdeps/s390/nptl/tls.h: ... here.
8591 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8592 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8594 2014-06-13 David S. Miller <davem@davemloft.net>
8596 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8597 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8598 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8599 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8600 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8601 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8602 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8603 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8604 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8605 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8606 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8607 Remove RESET_PID cpp guards.
8608 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8609 Remove RESET_PID cpp guards.
8610 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8612 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8614 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8617 2014-06-13 Andi Kleen <ak@linux.intel.com>
8619 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8620 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8621 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8622 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8623 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8624 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8626 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8627 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8628 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8629 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8630 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8631 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8632 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8633 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8634 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8635 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8636 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8637 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8638 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8640 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8641 (pthread_rwlock_rdlock): Add elision.
8642 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8643 (pthread_rwlock_wrlock): Add elision.
8644 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8645 (pthread_rwlock_trywrlock): Add elision.
8646 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8647 (pthread_rwlock_tryrdlock): Add elision.
8648 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8649 (pthread_rwlock_tryrdlock): Add elision unlock.
8650 * nptl/sysdeps/pthread/pthread.h:
8651 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8652 (PTHREAD_RWLOCK_INITIALIZER,
8653 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8654 Handle new elision field.
8655 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8656 * sysdeps/arm/nptl/bits/pthreadtypes.h
8657 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8658 * sysdeps/sh/nptl/bits/pthreadtypes.h
8659 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8660 * sysdeps/tile/nptl/bits/pthreadtypes.h
8661 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8662 * sysdeps/a/nptl/bits/pthreadtypes.h
8663 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8664 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8665 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8666 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8667 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8668 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8669 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8670 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8671 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8672 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8673 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8674 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8675 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8676 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8677 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8678 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8679 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8680 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8681 (elision_init): Set try_xbegin to zero when no RTM.
8682 * sysdeps/x86/nptl/bits/pthreadtypes.h
8683 (pthread_rwlock_t): Change __pad1 to __rwelision.
8684 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8686 2014-06-13 Andi Kleen <ak@linux.intel.com>
8688 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8689 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8690 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8691 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8693 2014-06-13 Meador Inge <meadori@codesourcery.com>
8696 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8697 that the cached result has been set before returning it.
8699 2014-06-12 Roland McGrath <roland@hack.frob.com>
8701 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8702 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8703 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8704 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8705 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8706 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8708 * nptl/sysdeps/sparc/Makefile: Moved ...
8709 * sysdeps/sparc/nptl/Makefile: ... here.
8710 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8711 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8712 * nptl/sysdeps/sparc/tls.h: Moved ...
8713 * sysdeps/sparc/nptl/tls.h: ... here.
8714 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8715 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8716 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8717 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8718 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8719 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8720 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8721 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8722 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8723 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8724 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8725 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8726 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8727 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8728 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8729 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8730 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8731 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8733 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8734 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8736 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8737 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8739 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8740 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8743 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8745 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8746 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8748 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8749 (struct list_links): Type removed.
8750 (struct thread_node, struct timer_node): Replace struct list_links
8751 with struct list_head.
8752 (list_unlink_ip): Likewise.
8753 * sysdeps/pthread/timer_routines.c
8754 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8755 (list_append, list_insbefore): Likewise.
8756 (list_init): Function removed.
8757 (thread_init, init_module): Use INIT_LIST_HEAD instead.
8758 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8759 * sysdeps/pthread/Makefile: ... here, new file.
8761 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8762 * sysdeps/nptl/Implies: ... here.
8763 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8764 * nptl/sysdeps/pthread/list.h: Moved ...
8765 * include/list.h: ... here.
8766 * nptl/sysdeps/pthread/createthread.c: Moved ...
8767 * nptl/createthread.c: ... here.
8768 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8769 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8770 * nptl/pt-longjmp.c: ... here.
8771 * nptl/sysdeps/pthread/Makefile: Moved ...
8772 * sysdeps/nptl/Makefile: ... here.
8773 * nptl/sysdeps/pthread/Subdirs: Moved ...
8774 * sysdeps/nptl/Subdirs: ... here.
8775 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8776 * sysdeps/nptl/aio_misc.h: ... here.
8777 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8778 * sysdeps/nptl/bits/libc-lock.h: ... here.
8779 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8780 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8781 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8782 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8783 * nptl/sysdeps/pthread/configure: Moved ...
8784 * sysdeps/nptl/configure: ... here.
8785 * nptl/sysdeps/pthread/configure.ac: Moved ...
8786 * sysdeps/nptl/configure.ac: ... here.
8787 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8788 * sysdeps/nptl/gai_misc.h: ... here.
8789 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8790 * sysdeps/nptl/librt-cancellation.c: ... here.
8791 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8792 * sysdeps/nptl/malloc-machine.h: ... here.
8793 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8794 * sysdeps/nptl/pthread-functions.h: ... here.
8795 * nptl/sysdeps/pthread/pthread.h: Moved ...
8796 * sysdeps/nptl/pthread.h: ... here.
8797 * nptl/sysdeps/pthread/setxid.h: Moved ...
8798 * sysdeps/nptl/setxid.h: ... here.
8799 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8800 * sysdeps/nptl/sigfillset.c: ... here.
8801 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8802 * sysdeps/nptl/tcb-offsets.h: ... here.
8803 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8804 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8805 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8806 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8807 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8808 * sysdeps/pthread/allocalim.h: ... here.
8809 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8810 * sysdeps/pthread/bits/sigthread.h: ... here.
8811 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8812 * sysdeps/pthread/flockfile.c: ... here.
8813 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8814 * sysdeps/pthread/ftrylockfile.c: ... here.
8815 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8816 * sysdeps/pthread/funlockfile.c: ... here.
8817 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8818 * sysdeps/pthread/posix-timer.h: ... here.
8819 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8820 * sysdeps/pthread/timer_create.c: ... here.
8821 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8822 * sysdeps/pthread/timer_delete.c: ... here.
8823 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8824 * sysdeps/pthread/timer_getoverr.c: ... here.
8825 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8826 * sysdeps/pthread/timer_gettime.c: ... here.
8827 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8828 * sysdeps/pthread/timer_routines.c: ... here.
8829 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8830 * sysdeps/pthread/timer_settime.c: ... here.
8831 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8832 * sysdeps/pthread/tst-timer.c: ... here.
8833 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8834 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8836 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8837 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8839 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8840 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8841 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8842 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8843 Update #include target.
8844 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8845 * sysdeps/i386/i686/nptl/Makefile: ... here.
8846 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8847 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8848 Update #include target.
8849 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8850 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8851 * nptl/sysdeps/i386/Makefile: Moved ...
8852 * sysdeps/i386/nptl/Makefile: ... here.
8853 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8854 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8855 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8856 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8857 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8858 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8859 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8860 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8861 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8862 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8863 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8864 * nptl/sysdeps/i386/tls.h: Moved ...
8865 * sysdeps/i386/nptl/tls.h: ... here.
8867 * sysdeps/sh/Makefile [$(subdir) = csu]
8868 (gen-as-const-headers): Add tcb-offsets.sym.
8869 * nptl/sysdeps/sh/Makefile: File removed.
8870 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8871 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8872 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8873 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8874 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8875 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8876 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8877 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8878 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8879 * sysdeps/sh/nptl/pthreaddef.h: ... here.
8880 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8881 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8882 * nptl/sysdeps/sh/tls.h: Moved ...
8883 * sysdeps/sh/nptl/tls.h: ... here.
8884 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8885 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8886 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8887 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8888 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8889 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8890 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8891 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8892 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8893 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8894 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8895 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8896 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8897 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8898 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8899 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8900 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8901 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8902 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8903 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8904 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8905 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8906 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8907 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8908 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8910 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8911 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8913 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8914 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8915 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8916 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8917 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8918 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8919 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8920 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8921 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8922 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8923 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8924 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8925 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8926 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8927 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8928 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8929 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8930 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8931 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8933 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
8935 * posix/spawn_faction_addopen.c: Include string.h.
8937 2014-06-11 Roland McGrath <roland@hack.frob.com>
8939 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8940 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8941 * nptl/sysdeps/x86_64/Makefile: Moved ...
8942 * sysdeps/x86_64/nptl/Makefile: ... here.
8943 * nptl/sysdeps/x86_64/configure: Moved ...
8944 * sysdeps/x86_64/nptl/configure: ... here.
8945 * nptl/sysdeps/x86_64/configure.ac: Moved ...
8946 * sysdeps/x86_64/nptl/configure.ac: ... here.
8947 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8948 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8949 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8950 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8951 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8952 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8953 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8954 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8955 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8956 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8957 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8958 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8959 * nptl/sysdeps/x86_64/tls.h: Moved ...
8960 * sysdeps/x86_64/nptl/tls.h: ... here.
8961 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8962 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8963 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8964 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8966 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8968 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8970 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8972 2014-06-11 Joseph Myers <joseph@codesourcery.com>
8974 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8976 [POSIX] (off_t): Likewise.
8977 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8978 [POSIX] (S_ISBLK): Require macro.
8979 [POSIX] (S_ISCHR): Likewise.
8980 [POSIX] (S_ISDIR): Likewise.
8981 [POSIX] (S_ISFIFO): Likewise.
8982 [POSIX] (S_ISREG): Likewise.
8983 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8985 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8987 [POSIX] (time_t): Likewise.
8988 [POSIX] (timer_t): Likewise.
8990 2014-06-11 Florian Weimer <fweimer@redhat.com>
8993 * posix/spawn_int.h (struct __spawn_action): Make the path string
8994 non-const to support deallocation.
8995 * posix/spawn_faction_addopen.c
8996 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8997 * posix/spawn_faction_destroy.c
8998 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
8999 path in all spawn_do_open actions.
9000 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9001 posix_spawn_file_actions_addopen.
9003 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9005 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9006 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9007 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9008 conditional code always true.
9009 (__libc_vfork): New alias.
9011 2014-06-11 Roland McGrath <roland@hack.frob.com>
9013 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9014 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9016 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9018 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9019 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9021 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9022 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9024 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9025 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9027 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9029 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9030 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9031 multiarch strcmp for PPC64.
9032 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9033 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9034 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9035 multiarch optimizations.
9036 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9037 (__libc_ifunc_impl_list): Likewise.
9039 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9041 * benchtests/scripts/validate_benchout.py: New script.
9042 * benchtests/Makefile (bench-func): Call it.
9043 * benchtests/scripts/benchout.schema.json: New file.
9045 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9047 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9048 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9049 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9050 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9051 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9052 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9053 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9054 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9055 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9056 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9057 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9058 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9059 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9060 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9061 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9062 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9063 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9065 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9067 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9069 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9070 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9072 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9074 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9076 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9078 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9080 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9081 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9083 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9085 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9087 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9089 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9091 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9092 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9094 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9096 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9098 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9100 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9102 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9104 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9106 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9107 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9109 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9111 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9113 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9115 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9121 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9122 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9124 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9130 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9135 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9137 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9139 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9140 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9143 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9145 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9147 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9149 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9151 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9157 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9158 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9160 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9166 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9167 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9168 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9169 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9170 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9172 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9174 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9175 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9176 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9177 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9178 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9179 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9180 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9181 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9182 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9183 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9184 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9185 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9186 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9188 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9189 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9191 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9192 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9193 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9194 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9196 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9197 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9198 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9199 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9200 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9201 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9202 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9204 2014-06-10 Wilco <wdijkstr@arm.com>
9206 * math/test-fenv-return.c: New file.
9207 * math/Makefile: Add new test test-fenv-return.
9209 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9212 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9214 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9215 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9216 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9217 0.0L for an argument of 1.0L.
9218 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9220 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9221 value when x - 1 is zero.
9222 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9223 * sysdeps/i386/fpu/libm-test-ulps: Update.
9224 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9226 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9229 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9231 2014-06-09 Roland McGrath <roland@hack.frob.com>
9233 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9234 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9236 2014-06-09 Roland McGrath <roland@hack.frob.com>
9238 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9239 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9241 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9242 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9244 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9245 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9247 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9248 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9250 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9251 if not already defined.
9252 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9253 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9254 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9255 (TLS_INIT_TP): Use it.
9256 (TLS_DEFINE_INIT_TP): New macro.
9257 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9259 2014-06-09 Joseph Myers <joseph@codesourcery.com>
9261 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9263 [POSIX] (IXANY): Likewise.
9264 [POSIX] (OLCUC): Likewise.
9265 [POSIX || POSIX2008] (CBAUD): Do not allow.
9266 [POSIX || POSIX2008] (DEFECHO): Likewise.
9267 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9268 [POSIX || POSIX2008] (ECHOKE): Likewise.
9269 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9270 [POSIX || POSIX2008] (EXTA): Likewise.
9271 [POSIX || POSIX2008] (EXTB): Likewise.
9272 [POSIX || POSIX2008] (FLUSHO): Likewise.
9273 [POSIX || POSIX2008] (LOBLK): Likewise.
9274 [POSIX || POSIX2008] (PENDIN): Likewise.
9275 [POSIX || POSIX2008] (SWTCH): Likewise.
9276 [POSIX || POSIX2008] (VDISCARD): Likewise.
9277 [POSIX || POSIX2008] (VDSUSP): Likewise.
9278 [POSIX || POSIX2008] (VLNEXT): Likewise.
9279 [POSIX || POSIX2008] (VREPRINT): Likewise.
9280 [POSIX || POSIX2008] (VSTATUS): Likewise.
9281 [POSIX || POSIX2008] (VWERASE): Likewise.
9282 (B*): Change to B[0123456789]*.
9283 * conform/data/time.h-data [POSIX || UNIX98]
9284 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9285 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9286 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9287 [POSIX] (tm_*): Do not allow.
9289 2014-06-07 Joseph Myers <joseph@codesourcery.com>
9291 * Makefile (install): Don't set LANGUAGE.
9292 * Makefile.in (install): Likewise.
9293 * assert/Makefile (test-assert-ENV): Remove variable.
9294 (test-assert-perr-ENV): Likewise.
9295 * elf/Makefile (neededtest4-ENV): Likewise.
9296 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9297 [$(cross-compiling) = no]: Don't set LANGUAGE.
9298 * io/ftwtest-sh (LANG): Remove variable.
9299 * libio/Makefile (tst-widetext-ENV): Likewise.
9300 * manual/install.texi (Running make install): Don't refer to
9301 environment settings for make install.
9302 * INSTALL: Regenerated.
9303 * nptl/tst-tls6.sh: Don't set LANG.
9304 * posix/globtest.sh (LANG): Remove variable.
9305 * string/Makefile (tester-ENV): Likewise.
9306 (inl-tester-ENV): Likewise.
9307 (noinl-tester-ENV): Likewise.
9308 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9309 [$(cross-compiling) = no]: Don't set LANGUAGE.
9310 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9311 without explicit environment settings.
9313 2014-06-06 Roland McGrath <roland@hack.frob.com>
9315 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9316 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9317 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9318 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9320 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9322 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9323 other files in the crypt directory.
9324 * crypt/crypt.c: Remove duplicate includes.
9325 * crypt/crypt-entry.c: Likewise.
9326 * crypt/crypt_util.c: Likewise.
9328 2014-06-06 Joseph Myers <joseph@codesourcery.com>
9330 * Makeconfig (run-program-env): New variable.
9331 (run-program-prefix-before-env): Likewise.
9332 (run-program-prefix-after-env): Likewise.
9333 (run-program-prefix): Define in terms of new variables.
9334 (built-program-cmd-before-env): New variable.
9335 (built-program-cmd-after-env): Likewise.
9336 (built-program-cmd): Define in terms of new variables.
9337 (test-program-prefix-before-env): New variable.
9338 (test-program-prefix-after-env): Likewise.
9339 (test-program-prefix): Define in terms of new variables.
9340 (test-program-cmd-before-env): New variable.
9341 (test-program-cmd-after-env): Likewise.
9342 (test-program-cmd): Define in terms of new variables.
9343 * Rules (make-test-out): Use $(run-program-env).
9344 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9345 (help): Do not mention environment variables. Mention
9346 --timeoutfactor option.
9347 (timeoutfactor): New variable.
9348 (blacklist_exports): Remove function.
9349 (exports): Remove variable.
9350 (command): Do not include ${exports}.
9351 * manual/install.texi (Configuring and compiling): Do not mention
9352 test wrappers preserving environment variables. Mention that last
9353 assignment to a variable must take precedence.
9354 * INSTALL: Regenerated.
9355 * benchtests/Makefile (run-bench): Use $(run-program-env).
9356 * catgets/Makefile ($(objpfx)test1.cat): Use
9357 $(built-program-cmd-before-env), $(run-program-env) and
9358 $(built-program-cmd-after-env).
9359 ($(objpfx)test2.cat): Do not specify environment variables
9361 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9362 $(run-program-env) and $(built-program-cmd-after-env).
9363 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9364 $(run-program-env) and $(test-program-cmd-after-env).
9365 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9367 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9368 run_program_env and test_program_cmd_after_env arguments.
9369 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9370 * elf/tst-pathopt.sh: Use run_program_env argument.
9371 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9372 $(test-wrapper-env) and $(run-program-env).
9373 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9374 run_program_env arguments.
9375 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9376 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9377 $(test-program-prefix-before-env), $(run-program-env) and
9378 $(test-program-prefix-after-env).
9379 ($(objpfx)tst-gettext2.out): Likewise.
9380 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9381 run_program_env and test_program_prefix_after_env arguments.
9382 * intl/tst-gettext2.sh: Likewise.
9383 * intl/tst-gettext4.sh: Do not set environment variables
9385 * intl/tst-gettext6.sh: Likewise.
9386 * intl/tst-translit.sh: Likewise.
9387 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9388 $(test-program-prefix-before-env), $(run-program-env) and
9389 $(test-program-prefix-after-env).
9390 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9391 run_program_env and test_program_prefix_after_env arguments.
9392 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9393 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9394 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
9395 explicitly with each use of ${test_wrapper_env}.
9396 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9397 $(test-program-prefix-before-env), $(run-program-env) and
9398 $(test-program-prefix-after-env).
9399 * posix/tst-getconf.sh: Do not set environment variables
9401 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9402 run_program_env and test_program_prefix_after_env arguments.
9403 * stdio-common/tst-printf.sh: Do not set environment variables
9405 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9406 $(test-program-prefix-before-env), $(run-program-env) and
9407 $(test-program-prefix-after-env).
9408 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9409 run_program_env and test_program_prefix_after_env arguments.
9410 Split $test calls into $test_pre and $test.
9411 * timezone/Makefile (build-testdata): Use
9412 $(built-program-cmd-before-env), $(run-program-env) and
9413 $(built-program-cmd-after-env).
9415 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9417 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9418 strlen for non SHARED builds.
9420 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9422 * nptl/allocatestack.c (check_list): Inlined function...
9423 (__reclaim_stacks): ... here.
9425 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9428 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9431 2014-06-05 Joseph Myers <joseph@codesourcery.com>
9433 * Rules (make-test-out): Include
9434 LOCPATH=$(common-objpfx)localedata in default environment.
9435 * debug/Makefile (tst-chk1-ENV): Remove variable.
9436 (tst-chk2-ENV): Likewise.
9437 (tst-chk3-ENV): Likewise.
9438 (tst-chk4-ENV): Likewise.
9439 (tst-chk5-ENV): Likewise.
9440 (tst-chk6-ENV): Likewise.
9441 (tst-lfschk1-ENV): Likewise.
9442 (tst-lfschk2-ENV): Likewise.
9443 (tst-lfschk3-ENV): Likewise.
9444 (tst-lfschk4-ENV): Likewise.
9445 (tst-lfschk5-ENV): Likewise.
9446 (tst-lfschk6-ENV): Likewise.
9447 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9448 (tst-iconv7-ENV): Likewise.
9449 * intl/Makefile (LOCPATH-ENV): Likewise.
9450 (tst-codeset-ENV): Likewise.
9451 (tst-gettext3-ENV): Likewise.
9452 (tst-gettext5-ENV): Likewise.
9453 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9454 (tst-fopenloc-ENV): Likewise.
9455 (tst-fgetws-ENV): Remove variable.
9456 (tst-ungetwc1-ENV): Likewise.
9457 (tst-ungetwc2-ENV): Likewise.
9458 (bug-ungetwc2-ENV): Likewise.
9459 (tst-swscanf-ENV): Likewise.
9460 (bug-ftell-ENV): Likewise.
9461 (tst-fgetwc-ENV): Likewise.
9462 (tst-fseek-ENV): Likewise.
9463 (tst-ftell-partial-wide-ENV): Likewise.
9464 (tst-ftell-active-handler-ENV): Likewise.
9465 (tst-ftell-append-ENV): Likewise.
9466 * posix/Makefile (tst-fnmatch-ENV): Likewise.
9467 (tst-regexloc-ENV): Likewise.
9468 (bug-regex1-ENV): Likewise.
9469 (tst-regex-ENV): Likewise.
9470 (tst-regex2-ENV): Likewise.
9471 (bug-regex5-ENV): Likewise.
9472 (bug-regex6-ENV): Likewise.
9473 (bug-regex17-ENV): Likewise.
9474 (bug-regex18-ENV): Likewise.
9475 (bug-regex19-ENV): Likewise.
9476 (bug-regex20-ENV): Likewise.
9477 (bug-regex22-ENV): Likewise.
9478 (bug-regex23-ENV): Likewise.
9479 (bug-regex25-ENV): Likewise.
9480 (bug-regex26-ENV): Likewise.
9481 (bug-regex30-ENV): Likewise.
9482 (bug-regex32-ENV): Likewise.
9483 (bug-regex33-ENV): Likewise.
9484 (bug-regex34-ENV): Likewise.
9485 (bug-regex35-ENV): Likewise.
9486 (tst-rxspencer-ENV): Likewise.
9487 (tst-rxspencer-no-utf8-ENV): Likewise.
9488 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9489 (tst-sscanf-ENV): Likewise.
9490 (tst-swprintf-ENV): Likewise.
9491 (tst-swscanf-ENV): Likewise.
9492 (test-vfprintf-ENV): Likewise.
9493 (scanf13-ENV): Likewise.
9494 (bug14-ENV): Likewise.
9495 (tst-grouping-ENV): Likewise.
9496 * stdlib/Makefile (tst-strtod-ENV): Likewise.
9497 (tst-strtod3-ENV): Likewise.
9498 (tst-strtod4-ENV): Likewise.
9499 (tst-strtod5-ENV): Likewise.
9500 (testmb2-ENV): Likewise./
9501 * string/Makefile (tst-strxfrm-ENV): Likewise.
9502 (tst-strxfrm2-ENV): Likewise.
9503 (bug-strcoll1-ENV): Likewise.
9504 (test-strcasecmp-ENV): Likewise.
9505 (test-strncasecmp-ENV): Likewise.
9506 * time/Makefile (tst-strptime-ENV): Likewise.
9507 (tst-ftime_l-ENV): Likewise.
9508 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9509 (tst-mbrtowc-ENV): Likewise.
9510 (tst-wcrtomb-ENV): Likewise.
9511 (tst-mbrtowc2-ENV): Likewise.
9512 (tst-c16c32-1-ENV): Likewise.
9513 (tst-mbsnrtowcs-ENV): Likewise.
9515 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9517 * manual/resource.texi (How to get information about the memory
9518 subsystem?): Fix typo.
9519 Reported by Peon de la Parra Ivan <peon@keba.com>
9521 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
9524 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9525 (pthread_spin_lock): Branch out of spin loop to proper location.
9526 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9527 (pthread_spin_lock): Likewise.
9529 * nptl/tst-spin4.c: New test.
9530 * nptl/Makefile (tests): Add tst-spin4.
9532 2014-06-03 Andreas Schwab <schwab@suse.de>
9535 * resolv/res_send.c (send_dg): Reload file descriptor after
9538 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
9540 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9542 2014-06-03 Richard Henderson <rth@redhat.com>
9544 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9545 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9546 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9547 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
9548 in the SAVE_PID block.
9549 (__libc_vfork): New alias.
9550 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9552 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9553 child in registers, not on the stack. Remove RESET_PID conditionals.
9554 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9556 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
9558 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9560 2014-06-03 Wilco <wdijkstr@arm.com>
9562 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9563 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9564 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9565 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9566 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9569 2014-06-03 Wilco <wdijkstr@arm.com>
9571 * sysdeps/aarch64/fpu/math_private.h
9572 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9573 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9574 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9575 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9578 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9580 * crypt/crypt-private.h: Include ufc-crypt.h.
9581 (__b64_from_24bit): Declare extern.
9582 * crypt/crypt_util.c(__b64_from_24bit): New function.
9583 (b64t): New static const variable.
9584 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9585 (b64t): Remove variable.
9586 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9587 * crypt/sha256-crypt.c: Include crypt-private.h.
9588 (b64t): Remove variable.
9589 (__sha256_crypt_r): Remove b64_from_24bit and replace
9590 with __b64_from_24bit.
9591 * crypt/sha512-crypt.c: Likewise.
9593 2014-06-02 Roland McGrath <roland@hack.frob.com>
9595 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9596 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9597 Label the code __libc_vfork rather than __vfork.
9598 [!NOT_IN_libc] (vfork): Define as weak alias.
9599 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9600 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9601 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9603 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9605 * malloc/malloc.c (malloc_info): Fix format specifier for
9608 2014-06-02 Wilco <wdijkstr@arm.com>
9610 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9613 2014-06-02 Wilco <wdijkstr@arm.com>
9616 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9617 Rewrite to reduce FPCR/FPSR accesses.
9619 2014-06-01 David S. Miller <davem@davemloft.net>
9621 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9623 2014-05-31 David S. Miller <davem@davemloft.net>
9625 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9626 to occur in round to nearest mode when |x| >= 2.0
9628 2014-05-30 Richard Henderson <rth@twiddle.net>
9630 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9631 (PSEUDO_RET_NOERRNO): Remove.
9632 (ret): Don't redefine.
9633 (ret_NOERRNO): Define in terms of ret.
9634 (ret_ERRVAL): Likewise.
9636 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9637 use of PSEUDO_RET; perform the error check directly.
9639 2014-05-30 Marko Myllynen <myllynen@redhat.com>
9641 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9644 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9646 * malloc/malloc (malloc_info): Fix formatting.
9648 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9649 Roland McGrath <roland@hack.frob.com>
9651 * malloc/malloc (malloc_info): Also print mmapped statistics.
9653 2014-05-30 Roland McGrath <roland@hack.frob.com>
9655 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9656 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9658 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
9660 * malloc/malloc.c (malloc_info): Inline mi_arena.
9662 2014-05-29 Richard Henderson <rth@twiddle.net>
9664 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9665 Remove comma before expanding ASM_ARGS_##nr.
9666 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9667 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9669 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9670 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9671 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9672 (ASM_ARGS_1): Add leading comma.
9674 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9675 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9676 to __errno_location.
9677 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9678 Remove the expected plt for __errno_location.
9680 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9681 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9684 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9685 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9686 it and break it down.
9687 (DOCARGS_0, DOCARGS_1): Do nothing.
9688 (DOCARGS_2): Update to store into the new stack frame.
9689 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9690 (UNDOCARGS_1): Update to restore from the new stack frame.
9691 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9692 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9694 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9695 (SINGLE_THREAD_P): New parameter for result regno.
9696 (PSEUDO): Update to match; use cbz instead of beq.
9698 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9699 Use ENTRY to define the _nocancel entry point. Share the syscall
9700 and syscall error check paths with the cancel path.
9703 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9704 whitespace; tabs before and after asm mnemonics.
9706 2014-05-29 Eric Wong <normalperson@yhbt.net>
9709 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9710 Call fstat64 or stat64 internally, depending on arguments passed.
9711 Replace stat buffer argument with file descriptor argument.
9712 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9713 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9714 Pass fd to __internal_statvfs instead of calling fstat64.
9715 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9716 Pass fd to __internal_statvfs64 instead of calling fstat64.
9717 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9718 Pass -1 to __internal_statvfs instead of calling stat64.
9719 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9720 Pass -1 to __internal_statvfs64 instead of calling stat64.
9722 2014-05-28 Roland McGrath <roland@hack.frob.com>
9724 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9725 that was previously under [RESET_PID].
9726 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9728 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9729 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9731 2014-05-27 Roland McGrath <roland@hack.frob.com>
9733 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9735 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9736 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9738 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
9740 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9742 2014-05-27 Andreas Schwab <schwab@suse.de>
9744 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9746 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9747 * elf/rtld.c (init_tls, dl_main): Likewise.
9748 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9749 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9750 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9751 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9752 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9753 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9754 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9755 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9756 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9757 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9758 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9759 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9760 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9761 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9762 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9763 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9764 * sysdeps/generic/tls.h: Update description.
9766 2014-05-27 Will Newton <will.newton@linaro.org>
9769 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9770 and restore r2 rather than just restoring.
9772 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9775 * libio/tst-ftell-append.c: New test case.
9776 * libio/Makefile (tests): Add test case.
9777 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9779 * libio/wfileops.c (do_ftell_wide): Likewise.
9781 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9783 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9785 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9789 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9790 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9791 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9792 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9793 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9794 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9795 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9798 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9801 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9802 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9803 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9804 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9805 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9807 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9808 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9810 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9812 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9814 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9815 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9816 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9818 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9819 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9820 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9821 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9823 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9826 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9829 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9832 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9836 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9839 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9843 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9844 conditional [RESET_PID].
9845 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9846 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9848 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9853 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9854 (__libc_vfork): New strong alias.
9855 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9857 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9862 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9863 (__libc_vfork): New strong alias.
9864 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9866 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9869 2014-05-26 Carlos O'Donell <carlos@redhat.com>
9871 * malloc/malloc.c (mi_arena): New function.
9872 (malloc_info): Remove nested function mi_arena. Call non-nosted
9875 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9877 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9879 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9880 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9881 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9882 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9883 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9884 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9885 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9887 2014-05-26 Andreas Schwab <schwab@suse.de>
9890 * locale/programs/repertoire.c (repertoire_read): Add slash
9891 between I18NPATH element and file name.
9892 * locale/programs/locfile.c (locfile_read): Likewise.
9894 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9896 * nptl/pthread_mutexattr_settype.c
9897 (__pthread_mutexattr_settype):
9898 Disable lock elision for PTHREAD_MUTEX_NORMAL.
9900 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
9902 * nptl/tst-mutex5 (do_test):
9903 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9905 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9907 * benchtests/README: Document 'init' directive.
9908 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9910 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9911 (parse_file): Recognize 'init' directive.
9913 2014-05-26 Kyle McMartin <kyle@redhat.com>
9916 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9917 alignment of struct pthread.
9919 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9922 * nscd/netgroupcache.c (addgetnetgrentX): Look for
9923 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9924 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9925 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9927 2014-05-25 Richard Henderson <rth@twiddle.net>
9929 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9930 (SINGLE_THREAD_P_PIC): Remove.
9931 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9932 (SINGLE_THREAD_P_PIC): Remove.
9934 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9935 branch to syscall error ...
9937 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9938 from __local_syscall_error to .Lsyscall_error.
9939 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9940 (SYSCALL_ERROR): Update label name.
9942 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9943 Do not use DOARGS/UNDOARGS.
9944 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9945 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9946 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9947 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9948 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9950 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9953 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9954 define if !NOT_IN_libc.
9955 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9956 define with non-default symbol versions.
9958 2014-05-23 Richard Henderson <rth@twiddle.net>
9960 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9961 (vfork, __vfork): Define via compat_symbol.
9963 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9964 [!HAVE_IFUNC] (vfork_compat): Remove.
9965 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9967 2014-05-23 Joseph Myers <joseph@codesourcery.com>
9970 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9971 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9974 2014-05-23 Richard Henderson <rth@twiddle.net>
9976 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9977 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9978 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9979 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9981 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9982 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9983 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9984 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9985 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9986 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9987 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9988 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9989 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9990 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9991 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9992 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9993 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9994 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9995 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9996 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9997 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9998 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9999 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10000 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10001 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10002 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10003 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10004 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10005 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10006 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10007 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10008 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10009 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10010 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10011 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10012 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10013 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10014 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10015 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10016 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10017 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10018 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10019 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10020 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10021 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10022 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10023 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10024 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10025 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10026 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10027 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10028 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10029 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10030 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10031 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10032 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10033 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10034 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10035 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10036 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10038 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10039 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10040 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10041 before exiting on error.
10042 (__libc_vfork): New strong alias.
10043 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10044 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10046 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10047 that was previously under [RESET_PID].
10048 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10050 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10052 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10055 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10056 value when x - 1 is zero.
10057 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10058 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10059 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10060 0.0L for an argument of 1.0L.
10061 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10063 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10064 value when x - 1 is zero.
10065 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10066 * sysdeps/i386/fpu/libm-test-ulps: Update.
10067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10069 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10071 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10072 alphasort and versionsort.
10074 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10076 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10078 [copysignf]: Likewise.
10080 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10082 * crypt/md5-crypt.c: Fix formatting.
10084 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10086 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10087 (b64_from_24bit): New function.
10089 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10091 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10092 libc_hidden_builtin_def to ifunc.
10093 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10094 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10096 2014-05-21 Roland McGrath <roland@hack.frob.com>
10098 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10099 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10101 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10103 * nscd/Depend (linuxthreads): Remove.
10105 * resolv/Depend (linuxthreads): Remove.
10106 * rt/Depend (linuxthreads): Remove.
10108 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10109 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10110 $(common-objpfx)elf/.
10111 (link-libc-before-gnulib): Likewise.
10112 (elfobjdir): Remove variable.
10113 * Makefile (install): Use $(elf-objpfx) instead of
10114 $(common-objpfx)elf/.
10115 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10117 (link-libc-deps): Likewise.
10118 ($(common-objpfx)libc.so): Likewise.
10119 ($(common-objpfx)linkobj/libc.so): Likewise.
10120 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10121 instead of $(common-objpfx)elf/.
10122 (symbolic-link-list): Likewise.
10123 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10124 [$(cross-compiling) = no]: Likewise.
10125 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10127 (static-gnulib-arch): Likewise.
10128 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10129 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10130 $(common-objpfx)elf/.
10132 2014-05-21 Richard Henderson <rth@redhat.com>
10134 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10135 (SINGLE_THREAD_P): Use the correct width load. Fold
10136 into the ldr offset.
10138 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10139 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10141 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10143 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10144 (libgcc_s_resume): Use __attribute_used__.
10145 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10148 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10150 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10151 optimization when used with float constants.
10153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10155 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10158 * locale/nl_langinfo_l.c: Make direct reference to every
10159 _nl_current_CATEGORY symbol.
10160 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10161 (tests-static): Add tst-langinfo-static.
10162 (tests-special): Add tst-langinfo-static.out.
10163 ($(objpfx)tst-langinfo.out): Redirect output.
10164 ($(objpfx)tst-langinfo-static.out): New.
10165 * localedata/tst-langinfo.sh: Send output to stdout.
10166 * localedata/tst-langinfo-static.c: New file.
10169 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10170 when the shift amount is modulo the limb size.
10172 2014-05-20 Richard Henderson <rth@redhat.com>
10175 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10176 Change type of sa_flags from unsigned int to int.
10179 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10181 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10183 2014-05-20 Will Newton <will.newton@linaro.org>
10185 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10186 Test the return value of the system call in the nocancel case.
10188 2014-05-20 Will Newton <will.newton@linaro.org>
10189 Yvan Roux <yvan.roux@linaro.org>
10191 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10192 #include of asm/ptrace.h.
10193 (PTRACE_GET_THREAD_AREA): Remove #undef.
10194 (PTRACE_GETHBPREGS): Likewise.
10195 (PTRACE_SETHBPREGS): Likewise.
10196 (struct user_regs_struct): New structure.
10197 (struct user_fpsimd_struct): New structure.
10198 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10199 #include of asm/ptrace.h and second #include of sys/user.h.
10200 (PTRACE_GET_THREAD_AREA): Remove #undef.
10201 (PTRACE_GETHBPREGS): Likewise.
10202 (PTRACE_SETHBPREGS): Likewise.
10203 (ELF_NGREG): Use new struct user_regs_struct.
10204 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10206 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10211 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10214 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10215 membar to avoid block loads/stores to overlap previous stores.
10217 2014-05-17 Richard Henderson <rth@redhat.com>
10219 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10220 Create the __##syscall_name##_nocancel entry point.
10221 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10222 Remove; let the sysdep-cancel.h code create it.
10224 2014-05-17 David S. Miller <davem@davemloft.net>
10226 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10227 Protect with __USE_GNU.
10228 (TIOCSET_TEMPT): Likewise.
10229 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10230 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10231 these are already provided in bits/ioctl-types.h
10233 2014-05-16 Roland McGrath <roland@hack.frob.com>
10235 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10236 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10238 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10239 Use wait4 regardless of [__NR_waitpid].
10241 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10244 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10245 (_FP_NANSIGN_Q): Set the quiet bit.
10247 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10249 * benchtests/Makefile
10250 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10251 not $(common-objpfx)math/libm.so.
10252 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10253 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10254 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10255 $(common-objpfx)dlfcn/libdl.so.
10256 ($(objpfx)tst-audit8): Depend on $(libm), not
10257 $(common-objpfx)math/libm.so.
10258 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10259 not $(common-objpfx)dlfcn/libdl.so.
10261 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10262 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10263 [$(build-shared) = yes].
10264 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10265 $(common-objpfx)nptl/libpthread.so.
10266 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10267 $(common-objpfx)math/libm.so$(libm.so-version) or
10268 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10269 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10270 $(common-objpfx)dlfcn/libdl.so.
10271 * setjmp/Makefile (link-libm): Remove variable.
10272 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10273 * stdio-common/Makefile (link-libm): Remove variable.
10274 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10275 * stdlib/Makefile (link-libm): Remove variable.
10276 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10277 ($(objpfx)tst-strtod-round): Likewise.
10278 ($(objpfx)tst-tininess): Likewise.
10279 ($(objpfx)tst-strtod-underflow): Likewise.
10280 ($(objpfx)tst-strtod6): Likewise.
10281 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10282 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10283 $(common-objpfx)dlfcn/libdl.so.
10285 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10287 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10288 BSD terminal modes definitions.
10290 2014-05-16 Roland McGrath <roland@hack.frob.com>
10292 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10293 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10295 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10296 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10297 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10298 Don't do #include_next.
10299 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10300 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10301 Don't do #include_next.
10302 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10303 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10304 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10305 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10307 2014-05-16 Allan McRae <allan@archlinux.org>
10309 * po/sv.po: Update Swedish translation from translation project.
10311 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10314 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10317 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10318 errno if the TIOCGPTN ioctl fails with an error different than
10320 * login/tst-ptsname.c: New file.
10321 * login/Makefile (tests): Add tst-ptsname.
10324 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10327 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10330 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10331 herrno to return EAI_AGAIN.
10333 2014-05-14 Roland McGrath <roland@hack.frob.com>
10335 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10336 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10337 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10338 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10339 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10340 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10341 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10342 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10343 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10344 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10345 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10346 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10347 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10348 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10349 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10350 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10351 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10352 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10353 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10354 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10355 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10356 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10357 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10358 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10359 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10360 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10361 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10362 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10363 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10364 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10365 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10366 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10368 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10369 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10371 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10372 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10373 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10374 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10375 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10376 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10377 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10378 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10379 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10380 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10381 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10382 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10383 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10384 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10385 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10386 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10387 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10388 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10389 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10390 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10391 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10392 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10393 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10394 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10395 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10396 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10397 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10398 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10400 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10401 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10402 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10403 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10404 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10405 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10406 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10407 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10408 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10409 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10410 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10411 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10412 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10413 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10414 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10415 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10416 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10417 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10418 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10419 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10421 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10422 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10423 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10425 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10426 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10427 (libpthread-sysdep_routines): Add elision-related stuff here instead.
10428 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10429 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10430 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10431 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10432 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10433 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10434 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10435 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10436 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10437 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10438 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10439 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10440 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10441 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10442 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10443 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10444 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10445 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10446 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10447 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10448 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10449 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10450 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10451 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10452 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10453 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10454 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10455 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10457 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10458 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10460 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10461 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10462 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10463 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10464 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10465 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10467 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10468 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10470 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10471 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10473 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10474 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10476 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10477 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10478 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10479 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10481 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10482 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10483 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10484 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10485 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10486 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10487 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10488 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10490 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10491 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10493 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10495 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10496 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10497 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10498 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10499 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10501 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10503 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10505 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10506 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10507 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10508 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10509 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10510 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10512 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10513 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10515 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10516 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10518 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10519 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10521 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10522 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10523 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10524 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10526 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10527 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10528 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10529 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10530 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10531 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10532 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10533 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10535 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10536 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10538 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10540 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10541 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10542 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10543 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10544 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10546 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10548 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10550 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10551 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10552 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10553 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10554 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10555 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10556 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10557 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10558 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10559 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10561 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10562 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10564 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10565 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10567 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10568 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10570 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10571 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10572 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10573 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10574 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10575 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10577 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10578 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10579 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10580 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10581 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10582 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10583 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10584 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10586 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10587 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10589 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10591 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10592 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10593 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10594 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10595 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10597 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10599 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10601 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10602 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10603 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10604 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10605 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10606 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10607 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10608 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10609 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10610 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10611 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10613 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10614 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10616 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10617 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10619 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10620 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10621 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10622 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10623 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10624 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10625 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10626 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10627 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10628 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10629 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10630 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10631 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10632 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10633 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10634 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10635 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10636 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10638 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10639 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10640 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10641 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10643 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10644 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10645 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10646 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10647 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10648 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10649 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10650 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10652 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10653 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10655 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10656 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10657 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10658 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10659 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10660 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10661 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10662 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10663 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10664 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10665 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10666 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10667 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10668 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10669 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10670 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10671 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10673 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10674 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10675 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10676 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10677 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10679 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10680 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10681 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10682 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10683 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10684 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10685 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10686 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10687 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10688 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10690 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10691 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10693 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10694 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10695 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10696 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10697 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10698 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10699 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10700 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10701 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10702 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10703 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10704 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10705 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10706 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10707 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10709 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10711 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10713 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10715 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10717 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10719 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10723 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10727 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10728 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10729 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10730 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10731 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10732 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10733 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10734 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10735 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10736 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10737 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10738 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10739 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10740 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10741 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
10743 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10744 that was previously under [RESET_PID].
10745 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10746 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10747 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10749 * sysdeps/i386/nptl/Implies: New file.
10750 * sysdeps/x86_64/nptl/Implies: New file.
10751 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10752 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10753 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10754 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10756 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10757 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10758 (__libc_vfork): New strong alias.
10759 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10760 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10762 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10763 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10764 (__libc_vfork): New strong alias.
10765 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10766 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10768 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10769 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10770 (__libc_vfork): New strong alias.
10771 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10772 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10773 * nptl/pt-vfork.c: New file.
10774 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10775 (libpthread: GLIBC_2.20): New version set (empty).
10777 2014-05-14 Will Newton <will.newton@linaro.org>
10779 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10782 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10785 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10786 arguments with exponent 65 or above.
10787 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10788 arguments 0x1p113L or above.
10789 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10790 to arguments 0x1p107L or above.
10791 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10792 positive arguments with exponent 65 or above.
10793 * math/auto-libm-test-in: Add more tests of log1p.
10794 * math/auto-libm-test-out: Regenerated.
10797 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10798 non-finite arguments is +0.
10799 * math/s_cacosf.c (__cacosf): Likewise.
10800 * math/s_cacosl.c (__cacosl): Likewise.
10801 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10802 * sysdeps/i386/fpu/libm-test-ulps: Update.
10803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10806 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10808 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10809 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10810 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10811 for explicit high bit of mantissa when testing for argument equal
10813 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10814 * sysdeps/i386/fpu/libm-test-ulps: Update.
10815 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10818 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10819 (__erf): Scale by 16 instead of 8 in potentially underflowing
10820 case. Ensure exception if result actually underflows.
10821 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10822 (__erff): Scale by 16 instead of 8 in potentially underflowing
10823 case. Ensure exception if result actually underflows.
10824 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10825 (efx8): Remove variable.
10826 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10827 case. Ensure exception if result actually underflows.
10828 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10829 (efx8): Remove variable.
10830 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10831 case. Ensure exception if result actually underflows.
10832 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10833 (efx8): Remove variable.
10834 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10835 case. Ensure exception if result actually underflows.
10836 * math/auto-libm-test-in: Add more tests of erf.
10837 * math/auto-libm-test-out: Regenerated.
10839 2014-05-14 Andreas Schwab <schwab@suse.de>
10841 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10842 Remove code conditionalized on USE___THREAD.
10844 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10845 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10848 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10850 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10851 Define unconditionally.
10852 (__ASSUME_O_CLOEXEC): Likewise.
10853 (__ASSUME_SOCK_CLOEXEC): Likewise.
10854 (__ASSUME_IN_NONBLOCK): Likewise.
10855 (__ASSUME_PIPE2): Likewise.
10856 (__ASSUME_EVENTFD2): Likewise.
10857 (__ASSUME_SIGNALFD4): Likewise.
10858 (__ASSUME_DUP3): Likewise.
10859 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10860 (__ASSUME_DUP3): Do not define.
10861 (__ASSUME_EVENTFD2): Likewise.
10862 (__ASSUME_IN_NONBLOCK): Likewise.
10863 (__ASSUME_O_CLOEXEC): Likewise.
10864 (__ASSUME_PIPE2): Likewise.
10865 (__ASSUME_SIGNALFD4): Likewise.
10866 (__ASSUME_SOCK_CLOEXEC): Likewise.
10867 (__ASSUME_UTIMES): Undefine.
10868 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10869 (__ASSUME_UTIMES): Do not define.
10870 (__ASSUME_O_CLOEXEC): Likewise.
10871 (__ASSUME_SOCK_CLOEXEC): Likewise.
10872 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10873 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10875 (__ASSUME_PIPE2): Likewise.
10876 (__ASSUME_EVENTFD2): Likewise.
10877 (__ASSUME_SIGNALFD4): Likewise.
10878 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10879 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10881 (__ASSUME_EVENTFD2): Likewise.
10882 (__ASSUME_SIGNALFD4): Likewise.
10883 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10884 (__ASSUME_32BITUIDS): Likewise.
10885 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10886 (__ASSUME_IPC64): Likewise.
10887 (__ASSUME_ST_INO_64_BIT): Likewise.
10888 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10889 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10890 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10891 (__ASSUME_UTIMES): Do not define.
10892 (__ASSUME_PSELECT): Likewise.
10893 (__ASSUME_PPOLL): Likewise.
10894 (__ASSUME_O_CLOEXEC): Likewise.
10895 (__ASSUME_SOCK_CLOEXEC): Likewise.
10896 (__ASSUME_IN_NONBLOCK): Likewise.
10897 (__ASSUME_PIPE2): Likewise.
10898 (__ASSUME_EVENTFD2): Likewise.
10899 (__ASSUME_SIGNALFD4): Likewise.
10900 (__ASSUME_DUP3): Likewise.
10901 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10902 (__ASSUME_UTIMES): Likewise.
10903 (__ASSUME_O_CLOEXEC): Likewise.
10904 (__ASSUME_SOCK_CLOEXEC): Likewise.
10905 (__ASSUME_IN_NONBLOCK): Likewise.
10906 (__ASSUME_PIPE2): Likewise.
10907 (__ASSUME_EVENTFD2): Likewise.
10908 (__ASSUME_SIGNALFD4): Likewise.
10909 (__ASSUME_DUP3): Likewise.
10910 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10911 (__ASSUME_UTIMES): Likewise.
10912 (__ASSUME_O_CLOEXEC): Likewise.
10913 (__ASSUME_SOCK_CLOEXEC): Likewise.
10914 (__ASSUME_IN_NONBLOCK): Likewise.
10915 (__ASSUME_PIPE2): Likewise.
10916 (__ASSUME_EVENTFD2): Likewise.
10917 (__ASSUME_SIGNALFD4): Likewise.
10918 (__ASSUME_DUP3): Likewise.
10919 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10921 (__ASSUME_UTIMES): Likewise.
10922 (__ASSUME_EVENTFD2): Likewise.
10923 (__ASSUME_SIGNALFD4): Likewise.
10924 * sysdeps/unix/sysv/linux/tile/kernel-features.h
10925 (__ASSUME_O_CLOEXEC): Likewise.
10926 (__ASSUME_SOCK_CLOEXEC): Likewise.
10927 (__ASSUME_IN_NONBLOCK): Likewise.
10928 (__ASSUME_PIPE2): Likewise.
10929 (__ASSUME_EVENTFD2): Likewise.
10930 (__ASSUME_SIGNALFD4): Likewise.
10931 (__ASSUME_DUP3): Likewise.
10932 (__ASSUME_UTIMES): Undefine.
10934 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10935 feclearexcept. Remove symbol versioning code.
10936 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
10937 symbol versioning code.
10938 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
10939 symbol versioning code.
10940 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10941 feupdateenv. Remove symbol versioning code.
10942 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10943 fegetexceptflag. Remove symbol versioning code.
10944 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10945 fesetexceptflag. Remove symbol versioning code.
10946 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10947 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
10948 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10949 (__posix_fadvise64_l32): Remove prototype.
10950 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10953 2014-05-13 Roland McGrath <roland@hack.frob.com>
10955 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10956 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10957 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10958 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10960 2014-05-13 Sami Kerola <kerolasa@iki.fi>
10962 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10963 current working directory
10965 2014-05-13 Roland McGrath <roland@hack.frob.com>
10967 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10968 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10969 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10970 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10971 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10972 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10973 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10974 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10975 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10976 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10977 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10978 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10979 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10980 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10981 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10982 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10983 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10984 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10985 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10986 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10987 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10988 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10989 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10990 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10991 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10992 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10993 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10994 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10995 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10996 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10997 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10998 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10999 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11000 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11001 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11002 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11003 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11004 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11005 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11006 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11007 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11008 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11010 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11011 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11013 * sysdeps/unix/sysv/linux/arm/Makefile
11014 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11015 Add rt-aeabi_unwind_cpp_pr1.
11016 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11017 Add nptl-aeabi_unwind_cpp_pr1.
11018 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11019 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11020 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11021 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11022 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11023 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11025 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11026 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11027 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11028 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11030 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11031 Deconditionalize the code that was previously under [RESET_PID].
11032 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11034 * sysdeps/generic/exit-thread.h: New file.
11035 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11036 * include/unistd.h (__exit_thread): Remove declaration.
11037 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11038 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11039 * csu/libc-start.c: Include <exit-thread.h>.
11040 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11041 * nptl/pthread_create.c: Include <exit-thread.h>.
11042 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11043 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11044 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11045 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11046 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11047 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11048 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11049 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11050 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11051 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11052 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11053 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11054 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11055 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11056 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11057 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11058 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11060 2014-05-13 Andreas Schwab <schwab@suse.de>
11062 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11064 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11066 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11067 (__ASSUME_UTIMES): Do not condition on kernel version.
11068 (__ASSUME_PSELECT): Define unconditionally.
11069 (__ASSUME_PPOLL): Likewise.
11070 (__ASSUME_ATFCTS): Likewise.
11071 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11072 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11073 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11074 (__ASSUME_UTIMENSAT): Define unconditionally.
11075 (__ASSUME_PRIVATE_FUTEX): Likewise.
11076 (__ASSUME_FALLOCATE): Likewise.
11077 (__ASSUME_O_CLOEXEC): Likewise.
11078 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11079 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11080 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11081 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11082 (__ASSUME_IN_NONBLOCK): Likewise.
11083 (__ASSUME_PIPE2): Likewise.
11084 (__ASSUME_EVENTFD2): Likewise.
11085 (__ASSUME_SIGNALFD4): Likewise.
11086 (__ASSUME_DUP3): Likewise.
11087 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11088 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11089 (__ASSUME_AT_RANDOM): Likewise.
11090 (__ASSUME_PREADV): Likewise.
11091 (__ASSUME_PWRITEV): Likewise.
11092 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11093 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11094 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11095 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11096 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11097 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11098 (__ASSUME_O_CLOEXEC): Define unconditionally.
11099 (__ASSUME_PSELECT): Do not undefine conditionally.
11100 (__ASSUME_PPOLL): Likewise.
11101 (__ASSUME_ATFCTS): Likewise.
11102 (__ASSUME_SET_ROBUST_LIST): Likewise.
11103 (__ASSUME_UTIMENSAT): Likewise.
11104 (__ASSUME_FDATASYNC): Define unconditionally.
11105 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11106 (__ASSUME_SIGFRAME_V2): Likewise.
11107 )__ASSUME_EVENTFD2): Likewise.
11108 (__ASSUME_SIGNALFD4): Likewise.
11109 (__ASSUME_PSELECT): Do not undefine conditionally.
11110 (__ASSUME_PPOLL): Likewise.
11111 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11112 (__ASSUME_PSELECT): Define unconditionally.
11113 (__ASSUME_PPOLL): Likewise.
11114 (__ASSUME_O_CLOEXEC): Likewise.
11115 (__ASSUME_SOCK_CLOEXEC): Likewise.
11116 (__ASSUME_IN_NONBLOCK): Likewise.
11117 (__ASSUME_PIPE2): Likewise.
11118 (__ASSUME_EVENTFD2): Likewise.
11119 (__ASSUME_SIGNALFD4): Likewise.
11120 (__ASSUME_DUP3): Likewise.
11121 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11122 (__ASSUME_O_CLOEXEC): Likewise.
11123 (__ASSUME_SOCK_CLOEXEC): Likewise.
11124 (__ASSUME_IN_NONBLOCK): Likewise.
11125 (__ASSUME_PIPE2): Likewise.
11126 (__ASSUME_EVENTFD2): Likewise.
11127 (__ASSUME_SIGNALFD4): Likewise.
11128 (__ASSUME_DUP3): Likewise.
11129 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11130 (__ASSUME_EVENTFD2): Likewise.
11131 (__ASSUME_SIGNALFD4): Likewise.
11132 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11134 2014-05-12 Andreas Schwab <schwab@suse.de>
11137 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11138 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11139 than maximum RPC packet size.
11140 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11141 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11142 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11143 (_nss_nis_getservbyport_r): Likewise.
11145 2014-05-12 Will Newton <will.newton@linaro.org>
11147 * malloc/Makefile (tests): Add tst-mallopt.
11148 * malloc/tst-mallopt.c: New file.
11150 2014-05-09 Roland McGrath <roland@hack.frob.com>
11152 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11153 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11155 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11157 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11158 (tst-tlsmod6.so): Likewise.
11160 2014-05-09 Roland McGrath <roland@hack.frob.com>
11162 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11164 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11167 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11168 and <dl-procinfo.h>.
11169 (__fegetenv): Save SSE state in envp->__eip if supported.
11170 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11171 envp->__eip if supported.
11172 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11173 and <dl-procinfo.h>.
11174 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11175 __data_offset and __data_selector in environment to 0. Set SSE
11176 state if supported.
11177 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11179 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11181 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11183 2014-05-09 Will Newton <will.newton@linaro.org>
11185 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11186 and libc_relro_required for ARM.
11187 * sysdeps/arm/preconfigure: Regenerate.
11189 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11190 Stefan Liebler <stli@linux.vnet.ibm.com>
11192 * config.make.in (enable-lock-elision): New Makefile variable.
11193 * configure.ac: Likewise.
11194 * configure: Regenerate.
11195 * sysdeps/s390/configure.ac:
11196 Add check for gcc transactions support.
11197 * sysdeps/s390/configure: Regenerate.
11198 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11199 Build elision files if enabled.
11200 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11201 Add lock elision support for s390.
11202 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11203 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11204 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11205 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11206 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11207 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11208 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11210 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11212 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11214 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11216 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11217 (__lll_timedlock_elision, __lll_lock_elision)
11218 (__lll_unlock_elision, __lll_trylock_elision)
11219 (lll_timedlock_elision, lll_lock_elision)
11220 (lll_unlock_elision, lll_trylock_elision): Add.
11221 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11222 (pthread_mutex_t): Add lock elision support for s390.
11224 2014-05-14 Wilco <wdijkstr@arm.com>
11226 * sysdeps/arm/fclrexcpt.c: Cleanup.
11227 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11228 * sysdeps/arm/feenablxcpt.c: Cleanup.
11229 * sysdeps/arm/fegetenv.c: Cleanup.
11230 * sysdeps/arm/fegetexcept.c: Cleanup.
11231 * sysdeps/arm/fegetround.c: Cleanup.
11232 * sysdeps/arm/feholdexcpt.c: Cleanup.
11233 * sysdeps/arm/fesetenv.c: Cleanup.
11234 * sysdeps/arm/fesetround.c: Cleanup.
11235 * sysdeps/arm/feupdateenv.c: Cleanup.
11236 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11237 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11238 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11239 * sysdeps/arm/ftestexcept.c: Cleanup.
11240 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11241 * sysdeps/arm/setfpucw.c: Cleanup.
11243 2014-05-09 Will Newton <will.newton@linaro.org>
11245 * sysdeps/arm/armv7/strcmp.S: New file.
11246 * NEWS: Mention addition of ARMv7 optimized strcmp.
11248 2014-05-08 Roland McGrath <roland@hack.frob.com>
11250 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11251 look for %.ac rather than %.in.
11253 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11254 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11255 * sysdeps/mach/hurd/configure: Regenerated.
11256 * sysdeps/unix/sysv/linux/configure: Regenerated.
11258 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11260 2014-05-07 Steve Ellcey <sellcey@mips.com>
11263 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11267 2014-05-07 Andreas Schwab <schwab@suse.de>
11269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11270 when skipping over non-matching result from nscd.
11272 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
11275 * nptl/sockperf.c (client): Check socket return value.
11278 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11279 nscd security class.
11281 2014-05-06 Roland McGrath <roland@hack.frob.com>
11283 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11284 * sysdeps/arm/unwind.h: ... here.
11286 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11289 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11292 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11294 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11295 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11296 multiarch strncpy for PPC64.
11297 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11298 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11300 multiarch optimizations.
11301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11302 (__libc_ifunc_impl_list): Likewise.
11303 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11304 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11305 multiarch stpncpy for PPC64.
11306 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11307 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11309 2014-05-06 Andreas Schwab <schwab@suse.de>
11312 * gmon/mcount.c (_MCOUNT_DECL): Use
11313 atomic_compare_and_exchange_bool_acq instead of
11314 catomic_compare_and_exchange_bool_acq.
11316 2014-05-05 Roland McGrath <roland@hack.frob.com>
11318 * elf/Makefile (others, install-bin): Remove pldd.
11319 (pldd-modules): Variable removed.
11320 ($(objpfx)pldd): Target removed.
11321 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11322 (others, install-bin): Append pldd here.
11323 ($(objpfx)pldd): New target.
11325 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11326 to 0, so the first #if test emitted later doesn't see it undefined.
11327 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11328 * sysdeps/gnu/errlist.c: Regenerated.
11330 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11332 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11333 [libc_hidden_builtin_def]: Define to empty value.
11334 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11335 [libc_hidden_builtin_def]: Likewise.
11336 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11337 [libc_hidden_builtin_def]: Likewise.
11338 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11339 [libc_hidden_builtin_def]: Likewise.
11340 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11341 __redirect_memcpy and define ifunc as default hidden symbol.
11342 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11343 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11345 2014-05-04 Adam Conrad <adconrad@0c3.net>
11347 * locale/iso-4217.def: Reintroduce XDR currency.
11349 2014-05-04 Allan McRae <allan@archlinux.org>
11351 * po/eo.po: Update Esperanto translation from translation project.
11353 2014-05-02 Carlos O'Donell <carlos@redhat.com>
11355 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11356 and FEATURE_INDEX_MAX to 1.
11357 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11359 2014-05-01 Steve Ellcey <sellcey@mips.com>
11361 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11362 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11363 * iconvdata/big5.c (ONE_DIRECTION): Define.
11364 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11365 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11366 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11367 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11368 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11369 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11370 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11371 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11372 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11373 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11374 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11375 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11376 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11377 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11378 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11379 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11380 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11381 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11382 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11383 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11384 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11385 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11386 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11387 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11388 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11389 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11390 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11391 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11392 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11393 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11394 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11395 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11396 * iconvdata/johab.c (ONE_DIRECTION): Define.
11397 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11398 * iconvdata/sjis.c (ONE_DIRECTION): Define.
11399 * iconvdata/t.61.c (ONE_DIRECTION): Define.
11400 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11401 * iconvdata/tscii.c (ONE_DIRECTION): Define.
11402 * iconvdata/uhc.c (ONE_DIRECTION): Define.
11403 * iconvdata/unicode.c (ONE_DIRECTION): Define.
11404 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11405 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11406 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11408 2014-05-01 Roland McGrath <roland@hack.frob.com>
11410 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11411 (_IO_JUMPS_OFFSET): Define to 0.
11413 * nptl/sysdeps/pthread/bits/libc-lock.h
11414 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11415 (__libc_lock_define_initialized_recursive): Always define using
11416 initializer. Modern compilers treat uninitialized (implicit zero) and
11417 explicit zero initializers the same (i.e. put the datum in bss).
11419 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11421 * nscd/nscd-client.h: Include <string.h>.
11423 2014-05-01 David S. Miller <davem@davemloft.net>
11426 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11427 multiple zero bytes exist at the end of a string.
11428 Reported by Aurelien Jarno <aurelien@aurel32.net>
11430 * string/test-strcmp.c (check): Add explicit test for situations where
11431 there are multiple zero bytes after the first.
11433 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11436 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11437 when compiling wprintf.
11438 * stdio-common/tstdiomisc.c (t3): New function.
11441 2014-05-01 Steve Ellcey <sellcey@mips.com>
11443 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11444 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11445 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11446 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11448 2014-05-01 Steve Ellcey <sellcey@mips.com>
11450 * stdlib/longlong.h: Updated from GCC.
11452 2014-05-01 Will Newton <will.newton@linaro.org>
11453 Bernard Ogden <bernie.ogden@linaro.org>
11455 * NEWS: Update fixed bug list.
11458 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11460 2014-04-30 David S. Miller <davem@davemloft.net>
11462 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11463 (libc_feholdexcept_setround_sparc_ctx): New function.
11464 (libc_fesetenv_sparc_ctx): Likewise.
11465 (libc_feupdateenv_sparc_ctx): Likewise.
11466 (libc_feholdsetround_sparc_ctx): Likewise.
11467 (libc_feholdexcept_setround_ctx): Define.
11468 (libc_feholdexcept_setroundf_ctx): Likewise.
11469 (libc_feholdexcept_setroundl_ctx): Likewise.
11470 (libc_fesetenv_ctx): Likewise.
11471 (libc_fesetenvf_ctx): Likewise.
11472 (libc_fesetenvl_ctx): Likewise.
11473 (libc_feupdateenv_ctx): Likewise.
11474 (libc_feupdateenvf_ctx): Likewise.
11475 (libc_feupdateenvl_ctx): Likewise.
11476 (libc_feresetround_ctx): Likewise.
11477 (libc_feresetroundf_ctx): Likewise.
11478 (libc_feresetroundl_ctx): Likewise.
11479 (libc_feholdsetround_ctx): Likewise.
11480 (libc_feholdsetroundf_ctx): Likewise.
11481 (libc_feholdsetroundl_ctx): Likewise.
11483 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11484 with __USE_GNU instead of XOPEN cpp guards.
11486 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11489 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11490 with XOPEN cpp guards.
11492 2014-04-30 Julian Brown <julian@codesourcery.com>
11495 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11498 2014-04-30 Joseph Myers <joseph@codesourcery.com>
11501 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11503 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11504 * sysdeps/unix/sysv/linux/configure: Regenerated.
11505 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11506 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11507 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11508 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11509 * README: Update reference to required Linux kernel version.
11510 * manual/install.texi (Linux): Update reference to required Linux
11511 kernel headers version.
11512 * INSTALL: Regenerated.
11514 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11516 [POSIX] (limits.h): Likewise.
11517 [POSIX] (math.h): Likewise.
11518 [POSIX] (sys/wait.h): Likewise.
11519 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11521 [POSIX] (stddef.h): Do not allow header inclusion.
11523 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11525 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11527 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
11529 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11530 Return immediately after lll_futex_wake.
11532 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11535 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11537 (datahead_init_pos): Call datahead_init_common early.
11538 (datahead_init_neg): Likewise.
11540 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11541 datahead_init_neg): New functions.
11542 * nscd/aicache.c (addhstaiX): Use them.
11543 * nscd/grpcache.c (cache_addgr): Likewise.
11544 * nscd/hstcache.c (cache_addhst): Likewise.
11545 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11546 * nscd/netgroupcache.c (do_notfound): Likewise.
11547 (addgetnetgrentX): Likewise.
11548 (addinnetgrX): Likewise.
11549 * nscd/pwdcache.c (cache_addpw): Likewise.
11550 * nscd/servicescache.c (cache_addserv): Likewise.
11552 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11553 Atsushi Onoe <atsushi@onoe.org>
11558 * resolv/res_query.c (__libc_res_nsearch): Return if at least
11559 one response is valid.
11560 * resolv/res_send.c (send_dg): Check for validity of other
11561 response if the current response is a referral.
11563 2014-04-29 Steve Ellcey <sellcey@mips.com>
11565 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11567 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11570 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11571 Always divide by positive zero when computing -Inf result.
11572 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11573 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11575 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11577 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11578 FPSCR if value do not change.
11579 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11580 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11581 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11582 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11583 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11584 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11587 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11589 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11590 * sysdeps/unix/sysv/linux/hppa: Move directory from
11591 ports/systeps/unix/sysv/linux/hppa.
11592 * README: Update listing for hppa-*-linux-gnu.
11594 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
11597 * manual/stdio.texi (Hook functions): Fix types of stream hook
11600 * socket/sys/socket.h: Fix typo in comment.
11602 2014-04-28 Wilco <wdijkstr@arm.com>
11604 * sysdeps/arm/fenv_private.h: New file.
11605 * sysdeps/arm/math_private.h: New file.
11606 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11608 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11610 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11612 (La_x86_64_retval): Likewise.
11614 2014-04-24 Ian Bolton <ian.bolton@arm.com>
11616 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11617 fpsr if value didn't change.
11618 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11619 to fpcr if value didn't change.
11620 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11621 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11622 fpsr or fpcr if value didn't change.
11623 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11624 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11625 fpcr if value didn't change.
11626 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11627 to fpsr if value didn't change.
11629 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11631 * nptl/tst-sem3.c: Use test-skeleton.c
11632 (main): Rename to do_test. Use return instead of
11634 * nptl/tst-sem4.c: Use test-skeleton.c
11635 (main): Rename to do_test.
11637 2014-04-22 David S. Miller <davem@davemloft.net>
11639 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11640 (struct sigaction): New struct member __glibc_reserved0, change
11641 type of sa_flags to int.
11643 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11645 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11646 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11648 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11650 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11651 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11653 2014-04-22 Will Newton <will.newton@linaro.org>
11654 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11656 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11657 (__longjmp): Add longjmp and longjmp_target SystemTap
11659 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11660 (__sigsetjmp): Add setjmp SystemTap probe.
11662 2014-04-17 Carlos O'Donell <carlos@redhat.com>
11664 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11665 match manual order.
11667 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11669 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11671 * sysdeps/powerpc/fpu/fenv_private.h
11672 (libc_feholdexcept_setroundl_ctx): Define to
11673 libc_feholdexcept_setround_ppc_ctx.
11674 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11675 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11676 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11677 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11679 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11681 * sysdeps/aarch64/math-tests.h: New file.
11683 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11685 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11688 Check and set bit_AVX2_Usable.
11689 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11691 (bit_AVX2): Likewise.
11692 (index_AVX2_Usable): Likewise.
11693 (CPUID_AVX2): Likewise.
11694 (HAS_AVX2): Likewise.
11696 2014-04-17 Will Newton <will.newton@linaro.org>
11698 * manual/setjmp.texi (System V contexts): Add note that
11699 calling setcontext on a context created by a call to a
11700 signal handler is undefined. Update text to note that
11701 setcontext from a signal handler is possible but not
11705 * stdlib/tst-setcontext.c: Include signal.h.
11706 (main): Check that the signal stack before and
11707 after swapcontext is the same.
11709 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11710 Re-implement to restore registers in user code and avoid
11711 rt_sigreturn system call.
11713 2014-04-17 Wilco <wdijkstr@arm.com>
11715 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11716 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11717 * math/test-fenv.c: Skip exception trap tests on targets which only
11718 support non-stop mode.
11720 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11721 Wilco Dijkstra <wilco.dijkstra@arm.com>
11723 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11724 (libc_feholdsetround_aarch64_ctx)
11725 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11726 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11727 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11728 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11729 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11730 (libc_feresetround_noexl_ctx): Define.
11732 2014-04-16 Richard Henderson <rth@redhat.com>
11734 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11736 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11739 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11740 const from the non-libc, non-ldso copy.
11742 * sysdeps/alpha/libm-test-ulps: Regenerate.
11744 2014-04-16 Ian Bolton <ian.bolton@arm.com>
11745 Wilco Dijkstra <wilco.dijkstra@arm.com>
11747 * sysdeps/aarch64/fpu/math_private.h: New file.
11749 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11751 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11753 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11756 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11757 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11758 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11759 Intel MPX bound registers before _dl_profile_fixup.
11760 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11761 registers after _dl_profile_fixup. Save and restore bound
11762 registers bnd0/bnd1 when calling _dl_call_pltexit.
11763 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11764 (LR_BND_OFFSET): Likewise.
11765 (LRV_BND0_OFFSET): Likewise.
11766 (LRV_BND1_OFFSET): Likewise.
11768 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11770 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11772 * sysdeps/mach/hurd/i386/tls.h: ... here.
11773 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11774 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11777 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11779 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11781 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11783 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11785 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11788 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11789 * sysdeps/s390/configure: Regenerate.
11792 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11793 Set round-to-nearest internally to reduce error accumulation.
11795 2014-04-16 Alan Modra <amodra@gmail.com>
11799 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11800 * math/libm-test.inc (frexp_test_data): Add tests.
11801 * NEWS: Update fixed bug list.
11803 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11805 * benchtests/Makefile: Depend on libraries in build directory.
11806 (bench-math): Separate out math tests.
11807 (bench-pthread): Separate out pthread tests.
11808 (bench): Include math and pthread tests.
11810 2014-04-14 Carlos O'Donell <carlos@redhat.com>
11813 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11814 _dl_debug_initialize.
11816 * configure.ac: Remove SELinux header check.
11817 * configure: Regenerate.
11818 * nscd/selinux.c (perms): Array of const char* to permission names.
11819 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11820 default policy. Call string_to_security_class and string_to_av_perm to
11821 translate strings. Enforce default policy and call avs_has_perm with
11822 results of translated strings.
11824 2014-04-13 David S. Miller <davem@davemloft.net>
11826 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11828 2014-04-12 Allan McRae <allan@archlinux.org>
11831 * manual/string.texi (Collation Functions): Fix qsort argument
11833 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11835 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11837 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11838 Make the test a no-op if there are no exceptions defined.
11840 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11842 * elf/Makefile (tests): make tst-dlopen-aout conditional on
11843 enable-hardcoded-path-in-tests
11845 2014-04-11 Will Newton <will.newton@linaro.org>
11847 * benchtests/Makefile (extra-objs): Add json-lib.o.
11848 (bench-func): Tidy up JSON output.
11849 * benchtests/bench-skeleton.c: Include json-lib.h.
11850 (main): Use JSON library functions to do output of
11852 * benchtests/bench-timing-type.c (main): Output the
11853 timing type simply, leaving formatting to the user.
11854 * benchtests/json-lib.c: New file.
11855 * benchtests/json-lib.h: Likewise.
11857 2014-04-11 Torvald Riegel <triegel@redhat.com>
11860 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11861 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11862 memory barriers. Add comments.
11863 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11864 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11865 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11866 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11867 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11868 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11870 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11872 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11873 * sysdeps/s390/s390-64/configure.ac: ... this ...
11874 * sysdeps/s390/configure.ac: ... to here.
11875 * sysdeps/s390/s390-32/configure: Delete file.
11876 * sysdeps/s390/s390-64/configure: Delete file.
11877 * sysdeps/s390/configure: Regenerate.
11879 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
11881 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11883 2014-04-11 Will Newton <will.newton@linaro.org>
11885 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11886 to zero if it is not defined elsewhere. (mtrim): Test
11887 the value of MALLOC_DEBUG with #if rather than #ifdef.
11889 2014-04-10 Torvald Riegel <triegel@redhat.com>
11891 * benchtests/pthread_once-inputs: New file.
11892 * benchtests/pthread_once-source.c: New file.
11893 * benchtests/README: Update documentation.
11895 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
11896 H.J. Lu <hongjiu.lu@intel.com>
11899 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11900 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11901 * sysdeps/x86_64/configure: Regenerated.
11902 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11904 (REGISTER_SAVE_RAX): Likewise.
11905 (REGISTER_SAVE_RCX): Likewise.
11906 (REGISTER_SAVE_RDX): Likewise.
11907 (REGISTER_SAVE_RSI): Likewise.
11908 (REGISTER_SAVE_RDI): Likewise.
11909 (REGISTER_SAVE_R8): Likewise.
11910 (REGISTER_SAVE_R9): Likewise.
11911 (REGISTER_SAVE_BND0): Likewise.
11912 (REGISTER_SAVE_BND1): Likewise.
11913 (REGISTER_SAVE_BND2): Likewise.
11914 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
11915 bound registers when calling _dl_fixup.
11917 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11919 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11920 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11922 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11923 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11924 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11925 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11926 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11927 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11928 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11930 2014-04-09 Peter Brett <peter@peter-b.co.uk>
11933 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11934 pathconf(_PC_NAME_MAX).
11936 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11938 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11939 Remove macro usage.
11940 (__PTHREAD_SPINS): Move definition to ...
11941 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11942 (__PTHREAD_SPINS): ... here.
11943 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11944 (__PTHREAD_SPIN): Likewise.
11945 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11946 (__PTHREAD_SPIN): Likewise.
11947 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11948 (__PTHREAD_SPIN): Likewise.
11949 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11950 (__PTHREAD_SPIN): Likewise.
11951 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11952 (__PTHREAD_SPIN): Likewise.
11953 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11954 (__PTHREAD_SPIN): Likewise.
11955 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11956 (__PTHREAD_SPIN): Likewise.
11957 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11958 (__PTHREAD_SPIN): Likewise.
11959 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11960 (__PTHREAD_SPIN): Likewise.
11961 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11962 (__PTHREAD_SPIN): Likewise.
11963 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11964 (__PTHREAD_SPIN): Likewise.
11965 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11966 (__PTHREAD_SPIN): Likewise.
11968 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11969 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11970 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11971 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11973 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11974 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11975 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11976 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11977 correct imply path.
11978 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11979 strlen symbol for non multi-arch builds.
11980 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11981 missing hidden_def and weak_alias.
11983 2014-04-08 Carlos O'Donell <carlos@redhat.com>
11985 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11987 2014-04-07 Will Newton <will.newton@linaro.org>
11989 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11990 and contents. [!_LIBC] Remove #ifndef and contents.
11991 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
11992 * string/memccpy.c (__memccpy): Use ANSI prototype.
11993 * string/memfrob.c (memfrob): Likewise.
11994 * string/strcoll.c (STRCOLL): Likewise.
11995 * string/strlen.c (strlen): Likewise.
11996 * string/strtok.c (STRTOK): Likewise.
11997 * string/strcat.c: Remove unused #include of memcopy.h.
11998 (strcat): Use ANSI prototype.
11999 * string/strchr.c: Remove unused #include of memcopy.h.
12000 (strchr): Use ANSI prototype.
12001 * string/strcmp.c: Remove unused #include of memcopy.h.
12002 (strcmp): Use ANSI prototype.
12003 * string/strcpy.c: Remove unused #include of memcopy.h.
12004 (strcpy): Use ANSI prototype.
12006 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12008 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12009 * config.make.in (config-extra-cppflags): Set it from
12010 libc_extra_cppflags.
12011 * configure.ac (libc_extra_cflags): Make it accumulate over
12012 configure fragments.
12013 (libc_extra_cppflags): New flag.
12014 * configure. Regenerate.
12015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12016 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12017 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12021 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12022 result for FE_DOWNWARD rounding mode.
12023 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12027 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12029 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12030 in function argument name.
12032 2014-04-03 David Svoboda <svoboda@cert.org>
12035 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12038 2014-04-03 Roland McGrath <roland@hack.frob.com>
12040 * elf/dl-unmap-segments.h: New file.
12041 * sysdeps/generic/ldsodefs.h
12042 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12043 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12044 * elf/dl-fptr.c: Likewise.
12045 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12046 * sysdeps/aarch64/tlsdesc.c: Likewise.
12047 * sysdeps/arm/tlsdesc.c: Likewise.
12048 * sysdeps/i386/tlsdesc.c: Likewise.
12049 * sysdeps/tile/dl-runtime.c: Likewise.
12050 * sysdeps/x86_64/tlsdesc.c: Likewise.
12051 * elf/dl-load.h: New file.
12052 * elf/dl-load.c: Include it.
12053 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12054 Macros moved to dl-load.h.
12055 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12056 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12057 Use _dl_unmap_segments in place of __munmap.
12058 Break out segment-mapping loop into ...
12059 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12061 2014-04-03 Will Newton <will.newton@linaro.org>
12063 * elf/dl-lookup.c (do_lookup_x): Remove comment
12064 referring to nested function and move variable
12065 declarations down to before first use.
12067 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12071 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12073 * math/s_catanf.c (__catanf): Likewise.
12074 * math/s_catanh.c (__catanh): Likewise.
12075 * math/s_catanhf.c (__catanhf): Likewise.
12076 * math/s_catanhl.c (__catanhl): Likewise.
12077 * math/s_catanl.c (__catanl): Likewise.
12078 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12079 by positive zero when computing -Inf result.
12080 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12081 (catanh_test): Likewise.
12082 * sysdeps/i386/fpu/libm-test-ulps: Update.
12083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12086 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12087 instead of using underflowing value in computing result.
12088 * math/s_clog10.c (__clog10): Likewise.
12089 * math/s_clog10f.c (__clog10f): Likewise.
12090 * math/s_clog10l.c (__clog10l): Likewise.
12091 * math/s_clogf.c (__clogf): Likewise.
12092 * math/s_clogl.c (__clogl): Likewise.
12093 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12094 (clog10_test): Likewise.
12095 * sysdeps/i386/fpu/libm-test-ulps: Update.
12096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12098 2014-04-02 Alan Modra <amodra@gmail.com>
12101 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12102 output when value is near a power of two. Use int64_t for lx and
12103 remove casts. Use decimal rather than hex exponent constants.
12104 Don't use long double multiplication when double will suffice.
12105 * math/libm-test.inc (nextafter_test_data): Add tests.
12106 * NEWS: Add 16739 and 16786 to bug list.
12108 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12110 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12112 2014-04-01 Will Newton <will.newton@linaro.org>
12114 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12115 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12117 2014-04-01 Florian Weimer <fweimer@redhat.com>
12120 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12121 * nptl/tst-setuid2.c: New file.
12122 * nptl/Makefile (xtests): Add tst-setuid2.
12124 2014-04-01 Alan Modra <amodra@gmail.com>
12127 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12129 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12133 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12134 set errno as appropriate.
12135 * math/w_scalbf.c (__scalbf): Likewise.
12136 * math/w_scalbl.c (__scalbl): Likewise.
12137 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12138 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12139 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12140 Add more NaN tests.
12143 * math/w_atan2.c: Include <errno.h>.
12144 (__atan2): Set errno for result underflowing to zero.
12145 * math/w_atan2f.c: Include <errno.h>.
12146 (__atan2f): Set errno for result underflowing to zero.
12147 * math/w_atan2l.c: Include <errno.h>.
12148 (__atan2l): Set errno for result underflowing to zero.
12149 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12151 * math/auto-libm-test-out: Regenerated.
12153 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12155 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12156 Encode instruction correctly in little endian.
12157 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12159 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12161 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12163 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12166 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12169 * sysdeps/unix/sysv/linux/kernel-features.h
12170 [__sparc__ && !__arch64__ && !__sparc_v9__]
12171 (__ASSUME_SET_ROBUST_LIST): Do not define.
12172 [__sparc__ && !__arch64__ && !__sparc_v9__]
12173 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12174 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12176 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12177 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12178 (__ASSUME_REQUEUE_PI): Likewise.
12179 (__ASSUME_SET_ROBUST_LIST): Likewise.
12180 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12181 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12183 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12184 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12186 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12188 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12190 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12191 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12193 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12194 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12198 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12199 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12200 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12202 2014-03-31 Will Newton <will.newton@linaro.org>
12204 * benchtests/Makefile (bench): Add ffs and ffsll to list
12206 * benchtests/ffs-inputs: New file.
12207 * benchtests/ffsll-inputs: Likewise.
12209 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12212 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12213 too large before casting to int.
12214 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12215 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12216 * math/libm-test.inc (scalb_test_data): Add more tests.
12218 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12220 * benchtests/Makefile (DETAILED_OPT): New make option.
12221 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12223 * benchtests/bench-skeleton.c: Include stdbool.h.
12224 (main): Store and print timings per input.
12225 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12226 member to each argument value.
12227 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12228 (_print_arg_data): Initialize per-input timing to 0.
12230 * benchtests/Makefile (timing-type): New binary.
12231 (bench-clean): Also remove bench-timing-type.
12232 (bench): New target for timing-type.
12233 (bench-func): Print output in JSON format.
12234 * benchtests/bench-skeleton.c (main): Print output in JSON
12236 * benchtests/bench-timing-type.c: New file.
12237 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12238 (TIMING_PRINT_STATS): Remove.
12239 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12242 * benchtests/bench-modf.c: Remove.
12243 * benchtests/modf-inputs: New inputs file.
12245 2014-03-28 Joseph Myers <joseph@codesourcery.com>
12248 * math/s_clog10.c (M_PI_LOG10E): New macro.
12249 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12250 imaginary parts are 0.
12251 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12252 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12253 imaginary parts are 0.
12254 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12255 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12256 imaginary parts are 0.
12257 * math/libm-test.inc (clog10_test_data): Update expected results
12258 for when real and imaginary parts are 0.
12260 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12262 * elf/dl-load.c: Finish conversion of __builtin_expect into
12263 __glibc_{un}likely.
12265 2014-03-27 Joseph Myers <joseph@codesourcery.com>
12268 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12269 1+x for argument with exponent below -67.
12270 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12272 * math/auto-libm-test-in: Add more tests of exp.
12273 * math/auto-libm-test-out: Regenerated.
12275 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12278 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12279 (nscd_getnetgrent): Use it.
12282 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12285 2014-03-27 Andi Kleen <ak@linux.intel.com>
12287 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12288 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12289 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12290 (lll_robust_unlock): Remove out of line section. Use cfi
12292 (LLL_STUB_UNWIND_INFO*): Remove.
12293 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12294 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12295 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12296 (lll_robust_unlock): Remove out of line section. Use cfi
12298 (LLL_STUB_UNWIND_INFO*): Remove.
12300 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12303 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12306 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12308 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12310 2014-03-26 Joseph Myers <joseph@codesourcery.com>
12313 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12315 * math/test-fenv-preserve.c: New file.
12316 * math/Makefile (tests): Add test-fenv-preserve.
12318 2014-03-26 Will Newton <will.newton@linaro.org>
12320 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12322 2014-03-25 Roland McGrath <roland@hack.frob.com>
12324 * scripts/versionlist.awk: Partition the version sets and emit all
12325 GLIBC_* (sorted) before all others (sorted).
12327 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12329 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12330 GLIBC_2.2.5 version.
12332 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12334 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12337 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12342 2014-03-25 Andreas Schwab <schwab@suse.de>
12344 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12345 label to be used after in6ailist is initialized.
12347 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12349 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12350 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12352 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12356 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12358 (fp_formats): Update initializers.
12359 (init_fp_formats): Initialize new field.
12360 (output_for_one_input_case): Allow underflow for results up to
12362 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12363 * math/auto-libm-test-in: Don't mark some underflows from asin and
12365 * math/auto-libm-test-out: Regenerated.
12366 * sysdeps/i386/fpu/libm-test-ulps: Update.
12367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12369 2014-03-25 Andreas Schwab <schwab@suse.de>
12371 * libio/Makefile (tst-ftell-partial-wide-ENV)
12372 (tst-ftell-active-handler-ENV): Define.
12374 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12376 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12378 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12380 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12382 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12384 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12385 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12386 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12388 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12391 * elf/dl-load.c (open_verify): Add mode parameter.
12392 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12393 (open_path): Change from boolean 'secure' to complete flag 'mode'
12394 (_dl_map_object): Adjust.
12395 * elf/Makefile (tests): Add tst-dlopen-aout.
12396 * elf/tst-dlopen-aout.c: New test.
12398 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12401 * sysdeps/unix/sysv/linux/s390/bits/stat.h
12402 (struct stat): Rename member pad0 to __glibc_reserved0.
12405 * sysdeps/s390/s390-32/bits/wordsize.h
12406 (__WORDSIZE32_SIZE_ULONG): New define.
12407 * sysdeps/s390/s390-64/bits/wordsize.h
12408 (__WORDSIZE32_SIZE_ULONG): Likewise.
12409 * sysdeps/generic/stdint.h (SIZE_MAX):
12410 Define as UL if __WORDSIZE32_SIZE_ULONG.
12413 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12414 (__glibc_reserved0): New variable.
12415 (sa_flags): Change type to int.
12417 * posix/Makefile (before-compile): Use += before-compile instead
12420 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12421 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12423 2014-03-20 Andreas Schwab <schwab@suse.de>
12426 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12427 non-matching result from nscd.
12429 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12431 * scripts/bench.py: Moved to ...
12432 * benchtests/scripts/bench.py: ... here.
12433 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12435 2014-03-24 Andreas Schwab <schwab@suse.de>
12438 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12439 alloca_account and account alloca use for struct in6ailist.
12441 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12444 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12445 rounding mode to recompute results that overflow to infinity or
12447 * math/auto-libm-test-in: Don't mark tests as expected to fail for
12449 * math/auto-libm-test-out: Regenerated.
12450 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12451 (ccosh_test): Likewise.
12452 (csin_test_data): Use plus_oflow.
12453 (csin_test): Use ALL_RM_TEST.
12454 (csinh_test_data): Use plus_oflow.
12455 (csinh_test): Use ALL_RM_TEST.
12456 * sysdeps/i386/fpu/libm-test-ulps: Update.
12457 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12459 2014-03-21 Joseph Myers <joseph@codesourcery.com>
12461 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12462 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12463 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12466 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12467 when x - 1 is zero.
12468 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12469 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12470 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12471 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12473 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12474 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12476 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12477 * sysdeps/i386/fpu/libm-test-ulps: Update.
12478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12480 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12482 * scripts/bench.pl: Remove file.
12483 * scripts/bench.py: New benchmark script.
12484 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12485 * benchtests/README: Mention python dependency.
12486 * scripts/pylintrc: New file.
12487 * scripts/pylint: New file.
12489 * bits/mathdef.h: Use #ifdef instead of #if.
12490 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12491 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12492 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12493 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12494 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12495 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12497 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12498 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12500 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12501 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12502 and strpbrk-ppc64 objects.
12503 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12504 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12505 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12506 multiarch strpbrk for POWER7.
12507 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12508 multiarch strpbrk for PPC64.
12509 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12511 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12512 strpbrk for POWER7.
12514 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12516 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12517 (atan_test): Likewise.
12518 (atanh_test_data): Use NO_TEST_INLINE for two tests.
12519 (atanh_test): Use ALL_RM_TEST.
12520 (atan2_test_data): Likewise.
12521 (cabs_test): Likewise.
12522 (cacosh_test): Likewise.
12523 (carg_test): Likewise.
12524 (casin_test): Likewise.
12525 (casinh_test): Likewise.
12526 (cbrt_test): Likewise.
12527 (csqrt_test): Likewise.
12528 (erf_test): Likewise.
12529 (erfc_test): Likewise.
12530 (pow10_test): Likewise.
12531 (exp2_test): Likewise.
12532 (hypot_test): Likewise.
12533 (j0_test): Likewise.
12534 (j1_test): Likewise.
12535 (lgamma_test): Likewise.
12536 (gamma_test): Likewise.
12537 (sincos_test): Likewise.
12538 (tanh_test): Likewise.
12539 (y0_test): Likewise.
12540 (y1_test): Likewise.
12541 * sysdeps/i386/fpu/libm-test-ulps: Update.
12542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12544 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12546 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12547 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12548 and strcspn-ppc64 objects.
12549 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12550 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12551 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12552 multiarch strcspn for POWER7.
12553 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12554 multiarch strcspn for PPC64.
12555 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12557 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12558 strcspn for POWER7.
12560 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12562 * math/gen-libm-test.pl (generate_testfile): Expect only function
12563 name as argument to AUTO_TESTS_* and pass results for all rounding
12564 modes to parse_args.
12565 (parse_auto_input): Separate inputs of automatic tests from
12566 outputs before storing in %auto_tests.
12567 * math/libm-test.inc (acos_test_data): Update call to
12569 (acos_test): Use ALL_RM_TEST.
12570 (acos_tonearest_test_data): Remove.
12571 (acos_test_tonearest): Likewise.
12572 (acos_towardzero_test_data): Likewise.
12573 (acos_test_towardzero): Likewise.
12574 (acos_downward_test_data): Likewise.
12575 (acos_test_downward): Likewise.
12576 (acos_upward_test_data): Likewise.
12577 (acos_test_upward): Likewise.
12578 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12579 (asin_test_data): Likewise.
12580 (asin_test): Use ALL_RM_TEST.
12581 (asin_tonearest_test_data): Remove.
12582 (asin_test_tonearest): Likewise.
12583 (asin_towardzero_test_data): Likewise.
12584 (asin_test_towardzero): Likewise.
12585 (asin_downward_test_data): Likewise.
12586 (asin_test_downward): Likewise.
12587 (asin_upward_test_data): Likewise.
12588 (asin_test_upward): Likewise.
12589 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12590 (atan_test_data): Likewise.
12591 (atanh_test_data): Likewise.
12592 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12593 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12594 (carg_test_data): Likewise.
12595 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12596 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12597 (ccosh_test_data): Likewise.
12598 (cexp_test_data): Likewise.
12599 (clog_test_data): Likewise.
12600 (clog10_test_data): Likewise.
12601 (cos_test_data): Update call to AUTO_TESTS_f_f.
12602 (cos_test): Use ALL_RM_TEST.
12603 (cos_tonearest_test_data): Remove.
12604 (cos_test_tonearest): Likewise.
12605 (cos_towardzero_test_data): Likewise.
12606 (cos_test_towardzero): Likewise.
12607 (cos_downward_test_data): Likewise.
12608 (cos_test_downward): Likewise.
12609 (cos_upward_test_data): Likewise.
12610 (cos_test_upward): Likewise.
12611 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12612 (cosh_test): Use ALL_RM_TEST.
12613 (cosh_tonearest_test_data): Remove.
12614 (cosh_test_tonearest): Likewise.
12615 (cosh_towardzero_test_data): Likewise.
12616 (cosh_test_towardzero): Likewise.
12617 (cosh_downward_test_data): Likewise.
12618 (cosh_test_downward): Likewise.
12619 (cosh_upward_test_data): Likewise.
12620 (cosh_test_upward): Likewise.
12621 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12622 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12623 (ctan_test_data): Likewise.
12624 (ctan_test): Use ALL_RM_TEST.
12625 (ctan_tonearest_test_data): Remove.
12626 (ctan_test_tonearest): Likewise.
12627 (ctan_towardzero_test_data): Likewise.
12628 (ctan_test_towardzero): Likewise.
12629 (ctan_downward_test_data): Likewise.
12630 (ctan_test_downward): Likewise.
12631 (ctan_upward_test_data): Likewise.
12632 (ctan_test_upward): Likewise.
12633 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12634 (ctanh_test): Use ALL_RM_TEST.
12635 (ctanh_tonearest_test_data): Remove.
12636 (ctanh_test_tonearest): Likewise.
12637 (ctanh_towardzero_test_data): Likewise.
12638 (ctanh_test_towardzero): Likewise.
12639 (ctanh_downward_test_data): Likewise.
12640 (ctanh_test_downward): Likewise.
12641 (ctanh_upward_test_data): Likewise.
12642 (ctanh_test_upward): Likewise.
12643 (erf_test_data): Update call to AUTO_TESTS_f_f.
12644 (erfc_test_data): Likewise.
12645 (exp_test_data): Likewise.
12646 (exp_test): Use ALL_RM_TEST.
12647 (exp_tonearest_test_data): Remove.
12648 (exp_test_tonearest): Likewise.
12649 (exp_towardzero_test_data): Likewise.
12650 (exp_test_towardzero): Likewise.
12651 (exp_downward_test_data): Likewise.
12652 (exp_test_downward): Likewise.
12653 (exp_upward_test_data): Likewise.
12654 (exp_test_upward): Likewise.
12655 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12656 (exp10_test): Use ALL_RM_TEST.
12657 (exp10_tonearest_test_data): Remove.
12658 (exp10_test_tonearest): Likewise.
12659 (exp10_towardzero_test_data): Likewise.
12660 (exp10_test_towardzero): Likewise.
12661 (exp10_downward_test_data): Likewise.
12662 (exp10_test_downward): Likewise.
12663 (exp10_upward_test_data): Likewise.
12664 (exp10_test_upward): Likewise.
12665 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12666 (expm1_test_data): Likewise.
12667 (expm1_test): Use ALL_RM_TEST.
12668 (expm1_tonearest_test_data): Remove.
12669 (expm1_test_tonearest): Likewise.
12670 (expm1_towardzero_test_data): Likewise.
12671 (expm1_test_towardzero): Likewise.
12672 (expm1_downward_test_data): Likewise.
12673 (expm1_test_downward): Likewise.
12674 (expm1_upward_test_data): Likewise.
12675 (expm1_test_upward): Likewise.
12676 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12677 (fma_test): Use ALL_RM_TEST.
12678 (fma_towardzero_test_data): Remove.
12679 (fma_test_towardzero): Likewise.
12680 (fma_downward_test_data): Likewise.
12681 (fma_test_downward): Likewise.
12682 (fma_upward_test_data): Likewise.
12683 (fma_test_upward): Likewise.
12684 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12685 (j0_test_data): Update call to AUTO_TESTS_f_f.
12686 (j1_test_data): Likewise.
12687 (jn_test_data): Update call to AUTO_TESTS_if_f.
12688 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12689 (log_test_data): Update call to AUTO_TESTS_f_f.
12690 (log10_test_data): Likewise.
12691 (log1p_test_data): Likewise.
12692 (log2_test_data): Likewise.
12693 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12694 (pow_tonearest_test_data): Likewise.
12695 (sin_test_data): Update call to AUTO_TESTS_f_f.
12696 (sin_test): Use ALL_RM_TEST.
12697 (sin_tonearest_test_data): Remove.
12698 (sin_test_tonearest): Likewise.
12699 (sin_towardzero_test_data): Likewise.
12700 (sin_test_towardzero): Likewise.
12701 (sin_downward_test_data): Likewise.
12702 (sin_test_downward): Likewise.
12703 (sin_upward_test_data): Likewise.
12704 (sin_test_upward): Likewise.
12705 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12706 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12707 (sinh_test): Use ALL_RM_TEST.
12708 (sinh_tonearest_test_data): Remove.
12709 (sinh_test_tonearest): Likewise.
12710 (sinh_towardzero_test_data): Likewise.
12711 (sinh_test_towardzero): Likewise.
12712 (sinh_downward_test_data): Likewise.
12713 (sinh_test_downward): Likewise.
12714 (sinh_upward_test_data): Likewise.
12715 (sinh_test_upward): Likewise.
12716 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12717 (sqrt_test): Use ALL_RM_TEST.
12718 (sqrt_tonearest_test_data): Remove.
12719 (sqrt_test_tonearest): Likewise.
12720 (sqrt_towardzero_test_data): Likewise.
12721 (sqrt_test_towardzero): Likewise.
12722 (sqrt_downward_test_data): Likewise.
12723 (sqrt_test_downward): Likewise.
12724 (sqrt_upward_test_data): Likewise.
12725 (sqrt_test_upward): Likewise.
12726 (tan_test_data): Update call to AUTO_TESTS_f_f.
12727 (tan_test): Use ALL_RM_TEST.
12728 (tan_tonearest_test_data): Remove.
12729 (tan_test_tonearest): Likewise.
12730 (tan_towardzero_test_data): Likewise.
12731 (tan_test_towardzero): Likewise.
12732 (tan_downward_test_data): Likewise.
12733 (tan_test_downward): Likewise.
12734 (tan_upward_test_data): Likewise.
12735 (tan_test_upward): Likewise.
12736 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12737 (tgamma_test_data): Likewise.
12738 (y0_test_data): Likewise.
12739 (y1_test_data): Likewise.
12740 (yn_test_data): Update call to AUTO_TESTS_if_f.
12741 (main): Do not call removed functions.
12743 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12745 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12746 (ldexp_test_data): Remove.
12747 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12749 (scalb_test): Use ALL_RM_TEST.
12751 2014-03-19 Andreas Schwab <schwab@suse.de>
12753 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12755 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12758 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12759 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12760 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12761 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12762 (__ASSUME_PREADV): Undefine.
12763 (__ASSUME_PWRITEV): Likewise.
12765 2014-03-18 Roland McGrath <roland@hack.frob.com>
12767 * bits/mman-linux.h: Add comment about non-Linux use.
12768 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12769 bits/mman-linux.h resting place.
12771 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12772 * bits/mman-linux.h: ... here.
12774 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12776 * conform/conformtest.pl: Add standard definition when calling C
12777 preprocessor on data files.
12778 (checknamespace): Remove unused variable.
12780 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12782 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12783 minus_oflow, plus_uflow and minus_uflow in expected results.
12784 * math/libm-test.inc (scalbn_test_data): Add more tests of
12785 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12787 (scalbn_test): Use ALL_RM_TEST.
12788 (scalbln_test_data): Add more tests of negative arguments. Use
12789 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12790 (scalbln_test): Use ALL_RM_TEST.
12792 2014-03-18 Roland McGrath <roland@hack.frob.com>
12794 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12796 2014-03-18 Will Newton <will.newton@linaro.org>
12798 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12799 inaccurate comment.
12801 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12803 * Makerules [!subdir] (check-abi): Exit with error status if a
12806 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12808 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12809 for rint. Include results for all rounding modes.
12810 (nearbyint_test): Use ALL_RM_TEST.
12811 (rint_test_data): Include all tests used for nearbyint.
12813 2014-03-17 Will Newton <will.newton@linaro.org>
12815 * nptl/sysdeps/pthread/pthread.h: Revert previous
12818 * sysdeps/generic/ldsodefs.h: Revert previous
12821 * libio/genops.c: Revert previous change.
12822 * libio/libioP.h: Likewise.
12823 * stdio-common/vfprintf.c: Likewise.
12825 * sysdeps/generic/math_private.h: Revert previous
12828 * sysdeps/generic/math_private.h: Check whether
12829 HAVE_RM_CTX is defined with #ifdef rather
12832 * argp/argp-fmtstream.h: Check whether
12833 __STRICT_ANSI__ is defined with #ifdef rather
12835 * argp/argp.h: Likewise.
12837 * libio/genops.c: Check whether
12838 _IO_JUMPS_OFFSET is defined with #ifdef rather
12840 * libio/libioP.h: Likewise.
12841 * stdio-common/vfprintf.c: Likewise.
12843 * sysdeps/generic/ldsodefs.h: Check whether
12844 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12847 * nptl/sysdeps/pthread/pthread.h: Check
12848 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12851 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12853 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12855 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12859 * libio/fileops.c (_IO_file_open): Seek to end of file but
12860 don't cache the offset.
12861 (get_file_offset): Remove function.
12862 (do_ftell): Use cached offset when available.
12863 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12864 don't cache the offset.
12865 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12867 (do_one_test): Call it.
12868 (do_ftell_test): Fix up expected old offset for a+ mode.
12869 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12872 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12873 up test status with function return status.
12874 (do_write_test): Likewise.
12875 (do_append_test): Likewise.
12877 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12878 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12881 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12883 * math/gen-libm-test.pl (parse_args): Handle results specified for
12884 each rounding mode separately.
12885 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12886 tests and results from lrint_tonearest_test_data,
12887 lrint_towardzero_test_data, lrint_downward_test_data and
12888 lrint_upward_test_data.
12889 (lrint_test): Use ALL_RM_TEST.
12890 (lrint_tonearest_test_data): Remove.
12891 (lrint_test_tonearest): Likewise.
12892 (lrint_towardzero_test_data): Likewise.
12893 (lrint_test_towardzero): Likewise.
12894 (lrint_downward_test_data): Likewise.
12895 (lrint_test_downward): Likewise.
12896 (lrint_upward_test_data): Likewise.
12897 (lrint_test_upward): Likewise.
12898 (llrint_test_data): Merge in per-rounding-mode tests and results
12899 from llrint_tonearest_test_data, llrint_towardzero_test_data,
12900 llrint_downward_test_data and llrint_upward_test_data.
12901 (llrint_test): Use ALL_RM_TEST.
12902 (llrint_tonearest_test_data): Remove.
12903 (llrint_test_tonearest): Likewise.
12904 (llrint_towardzero_test_data): Likewise.
12905 (llrint_test_towardzero): Likewise.
12906 (llrint_downward_test_data): Likewise.
12907 (llrint_test_downward): Likewise.
12908 (llrint_upward_test_data): Likewise.
12909 (llrint_test_upward): Likewise.
12910 (rint_test_data): Merge in per-rounding-mode tests and results
12911 from rint_tonearest_test_data, rint_towardzero_test_data,
12912 rint_downward_test_data and rint_upward_test_data. Add
12913 per-rounding-mode results for tests not in those arrays.
12914 (rint_test): Use ALL_RM_TEST.
12915 (rint_tonearest_test_data): Remove.
12916 (rint_test_tonearest): Likewise.
12917 (rint_towardzero_test_data): Likewise.
12918 (rint_test_towardzero): Likewise.
12919 (rint_downward_test_data): Likewise.
12920 (rint_test_downward): Likewise.
12921 (rint_upward_test_data): Likewise.
12922 (rint_test_upward): Likewise.
12923 (main): Don't call removed functions.
12925 2014-03-14 Roland McGrath <roland@hack.frob.com>
12927 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12928 "Compiled on ..." crapola. It is anti-useful.
12930 2014-03-14 Joseph Myers <joseph@codesourcery.com>
12932 * scripts/evaluate-test.sh: Handle fourth argument to determine
12933 whether test run should stop on failure.
12934 * Makeconfig (stop-on-test-failure): New variable.
12935 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12936 $(stop-on-test-failure).
12937 * Makefile (tests): Give a summary of results from testing and
12938 exit with failure status if they include an ERROR or FAIL.
12939 (xtests): Likewise.
12940 * manual/install.texi (Configuring and compiling): Mention
12941 stop-on-test-failure=y.
12942 * INSTALL: Regenerated.
12944 2014-03-14 Roland McGrath <roland@hack.frob.com>
12946 * scripts/versionlist.awk: New file.
12947 * Makerules [$(build-shared) = yes]
12948 (postclean-generated): Add Versions.def, not Versions.def.v and
12950 ($(common-objpfx)Versions.def.v.i): Target removed.
12951 ($(common-objpfx)Versions.def): New target.
12952 ($(common-objpfx)Versions.all): Depend on that rather that
12953 $(common-objpfx)Versions.def.v.
12954 * Versions.def: File removed.
12956 * Makeconfig (+gccwarn): Add -Wundef.
12957 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12958 a dl-sysdep.h breaking its contract.
12959 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12960 * include/stackinfo.h: New file.
12961 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12962 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12963 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12964 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12965 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12966 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12967 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12968 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12969 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12970 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12971 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12972 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12973 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12974 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12975 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12977 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12980 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12982 * math/libm-test.inc (round_test_data): Add more tests.
12985 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12987 * math/libm-test.inc (nearbyint_test_data): Add more tests.
12990 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12992 * math/libm-test.inc (ceil_test_data): Add more tests.
12994 * math/libm-test.inc (trunc_test_data): Add more tests related to
12997 2014-03-14 Roland McGrath <roland@hack.frob.com>
12999 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13000 with #if rather than #ifdef.
13001 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13003 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13005 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13006 first. Disable AVX-512 GCC support if assembler doesn't support
13008 * sysdeps/x86_64/configure: Regenerated.
13010 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13012 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13013 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13014 (__old_pthread_attr_setstack): Likewise.
13015 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13016 [!_STACK_GROWS_DOWN]: Likewise.
13018 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13020 * config.make.in (have-bash2): Delete.
13021 * configure.ac (libc_cv_have_bash2): Delete.
13022 * configure: Regenerate.
13023 * elf/Makefile (common-ldd-rewrite): Rename to ...
13024 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13025 (sh-ldd-rewrite): Delete.
13026 (bash-ldd-rewrite): Delete.
13027 (have-bash2): Delete checks.
13028 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13031 * config.make.in (have-ksh): Delete.
13033 * configure.ac (libc_cv_have_ksh): Delete.
13034 * configure: Regenerate.
13036 * elf/Makefile: Delete $(have-ksh) check.
13037 ($(objpfx)sotruss): Change KSH to BASH.
13038 * elf/sotruss.ksh: Rename to ...
13039 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13040 function style to match POSIX. Drop ksh vim mode setting.
13042 * manual/time.texi (Specifying the Time Zone with TZ): Change
13043 Tuesday to Thursday.
13045 * debug/tst-longjmp_chk2.c: Update header comment.
13046 (stackoverflow_handler): Add comment. Call assert on pass value.
13048 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13051 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13052 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13053 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13054 (La_x86_64_vector): Add zmm.
13055 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13056 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13057 ($(objpfx)tst-audit10): New target.
13058 ($(objpfx)tst-audit10.out): Likewise.
13059 (tst-audit10-ENV): New.
13060 (AVX512-CFLAGS): Likewise.
13061 (CFLAGS-tst-audit10.c): Likewise.
13062 (CFLAGS-tst-auditmod10a.c): Likewise.
13063 (CFLAGS-tst-auditmod10b.c): Likewise.
13064 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13065 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13066 * sysdeps/x86_64/configure: Regenerated.
13067 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13068 AVX-512 zmm register support.
13069 (_dl_x86_64_save_sse): Likewise.
13070 (_dl_x86_64_restore_sse): Likewise.
13071 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13072 size vector registers.
13073 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13074 (ZMM_SIZE): Likewise.
13075 * sysdeps/x86_64/tst-audit10.c: New file.
13076 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13077 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13079 2014-03-13 Roland McGrath <roland@hack.frob.com>
13081 * configure.ac (HAVE_EHDR_START): New check.
13082 * configure: Regenerated.
13083 * config.h.in (HAVE_EHDR_START): New #undef.
13084 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13085 assuming the lowest-addressed segment maps the start of the file.
13087 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13089 * INSTALL: Regenerated.
13091 2014-03-13 Will Newton <will.newton@linaro.org>
13093 * manual/setjmp.texi (System V contexts): Improve
13094 clarity and grammar of documentation.
13096 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13099 * elf/Makefile (tests): Add tst-pie2.
13100 (tests-pie): Add tst-pie2.
13101 * elf/tst-pie2.c: New file.
13102 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13104 * elf/rtld.c (map_doit): Load executable as lt_executable.
13105 (dl_main): Likewise.
13107 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13110 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13111 (__ASSUME_PSELECT): Undefine.
13113 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13116 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13117 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13119 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13120 selector for static builds.
13122 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13125 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13128 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13130 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13131 IFUNC selector for static builds.
13133 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13135 * sysdeps/mips/math_private.h [__mips_hard_float]
13136 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13137 libc_feresetround_mips_ctx.
13138 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13139 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13140 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13143 * math/s_nextafter.c (__nextafter): Do not return value from
13144 overflowing computation.
13145 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13146 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13147 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13149 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13151 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13152 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13154 2014-03-11 Roland McGrath <roland@hack.frob.com>
13156 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13157 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13158 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13159 the new mov targetting sp.
13161 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13164 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13165 Define it for static builds as well.
13166 (NO_BZERO_IMPL): Likewise.
13168 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13170 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13171 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13172 multiarch strspn for PPC64.
13173 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13174 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13175 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13176 (__libc_ifunc_impl_list): Likewise.
13177 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13178 multiarch optimizations
13179 * string/strspn.c (strspn): Using macro to redefine symbol name.
13181 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13182 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13184 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13185 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13186 multiarch strncat for PPC64.
13187 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13188 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13189 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13190 (__libc_ifunc_impl_list): Likewise.
13191 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13192 multiarch optimizations
13194 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13197 * nscd/nscd.service: Make service type forking.
13199 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13201 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13202 sign in non default rounding modes.
13203 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13205 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13207 * math/libm-test.inc (ALL_RM_TEST): New macro.
13208 (ceil_test): Use ALL_RM_TEST.
13209 (cimag_test): Likewise.
13210 (conj_test): Likewise.
13211 (copysign_test): Likewise.
13212 (cproj_test): Likewise.
13213 (creal_test): Likewise.
13214 (fabs_test): Likewise.
13215 (floor_test): Likewise.
13216 (fmax_test): Likewise.
13217 (fmin_test): Likewise.
13218 (fmod_test): Likewise.
13219 (fpclassify_test): Likewise.
13220 (frexp_test): Likewise.
13221 (ilogb_test): Likewise.
13222 (isfinite_test): Likewise.
13223 (finite_test): Likewise.
13224 (isgreater_test): Likewise.
13225 (isgreaterequal_test): Likewise.
13226 (isinf_test): Likewise.
13227 (isless_test): Likewise.
13228 (islessequal_test): Likewise.
13229 (islessgreater_test): Likewise.
13230 (isnan_test): Likewise.
13231 (isnormal_test): Likewise.
13232 (issignaling_test): Likewise.
13233 (isunordered_test): Likewise.
13234 (logb_test): Likewise.
13235 (logb_downward_test_data): Remove.
13236 (logb_test_downward): Likewise.
13237 (lround_test): Use ALL_RM_TEST.
13238 (llround_test): Likewise.
13239 (modf_test): Likewise.
13240 (nexttoward_test): Likewise.
13241 (remainder_test): Likewise.
13242 (drem_test): Likewise.
13243 (remainder_tonearest_test_data): Likewise.
13244 (remainder_test_tonearest): Likewise.
13245 (drem_test_tonearest): Likewise.
13246 (remainder_towardzero_test_data): Likewise.
13247 (remainder_test_towardzero): Likewise.
13248 (drem_test_towardzero): Likewise.
13249 (remainder_downward_test_data): Likewise.
13250 (remainder_test_downward): Likewise.
13251 (drem_test_downward): Likewise.
13252 (remainder_upward_test_data): Likewise.
13253 (remainder_test_upward): Likewise.
13254 (drem_test_upward): Likewise.
13255 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13256 (round_test): Use ALL_RM_TEST.
13257 (signbit_test): Likewise.
13258 (trunc_test): Likewise.
13259 (significand_test): Likewise.
13260 (main): Don't call removed functions.
13262 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13265 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13266 || __USE_XOPEN2K8].
13267 (ILL_ILLOPN): Likewise.
13268 (ILL_ILLADR): Likewise.
13269 (ILL_ILLTRP): Likewise.
13270 (ILL_PRVOPC): Likewise.
13271 (ILL_PRVREG): Likewise.
13272 (ILL_COPROC): Likewise.
13273 (ILL_BADSTK): Likewise.
13274 (FPE_INTDIV): Likewise.
13275 (FPE_INTOVF): Likewise.
13276 (FPE_FLTDIV): Likewise.
13277 (FPE_FLTOVF): Likewise.
13278 (FPE_FLTUND): Likewise.
13279 (FPE_FLTRES): Likewise.
13280 (FPE_FLTINV): Likewise.
13281 (FPE_FLTSUB): Likewise.
13282 (SEGV_MAPERR): Likewise.
13283 (SEGV_ACCERR): Likewise.
13284 (BUS_ADRALN): Likewise.
13285 (BUS_ADRERR): Likewise.
13286 (BUS_OBJERR): Likewise.
13287 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13288 (TRAP_TRACE): Likewise.
13289 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13291 (CLD_KILLED): Likewise.
13292 (CLD_DUMPED): Likewise.
13293 (CLD_TRAPPED): Likewise.
13294 (CLD_STOPPED): Likewise.
13295 (CLD_CONTINUED): Likewise.
13296 (POLL_IN): Likewise.
13297 (POLL_OUT): Likewise.
13298 (POLL_MSG): Likewise.
13299 (POLL_ERR): Likewise.
13300 (POLL_PRI): Likewise.
13301 (POLL_HUP): Likewise.
13302 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13304 (ILL_ILLOPN): Likewise.
13305 (ILL_ILLADR): Likewise.
13306 (ILL_ILLTRP): Likewise.
13307 (ILL_PRVOPC): Likewise.
13308 (ILL_PRVREG): Likewise.
13309 (ILL_COPROC): Likewise.
13310 (ILL_BADSTK): Likewise.
13311 (FPE_INTDIV): Likewise.
13312 (FPE_INTOVF): Likewise.
13313 (FPE_FLTDIV): Likewise.
13314 (FPE_FLTOVF): Likewise.
13315 (FPE_FLTUND): Likewise.
13316 (FPE_FLTRES): Likewise.
13317 (FPE_FLTINV): Likewise.
13318 (FPE_FLTSUB): Likewise.
13319 (SEGV_MAPERR): Likewise.
13320 (SEGV_ACCERR): Likewise.
13321 (BUS_ADRALN): Likewise.
13322 (BUS_ADRERR): Likewise.
13323 (BUS_OBJERR): Likewise.
13324 (BUS_MCEERR_AR): Likewise.
13325 (BUS_MCEERR_AO): Likewise.
13326 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13327 (TRAP_TRACE): Likewise.
13328 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13330 (CLD_KILLED): Likewise.
13331 (CLD_DUMPED): Likewise.
13332 (CLD_TRAPPED): Likewise.
13333 (CLD_STOPPED): Likewise.
13334 (CLD_CONTINUED): Likewise.
13335 (POLL_IN): Likewise.
13336 (POLL_OUT): Likewise.
13337 (POLL_MSG): Likewise.
13338 (POLL_ERR): Likewise.
13339 (POLL_PRI): Likewise.
13340 (POLL_HUP): Likewise.
13341 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13342 (ILL_ILLOPN): Likewise.
13343 (ILL_ILLADR): Likewise.
13344 (ILL_ILLTRP): Likewise.
13345 (ILL_PRVOPC): Likewise.
13346 (ILL_PRVREG): Likewise.
13347 (ILL_COPROC): Likewise.
13348 (ILL_BADSTK): Likewise.
13349 (FPE_INTDIV): Likewise.
13350 (FPE_INTOVF): Likewise.
13351 (FPE_FLTDIV): Likewise.
13352 (FPE_FLTOVF): Likewise.
13353 (FPE_FLTUND): Likewise.
13354 (FPE_FLTRES): Likewise.
13355 (FPE_FLTINV): Likewise.
13356 (FPE_FLTSUB): Likewise.
13357 (SEGV_MAPERR): Likewise.
13358 (SEGV_ACCERR): Likewise.
13359 (BUS_ADRALN): Likewise.
13360 (BUS_ADRERR): Likewise.
13361 (BUS_OBJERR): Likewise.
13362 (BUS_MCEERR_AR): Likewise.
13363 (BUS_MCEERR_AO): Likewise.
13364 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13365 (TRAP_TRACE): Likewise.
13366 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13368 (CLD_KILLED): Likewise.
13369 (CLD_DUMPED): Likewise.
13370 (CLD_TRAPPED): Likewise.
13371 (CLD_STOPPED): Likewise.
13372 (CLD_CONTINUED): Likewise.
13373 (POLL_IN): Likewise.
13374 (POLL_OUT): Likewise.
13375 (POLL_MSG): Likewise.
13376 (POLL_ERR): Likewise.
13377 (POLL_PRI): Likewise.
13378 (POLL_HUP): Likewise.
13379 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13381 (ILL_ILLOPN): Likewise.
13382 (ILL_ILLADR): Likewise.
13383 (ILL_ILLTRP): Likewise.
13384 (ILL_PRVOPC): Likewise.
13385 (ILL_PRVREG): Likewise.
13386 (ILL_COPROC): Likewise.
13387 (ILL_BADSTK): Likewise.
13388 (ILL_BADIADDR): Likewise.
13389 (ILL_BREAK): Likewise.
13390 (FPE_INTDIV): Likewise.
13391 (FPE_INTOVF): Likewise.
13392 (FPE_FLTDIV): Likewise.
13393 (FPE_FLTOVF): Likewise.
13394 (FPE_FLTUND): Likewise.
13395 (FPE_FLTRES): Likewise.
13396 (FPE_FLTINV): Likewise.
13397 (FPE_FLTSUB): Likewise.
13398 (FPE_DECOVF): Likewise.
13399 (FPE_DECDIV): Likewise.
13400 (FPE_DECERR): Likewise.
13401 (FPE_INVASC): Likewise.
13402 (FPE_INVDEC): Likewise.
13403 (SEGV_MAPERR): Likewise.
13404 (SEGV_ACCERR): Likewise.
13405 (SEGV_PSTKOVF): Likewise.
13406 (BUS_ADRALN): Likewise.
13407 (BUS_ADRERR): Likewise.
13408 (BUS_OBJERR): Likewise.
13409 (BUS_MCEERR_AR): Likewise.
13410 (BUS_MCEERR_AO): Likewise.
13411 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13412 (TRAP_TRACE): Likewise.
13413 (TRAP_BRANCH): Likewise.
13414 (TRAP_HWBKPT): Likewise.
13415 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13417 (CLD_KILLED): Likewise.
13418 (CLD_DUMPED): Likewise.
13419 (CLD_TRAPPED): Likewise.
13420 (CLD_STOPPED): Likewise.
13421 (CLD_CONTINUED): Likewise.
13422 (POLL_IN): Likewise.
13423 (POLL_OUT): Likewise.
13424 (POLL_MSG): Likewise.
13425 (POLL_ERR): Likewise.
13426 (POLL_PRI): Likewise.
13427 (POLL_HUP): Likewise.
13428 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13429 (ILL_ILLOPN): Likewise.
13430 (ILL_ILLADR): Likewise.
13431 (ILL_ILLTRP): Likewise.
13432 (ILL_PRVOPC): Likewise.
13433 (ILL_PRVREG): Likewise.
13434 (ILL_COPROC): Likewise.
13435 (ILL_BADSTK): Likewise.
13436 (FPE_INTDIV): Likewise.
13437 (FPE_INTOVF): Likewise.
13438 (FPE_FLTDIV): Likewise.
13439 (FPE_FLTOVF): Likewise.
13440 (FPE_FLTUND): Likewise.
13441 (FPE_FLTRES): Likewise.
13442 (FPE_FLTINV): Likewise.
13443 (FPE_FLTSUB): Likewise.
13444 (SEGV_MAPERR): Likewise.
13445 (SEGV_ACCERR): Likewise.
13446 (BUS_ADRALN): Likewise.
13447 (BUS_ADRERR): Likewise.
13448 (BUS_OBJERR): Likewise.
13449 (BUS_MCEERR_AR): Likewise.
13450 (BUS_MCEERR_AO): Likewise.
13451 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13452 (TRAP_TRACE): Likewise.
13453 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13455 (CLD_KILLED): Likewise.
13456 (CLD_DUMPED): Likewise.
13457 (CLD_TRAPPED): Likewise.
13458 (CLD_STOPPED): Likewise.
13459 (CLD_CONTINUED): Likewise.
13460 (POLL_IN): Likewise.
13461 (POLL_OUT): Likewise.
13462 (POLL_MSG): Likewise.
13463 (POLL_ERR): Likewise.
13464 (POLL_PRI): Likewise.
13465 (POLL_HUP): Likewise.
13466 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13467 (ILL_ILLOPN): Likewise.
13468 (ILL_ILLADR): Likewise.
13469 (ILL_ILLTRP): Likewise.
13470 (ILL_PRVOPC): Likewise.
13471 (ILL_PRVREG): Likewise.
13472 (ILL_COPROC): Likewise.
13473 (ILL_BADSTK): Likewise.
13474 (FPE_INTDIV): Likewise.
13475 (FPE_INTOVF): Likewise.
13476 (FPE_FLTDIV): Likewise.
13477 (FPE_FLTOVF): Likewise.
13478 (FPE_FLTUND): Likewise.
13479 (FPE_FLTRES): Likewise.
13480 (FPE_FLTINV): Likewise.
13481 (FPE_FLTSUB): Likewise.
13482 (SEGV_MAPERR): Likewise.
13483 (SEGV_ACCERR): Likewise.
13484 (BUS_ADRALN): Likewise.
13485 (BUS_ADRERR): Likewise.
13486 (BUS_OBJERR): Likewise.
13487 (BUS_MCEERR_AR): Likewise.
13488 (BUS_MCEERR_AO): Likewise.
13489 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13490 (TRAP_TRACE): Likewise.
13491 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13493 (CLD_KILLED): Likewise.
13494 (CLD_DUMPED): Likewise.
13495 (CLD_TRAPPED): Likewise.
13496 (CLD_STOPPED): Likewise.
13497 (CLD_CONTINUED): Likewise.
13498 (POLL_IN): Likewise.
13499 (POLL_OUT): Likewise.
13500 (POLL_MSG): Likewise.
13501 (POLL_ERR): Likewise.
13502 (POLL_PRI): Likewise.
13503 (POLL_HUP): Likewise.
13504 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13505 (ILL_ILLOPN): Likewise.
13506 (ILL_ILLADR): Likewise.
13507 (ILL_ILLTRP): Likewise.
13508 (ILL_PRVOPC): Likewise.
13509 (ILL_PRVREG): Likewise.
13510 (ILL_COPROC): Likewise.
13511 (ILL_BADSTK): Likewise.
13512 (FPE_INTDIV): Likewise.
13513 (FPE_INTOVF): Likewise.
13514 (FPE_FLTDIV): Likewise.
13515 (FPE_FLTOVF): Likewise.
13516 (FPE_FLTUND): Likewise.
13517 (FPE_FLTRES): Likewise.
13518 (FPE_FLTINV): Likewise.
13519 (FPE_FLTSUB): Likewise.
13520 (SEGV_MAPERR): Likewise.
13521 (SEGV_ACCERR): Likewise.
13522 (BUS_ADRALN): Likewise.
13523 (BUS_ADRERR): Likewise.
13524 (BUS_OBJERR): Likewise.
13525 (BUS_MCEERR_AR): Likewise.
13526 (BUS_MCEERR_AO): Likewise.
13527 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13528 (TRAP_TRACE): Likewise.
13529 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13531 (CLD_KILLED): Likewise.
13532 (CLD_DUMPED): Likewise.
13533 (CLD_TRAPPED): Likewise.
13534 (CLD_STOPPED): Likewise.
13535 (CLD_CONTINUED): Likewise.
13536 (POLL_IN): Likewise.
13537 (POLL_OUT): Likewise.
13538 (POLL_MSG): Likewise.
13539 (POLL_ERR): Likewise.
13540 (POLL_PRI): Likewise.
13541 (POLL_HUP): Likewise.
13542 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13543 (ILL_ILLOPN): Likewise.
13544 (ILL_ILLADR): Likewise.
13545 (ILL_ILLTRP): Likewise.
13546 (ILL_PRVOPC): Likewise.
13547 (ILL_PRVREG): Likewise.
13548 (ILL_COPROC): Likewise.
13549 (ILL_BADSTK): Likewise.
13550 (ILL_DBLFLT): Likewise.
13551 (ILL_HARDWALL): Likewise.
13552 (FPE_INTDIV): Likewise.
13553 (FPE_INTOVF): Likewise.
13554 (FPE_FLTDIV): Likewise.
13555 (FPE_FLTOVF): Likewise.
13556 (FPE_FLTUND): Likewise.
13557 (FPE_FLTRES): Likewise.
13558 (FPE_FLTINV): Likewise.
13559 (FPE_FLTSUB): Likewise.
13560 (SEGV_MAPERR): Likewise.
13561 (SEGV_ACCERR): Likewise.
13562 (BUS_ADRALN): Likewise.
13563 (BUS_ADRERR): Likewise.
13564 (BUS_OBJERR): Likewise.
13565 (BUS_MCEERR_AR): Likewise.
13566 (BUS_MCEERR_AO): Likewise.
13567 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13568 (TRAP_TRACE): Likewise.
13569 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13571 (CLD_KILLED): Likewise.
13572 (CLD_DUMPED): Likewise.
13573 (CLD_TRAPPED): Likewise.
13574 (CLD_STOPPED): Likewise.
13575 (CLD_CONTINUED): Likewise.
13576 (POLL_IN): Likewise.
13577 (POLL_OUT): Likewise.
13578 (POLL_MSG): Likewise.
13579 (POLL_ERR): Likewise.
13580 (POLL_PRI): Likewise.
13581 (POLL_HUP): Likewise.
13582 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13583 (ILL_ILLOPN): Likewise.
13584 (ILL_ILLADR): Likewise.
13585 (ILL_ILLTRP): Likewise.
13586 (ILL_PRVOPC): Likewise.
13587 (ILL_PRVREG): Likewise.
13588 (ILL_COPROC): Likewise.
13589 (ILL_BADSTK): Likewise.
13590 (FPE_INTDIV): Likewise.
13591 (FPE_INTOVF): Likewise.
13592 (FPE_FLTDIV): Likewise.
13593 (FPE_FLTOVF): Likewise.
13594 (FPE_FLTUND): Likewise.
13595 (FPE_FLTRES): Likewise.
13596 (FPE_FLTINV): Likewise.
13597 (FPE_FLTSUB): Likewise.
13598 (SEGV_MAPERR): Likewise.
13599 (SEGV_ACCERR): Likewise.
13600 (BUS_ADRALN): Likewise.
13601 (BUS_ADRERR): Likewise.
13602 (BUS_OBJERR): Likewise.
13603 (BUS_MCEERR_AR): Likewise.
13604 (BUS_MCEERR_AO): Likewise.
13605 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13606 (TRAP_TRACE): Likewise.
13607 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13609 (CLD_KILLED): Likewise.
13610 (CLD_DUMPED): Likewise.
13611 (CLD_TRAPPED): Likewise.
13612 (CLD_STOPPED): Likewise.
13613 (CLD_CONTINUED): Likewise.
13614 (POLL_IN): Likewise.
13615 (POLL_OUT): Likewise.
13616 (POLL_MSG): Likewise.
13617 (POLL_ERR): Likewise.
13618 (POLL_PRI): Likewise.
13619 (POLL_HUP): Likewise.
13620 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13621 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13624 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13625 before #include of <time.h>.
13626 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13627 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13628 (test-xfail-UNIX98/sched.h/conform): Likewise.
13630 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13632 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13633 error absence of trapping exception support.
13634 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13636 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13638 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13639 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13640 * timezone/Makefile (testdata): Move definition above include of
13642 (test-zones): New variable.
13643 (tests-special): Add zone files.
13644 (build-testdata): Use $(evaluate-test).
13646 * elf/Makefile (tests-special): Rename tests to end with .out.
13647 ($(objpfx)noload-mem): Likewise.
13648 ($(objpfx)tst-leaks1-mem): Likewise.
13649 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13650 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13651 $(objpfx)test-iconvconfig.out.
13652 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13653 set -e inside subshell and redirect output to file.
13654 * iconvdata/Makefile (generated): Rename tests to end with .out.
13656 (tests-special): Rename tests to end with .out.
13657 ($(objpfx)mtrace-tst-loading): Likewise.
13658 * intl/Makefile (generated): Likewise.
13659 (tests-special): Likewise.
13660 ($(objpfx)mtrace-tst-gettext): Likewise.
13661 * misc/Makefile (generated): Likewise.
13662 (tests-special): Likewise.
13663 ($(objpfx)tst-error1-mem): Likewise.
13664 * nptl/Makefile (tests-special): Likewise.
13665 ($(objpfx)tst-stack3-mem): Likewise.
13666 (generated): Likewise.
13667 * posix/Makefile (generated): Likewise.
13668 (tests-special): Likewise.
13669 (xtests-special): Likewise.
13670 ($(objpfx)tst-fnmatch-mem): Likewise.
13671 ($(objpfx)bug-regex2-mem): Likewise.
13672 ($(objpfx)bug-regex14-mem): Likewise.
13673 ($(objpfx)bug-regex21-mem): Likewise.
13674 ($(objpfx)bug-regex31-mem): Likewise.
13675 ($(objpfx)tst-vfork3-mem): Likewise.
13676 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13677 ($(objpfx)tst-pcre-mem): Likewise.
13678 ($(objpfx)tst-boost-mem): Likewise.
13679 ($(objpfx)bug-ga2-mem): Likewise.
13680 ($(objpfx)bug-glob2-mem): Likewise.
13681 * resolv/Makefile (generate): Likewise.
13682 (tests-special): Likewise.
13683 (xtests-special): Likewise.
13684 (generated): Likewise.
13685 ($(objpfx)mtrace-tst-leaks): Likewise.
13686 ($(objpfx)mtrace-tst-leaks2): Likewise.
13688 * scripts/merge-test-results.sh: New file.
13689 * Makefile (tests-special-notdir): New variable.
13690 (tests): Run merge-test-results.sh.
13691 (xtests): Likewise.
13692 * Rules (tests-special-notdir): New variable.
13693 (xtests-special-notdir): Likewise.
13694 (tests): Run merge-test-results.sh
13695 (xtests): Likewise.
13697 * Makeconfig (test-xfail-name): New variable.
13698 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13699 compute variable name for expected failures.
13700 * conform/Makefile (conformtest-headers-data): New variable.
13701 (conformtest-standards): Likewise.
13702 (conformtest-headers-ISO): Likewise.
13703 (conformtest-headers-ISO99): Likewise.
13704 (conformtest-headers-ISO11): Likewise.
13705 (conformtest-headers-POSIX): Likewise.
13706 (conformtest-headers-XPG3): Likewise.
13707 (conformtest-headers-XPG4): Likewise.
13708 (conformtest-headers-UNIX98): Likewise.
13709 (conformtest-headers-XOPEN2K): Likewise.
13710 (conformtest-headers-POSIX2008): Likewise.
13711 (conformtest-headers-XOPEN2K8): Likewise.
13712 (conformtest-header-list-base): Likewise.
13713 (conformtest-header-list-tests): Likewise.
13714 (conformtest-header-base): Likewise.
13715 (conformtest-header-tests): Likewise.
13716 (tests-special): Add $(conformtest-header-list-tests). If
13717 [$(fast-check) && !$(cross-compiling)], add
13718 $(conformtest-header-tests) instead of
13719 $(objpfx)run-conformtest.out.
13720 (generated): Add $(conformtest-header-list-base). If
13721 [$(fast-check) && !$(cross-compiling)], add
13722 $(conformtest-header-base). Remove previous setting.
13723 ($(conformtest-header-list-tests)): New target.
13724 (test-xfail-run-conformtest): Remove variable.
13725 ($(objpfx)run-conformtest.out): Remove target.
13726 (test-xfail-ISO11/complex.h/conform): New variable.
13727 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13728 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13729 (test-xfail-XPG3/varargs.h/conform): Likewise.
13730 (test-xfail-XPG4/varargs.h/conform): Likewise.
13731 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13732 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13733 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13734 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13735 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13736 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13737 (test-xfail-XPG3/ftw.h/conform): Likewise.
13738 (test-xfail-XPG3/grp.h/conform): Likewise.
13739 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13740 (test-xfail-XPG3/limits.h/conform): Likewise.
13741 (test-xfail-XPG3/pwd.h/conform): Likewise.
13742 (test-xfail-XPG3/search.h/conform): Likewise.
13743 (test-xfail-XPG3/signal.h/conform): Likewise.
13744 (test-xfail-XPG3/stdio.h/conform): Likewise.
13745 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13746 (test-xfail-XPG3/string.h/conform): Likewise.
13747 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13748 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13749 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13750 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13751 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13752 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13753 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13754 (test-xfail-XPG3/termios.h/conform): Likewise.
13755 (test-xfail-XPG3/time.h/conform): Likewise.
13756 (test-xfail-XPG3/unistd.h/conform): Likewise.
13757 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13758 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13759 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13760 (test-xfail-XPG4/netdb.h/conform): Likewise.
13761 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13762 (test-xfail-XPG4/signal.h/conform): Likewise.
13763 (test-xfail-XPG4/stdio.h/conform): Likewise.
13764 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13765 (test-xfail-XPG4/stropts.h/conform): Likewise.
13766 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13767 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13768 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13769 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13770 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13771 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13772 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13773 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13774 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13775 (test-xfail-XPG4/termios.h/conform): Likewise.
13776 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13777 (test-xfail-XPG4/unistd.h/conform): Likewise.
13778 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13779 (test-xfail-POSIX/sched.h/conform): Likewise.
13780 (test-xfail-POSIX/signal.h/conform): Likewise.
13781 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13782 (test-xfail-POSIX/tar.h/conform): Likewise.
13783 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13784 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13785 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13786 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13787 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13788 (test-xfail-UNIX98/sched.h/conform): Likewise.
13789 (test-xfail-UNIX98/signal.h/conform): Likewise.
13790 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13791 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13792 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13793 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13794 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13795 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13796 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13797 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13798 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13799 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13800 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13801 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13802 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13803 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13804 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13805 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13806 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13807 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13808 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13809 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13810 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13811 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13812 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13813 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13814 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13815 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13816 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13817 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13818 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13819 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13820 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13821 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13822 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13823 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13824 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13825 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13826 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13827 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13828 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13829 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13830 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13831 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13832 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13833 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13834 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13835 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13836 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13837 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13838 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13839 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13840 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13841 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13842 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13843 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13844 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13845 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13846 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13847 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13848 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13849 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13850 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13851 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13852 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13853 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13854 (conformtest-cc-flags): Likewise.
13855 ($(conformtest-header-tests): New target.
13856 * conform/check-header-lists.sh: New file.
13857 * conform/run-conformtest.sh: Remove.
13859 * conform/conformtest.pl: Allow ' and \ in values given for
13861 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13863 [POSIX] (sys/types.h): Likewise.
13864 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13866 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13868 * conform/data/signal.h-data (SIGIO): Remove expectation.
13869 [XPG3] (SIGBUS): Do not expect.
13870 [POSIX || XPG3] (SIGPOLL): Likewise.
13871 [POSIX || XPG3] (SIGPROF): Likewise.
13872 [POSIX || XPG3] (SIGSYS): Likewise.
13873 [XPG3] (SIGTRAP): Likewise.
13874 [POSIX || XPG3] (SIGURG): Likewise.
13875 [POSIX || XPG3] (SIGVTALRM): Likewise.
13876 [POSIX || XPG3] (SIGXCPU): Likewise.
13877 [POSIX || XPG3] (SIGXFSZ): Likewise.
13878 [POSIX] (SA_SIGINFO): Expect.
13879 [XPG3] (siginfo_t): Do not expect type or contents.
13880 [POSIX] (si_pid): Do not expect element.
13881 [POSIX] (si_uid): Likewise.
13882 [POSIX] (si_addr): Likewise.
13883 [POSIX] (si_status): Likewise.
13884 [POSIX] (si_band): Likewise.
13885 [XPG4] (si_value): Likewise.
13886 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13887 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13888 [POSIX || XPG3] (ILL_ILLADR): Likewise.
13889 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13890 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13891 [POSIX || XPG3] (ILL_PRVREG): Likewise.
13892 [POSIX || XPG3] (ILL_COPROC): Likewise.
13893 [POSIX || XPG3] (ILL_BADSTK): Likewise.
13894 [POSIX || XPG3] (FPE_INTDIV): Likewise.
13895 [POSIX || XPG3] (FPE_INTOVF): Likewise.
13896 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13897 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13898 [POSIX || XPG3] (FPE_FLTUND): Likewise.
13899 [POSIX || XPG3] (FPE_FLTRES): Likewise.
13900 [POSIX || XPG3] (FPE_FLTINV): Likewise.
13901 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13902 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13903 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13904 [POSIX || XPG3] (BUS_ADRALN): Likewise.
13905 [POSIX || XPG3] (BUS_ADRERR): Likewise.
13906 [POSIX || XPG3] (BUS_OBJERR): Likewise.
13907 [POSIX || XPG3] (CLD_EXITED): Likewise.
13908 [POSIX || XPG3] (CLD_KILLED): Likewise.
13909 [POSIX || XPG3] (CLD_DUMPED): Likewise.
13910 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13911 [POSIX || XPG3] (CLD_STOPPED): Likewise.
13912 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13913 [POSIX || XPG3] (POLL_IN): Likewise.
13914 [POSIX || XPG3] (POLL_OUT): Likewise.
13915 [POSIX || XPG3] (POLL_MSG): Likewise.
13916 [POSIX || XPG3] (POLL_ERR): Likewise.
13917 [POSIX || XPG3] (POLL_PRI): Likewise.
13918 [POSIX || XPG3] (POLL_HUP): Likewise.
13919 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13920 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13921 (SIG*): Do not allow.
13922 [XPG3] (si_*): Likewise.
13923 [XPG3] (SI_*): Likewise.
13924 [XPG3 || XPG4] (sigev_*): Likewise.
13925 [XPG3 || XPG4] (SIGEV_*): Likewise.
13926 [XPG3 || XPG4] (sival_*): Likewise.
13927 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13928 [POSIX || XPG3] (BUS_*): Likewise.
13929 [POSIX || XPG3] (CLD_*): Likewise.
13930 [POSIX || XPG3] (FPE_*): Likewise.
13931 [POSIX || XPG3] (ILL_*): Likewise.
13932 [POSIX || XPG3] (POLL_*): Likewise.
13933 [POSIX || XPG3] (SEGV_*): Likewise.
13934 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13935 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13936 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13937 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13938 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13939 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13940 Specify type and value.
13941 (TVERSLEN): Likewise.
13942 (REGTYPE): Likewise.
13943 (AREGTYPE): Likewise.
13944 (LNKTYPE): Likewise.
13945 (SYMTYPE): Likewise.
13946 (CHRTYPE): Likewise.
13947 (BLKTYPE): Likewise.
13948 (DIRTYPE): Likewise.
13949 (FIFOTYPE): Likewise.
13950 (CONTTYPE): Likewise.
13954 (TUREAD): Likewise.
13955 (TUWRITE): Likewise.
13956 (TUEXEC): Likewise.
13957 (TGREAD): Likewise.
13958 (TGWRITE): Likewise.
13959 (TGEXEC): Likewise.
13960 (TOREAD): Likewise.
13961 (TOWRITE): Likewise.
13962 (TOEXEC): Likewise.
13963 [POSIX] (TSVTX): Expect constant.
13965 2014-03-06 Joseph Myers <joseph@codesourcery.com>
13967 * Makefile (tests): Change dependencies to ....
13968 (tests-special): ... additions to this variable.
13969 (tests): Depend on $(tests-special).
13970 * Makerules (check-abi-list): New variable.
13971 (check-abi): Depend on $(check-abi-list).
13972 [$(subdir) = elf] (tests-special): Add
13973 $(objpfx)check-abi-libc.out.
13974 [$(build-shared) = yes && subdir] (tests-special): Add
13976 [$(build-shared) = yes && subdir] (tests): Do not depend on
13978 * Rules (tests): Depend on $(tests-special).
13979 (xtests): Depend on $(xtests-special).
13980 * catgets/Makefile (tests): Change dependencies to ....
13981 (tests-special): ... additions to this variable.
13982 * conform/Makefile (tests): Change dependencies to ....
13983 (tests-special): ... additions to this variable.
13984 * elf/Makefile (tests): Change dependencies to ....
13985 (tests-special): ... additions to this variable.
13986 * grp/Makefile (tests): Change dependencies to ....
13987 (tests-special): ... additions to this variable.
13988 * iconv/Makefile (xtests): Change dependencies to ....
13989 (xtests-special): ... additions to this variable.
13990 * iconvdata/Makefile (tests): Change dependencies to ....
13991 (tests-special): ... additions to this variable.
13992 * intl/Makefile (tests): Change dependencies to ....
13993 (tests-special): ... additions to this variable. Also add
13994 $(objpfx)tst-gettext.out.
13995 * io/Makefile (tests): Change dependencies to ....
13996 (tests-special): ... additions to this variable.
13997 * libio/Makefile (tests): Change dependencies to ....
13998 (tests-special): ... additions to this variable.
13999 * malloc/Makefile (tests): Change dependencies to ....
14000 (tests-special): ... additions to this variable.
14001 * misc/Makefile (tests): Change dependencies to ....
14002 (tests-special): ... additions to this variable.
14003 * nptl/Makefile (tests): Change dependencies to ....
14004 (tests-special): ... additions to this variable.
14005 * nptl_db/Makefile (tests): Change dependencies to ....
14006 (tests-special): ... additions to this variable.
14007 * posix/Makefile (tests): Change dependencies to ....
14008 (tests-special): ... additions to this variable.
14009 (xtests): Change dependencies to ....
14010 (xtests-special): ... additions to this variable.
14011 * resolv/Makefile (tests): Change dependencies to ....
14012 (tests-special): ... additions to this variable.
14013 (xtests): Change dependencies to ....
14014 (xtests-special): ... additions to this variable.
14015 * stdio-common/Makefile (tests): Change dependencies to ....
14016 (tests-special): ... additions to this variable.
14017 (do-tst-unbputc): Remove target.
14018 (do-tst-printf): Likewise.
14019 * stdlib/Makefile (tests): Change dependencies to ....
14020 (tests-special): ... additions to this variable.
14021 * string/Makefile (tests): Change dependencies to ....
14022 (tests-special): ... additions to this variable.
14023 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14024 (tests-special): ... additions to this variable.
14026 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14028 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14030 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14031 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14033 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14034 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14035 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14036 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14037 * conform/data/libgen.h-data [XPG3]: Likewise.
14038 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14039 * conform/data/ndbm.h-data [XPG3]: Likewise.
14040 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14041 * conform/data/netdb.h-data [XPG3]: Likewise.
14042 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14043 * conform/data/poll.h-data [XPG3]: Likewise.
14044 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14045 * conform/data/strings.h-data [XPG3]: Likewise.
14046 * conform/data/stropts.h-data [XPG3]: Likewise.
14047 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14048 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14049 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14051 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14052 * conform/data/sys/time.h-data [XPG3]: Likewise.
14053 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14054 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14055 * conform/data/sys/un.h-data [XPG3]: Likewise.
14056 * conform/data/syslog.h-data [XPG3]: Likewise.
14057 * conform/data/ucontext.h-data [XPG3]: Likewise.
14058 * conform/data/utmpx.h-data [XPG3]: Likewise.
14059 * conform/data/varargs.h-data [UNIX98]: Enable file.
14061 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14063 * math/libm-test.inc (struct test_f_f_data): Move expected results
14064 into structure for each rounding mode.
14065 (struct test_ff_f_data): Likewise.
14066 (struct test_ff_f_data_nexttoward): Likewise.
14067 (struct test_fi_f_data): Likewise.
14068 (struct test_fl_f_data): Likewise.
14069 (struct test_if_f_data): Likewise.
14070 (struct test_fff_f_data): Likewise.
14071 (struct test_c_f_data): Likewise.
14072 (struct test_f_f1_data): Likewise.
14073 (struct test_fF_f1_data): Likewise.
14074 (struct test_ffI_f1_data): Likewise.
14075 (struct test_c_c_data): Likewise.
14076 (struct test_cc_c_data): Likewise.
14077 (struct test_f_i_data): Likewise.
14078 (struct test_ff_i_data): Likewise.
14079 (struct test_f_l_data): Likewise.
14080 (struct test_f_L_data): Likewise.
14081 (struct test_fFF_11_data): Likewise.
14083 (RM_FE_DOWNWARD): Likewise.
14084 (RM_FE_TONEAREST): Likewise.
14085 (RM_FE_TOWARDZERO): Likewise.
14086 (RM_FE_UPWARD): Likewise.
14087 (RUN_TEST_LOOP_f_f): Update references to expected results.
14088 (RUN_TEST_LOOP_2_f): Likewise.
14089 (RUN_TEST_LOOP_fff_f): Likewise.
14090 (RUN_TEST_LOOP_c_f): Likewise.
14091 (RUN_TEST_LOOP_f_f1): Likewise.
14092 (RUN_TEST_LOOP_fF_f1): Likewise.
14093 (RUN_TEST_LOOP_fI_f1): Likewise.
14094 (RUN_TEST_LOOP_ffI_f1): Likewise.
14095 (RUN_TEST_LOOP_c_c): Likewise.
14096 (RUN_TEST_LOOP_cc_c): Likewise.
14097 (RUN_TEST_LOOP_f_i): Likewise.
14098 (RUN_TEST_LOOP_f_i_tg): Likewise.
14099 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14100 (RUN_TEST_LOOP_f_b): Likewise.
14101 (RUN_TEST_LOOP_f_b_tg): Likewise.
14102 (RUN_TEST_LOOP_f_l): Likewise.
14103 (RUN_TEST_LOOP_f_L): Likewise.
14104 (RUN_TEST_LOOP_fFF_11): Likewise.
14105 * math/gen-libm-test.pl (parse_args): Output four copies of
14106 expected results for each test.
14108 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14109 (__ASSUME_UTIMES): Remove.
14110 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14111 (__ASSUME_UTIMES): Likewise.
14113 * math/gen-auto-libm-tests.c: Update comment on output format.
14114 (output_for_one_input_case): Generate before-rounding and
14115 after-rounding information as conditions on output flags not
14116 floating-point format.
14117 * math/auto-libm-test-out: Regenerated.
14118 * math/gen-libm-test.pl (cond_value): New function.
14119 (or_cond_value): Use cond_value.
14120 (generate_testfile): Handle conditional exceptions.
14122 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14124 * math/libm-test.inc (max_valid_error): New variable.
14125 (init_max_error): Take new argument specifying whether function
14126 results are exactly determined. Set max_valid_error and bound
14127 other variables for errors based on this argument.
14128 (set_max_error): Do not record results above max_valid_error.
14129 (check_float_internal): Only accept errors of up to 0.5ulps if
14130 also at most max_valid_error.
14131 (START): Take new argument EXACT and pass it to init_max_error.
14132 (acos_test): Update call to START.
14133 (acos_test_tonearest): Likewise.
14134 (acos_test_towardzero): Likewise.
14135 (acos_test_downward): Likewise.
14136 (acos_test_upward): Likewise.
14137 (acosh_test): Likewise.
14138 (asin_test): Likewise.
14139 (asin_test_tonearest): Likewise.
14140 (asin_test_towardzero): Likewise.
14141 (asin_test_downward): Likewise.
14142 (asin_test_upward): Likewise.
14143 (asinh_test): Likewise.
14144 (atan_test): Likewise.
14145 (atanh_test): Likewise.
14146 (atan2_test): Likewise.
14147 (cabs_test): Likewise.
14148 (cacos_test): Likewise.
14149 (cacosh_test): Likewise.
14150 (carg_test): Likewise.
14151 (casin_test): Likewise.
14152 (casinh_test): Likewise.
14153 (catan_test): Likewise.
14154 (catanh_test): Likewise.
14155 (cbrt_test): Likewise.
14156 (ccos_test): Likewise.
14157 (ccosh_test): Likewise.
14158 (ceil_test): Likewise.
14159 (cexp_test): Likewise.
14160 (cimag_test): Likewise.
14161 (clog_test): Likewise.
14162 (clog10_test): Likewise.
14163 (conj_test): Likewise.
14164 (copysign_test): Likewise.
14165 (cos_test): Likewise.
14166 (cos_test_tonearest): Likewise.
14167 (cos_test_towardzero): Likewise.
14168 (cos_test_downward): Likewise.
14169 (cos_test_upward): Likewise.
14170 (cosh_test): Likewise.
14171 (cosh_test_tonearest): Likewise.
14172 (cosh_test_towardzero): Likewise.
14173 (cosh_test_downward): Likewise.
14174 (cosh_test_upward): Likewise.
14175 (cpow_test): Likewise.
14176 (cproj_test): Likewise.
14177 (creal_test): Likewise.
14178 (csin_test): Likewise.
14179 (csinh_test): Likewise.
14180 (csqrt_test): Likewise.
14181 (ctan_test): Likewise.
14182 (ctan_test_tonearest): Likewise.
14183 (ctan_test_towardzero): Likewise.
14184 (ctan_test_downward): Likewise.
14185 (ctan_test_upward): Likewise.
14186 (ctanh_test): Likewise.
14187 (ctanh_test_tonearest): Likewise.
14188 (ctanh_test_towardzero): Likewise.
14189 (ctanh_test_downward): Likewise.
14190 (ctanh_test_upward): Likewise.
14191 (erf_test): Likewise.
14192 (erfc_test): Likewise.
14193 (exp_test): Likewise.
14194 (exp_test_tonearest): Likewise.
14195 (exp_test_towardzero): Likewise.
14196 (exp_test_downward): Likewise.
14197 (exp_test_upward): Likewise.
14198 (exp10_test): Likewise.
14199 (exp10_test_tonearest): Likewise.
14200 (exp10_test_towardzero): Likewise.
14201 (exp10_test_downward): Likewise.
14202 (exp10_test_upward): Likewise.
14203 (pow10_test): Likewise.
14204 (exp2_test): Likewise.
14205 (expm1_test): Likewise.
14206 (expm1_test_tonearest): Likewise.
14207 (expm1_test_towardzero): Likewise.
14208 (expm1_test_downward): Likewise.
14209 (expm1_test_upward): Likewise.
14210 (fabs_test): Likewise.
14211 (fdim_test): Likewise.
14212 (floor_test): Likewise.
14213 (fma_test): Likewise.
14214 (fma_test_towardzero): Likewise.
14215 (fma_test_downward): Likewise.
14216 (fma_test_upward): Likewise.
14217 (fmax_test): Likewise.
14218 (fmin_test): Likewise.
14219 (fmod_test): Likewise.
14220 (fpclassify_test): Likewise.
14221 (frexp_test): Likewise.
14222 (hypot_test): Likewise.
14223 (ilogb_test): Likewise.
14224 (isfinite_test): Likewise.
14225 (finite_test): Likewise.
14226 (isgreater_test): Likewise.
14227 (isgreaterequal_test): Likewise.
14228 (isinf_test): Likewise.
14229 (isless_test): Likewise.
14230 (islessequal_test): Likewise.
14231 (islessgreater_test): Likewise.
14232 (isnan_test): Likewise.
14233 (isnormal_test): Likewise.
14234 (issignaling_test): Likewise.
14235 (isunordered_test): Likewise.
14236 (j0_test): Likewise.
14237 (j1_test): Likewise.
14238 (jn_test): Likewise.
14239 (ldexp_test): Likewise.
14240 (lgamma_test): Likewise.
14241 (gamma_test): Likewise.
14242 (lrint_test): Likewise.
14243 (lrint_test_tonearest): Likewise.
14244 (lrint_test_towardzero): Likewise.
14245 (lrint_test_downward): Likewise.
14246 (lrint_test_upward): Likewise.
14247 (llrint_test): Likewise.
14248 (llrint_test_tonearest): Likewise.
14249 (llrint_test_towardzero): Likewise.
14250 (llrint_test_downward): Likewise.
14251 (llrint_test_upward): Likewise.
14252 (log_test): Likewise.
14253 (log10_test): Likewise.
14254 (log1p_test): Likewise.
14255 (log2_test): Likewise.
14256 (logb_test): Likewise.
14257 (logb_test_downward): Likewise.
14258 (lround_test): Likewise.
14259 (llround_test): Likewise.
14260 (modf_test): Likewise.
14261 (nearbyint_test): Likewise.
14262 (nextafter_test): Likewise.
14263 (nexttoward_test): Likewise.
14264 (pow_test): Likewise.
14265 (pow_test_tonearest): Likewise.
14266 (pow_test_towardzero): Likewise.
14267 (pow_test_downward): Likewise.
14268 (pow_test_upward): Likewise.
14269 (remainder_test): Likewise.
14270 (drem_test): Likewise.
14271 (remainder_test_tonearest): Likewise.
14272 (drem_test_tonearest): Likewise.
14273 (remainder_test_towardzero): Likewise.
14274 (drem_test_towardzero): Likewise.
14275 (remainder_test_downward): Likewise.
14276 (drem_test_downward): Likewise.
14277 (remainder_test_upward): Likewise.
14278 (drem_test_upward): Likewise.
14279 (remquo_test): Likewise.
14280 (rint_test): Likewise.
14281 (rint_test_tonearest): Likewise.
14282 (rint_test_towardzero): Likewise.
14283 (rint_test_downward): Likewise.
14284 (rint_test_upward): Likewise.
14285 (round_test): Likewise.
14286 (scalb_test): Likewise.
14287 (scalbn_test): Likewise.
14288 (scalbln_test): Likewise.
14289 (signbit_test): Likewise.
14290 (sin_test): Likewise.
14291 (sin_test_tonearest): Likewise.
14292 (sin_test_towardzero): Likewise.
14293 (sin_test_downward): Likewise.
14294 (sin_test_upward): Likewise.
14295 (sincos_test): Likewise.
14296 (sinh_test): Likewise.
14297 (sinh_test_tonearest): Likewise.
14298 (sinh_test_towardzero): Likewise.
14299 (sinh_test_downward): Likewise.
14300 (sinh_test_upward): Likewise.
14301 (sqrt_test): Likewise.
14302 (sqrt_test_tonearest): Likewise.
14303 (sqrt_test_towardzero): Likewise.
14304 (sqrt_test_downward): Likewise.
14305 (sqrt_test_upward): Likewise.
14306 (tan_test): Likewise.
14307 (tan_test_tonearest): Likewise.
14308 (tan_test_towardzero): Likewise.
14309 (tan_test_downward): Likewise.
14310 (tan_test_upward): Likewise.
14311 (tanh_test): Likewise.
14312 (tgamma_test): Likewise.
14313 (trunc_test): Likewise.
14314 (y0_test): Likewise.
14315 (y1_test): Likewise.
14316 (yn_test): Likewise.
14317 (significand_test): Likewise.
14319 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14320 individual tests in comment.
14321 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14322 (prev_max_error): New variable.
14323 (prev_real_max_error): Likewise.
14324 (prev_imag_max_error): Likewise.
14325 (compare_ulp_data): Don't refer to test names in comment.
14326 (find_test_ulps): Remove function.
14327 (find_function_ulps): Likewise.
14328 (find_complex_function_ulps): Likewise.
14329 (init_max_error): Take function name as argument. Look up ulps
14331 (print_ulps): Remove function.
14332 (print_max_error): Use prev_max_error instead of calling
14333 find_function_ulps.
14334 (print_complex_max_error): Use prev_real_max_error and
14335 prev_imag_max_error instead of calling find_complex_function_ulps.
14336 (check_float_internal): Take max_ulp parameter instead of calling
14337 find_test_ulps. Don't call print_ulps.
14338 (check_float): Update call to check_float_internal.
14339 (check_complex): Update calls to check_float_internal.
14340 (START): Pass argument to init_max_error.
14341 * math/gen-libm-test.pl (%results): Don't include "kind"
14343 (parse_ulps): Don't handle ulps of individual tests.
14344 (print_ulps_file): Likewise.
14345 (output_ulps): Likewise.
14346 * math/README.libm-test: Update.
14347 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14349 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14350 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14351 * sysdeps/arm/libm-test-ulps: Likewise.
14352 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14353 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14354 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14355 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14356 * sysdeps/microblaze/libm-test-ulps: Likewise.
14357 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14358 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14359 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14360 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14361 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14362 * sysdeps/sh/libm-test-ulps: Likewise.
14363 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14364 * sysdeps/tile/libm-test-ulps: Likewise.
14365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14367 2014-03-04 Joseph Myers <joseph@codesourcery.com>
14369 * math/libm-test.inc (print_complex_max_error): Check separately
14370 whether real and imaginary errors are within allowed range and
14371 pass 0 to print_complex_function_ulps instead of value within
14374 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14376 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14378 (get_handles_fopen): Likewise.
14379 (do_write_test): Likewise.
14381 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14383 * libio/fileops.c (do_ftell): Use cached offset when
14385 * libio/iofwide.c (do_ftell_wide): Likewise.
14386 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14388 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14391 * libio/libioP.h (get_file_offset): New function.
14392 * libio/fileops.c (get_file_offset): Likewise.
14393 (do_ftell): Likewise.
14394 (_IO_new_file_seekoff): Split out ftell logic.
14395 * libio/wfileops.c (do_ftell_wide): Likewise.
14396 (_IO_wfile_seekoff): Split out ftell logic.
14397 * libio/tst-ftell-active-handler.c: New test case.
14398 * libio/Makefile (tests): Add it.
14400 2014-03-03 Roland McGrath <roland@hack.frob.com>
14402 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14403 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14405 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14408 * nscd/connections.c (nscd_init): Call do_exit.
14409 (start_threads): Call do_exit and notify_parent.
14410 (begin_drop_privileges): Call do_exit.
14411 (finish_drop_privileges): Likewise.
14412 * nscd/selinux.c (preserve_capabilities): Likewise.
14413 (install_real_capabilities): Likewise.
14414 (nscd_selinux_enabled): Likewise.
14415 (avc_create_thread): Likewise.
14416 (avc_alloc_lock): Likewise.
14417 (nscd_avc_init): Likewise.
14418 * nscd/nscd.c (parent_fd): New static variable.
14419 (main): Create a pipe between parent and child processes.
14420 Skip closing parent_fd.
14421 (monitor_child): New function.
14422 (do_exit): Likewise.
14423 (notify_parent): Likewise.
14424 * nscd/nscd.h (notify_parent): Likewise.
14425 (do_exit): Likewise.
14427 2014-03-03 Carlos O'Donell <carlos@redhat.com>
14429 * malloc/malloc.c (__libc_calloc): Revert last change.
14431 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14435 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14437 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14438 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14440 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14441 (__libc_ifunc_impl_list): Likewise.
14442 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14443 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14444 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14445 * string/strrchr.c: Define STRRCHR.
14447 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
14449 * benchtest/bench-strtok.c (simple_strtok): Delete.
14450 (strtok_string): Use as benchmark.
14451 * string/strtok (STRTOK): New macro.
14453 2014-02-28 Carlos O'Donell <carlos@redhat.com>
14455 * manual/threads.texi: Add header and standard comments to all
14458 * elf/dl-lookup.c (check_match): New function.
14459 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14460 (do_lookup_x): Remove nested function check_match. Use non-nested
14461 function check_match.
14463 2014-02-28 Roland McGrath <roland@hack.frob.com>
14465 * csu/Makefile (generated, before-compile): Use += rather than =.
14466 * catgets/Makefile (generated, generated-dirs): Likewise.
14467 * debug/Makefile (generated): Likewise.
14468 * dlfcn/Makefile (generated): Likewise.
14469 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14470 * iconvdata/Makefile (before-compile, generated): Likewise.
14471 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14472 * libio/Makefile (generated): Likewise.
14473 * malloc/Makefile (generated): Likewise.
14474 * manual/Makefile (generated, generated-dirs): Likewise.
14475 * misc/Makefile (generated): Likewise.
14476 * posix/Makefile (generated): Likewise.
14477 * resolv/Makefile (generated): Likewise.
14478 * sunrpc/Makefile (generated, generated-dirs): Likewise.
14479 * timezone/Makefile (generated, generated-dirs): Likewise.
14481 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14483 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14485 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14486 power8 implementation.
14487 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14488 file: POWER8 llround ifunc implementation.
14489 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14490 (__lllround): Add POWER8 implementation.
14491 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14492 POWER8 llround implementation.
14494 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14495 power8 implementation.
14496 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14497 file: POWER8 llrint ifunc implementation.
14498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14499 Add POWER8 implementation.
14500 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14501 POWER8 llrint implementation.
14503 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14504 power8 implementation.
14505 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14506 file: POWER8 finite ifunc implementation.
14507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14508 Add POWER8 implementation.
14509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14511 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14512 POWER8 finite implementation.
14513 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14515 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14516 power8 implementation.
14517 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14518 file: POWER8 isinf ifunc implementation.
14519 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14520 POWER8 implementation.
14521 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14523 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14524 isinf implementation.
14525 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14527 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14528 (INIT_ARCH): Add hwcap2 initialization.
14529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14530 power8 implementation.
14531 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14532 file: POWER8 isnan ifunc implementation.
14533 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14534 POWER8 implementation.
14535 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14537 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14538 isnan implementation.
14539 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14541 2014-02-27 Joey Ye <joey.ye@arm.com>
14543 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14544 (_FP_NANFRAC_Q): Set to zero.
14546 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14549 * math/auto-libm-test-in: New test inputs.
14550 * math/auto-libm-test-out: Regenerate.
14551 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14554 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14556 2014-02-27 Joseph Myers <joseph@codesourcery.com>
14558 * scripts/evaluate-test.sh: Take new argument indicating whether
14559 failure is expected.
14560 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14561 indicating whether failure is expected.
14562 * conform/Makefile (test-xfail-run-conformtest): New variable.
14563 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14565 * posix/Makefile (test-xfail-annexc): New variable.
14566 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14568 2014-02-26 Joseph Myers <joseph@codesourcery.com>
14570 * argp/Makefile: Include Makeconfig immediately after defining
14572 * assert/Makefile: Likewise.
14573 * benchtests/Makefile: Likewise.
14574 * catgets/Makefile: Likewise.
14575 * conform/Makefile: Likewise.
14576 * crypt/Makefile: Likewise.
14577 * csu/Makefile: Likewise.
14578 (all): Remove target.
14579 * ctype/Makefile: Include Makeconfig immediately after defining
14581 * debug/Makefile: Likewise.
14582 * dirent/Makefile: Likewise.
14583 * dlfcn/Makefile: Likewise.
14584 * gmon/Makefile: Likewise.
14585 * gnulib/Makefile: Likewise.
14586 * grp/Makefile: Likewise.
14587 * gshadow/Makefile: Likewise.
14588 * hesiod/Makefile: Likewise.
14589 * hurd/Makefile: Likewise.
14590 (all): Remove target.
14591 * iconvdata/Makefile: Include Makeconfig immediately after
14593 * inet/Makefile: Likewise.
14594 * intl/Makefile: Likewise.
14595 * io/Makefile: Likewise.
14596 * libio/Makefile: Likewise.
14597 (all): Remove target.
14598 * locale/Makefile: Include Makeconfig immediately after defining
14600 * login/Makefile: Likewise.
14601 * mach/Makefile: Likewise.
14602 (all): Remove target.
14603 * malloc/Makefile: Include Makeconfig immediately after defining
14605 (all): Remove target.
14606 * manual/Makefile: Include Makeconfig immediately after defining
14608 * math/Makefile: Likewise.
14609 * misc/Makefile: Likewise.
14610 * nis/Makefile: Likewise.
14611 * nss/Makefile: Likewise.
14612 * po/Makefile: Likewise.
14613 (all): Remove target.
14614 * posix/Makefile: Include Makeconfig immediately after defining
14616 * pwd/Makefile: Likewise.
14617 * resolv/Makefile: Likewise.
14618 * resource/Makefile: Likewise.
14619 * rt/Makefile: Likewise.
14620 * setjmp/Makefile: Likewise.
14621 * shadow/Makefile: Likewise.
14622 * signal/Makefile: Likewise.
14623 * socket/Makefile: Likewise.
14624 * soft-fp/Makefile: Likewise.
14625 * stdio-common/Makefile: Likewise.
14626 * stdlib/Makefile: Likewise.
14627 * streams/Makefile: Likewise.
14628 * string/Makefile: Likewise.
14629 * sunrpc/Makefile: Likewise.
14630 (all): Remove target.
14631 * sysvipc/Makefile: Include Makeconfig immediately after defining
14633 * termios/Makefile: Likewise.
14634 * time/Makefile: Likewise.
14635 * timezone/Makefile: Likewise.
14636 (all): Remove target.
14637 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14639 * wctype/Makefile: Likewise.
14641 2014-02-26 Steve Ellcey <sellcey@mips.com>
14643 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14644 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14645 (libc_feholdexcept_setround_mips): Ditto.
14646 (libc_feholdsetround): New.
14647 (libc_feholdsetroundf): New.
14648 (libc_feholdsetroundl): New.
14649 (libc_feupdateenv_test_mips): New.
14650 (libc_feupdateenv_test): New.
14651 (libc_feupdateenv_testf): New.
14652 (libc_feupdateenv_testl): New.
14653 (libc_feresetround): New.
14654 (libc_feresetroundf): New.
14655 (libc_feresetroundl): New.
14656 (libc_fetestexcept_mips): New.
14657 (libc_fetestexcept): New.
14658 (libc_fetestexceptf): New.
14659 (libc_fetestexceptl): New.
14660 (HAVE_RM_CTX): New.
14661 (libc_feholdexcept_setround_mips_ctx): New.
14662 (libc_feholdexcept_setround_ctx): New.
14663 (libc_feholdexcept_setroundf_ctx): New.
14664 (libc_feholdexcept_setroundl_ctx): New.
14665 (libc_fesetenv_mips_ctx): New.
14666 (libc_fesetenv_ctx): New.
14667 (libc_fesetenv_ctxf): New.
14668 (libc_fesetenv_ctxl): New.
14669 (libc_feupdateenv_mips_ctx): New.
14670 (libc_feupdateenv_ctx): New.
14671 (libc_feupdateenvf_ctx): New.
14672 (libc_feupdateenvl_ctx): New.
14673 (libc_feholdsetround_mips_ctx): New.
14674 (libc_feholdsetround_ctx): New.
14675 (libc_feholdsetroundf_ctx): New.
14676 (libc_feholdsetroundl_ctx): New.
14677 (libc_feresetround_mips_ctx): New.
14678 (libc_feresetround_ctx): New.
14679 (libc_feresetroundf_ctx): New.
14680 (libc_feresetroundl_ctx): New.
14682 2014-02-26 Carlos O'Donell <carlos@redhat.com>
14684 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14686 * manual/ipc.texi: New file.
14687 * manual/Makefile (chapters): Add ipc.
14688 * manual/job.texi: Add "Inter-Process Communication" to next.
14689 * manual/process.texi: Add "Inter-Process Communication" to prev.
14691 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14695 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
14697 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14699 * manual/arith.texi: Fix spaces after sentences.
14700 * manual/charset.texi: Likewise.
14701 * manual/errno.texi: Likewise.
14702 * manual/install.texi: Likewise.
14703 * manual/llio.texi: Likewise.
14704 * manual/locale.texi: Likewise.
14705 * manual/maint.texi: Likewise.
14706 * manual/math.texi: Likewise.
14707 * manual/memory.texi: Likewise.
14708 * manual/message.texi: Likewise.
14709 * manual/probes.texi: Likewise.
14710 * manual/resource.texi: Likewise.
14711 * manual/signal.texi: Likewise.
14712 * manual/socket.texi: Likewise.
14713 * manual/stdio.texi: Likewise.
14714 * manual/string.texi: Likewise.
14715 * manual/time.texi: Likewise.
14716 * manual/users.texi: Likewise.
14718 2014-02-25 Carlos O'Donell <carlos@redhat.com>
14721 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14722 _DEFAULT_SOURCE is defined.
14724 2014-02-25 Ulrich Drepper <drepper@gmail.com>
14725 Carlos O'Donell <carlos@redhat.com>
14728 * elf/dl-tls.c (_dl_count_modids): New function.
14729 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14730 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14731 audit library and increment generation counter.
14732 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14733 * elf/tst-audit9.c: New file.
14734 * elf/tst-auditmod9a.c: New file.
14735 * elf/tst-auditmod9b.c: New file.
14736 * elf/Makefile: Add rules to build and run tst-audit9.
14738 2014-02-25 Florian Weimer <fweimer@redhat.com>
14741 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14743 2014-02-25 Will Newton <will.newton@linaro.org>
14745 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14746 (__longjmp): Restore sp and lr before restoring callee
14747 saved registers. Add longjmp and longjmp_target
14748 SystemTap probe point.
14749 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14750 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14751 Define to zero to match jmpbuf layout.
14752 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14753 (__sigsetjmp): Save sp and lr before saving callee
14754 saved registers. Add setjmp SystemTap probe point.
14756 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14758 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14760 2014-02-24 Andreas Schwab <schwab@suse.de>
14763 * elf/pldd.c (wait_for_ptrace_stop): New function.
14764 (main): Call it after attaching.
14766 2014-02-22 Roland McGrath <roland@hack.frob.com>
14768 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14769 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14770 Versions files is now verboten.
14771 * hurd/Versions (libc: GLIBC_2.0):
14772 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14773 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14774 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14775 * mach/Versions: Likewise.
14777 * csu/Versions: Remove unused %include.
14778 * resolv/Versions: Likewise.
14780 2014-02-21 Joseph Myers <joseph@codesourcery.com>
14782 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14783 ($(objpfx)check-local-headers.out): Likewise.
14784 ($(objpfx)begin-end-check.out): Likewise.
14785 * Makerules (check-abi-%.out): Likewise.
14786 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14787 ($(objpfx)test2.cat): Likewise.
14788 ($(objpfx)de/libc.cat): Likewise.
14789 ($(objpfx)test-gencat.out): Likewise.
14790 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14791 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14792 ($(objpfx)noload-mem): Likewise.
14793 ($(objpfx)tst-pathopt.out): Likewise.
14794 ($(objpfx)tst-rtld-load-self.out): Likewise.
14795 ($(objpfx)tst-array1-cmp.out): Likewise.
14796 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14797 ($(objpfx)tst-array2-cmp.out): Likewise.
14798 ($(objpfx)tst-array3-cmp.out): Likewise.
14799 ($(objpfx)tst-array4-cmp.out): Likewise.
14800 ($(objpfx)tst-array5-cmp.out): Likewise.
14801 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14802 ($(objpfx)check-textrel.out): Likewise.
14803 ($(objpfx)check-execstack.out): Likewise.
14804 ($(objpfx)check-localplt.out): Likewise.
14805 ($(objpfx)order2-cmp.out): Likewise.
14806 ($(objpfx)tst-leaks1-mem): Likewise.
14807 ($(objpfx)tst-leaks1-static-mem): Likewise.
14808 ($(objpfx)tst-initorder-cmp.out): Likewise.
14809 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14810 ($(objpfx)tst-unused-dep.out): Likewise.
14811 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14812 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14813 * iconv/Makefile (test-iconvconfig): Likewise.
14814 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14815 ($(objpfx)iconv-test.out): Likewise.
14816 ($(objpfx)tst-tables.out): Likewise.
14817 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14818 ($(objpfx)tst-gettext.out): Likewise.
14819 ($(objpfx)tst-translit.out): Likewise.
14820 ($(objpfx)tst-gettext2.out): Likewise.
14821 ($(objpfx)tst-gettext4.out): Likewise.
14822 ($(objpfx)tst-gettext6.out): Likewise.
14823 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14824 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14825 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14826 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14827 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14828 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14829 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14830 ($(objpfx)wordexp-tst.out): Likewise.
14831 ($(objpfx)annexc.out): Likewise.
14832 ($(objpfx)tst-fnmatch-mem): Likewise.
14833 ($(objpfx)bug-regex2-mem): Likewise.
14834 ($(objpfx)bug-regex14-mem): Likewise.
14835 ($(objpfx)bug-regex21-mem): Likewise.
14836 ($(objpfx)bug-regex31-mem): Likewise.
14837 ($(objpfx)tst-vfork3-mem): Likewise.
14838 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14839 ($(objpfx)tst-pcre-mem): Likewise.
14840 ($(objpfx)tst-boost-mem): Likewise.
14841 ($(objpfx)tst-getconf.out): Likewise.
14842 ($(objpfx)bug-ga2-mem): Likewise.
14843 ($(objpfx)bug-glob2-mem): Likewise.
14844 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14845 ($(objpfx)mtrace-tst-leaks2): Likewise.
14846 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14847 ($(objpfx)tst-printf.out): Likewise.
14848 ($(objpfx)tst-setvbuf1.out): Likewise.
14849 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14850 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14851 ($(objpfx)tst-fmtmsg.out): Likewise.
14852 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14853 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14855 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14856 * bits/sigaction.h [__USE_MISC]: Likewise.
14857 * bits/waitstatus.h: Update #endif comments.
14858 * ctype/ctype.h: Likewise.
14859 * dirent/dirent.h: Likewise.
14860 [__USE_MISC]: Remove redundant conditionals.
14861 * grp/grp.h: Update #endif comments.
14862 [__USE_GNU]: Remove redundant conditionals.
14863 [__USE_MISC]: Likewise.
14864 * inet/netinet/in.h [__USE_GNU]: Likewise.
14865 * io/sys/stat.h [__USE_MISC]: Likewise.
14866 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14867 * libio/bits/stdio.h: Update #endif comments.
14868 [__USE_MISC]: Remove redundant conditionals.
14869 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14870 * libio/stdio.h: Update #endif comments.
14871 [__USE_MISC]: Remove redundant conditionals.
14872 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14873 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14874 * math/math.h: Update #else and #endif comments.
14875 [__USE_MISC]: Remove redundant conditionals.
14876 * misc/sys/uio.h: Update #endif comments.
14877 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14878 * posix/glob.h [__USE_MISC]: Likewise.
14879 * posix/sys/types.h: Update #endif comments.
14880 [__USE_MISC]: Remove redundant conditionals.
14881 * posix/sys/wait.h: Update #endif comments.
14882 [__USE_MISC]: Remove redundant conditionals.
14883 * posix/unistd.h: Update #endif comments.
14884 [__USE_MISC]: Remove redundant conditionals.
14885 * pwd/pwd.h [__USE_GNU]: Likewise.
14886 [__USE_MISC]: Likewise.
14887 * resolv/netdb.h [__USE_GNU]: Likewise.
14888 * signal/signal.h: Update #endif comments.
14889 [__USE_MISC]: Remove redundant conditionals.
14890 * stdlib/stdlib.h: Update #else and #endif comments.
14891 [__USE_MISC]: Remove redundant conditionals.
14892 [__USE_GNU]: Likewise.
14893 * string/bits/string2.h [__USE_MISC]: Likewise.
14894 * string/string.h: Update #endif comments.
14895 [__USE_MISC]: Remove redundant conditionals.
14896 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14898 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14899 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14900 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14902 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14904 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14906 [__USE_MISC]: Remove redundant conditionals.
14907 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14908 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14909 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14910 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14911 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14913 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14914 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14916 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14917 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14919 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14921 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14922 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14924 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14926 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14927 * sysdeps/x86/bits/string.h: Update #endif comments.
14928 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14930 * time/sys/time.h: Update #endif comments.
14931 * time/time.h: Likewise.
14932 [__USE_MISC]: Remove redundant conditionals.
14934 2014-02-21 Yury Gribov <y.gribov@samsung.com>
14937 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14939 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
14941 * Versions.def (librt): Add GLIBC_2.17.
14943 2014-02-21 Adam Conrad <adconrad@0c3.net>
14945 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14946 synonym for _SYS_AUXV_H to allow direct inclusion.
14947 * sysdeps/sparc/bits/hwcap.h: Likewise.
14948 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14949 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14950 * sysdeps/sparc/sysdep.h: Likewise.
14952 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
14954 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14956 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14958 * benchtests/bench-strrchr.c: Print length instead of position.
14960 2014-02-20 Joseph Myers <joseph@codesourcery.com>
14963 * sysdeps/unix/sysv/linux/kernel-features.h
14964 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14965 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14966 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14967 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14969 [__i386__ || __powerpc__ || __sh__ || __sparc__]
14970 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14971 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14972 (__ASSUME_SENDMMSG): Define instead of using previous
14973 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14974 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14975 (__ASSUME_SENDMMSG_SYSCALL): Define.
14976 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14977 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14979 * sysdeps/unix/sysv/linux/arm/kernel-features.h
14980 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14982 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14983 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14985 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14986 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14987 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14988 [__ASSUME_SENDMMSG]: Change conditionals to
14989 [__ASSUME_SENDMMSG_SOCKETCALL].
14990 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14991 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14993 * sysdeps/unix/sysv/linux/mips/kernel-features.h
14994 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14996 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14997 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14998 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14999 [!__ASSUME_SENDMMSG]: Change conditional to
15000 [!__ASSUME_SENDMMSG_SOCKETCALL].
15001 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15002 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15006 * sysdeps/unix/sysv/linux/kernel-features.h
15007 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15008 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15009 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15010 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15011 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15012 [__i386__ || __sparc__]
15013 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15014 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15015 (__ASSUME_RECVMMSG): Define instead of using previous
15016 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15017 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15018 (__ASSUME_RECVMMSG_SYSCALL): Define.
15019 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15020 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15022 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15023 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15025 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15026 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15028 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15029 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15030 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15031 [__ASSUME_RECVMMSG]: Change condition to
15032 [__ASSUME_RECVMMSG_SOCKETCALL].
15033 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15034 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15036 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15037 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15038 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15040 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15041 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15042 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15043 [!__ASSUME_RECVMMSG]: Change condition to
15044 [!__ASSUME_RECVMMSG_SOCKETCALL].
15045 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15046 (__ASSUME_RECVMMSG_SYSCALL): Define.
15049 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15050 __powerpc__ || __s390__ || __sh__ || __sparc__]
15051 (__ASSUME_SOCKETCALL): Define.
15052 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15053 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15054 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15055 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15056 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15057 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15058 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15059 (__ASSUME_ACCEPT4): Define instead of using previous
15060 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15061 __powerpc__ || __sparc__ || __s390__)] condition.
15062 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15063 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15064 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15065 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15066 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15067 [!__ASSUME_ACCEPT4]: Change condition to
15068 [!__ASSUME_ACCEPT4_SOCKETCALL].
15069 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15070 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15071 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15072 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15073 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15074 __ASSUME_ACCEPT4_SYSCALL.
15075 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15076 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15077 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15078 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15079 __ASSUME_ACCEPT4_SYSCALL.
15080 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15081 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15082 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15083 [__ASSUME_ACCEPT4]: Change condition to
15084 [__ASSUME_ACCEPT4_SOCKETCALL].
15085 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15086 (__ASSUME_SOCKETCALL): Define.
15087 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15088 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15089 (__ASSUME_SOCKETCALL): Define.
15090 (__ASSUME_ACCEPT4): Remove.
15091 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15093 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15094 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15096 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15097 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15099 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15101 (HWCAP_ARM_LPAE): Likewise.
15102 (HWCAP_ARM_EVTSTRM): Likewise.
15103 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15104 Add vpfd32, lpae and evtstrm.
15105 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15108 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15110 * math/auto-libm-test-in: Add tests of clog10.
15111 * math/auto-libm-test-out: Regenerated.
15112 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15113 * sysdeps/i386/fpu/libm-test-ulps: Update.
15114 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15116 2014-02-18 Andreas Schwab <schwab@suse.de>
15119 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15120 Store non-zero if the second buffer was newly allocated.
15121 (send_dg): Likewise.
15122 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15123 to send_vc and send_dg.
15124 (res_nsend): Pass NULL for ansp2_malloced.
15125 * resolv/res_query.c (__libc_res_nquery): Add parameter
15126 answerp2_malloced and pass it down to __libc_res_nsend.
15127 (res_nquery): Pass additional NULL to __libc_res_nquery.
15128 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15129 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15130 second answer buffer if answerp2_malloced was set.
15131 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15132 (__libc_res_nquerydomain): Add parameter
15133 answerp2_malloced and pass it down to __libc_res_nquery.
15134 (res_nquerydomain): Pass additional NULL to
15135 __libc_res_nquerydomain.
15136 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15137 additional NULL to __libc_res_nsend and __libc_res_nquery.
15138 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15139 additional NULL to __libc_res_nsearch.
15140 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15141 parameter of __libc_res_nsearch to check for separately allocated
15143 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15145 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15146 additional NULL to __libc_res_nquery.
15147 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15148 __libc_res_nsearch.
15149 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15150 * include/resolv.h: Update prototypes of __libc_res_nquery,
15151 __libc_res_nsearch, __libc_res_nsend.
15153 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15155 * math/auto-libm-test-in: Add tests of fma.
15156 * math/auto-libm-test-out: Regenerated.
15157 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15158 (fma_towardzero_test_data): Likewise.
15159 (fma_downward_test_data): Likewise.
15160 (fma_upward_test_data): Likewise.
15161 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15163 (rounding_modes): Add values for new field.
15164 (func_calc_method): Add value mpfr_fff_f.
15165 (func_calc_desc): Add mpfr_fff_f union field.
15166 (test_function): Add field exact_args.
15167 (FUNC): Add macro argument EXACT_ARGS.
15168 (FUNC_mpfr_f_f): Update call to FUNC.
15169 (FUNC_mpfr_f_f): Likewise.
15170 (FUNC_mpfr_ff_f): Likewise.
15171 (FUNC_mpfr_if_f): Likewise.
15172 (FUNC_mpc_c_f): Likewise.
15173 (FUNC_mpc_c_c): Likewise.
15174 (test_functions): Add fma. Update calls to FUNC.
15175 (handle_input_arg): Add argument exact_args.
15176 (add_test): Update call to handle_input_arg.
15177 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15178 (output_for_one_input_case): Update call to calc_generic_results.
15179 Recalculate exact zero results in each rounding mode.
15181 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15182 non-negative before setting low bit.
15183 * math/auto-libm-test-in: Mark one asin test possibly having
15184 spurious underflow.
15185 * math/auto-libm-test-out: Regenerated.
15186 * sysdeps/i386/fpu/libm-test-ulps: Update.
15187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15189 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15191 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15192 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15193 ports/sysdeps/unix/sysv/linux/microblaze.
15194 * README: Add missing listing for microblaze*-*-linux-gnu.
15196 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15198 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15201 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15203 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15204 * sysdeps/unix/sysv/linux/ia64: Move directory from
15205 ports/sysdeps/unix/sysv/linux/ia64.
15206 * README: Update listing for ia64-*-linux-gnu.
15208 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15209 Joseph Myers <joseph@codesourcery.com>
15211 * Makeconfig (test-name): New variable.
15212 (evaluate-test): Likewise.
15213 * Makerules (do-test-clean): Remove .test-result files.
15214 (common-mostlyclean): Likewise.
15215 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15216 * scripts/evaluate-test.sh: New file.
15218 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15220 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15221 separate $(objpfx)tst-fopenloc-cmp.out and
15222 $(objpfx)tst-fopenloc-mem.out targets.
15223 (tests): Update dependencies.
15224 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15225 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15226 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15227 (tst-rxspencer-no-utf8-ARGS): New variable.
15228 (tst-rxspencer-no-utf8-ENV): Likewise.
15229 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15230 instead of $(objpfx)tst-rxspencer-mem.
15231 ($(objpfx)tst-rxspencer-mem): Change target to
15232 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15233 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15234 * posix/tst-rxspencer-no-utf8.c: New file.
15236 * elf/Makefile ($(objpfx)order.out): Remove rule.
15237 [$(run-built-tests) = yes] (tests): Depend on
15238 $(objpfx)order-cmp.out.
15239 ($(objpfx)order-cmp.out): New rule.
15240 [$(run-built-tests) = yes] (tests): Depend on
15241 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15242 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15243 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15244 $(objpfx)tst-array5-static-cmp.out.
15245 ($(objpfx)tst-array1.out): Remove rule.
15246 ($(objpfx)tst-array1-cmp.out): New rule.
15247 ($(objpfx)tst-array1-static.out): Remove rule.
15248 ($(objpfx)tst-array1-static-cmp.out): New rule.
15249 ($(objpfx)tst-array2.out): Remove rule.
15250 ($(objpfx)tst-array2-cmp.out): New rule.
15251 ($(objpfx)tst-array3.out): Remove rule.
15252 ($(objpfx)tst-array3-cmp.out): New rule.
15253 ($(objpfx)tst-array4.out): Remove rule.
15254 ($(objpfx)tst-array4-cmp.out): New rule.
15255 ($(objpfx)tst-array5.out): Remove rule.
15256 ($(objpfx)tst-array5-cmp.out): New rule.
15257 ($(objpfx)tst-array5-static.out): Remove rule.
15258 ($(objpfx)tst-array5-static-cmp.out): New rule.
15259 [$(run-built-tests) = yes] (tests): Depend on
15260 $(objpfx)order2-cmp.out.
15261 ($(objpfx)order2.out): Remove rule.
15262 ($(objpfx)order2-cmp.out): New rule.
15263 ($(objpfx)tst-initorder.out): Remove rule.
15264 [$(run-built-tests) = yes] (tests): Depend on
15265 $(objpfx)tst-initorder-cmp.out.
15266 ($(objpfx)tst-initorder-cmp.out): New rule.
15267 ($(objpfx)tst-initorder2.out): Remove rule.
15268 [$(run-built-tests) = yes] (tests): Depend on
15269 $(objpfx)tst-initorder2-cmp.out.
15270 ($(objpfx)tst-initorder2-cmp.out): New rule.
15271 [$(run-built-tests) = yes] (tests): Depend on
15272 $(objpfx)tst-unused-dep-cmp.out.
15273 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15274 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15275 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15276 on $(objpfx)tst-setvbuf1-cmp.out.
15277 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15278 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15279 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15280 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15281 ($(objpfx)tst-svc.out): Remove rule.
15282 ($(objpfx)tst-svc-cmp.out): New rule.
15284 2014-02-13 Joseph Myers <joseph@codesourcery.com>
15286 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15287 * ctype/ctype.h [__USE_MISC]: Likewise.
15288 * dirent/dirent.h [__USE_MISC]: Likewise.
15289 * grp/grp.h [__USE_MISC]: Likewise.
15290 * io/fcntl.h [__USE_MISC]: Likewise.
15291 * io/sys/stat.h [__USE_MISC]: Likewise.
15292 * libio/stdio.h [__USE_MISC]: Likewise.
15293 * posix/unistd.h [__USE_MISC]: Likewise.
15294 * pwd/pwd.h [__USE_MISC]: Likewise.
15295 * stdlib.h [__USE_MISC]: Likewise.
15296 * string/bits/string2.h [__USE_MISC]: Likewise.
15297 * string/string.h [__USE_MISC]: Likewise.
15298 * time/time.h [__USE_MISC]: Likewise.
15300 2014-02-13 Andreas Schwab <schwab@suse.de>
15303 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15304 second answer buffer if it was separately allocated.
15306 2014-02-12 Joseph Myers <joseph@codesourcery.com>
15308 * sysdeps/mips/math-tests.h: Include <features.h>.
15309 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15310 (ROUNDING_TESTS_long_double): Do not define.
15311 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15312 (EXCEPTION_TESTS_long_double): Likewise.
15313 * sysdeps/mips/mips64/libm-test-ulps: Update.
15315 * include/features.h (__USE_BSD): Remove macro definitions.
15316 (__USE_SVID): Likewise.
15317 (_BSD_SOURCE): Likewise.
15318 (_SVID_SOURCE): Likewise.
15319 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15320 from definition of _DEFAULT_SOURCE.
15321 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15323 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15324 * bits/mman.h [__USE_BSD]: Likewise.
15325 * bits/termios.h [__USE_BSD]: Likewise.
15326 * bits/waitstatus.h [__USE_BSD]: Likewise.
15327 * ctype/ctype.h [__USE_SVID]: Likewise.
15328 * dirent/dirent.h [__USE_BSD]: Likewise.
15329 * grp/grp.h [__USE_SVID]: Likewise.
15330 [__USE_BSD]: Likewise.
15331 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15332 * io/fcntl.h [__USE_BSD]: Likewise.
15333 * io/ftw.h [__USE_BSD]: Likewise.
15334 * io/sys/stat.h [__USE_BSD]: Likewise.
15335 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15336 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15337 * libio/stdio.h [__USE_SVID]: Likewise.
15338 [__USE_BSD]: Likewise.
15339 * math/math.h [__USE_SVID]: Likewise.
15340 [__USE_BSD]: Likewise.
15341 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15342 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15343 * misc/search.h [__USE_SVID]: Likewise.
15344 * misc/sys/mman.h [__USE_BSD]: Likewise.
15345 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15346 * misc/sys/uio.h [__USE_BSD]: Likewise.
15347 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15348 * posix/glob.h [__USE_BSD]: Likewise.
15349 * posix/regex.h [__USE_BSD]: Likewise.
15350 * posix/sys/types.h [__USE_BSD]: Likewise.
15351 [__USE_SVID]: Likewise.
15352 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15353 * posix/sys/wait.h [__USE_BSD]: Likewise.
15354 [__USE_SVID]: Likewise.
15355 * posix/unistd.h [__USE_BSD]: Likewise.
15356 [__USE_SVID]: Likewise.
15357 * pwd/pwd.h [__USE_SVID]: Likewise.
15358 * resolv/netdb.h [__USE_BSD]: Likewise.
15359 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15360 * signal/signal.h [__USE_BSD]: Likewise.
15361 [__USE_SVID]: Likewise.
15362 * socket/sys/socket.h [__USE_BSD]: Likewise.
15363 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15364 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15365 [__USE_SVID]: Likewise.
15366 * string/bits/string2.h [__USE_BSD]: Likewise.
15367 [__USE_SVID]: Likewise.
15368 * string/bits/string3.h [__USE_BSD]: Likewise.
15369 * string/endian.h [__USE_BSD]: Likewise.
15370 * string/string.h [__USE_SVID]: Likewise.
15371 [__USE_BSD]: Likewise.
15372 * string/strings.h [__USE_BSD]: Likewise.
15373 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15374 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15375 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15376 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15377 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15378 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15380 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15382 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15383 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15385 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15386 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15388 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15390 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15391 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15392 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15394 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15396 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15397 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15398 * termios/termios.h [__USE_BSD]: Likewise.
15399 * time/sys/time.h [__USE_BSD]: Likewise.
15400 * time/time.h [__USE_BSD]: Likewise.
15401 [__USE_SVID]: Likewise.
15403 * Makefile (subdir_targets): Remove subdir_lint.out.
15405 * stdio-common/Makefile (do-tst-unbputc): Remove target.
15406 (do-tst-printf): Likewise.
15407 (tests): Depend directly on $(objpfx)tst-unbputc.out and
15408 $(objpfx)tst-printf.out.
15410 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15412 * Makerules (check-abi-%): Change target to
15413 $(objpfx)check-abi-%.out.
15414 (check-abi target): Update dependencies.
15415 (check-abi-pattern variable): Redirect output of diff to $@.
15416 (check-abi variable): Likewise.
15417 * elf/Makefile (check-abi): Update dependencies.
15419 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15421 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15422 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15424 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15425 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15426 value has largest subnormal exponent.
15427 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15428 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15429 * sysdeps/aarch64/soft-fp/sfp-machine.h
15430 (_FP_TININESS_AFTER_ROUNDING): New macro.
15431 * sysdeps/alpha/soft-fp/sfp-machine.h
15432 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15433 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15435 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15436 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15437 * sysdeps/mips/soft-fp/sfp-machine.h
15438 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15439 * sysdeps/powerpc/soft-fp/sfp-machine.h
15440 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15441 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15443 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15444 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15445 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15446 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15447 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15450 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
15453 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15456 2014-02-12 Richard Henderson <rth@redhat.com>
15458 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15459 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15460 * sysdeps/unix/sysv/linux/alpha: Move directory from
15461 ports/sysdeps/unix/sysv/linux/alpha.
15462 * README: Update listing for alpha-*-linux-gnu.
15464 2014-02-11 Joseph Myers <joseph@codesourcery.com>
15466 * include/features.h: Update comment documenting feature test
15468 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
15470 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15471 (_SVID_SOURCE): Likewise.
15472 (_DEFAULT_SOURCE): Update description of default features.
15473 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15475 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15476 (S_ISVTX): Likewise.
15477 * manual/math.texi (Mathematical Constants): Likewise.
15478 * manual/signal.texi (Interrupted Primitives): Likewise.
15479 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15480 * math/test-matherr.c (_SVID_SOURCE): Do not define.
15481 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15482 Don't refer to _SVID_SOURCE in warning text.
15484 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15486 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15488 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15489 * sysdeps/mips/dl-lookup.c: Remove.
15490 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15492 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15495 * math/auto-libm-test-in: Add testcase for expl.
15496 * math/auto-libm-test-out: Regenerate.
15497 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15498 calculation of unsafe.
15499 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15501 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
15503 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15504 * sysdeps/unix/sysv/linux/aarch64: Move directory from
15505 ports/sysdeps/unix/sysv/linux/aarch64.
15506 * README: Update listing for aarch64*-*-linux-gnu.
15508 2014-02-11 Will Newton <will.newton@linaro.org>
15510 * manual/probes.texi (Mathematical Function Probes): Use
15511 "triggered" instead of "hit".
15513 * manual/probes.texi (Internal Probes): Add documentation
15514 of setjmp, longjmp and longjmp_target probes.
15516 * include/stap-probe.h: Add comment about probe argument
15519 * malloc/mtrace.c (attribute_hidden): Remove unused macro
15520 definition. (tr_where, tr_freehook, tr_mallochook,
15521 tr_reallochook, tr_memalignhook): Use ANSI protoype.
15523 2014-02-11 David S. Miller <davem@davemloft.net>
15525 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15526 processing int_tests.
15528 2014-02-10 Joseph Myers <joseph@codesourcery.com>
15530 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15531 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15532 * sysdeps/unix/sysv/linux/mips: Move directory from
15533 ports/sysdeps/unix/sysv/linux/mips.
15534 * README: Update listing for mips-*-linux-gnu and
15535 mips64-*-linux-gnu.
15537 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
15539 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15540 * sysdeps/unix/sysv/linux/m68k: Move directory from
15541 ports/sysdeps/unix/sysv/linux/m68k.
15542 * README: Update listing for m68k-*-linux-gnu.
15544 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
15546 * sysdeps/tile: Move directory from ports/sysdeps/tile.
15547 * sysdeps/unix/sysv/linux/generic: Move directory from
15548 ports/sysdeps/unix/sysv/linux/generic.
15549 * sysdeps/unix/sysv/linux/tile: Move directory from
15550 ports/sysdeps/unix/sysv/linux/tile.
15551 * README: Update listing for tile*-*-linux-gnu.
15553 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
15555 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15557 * benchtests/bench-memmem.c (simple_memmem): Likewise.
15558 * catgets/open_catalog.c (__open_catalog): Likewise.
15559 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15560 * debug/confstr_chk.c: Likewise.
15561 * debug/fread_chk.c (__fread_chk): Likewise.
15562 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15563 * debug/getgroups_chk.c: Likewise.
15564 * debug/mbsnrtowcs_chk.c: Likewise.
15565 * debug/mbsrtowcs_chk.c: Likewise.
15566 * debug/mbstowcs_chk.c: Likewise.
15567 * debug/memcpy_chk.c: Likewise.
15568 * debug/memmove_chk.c: Likewise.
15569 * debug/mempcpy_chk.c: Likewise.
15570 * debug/memset_chk.c: Likewise.
15571 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15572 * debug/strcat_chk.c (__strcat_chk): Likewise.
15573 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15574 * debug/strncat_chk.c (__strncat_chk): Likewise.
15575 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15576 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15577 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15578 * debug/wcpncpy_chk.c: Likewise.
15579 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15580 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15581 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15582 * debug/wcsncpy_chk.c: Likewise.
15583 * debug/wcsnrtombs_chk.c: Likewise.
15584 * debug/wcsrtombs_chk.c: Likewise.
15585 * debug/wcstombs_chk.c: Likewise.
15586 * debug/wmemcpy_chk.c: Likewise.
15587 * debug/wmemmove_chk.c: Likewise.
15588 * debug/wmempcpy_chk.c: Likewise.
15589 * debug/wmemset_chk.c: Likewise.
15590 * dirent/scandirat.c (SCANDIRAT): Likewise.
15591 * dlfcn/dladdr1.c (dladdr1): Likewise.
15592 * dlfcn/dladdr.c (dladdr): Likewise.
15593 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15594 * dlfcn/dlerror.c (__dlerror): Likewise.
15595 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15596 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15597 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15598 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15599 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15600 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15601 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15602 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15604 * elf/dl-conflict.c: Likewise.
15605 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15606 * elf/dl-dst.h: Likewise.
15607 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15608 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15609 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15610 * elf/dl-init.c (call_init, _dl_init): Likewise.
15611 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15612 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15613 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15615 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15617 * elf/dl-minimal.c (__libc_memalign): Likewise.
15618 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15619 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15620 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15621 * elf/dl-sym.c (do_sym): Likewise.
15622 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15623 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15624 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15625 * elf/dl-writev.h (_dl_writev): Likewise.
15626 * elf/ldconfig.c (search_dir): Likewise.
15627 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15628 (dl_main): Likewise.
15629 * elf/setup-vdso.h (setup_vdso): Likewise.
15630 * grp/compat-initgroups.c (compat_call): Likewise.
15631 * grp/fgetgrent.c (fgetgrent): Likewise.
15632 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15633 * grp/putgrent.c (putgrent): Likewise.
15634 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15636 * hurd/hurdinit.c: Likewise.
15637 * iconvdata/8bit-gap.c (struct): Likewise.
15638 * iconvdata/ansi_x3.110.c : Likewise.
15639 * iconvdata/big5.c : Likewise.
15640 * iconvdata/big5hkscs.c : Likewise.
15641 * iconvdata/cp1255.c: Likewise.
15642 * iconvdata/cp1258.c : Likewise.
15643 * iconvdata/cp932.c : Likewise.
15644 * iconvdata/euc-cn.c: Likewise.
15645 * iconvdata/euc-jisx0213.c : Likewise.
15646 * iconvdata/euc-jp.c: Likewise.
15647 * iconvdata/euc-jp-ms.c : Likewise.
15648 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15649 * iconvdata/gb18030.c : Likewise.
15650 * iconvdata/gbbig5.c (const): Likewise.
15651 * iconvdata/gbgbk.c: Likewise.
15652 * iconvdata/gbk.c : Likewise.
15653 * iconvdata/ibm1364.c : Likewise.
15654 * iconvdata/ibm930.c : Likewise.
15655 * iconvdata/ibm932.c: Likewise.
15656 * iconvdata/ibm933.c : Likewise.
15657 * iconvdata/ibm935.c : Likewise.
15658 * iconvdata/ibm937.c : Likewise.
15659 * iconvdata/ibm939.c : Likewise.
15660 * iconvdata/ibm943.c: Likewise.
15661 * iconvdata/iso_11548-1.c: Likewise.
15662 * iconvdata/iso-2022-cn.c : Likewise.
15663 * iconvdata/iso-2022-cn-ext.c : Likewise.
15664 * iconvdata/iso-2022-jp-3.c: Likewise.
15665 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15666 * iconvdata/iso-2022-kr.c : Likewise.
15667 * iconvdata/iso646.c (gconv_end): Likewise.
15668 * iconvdata/iso_6937-2.c : Likewise.
15669 * iconvdata/iso_6937.c : Likewise.
15670 * iconvdata/iso8859-1.c: Likewise.
15671 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15672 * iconvdata/shift_jisx0213.c : Likewise.
15673 * iconvdata/sjis.c : Likewise.
15674 * iconvdata/t.61.c : Likewise.
15675 * iconvdata/tcvn5712-1.c : Likewise.
15676 * iconvdata/tscii.c: Likewise.
15677 * iconvdata/uhc.c : Likewise.
15678 * iconvdata/unicode.c (gconv_end): Likewise.
15679 * iconvdata/utf-16.c (gconv_end): Likewise.
15680 * iconvdata/utf-32.c (gconv_end): Likewise.
15681 * iconvdata/utf-7.c (base64): Likewise.
15682 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15683 * iconv/gconv_close.c (__gconv_close): Likewise.
15684 * iconv/gconv_open.c (__gconv_open): Likewise.
15685 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15686 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15687 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15688 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15689 (ucs4le_internal_loop_single): Likewise.
15690 * iconv/iconv.c (iconv): Likewise.
15691 * iconv/iconv_close.c: Likewise.
15692 * iconv/loop.c (SINGLE): Likewise.
15693 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15694 * include/atomic.h: Likewise.
15695 * inet/inet6_option.c (option_alloc): Likewise.
15696 * intl/bindtextdom.c (set_binding_values): Likewise.
15697 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15698 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15699 * intl/localealias.c (read_alias_file): Likewise.
15700 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15701 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15702 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15703 * libio/fmemopen.c (fmemopen): Likewise.
15704 * libio/iofgets.c (_IO_fgets): Likewise.
15705 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15706 * libio/iofgetws.c (fgetws): Likewise.
15707 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15708 * libio/iogetdelim.c (_IO_getdelim): Likewise.
15709 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15710 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15711 * locale/findlocale.c (_nl_find_locale): Likewise.
15712 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15713 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15715 * locale/setlocale.c (setlocale): Likewise.
15716 * login/programs/pt_chown.c (main): Likewise.
15717 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15718 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15719 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15720 (mmap, mmap64, mremap, munmap): Likewise.
15721 * math/e_exp2l.c: Likewise.
15722 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15723 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15724 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15725 * math/s_catan.c (__catan): Likewise.
15726 * math/s_catanf.c (__catanf): Likewise.
15727 * math/s_catanh.c (__catanh): Likewise.
15728 * math/s_catanhf.c (__catanhf): Likewise.
15729 * math/s_catanhl.c (__catanhl): Likewise.
15730 * math/s_catanl.c (__catanl): Likewise.
15731 * math/s_ccosh.c (__ccosh): Likewise.
15732 * math/s_ccoshf.c (__ccoshf): Likewise.
15733 * math/s_ccoshl.c (__ccoshl): Likewise.
15734 * math/s_cexp.c (__cexp): Likewise.
15735 * math/s_cexpf.c (__cexpf): Likewise.
15736 * math/s_cexpl.c (__cexpl): Likewise.
15737 * math/s_clog10.c (__clog10): Likewise.
15738 * math/s_clog10f.c (__clog10f): Likewise.
15739 * math/s_clog10l.c (__clog10l): Likewise.
15740 * math/s_clog.c (__clog): Likewise.
15741 * math/s_clogf.c (__clogf): Likewise.
15742 * math/s_clogl.c (__clogl): Likewise.
15743 * math/s_csin.c (__csin): Likewise.
15744 * math/s_csinf.c (__csinf): Likewise.
15745 * math/s_csinh.c (__csinh): Likewise.
15746 * math/s_csinhf.c (__csinhf): Likewise.
15747 * math/s_csinhl.c (__csinhl): Likewise.
15748 * math/s_csinl.c (__csinl): Likewise.
15749 * math/s_csqrt.c (__csqrt): Likewise.
15750 * math/s_csqrtf.c (__csqrtf): Likewise.
15751 * math/s_csqrtl.c (__csqrtl): Likewise.
15752 * math/s_ctan.c (__ctan): Likewise.
15753 * math/s_ctanf.c (__ctanf): Likewise.
15754 * math/s_ctanh.c (__ctanh): Likewise.
15755 * math/s_ctanhf.c (__ctanhf): Likewise.
15756 * math/s_ctanhl.c (__ctanhl): Likewise.
15757 * math/s_ctanl.c (__ctanl): Likewise.
15758 * math/w_pow.c: Likewise.
15759 * math/w_powf.c: Likewise.
15760 * math/w_powl.c: Likewise.
15761 * math/w_scalb.c (sysv_scalb): Likewise.
15762 * math/w_scalbf.c (sysv_scalbf): Likewise.
15763 * math/w_scalbl.c (sysv_scalbl): Likewise.
15764 * misc/error.c (error_tail): Likewise.
15765 * misc/pselect.c (__pselect): Likewise.
15766 * nis/nis_callback.c (__nis_create_callback): Likewise.
15767 * nis/nis_call.c (__nisfind_server): Likewise.
15768 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15769 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15770 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15771 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15772 * nis/nis_lookup.c (nis_lookup): Likewise.
15773 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15774 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15775 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15776 * nis/nis_xdr.c (xdr_endpoint): Likewise.
15777 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15778 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15779 * nis/nss_compat/compat-initgroups.c (add_group)
15780 (internal_getgrent_r): Likewise.
15781 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15782 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15783 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15784 (internal_getspnam_r): Likewise.
15785 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15786 (_nss_nis_getaliasbyname_r): Likewise.
15787 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15788 (_nss_nis_getntohost_r): Likewise.
15789 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15790 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15791 (_nss_nis_getgrgid_r): Likewise.
15792 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15793 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15794 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15795 (_nss_nis_gethostbyname4_r): Likewise.
15796 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15797 (initgroups_netid): Likewise.
15798 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15799 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15800 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15801 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15802 (_nss_nis_getprotobynumber_r): Likewise.
15803 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15804 (_nss_nis_getsecretkey): Likewise.
15805 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15806 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15807 (_nss_nis_getpwuid_r): Likewise.
15808 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15809 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15810 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15811 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15812 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15813 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15814 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15816 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15817 (_nss_nisplus_getntohost_r): Likewise.
15818 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15819 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15820 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15821 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15823 * nis/nss_nisplus/nisplus-initgroups.c
15824 (_nss_nisplus_initgroups_dyn): Likewise.
15825 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15826 (_nss_nisplus_getnetbyaddr_r): Likewise.
15827 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15828 (_nss_nisplus_getprotobynumber_r): Likewise.
15829 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15830 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15831 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15833 * nis/nss_nisplus/nisplus-service.c
15834 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15835 (_nss_nisplus_getservbyport_r): Likewise.
15836 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15837 (_nss_nisplus_getspnam_r): Likewise.
15838 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15840 * nscd/aicache.c (addhstaiX): Likewise.
15841 * nscd/cache.c (cache_search, prune_cache): Likewise.
15842 * nscd/connections.c (register_traced_file, send_ro_fd)
15843 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15844 (main_loop_epoll): Likewise.
15845 * nscd/grpcache.c (addgrbyX): Likewise.
15846 * nscd/hstcache.c (addhstbyX): Likewise.
15847 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15848 * nscd/mem.c (gc, mempool_alloc): Likewise.
15849 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15850 (addinnetgrX): Likewise.
15851 * nscd/nscd-client.h (__nscd_acquire_maplock)
15852 (__nscd_drop_map_ref): Likewise.
15853 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15854 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15855 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15857 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15858 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15859 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15860 (__nscd_get_map_ref): Likewise.
15861 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15862 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15864 * nscd/pwdcache.c (addpwbyX): Likewise.
15865 * nscd/selinux.c (preserve_capabilities): Likewise.
15866 * nscd/servicescache.c (addservbyX): Likewise.
15867 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15868 * posix/fnmatch.c (fnmatch): Likewise.
15869 * posix/getopt.c (_getopt_internal_r): Likewise.
15870 * posix/glob.c (glob, glob_in_dir): Likewise.
15871 * posix/wordexp.c (exec_comm_child): Likewise.
15872 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15873 (getanswer_r, gaih_getanswer_slice): Likewise.
15874 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15875 * resolv/res_init.c: Likewise.
15876 * resolv/res_mkquery.c (res_nmkquery): Likewise.
15877 * resolv/res_query.c (__libc_res_nquery): Likewise.
15878 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15880 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15881 * stdio-common/perror.c (perror): Likewise.
15882 * stdio-common/printf_fp.c (___printf_fp): Likewise.
15883 * stdio-common/tmpnam.c (tmpnam): Likewise.
15884 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15885 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15886 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15888 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15889 * stdlib/putenv.c (putenv): Likewise.
15890 * stdlib/setenv.c (__add_to_environ): Likewise.
15891 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15892 * stdlib/strtol_l.c (INTERNAL): Likewise.
15893 * string/memmem.c (memmem): Likewise.
15894 * string/strerror.c (strerror): Likewise.
15895 * string/strnlen.c (__strnlen): Likewise.
15896 * string/test-memmem.c (simple_memmem): Likewise.
15897 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15898 * sunrpc/pm_getport.c (__get_socket): Likewise.
15899 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15900 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15901 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15902 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15904 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15905 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15906 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15907 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15908 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15909 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15911 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15913 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15914 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15915 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15916 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15917 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15918 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15919 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15920 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15921 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15922 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15923 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15924 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15926 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15928 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15930 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15931 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15932 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15933 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15934 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15935 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15936 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15937 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15938 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15939 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15940 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15941 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15942 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15943 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15944 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15945 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15947 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15949 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15951 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15953 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15954 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15955 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15957 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15958 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15959 * sysdeps/posix/opendir.c (__opendirat): Likewise.
15960 * sysdeps/posix/sleep.c: Likewise.
15961 * sysdeps/posix/tempname.c: Likewise.
15962 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15963 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15965 * sysdeps/powerpc/powerpc32/dl-machine.h
15966 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15967 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15968 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15969 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15970 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15972 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15973 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15974 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15975 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15976 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15977 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15978 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15979 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15980 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15981 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15982 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15983 (elf_machine_lazy_rel): Likewise.
15984 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15985 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15986 (elf_machine_lazy_rel): Likewise.
15987 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15988 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15989 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15990 * sysdeps/unix/grantpt.c (grantpt): Likewise.
15991 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15992 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15993 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15994 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15996 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15997 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15998 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15999 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16000 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16001 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16002 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16003 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16004 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16005 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16006 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16008 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16009 (__posix_fallocate64_l64): Likewise.
16010 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16011 (posix_fallocate): Likewise.
16012 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16014 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16015 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16016 (getifaddrs_internal): Likewise.
16017 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16018 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16019 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16020 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16021 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16022 (__posix_fallocate64_l64): Likewise.
16023 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16025 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16026 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16027 (__get_clockfreq): Likewise.
16028 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16029 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16030 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16031 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16032 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16033 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16034 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16035 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16037 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16038 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16039 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16040 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16041 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16042 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16043 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16045 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16046 (posix_fallocate): Likewise.
16047 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16048 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16049 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16050 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16051 (elf_machine_rela, elf_machine_rela_relative)
16052 (elf_machine_lazy_rel): Likewise.
16053 * time/asctime.c (asctime_internal): Likewise.
16054 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16055 * time/tzset.c (__tzset_parse_tz): Likewise.
16056 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16057 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16058 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16059 * wcsmbs/wcsmbsload.h: Likewise.
16062 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16064 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16065 (arena_get2): Remove THREAD_STATS conditionals.
16066 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16067 (__malloc_stats, int): Likewise.
16069 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16071 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16072 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16074 * manual/setjmp.texi: Fix typos/grammar errors.
16076 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16077 Only return early when n is <= 0. Delete unused return statement.
16079 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16080 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16081 * debug/tst-longjmp_chk3.c: New file.
16083 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16084 (test_main): Replace code with set_fortify_handler call.
16085 * debug/test-strcpy_chk.c: Likewise.
16086 * debug/tst-chk1.c: Likewise.
16087 * debug/tst-longjmp_chk.c: Likewise.
16088 * test-skeleton.c: Include fcntl.h & paths.h
16089 (set_fortify_handler): Define.
16091 * debug/tst-longjmp_chk.c: Add header comment and include
16092 ../test-skeleton.c.
16093 (do_test): Mark static.
16094 (TEST_FUNCTION): Define.
16096 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16097 (IP_PMTUDISC_INTERFACE): Likewise.
16098 (IP_MULTICAST_IF): Likewise.
16099 (IP_MULTICAST_TTL): Likewise.
16100 (IP_MULTICAST_LOOP): Likewise.
16101 (IP_ADD_MEMBERSHIP): Likewise.
16102 (IP_DROP_MEMBERSHIP): Likewise.
16103 (IP_UNBLOCK_SOURCE): Likewise.
16104 (IP_BLOCK_SOURCE): Likewise.
16105 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16106 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16107 (IP_MSFILTER): Likewise.
16108 (MCAST_JOIN_GROUP): Likewise.
16109 (MCAST_BLOCK_SOURCE): Likewise.
16110 (MCAST_UNBLOCK_SOURCE): Likewise.
16111 (MCAST_LEAVE_GROUP): Likewise.
16112 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16113 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16114 (MCAST_MSFILTER): Likewise.
16115 (IP_MULTICAST_ALL): Likewise.
16116 (IP_UNICAST_IF): Likewise.
16118 * timezone/Makefile: Delete $(have-ksh) check.
16119 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16120 * timezone/tzselect.ksh: Add +x mode bits.
16122 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16123 (ANON_INODE_FS_MAGIC): Likewise.
16124 (BDEVFS_MAGIC): Likewise.
16125 (BINFMTFS_MAGIC): Likewise.
16126 (BTRFS_TEST_MAGIC): Likewise.
16127 (CRAMFS_MAGIC_WEND): Likewise.
16128 (DEBUGFS_MAGIC): Likewise.
16129 (ECRYPTFS_SUPER_MAGIC): Likewise.
16130 (EXT3_SUPER_MAGIC): Likewise.
16131 (EXT4_SUPER_MAGIC): Likewise.
16132 (FUTEXFS_SUPER_MAGIC): Likewise.
16133 (HOSTFS_SUPER_MAGIC): Likewise.
16134 (HUGETLBFS_MAGIC): Likewise.
16135 (MINIX3_SUPER_MAGIC): Likewise.
16136 (MTD_INODE_FS_MAGIC): Likewise.
16137 (NILFS_SUPER_MAGIC): Likewise.
16138 (OPENPROM_SUPER_MAGIC): Likewise.
16139 (PIPEFS_MAGIC): Likewise.
16140 (PSTOREFS_MAGIC): Likewise.
16141 (QNX6_SUPER_MAGIC): Likewise.
16142 (RAMFS_MAGIC): Likewise.
16143 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16144 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16145 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16146 (SECURITYFS_MAGIC): Likewise.
16147 (SELINUX_MAGIC): Likewise.
16148 (SMACK_MAGIC): Likewise.
16149 (SOCKFS_MAGIC): Likewise.
16150 (SQUASHFS_MAGIC): Likewise.
16151 (STACK_END_MAGIC): Likewise.
16152 (TMPFS_MAGIC): Likewise.
16153 (USBDEVICE_SUPER_MAGIC): Likewise.
16154 (V9FS_MAGIC): Likewise.
16155 (XENFS_SUPER_MAGIC): Likewise.
16156 (CRAMFS_MAGIC): Fix typo in comment.
16157 (EXT2_SUPER_MAGIC): Update comment.
16158 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16160 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16162 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16163 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16164 * sysdeps/unix/sysv/linux/arm: Move directory from
16165 ports/sysdeps/unix/sysv/linux/arm.
16166 * README: Update listing for arm-*-linux-gnueabi.
16168 * README: Remove mention of am33.
16170 2014-02-07 Roland McGrath <roland@hack.frob.com>
16172 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16173 than the comma operator, to avoid "rhs of comma has no effect"
16175 (__sigfillset, __sigandset, __sigorset): Likewise.
16176 * include/signal.h (__sigemptyset): Likewise.
16177 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16179 2014-02-07 Allan McRae <allan@archlinux.org>
16181 * version.h (RELEASE): Set to "development".
16182 (VERSION): Set to "2.19.90"
16183 * NEWS: Add 2.20 section.
16185 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16188 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16190 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16192 * manual/contrib.texi: Update entry for Carlos O'Donell,
16193 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16195 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16197 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16199 * sysdeps/unix/sysv/linux/kernel-features.h
16200 [__LINUX_KERNEL_VERSION >= 0x020621]
16201 (__ASSUME_PROC_PID_TASK_COMM): Define.
16203 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16206 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16207 conversion when destination buffer does not have enough space.
16208 * libio/tst-ftell-partial-wide.c: New test case.
16209 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16211 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16212 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16213 Leonard and Allan McRae.
16215 2014-02-04 David S. Miller <davem@davemloft.net>
16217 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16220 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16242 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16244 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16249 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16251 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16252 * shlib-versions: Likewise.
16254 2014-02-04 Roland McGrath <roland@hack.frob.com>
16255 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16257 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16258 (abilist-pattern): New variable, set to %-le.abilist.
16260 * Makerules (abilist-pattern): New variable.
16261 (vpath): Use $(abilist-pattern) in place of %.abilist.
16262 (check-abi-% pattern rule): Likewise.
16263 (check-abi, update-abi): Likewise.
16265 2014-02-04 Eric Wong <normalperson@yhbt.net>
16267 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16269 2014-02-03 Carlos O'Donell <carlos@redhat.com>
16271 * manual/startup.texi: Add next, previous, and top entries for
16272 the `Program Arguments' and `Environment Variables' nodes.
16274 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
16276 * manual/macros.texi: Add comments before MTASC-safety macros.
16278 * manual/users.texi: Document MTASC-safety properties.
16280 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16281 (pthread_getspecific, pthread_setspecific): Format with
16282 @deftypefun, and add @safety note.
16283 * manual/signal.texi: Move comments that analyze the above
16284 functions to their home place.
16286 2014-02-03 Allan McRae <allan@archlinux.org>
16288 * po/sl.po: Update Slovenian translation from translation project.
16290 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
16292 * manual/time.texi (timegm): Add missing blank after @c.
16293 Reported by Joseph Myers <joseph@codesourcery.com>.
16295 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
16297 * manual/check-safety.sh: New.
16298 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16300 * manual/terminal.texi: Document MTASC-safety properties.
16302 * manual/filesys.texi: Document MTASC-safety properties.
16304 * manual/errno.texi: Document MTASC-safety properties.
16306 * manual/intro.texi: Document safety identifiers and
16309 * manual/string.texi (wcstok): Fix prototype.
16310 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16312 * manual/time.texi: Document MTASC-safety properties.
16314 * manual/string.texi: Document MTASC-safety properties.
16316 * manual/threads.texi: Document MTASC-safety properties.
16318 * manual/stdio.texi: Document MTASC-safety properties.
16320 * manual/syslog.texi: Document MTASC-safety properties.
16322 * manual/sysinfo.texi: Document MTASC-safety properties.
16324 * manual/startup.texi: Document MTASC-safety properties.
16326 * manual/socket.texi: Document MTASC-safety properties.
16328 * manual/signal.texi: Document MTASC-safety properties.
16330 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
16332 * manual/setjmp.texi: Document MTASC-safety properties.
16334 * manual/search.texi: Document MTASC-safety properties.
16336 * manual/resource.texi: Document MTASC-safety properties.
16338 * manual/process.texi: Document MTASC-safety properties.
16340 * manual/platform.texi: Document MTASC-safety properties.
16342 * manual/pipe.texi: Document MTASC-safety properties.
16344 * manual/pattern.texi: Document MTASC-safety properties.
16346 * manual/message.texi: Document MTASC-safety properties.
16349 * manual/memory.texi: Document MTASC-safety properties.
16351 * manual/math.texi: Document MTASC-safety properties.
16353 * manual/locale.texi: Document MTASC-safety properties.
16355 * manual/llio.texi: Document MTASC-safety properties.
16357 * manual/libdl.texi: New.
16359 * manual/lang.texi: Document MTASC-safety properties.
16361 * manual/job.texi: Document MTASC-safety properties.
16363 * manual/getopt.texi: Document MTASC-safety properties.
16365 * manual/ctype.texi: Document MTASC-safety properties.
16367 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16370 * csu/libc-tls.c (static_map): Remove variable.
16371 (__libc_setup_tls): Use main executable's link map for TLS data.
16372 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16373 casing for LM_ID_BASE and GL(dl_nns).
16374 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16375 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16376 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16377 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16378 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16380 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16383 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
16385 * manual/debug.texi: Document MTASC-safety properties.
16387 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16390 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16391 of __x86_64__ when disabling x87 inline functions.
16393 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
16395 * manual/charset.texi: Document MTASC-safety properties.
16397 * manual/crypt.texi: Document MTASC-safety properties.
16399 * manual/conf.texi: Document MTASC-safety properties.
16401 * manual/arith.texi: Document MTASC-safety properties.
16403 * manual/argp.texi: Document MTASC-safety properties.
16405 * manual/macros.texi: Introduce macros to document multi
16406 thread, asynchronous signal and asynchronous cancellation
16408 * manual/intro.texi: Introduce the properties themselves.
16410 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16412 * sysdeps/sh/sh4/Makefile: New file.
16414 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
16416 * math/gen-libm-test.pl ($srcdir): New variable.
16417 ($auto_input): Use it.
16419 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16422 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16423 access beyond array bounds when parsing netgroups file.
16425 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16426 the old buffer before realloc.
16428 2014-01-27 Allan McRae <allan@archlinux.org>
16430 * po/fr.po: Update French translation from translation project.
16432 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16434 * sysdeps/sh/libm-test-ulps: Regenerate.
16436 2014-01-24 David S. Miller <davem@davemloft.net>
16438 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16440 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16442 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16443 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16445 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16448 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16449 string pointers after reallocation.
16451 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16453 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16454 __SH4A__ instead of __SH_FPU_ANY__.
16456 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16458 * sysdeps/sh/fpu_control.h: New file.
16459 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16460 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16461 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16462 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16463 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16464 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16465 * sysdeps/sh/sys/ucontext.h: Remove.
16466 * sysdeps/sh/sys: Remove directory.
16468 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16470 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16471 s390/sys/ucontext.h.
16472 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16473 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16475 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
16478 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16480 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16483 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16484 Adjust the vDSO correctly for internal calls.
16485 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16487 2014-01-20 Allan McRae <allan@archlinux.org>
16489 * po/ca.po: Update Catalan translation from translation project.
16491 2014-01-16 Mike Frysinger <vapier@gentoo.org>
16493 * sysdeps/s390/sotruss-lib.c: New file.
16495 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16498 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16499 (__GI___gettimeofday): Alias for a different internal symbol to avoid
16500 local calls issues by not having a PLT stub required for IFUNC calls.
16501 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16503 2014-01-16 Joseph Myers <joseph@codesourcery.com>
16505 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16506 * math/test-fpucw-static.c: Likewise.
16508 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16511 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16513 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16515 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16516 implementation for powerpc.
16518 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
16521 * sysdeps/posix/system.c (__libc_system): Do not enable
16522 asynchronous cancellation.
16524 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16527 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16528 handling only for numbers special also in the IEEE case.
16530 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16532 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16534 2014-01-11 Allan McRae <allan@archlinux.org>
16536 * po/bg.po: Update Bulgarian translation from translation project.
16538 * po/de.po: Update German translation from translation project.
16540 2014-01-10 Roland McGrath <roland@hack.frob.com>
16542 * sysdeps/generic/gcc-compat.h: New file.
16544 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16546 * benchtests/asin-inputs: Correct slow inputs.
16547 * benchtests/acos-inputs: Likewise.
16549 2014-01-10 Allan McRae <allan@archlinux.org>
16551 * po:sv.po: Update Swedish translation from translation project.
16553 * po/vi.po: Update Vietnamese translation from translation project.
16555 * po/eo.po: Update Esperanto translation from translation project.
16557 * po/cs.po: Update Czech translation from translation project.
16559 * po/nl.po: Update Dutch translation from translation project.
16561 * po/pl.po: Update Polish translation from translation project.
16563 * po/ru.po: Update Russian translation from translation project.
16565 * po/uk.po: Update Ukrainian translation from translation project.
16567 2014-01-08 Brooks Moses <bmoses@google.com>
16569 * elf/dl-load.c: Fix comment typo.
16571 2014-01-08 Carlos O'Donell <carlos@redhat.com>
16573 * po/header.pot: Rename to...
16574 * po/pot.header: ... this.
16575 * po/Makefile: Use pot.header.
16577 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16578 Maxim Kuvyrkov <maxim@kugelworks.com>
16581 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16582 SRC and DEST against LEN.
16584 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16587 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16589 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16591 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16595 2014-01-08 Joseph Myers <joseph@codesourcery.com>
16598 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16599 for large positive arguments.
16601 2014-01-07 Joseph Myers <joseph@codesourcery.com>
16603 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16605 * math/auto-libm-test-in: Mark various tests with
16606 xfail-rounding:ldbl-128ibm.
16607 * math/auto-libm-test-out: Regenerated.
16610 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16611 Increase overflow threshold.
16613 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
16616 * stdio-common/vfprintf.c: Check for integer overflow.
16618 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16620 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16621 the first argument and return value of __tls_get_addr_internal.
16623 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16625 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16626 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16628 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16630 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16631 * sysdeps/s390/rtld-global-offsets.sym: New file.
16632 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16634 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16635 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16636 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16638 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16639 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16641 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16643 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16645 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16646 halfs of GPRs for high_gprs contexts.
16647 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16648 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16650 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16652 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16654 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16655 for high GPRs (uc_high_gprs) and for future extensions
16657 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16658 for future extensions (__reserved).
16659 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16661 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16662 SC_HIGHGPRS offset definition.
16663 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16664 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16666 * Versions.def: Add GLIBC_2.19 for libpthread.
16667 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16668 siglongjmp for libpthread with GLIBC_2.19 symver.
16669 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16670 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16671 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16672 * sysdeps/s390/__longjmp.c: New file.
16673 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16674 * sysdeps/s390/longjmp.c: New file.
16675 * sysdeps/s390/setjmp.S: New file.
16676 * sysdeps/s390/sigjmp.S: New file.
16677 * sysdeps/s390/v1-longjmp.c: New file.
16678 * sysdeps/s390/v1-setjmp.h: New file.
16679 * sysdeps/s390/v1-sigjmp.c: New file.
16680 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16681 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16682 GLIBC_2.19 version.
16683 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16684 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16685 versioned symbols for ____longjmp_chk.
16686 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16688 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16690 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16692 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16694 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16696 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16697 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16698 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16699 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16700 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16701 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16702 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16703 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16704 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16705 * sysdeps/s390/rtld-__longjmp.c: New file.
16706 * sysdeps/s390/rtld-setjmp.S: New file.
16708 2014-01-06 Joseph Myers <joseph@codesourcery.com>
16711 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16712 Return -__logl (x) for small positive arguments without evaluating
16715 2014-01-06 Mike Frysinger <vapier@gentoo.org>
16717 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16719 (__ptrace_peeksiginfo_args): ... this.
16720 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16721 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16722 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16724 2014-01-06 Allan McRae <allan@archlinux.org>
16726 * inet/netinet/in.h: Fix typo in comment.
16728 2014-01-05 Andreas Jaeger <aj@suse.de>
16730 * sysdeps/i386/fpu/libm-test-ulps: Update.
16732 2014-01-05 Allan McRae <allan@archlinux.org>
16734 * po/libc.pot: Regenerated.
16736 * malloc/memusagestat.c: Fix gettext call formatting.
16738 2014-01-04 Sami Kerola <kerolasa@iki.fi>
16740 * nscd/nscd.c: Improve usage() output.
16742 2014-01-04 Mike Frysinger <vapier@gentoo.org>
16744 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16745 * sysdeps/unix/sysv/linux/configure: Regenerated.
16746 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16747 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16749 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16752 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16753 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16755 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16757 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16758 extra tokens at end of #undef directive.
16759 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16760 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16761 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16763 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16765 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16767 * math/auto-libm-test-in: Mark various tests with
16768 xfail-rounding:ldbl-128ibm.
16769 * math/auto-libm-test-out: Regenerated.
16771 2014-01-02 Joseph Myers <joseph@codesourcery.com>
16774 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16775 numbers with subnormal high part when calculating exponent.
16778 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16782 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16784 (__ieee754_acoshl): Use __log1pl not __log1p.
16786 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
16788 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16789 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16790 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16791 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16792 (reused_arena, arena_get2): Convert to GNU style.
16793 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16794 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16795 (memalign_check, __malloc_set_state): Likewise.
16796 * malloc/mallocbug.c (main): Likewise.
16797 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16798 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16799 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16800 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16801 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16802 (__posix_memalign, malloc_info): Likewise.
16803 * malloc/malloc.h: Likewise.
16804 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16805 (mallochook, memalignhook, reallochook, mabort): Likewise.
16806 * malloc/mcheck.h: Likewise.
16807 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16808 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16809 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16810 * malloc/morecore.c (__default_morecore): Likewise.
16811 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16812 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16813 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16814 (print_and_abort): Likewise.
16815 * malloc/obstack.h: Likewise.
16816 * malloc/set-freeres.c (__libc_freeres): Likewise.
16817 * malloc/tst-mallocstate.c (main): Likewise.
16818 * malloc/tst-mtrace.c (main): Likewise.
16819 * malloc/tst-realloc.c (do_test): Likewise.
16821 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16824 * nscd/netgroupcache.c (do_notfound): New function.
16825 (addgetnetgrentX): Use it.
16828 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16829 NSS_STATUS_NOTFOUND.
16831 2014-01-01 Joseph Myers <joseph@codesourcery.com>
16833 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16836 2014-01-01 Allan McRae <allan@archlinux.org>
16838 * scripts/update-copyrights: Update configure input file suffix.
16840 * NEWS: Update copyright year.
16841 * catgets/gencat.c: Likewise.
16842 * csu/version.c: Likewise.
16843 * debug/catchsegv.sh: Likewise.
16844 * debug/pcprofiledump.c: Likewise.
16845 * debug/xtrace.sh: Likewise.
16846 * elf/ldconfig.c: Likewise.
16847 * elf/ldd.bash.in: Likewise.
16848 * elf/pldd.c: Likewise.
16849 * elf/sotruss.ksh: Likewise.
16850 * elf/sprof.c: Likewise.
16851 * iconv/iconv_prog.c: Likewise.
16852 * iconv/iconvconfig.c: Likewise.
16853 * locale/programs/locale.c: Likewise.
16854 * locale/programs/localedef.c: Likewise.
16855 * login/programs/pt_chown.c: Likewise.
16856 * malloc/memusage.sh: Likewise.
16857 * malloc/memusagestat.c: Likewise.
16858 * malloc/mtrace.pl: Likewise.
16859 * manual/libc.texinfo: Likewise.
16860 * nscd/nscd.c: Likewise.
16861 * nss/getent.c: Likewise.
16862 * nss/makedb.c: Likewise.
16863 * posix/getconf.c: Likewise.
16864 * scripts/test-installation.pl: Likewise.
16866 * All files with FSF copyright notices: Update copyright dates
16867 using scripts/update-copyrights.
16868 * intl/plural.c: Regenerated.
16869 * locale/programs/charmap-kw.h: Likewise.
16870 * locale/programs/locfile-kw.h: Likewise.
16872 2013-12-31 Mike Frysinger <vapier@gentoo.org>
16874 * sysdeps/unix/sysv/linux/configure: Regenerated.
16875 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16876 the linux/fanotify.h header.
16877 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16878 HAVE_LINUX_FANOTIFY_H is defined.
16880 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
16882 * benchtests/cos-inputs: New inputs.
16883 * benchtests/sin-inputs: Likewise.
16885 * benchtests/atan-inputs: New inputs. Fix name of multiple
16886 precision fallback inputs.
16888 * benchtests/atanh-inputs: New inputs.
16889 * benchtests/tanh-inputs: Likewise.
16891 * benchtests/acosh-inputs: New inputs.
16892 * benchtests/asinh-inputs: Likewise.
16894 * benchtests/cosh-inputs: New inputs.
16895 * benchtests/sinh-inputs: Likewise.
16897 * benchtests/acos-inputs: Add more inputs.
16898 * benchtests/asin-inputs: Likewise.
16900 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
16903 * manual/arith.texi: Fix spelling.
16904 * manual/charset.texi: Likewise.
16905 * manual/errno.texi: Likewise.
16906 * manual/filesys.texi: Likewise.
16907 * manual/lang.texi: Likewise.
16908 * manual/llio.texi: Likewise.
16909 * manual/locale.texi: Likewise.
16910 * manual/message.texi: Likewise.
16911 * manual/resource.texi: Likewise.
16912 * manual/search.texi: Likewise.
16913 * manual/setjmp.texi: Likewise.
16914 * manual/stdio.texi: Likewise.
16915 * manual/string.texi: Likewise.
16916 * manual/sysinfo.texi: Likewise.
16917 * manual/time.texi: Likewise.
16919 2013-12-27 Carlos O'Donell <carlos@redhat.com>
16921 * po/sl.po: New file.
16923 2013-12-27 Mike Frysinger <vapier@gentoo.org>
16925 * .gitignore: Add core/.gdbinit/.gdb_history.
16927 2013-12-27 Allan McRae <allan@archlinux.org>
16930 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16931 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16933 2013-12-24 Brooks Moses <bmoses@google.com>
16935 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16936 all compilers that claim C++98 compliance, not just GCC.
16937 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16940 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16942 * NEWS: Restore accidentally deleted bug-fix entries.
16944 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
16945 Ondřej Bílka <neleai@seznam.cz>
16948 * malloc/malloc.c (_int_free): Perform sanity check only if we
16951 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
16954 * manual/stdio.texi (String Input Conversions): Clarify that character
16955 classes are not supported.
16957 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16959 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16961 2013-12-22 Joseph Myers <joseph@codesourcery.com>
16964 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16965 Calculate results for small negative arguments directly rather
16966 than using reflection formula with special underflow handling.
16968 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16969 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16970 sysdeps/unix/bsd/bsd4.4/syscalls.list.
16971 (fchflags): Likewise.
16972 (revoke): Likewise.
16973 (setlogin): Likewise.
16974 (sigaltstack): Likewise.
16976 (sigblock): Remove.
16977 (sigsetmask): Likewise.
16979 (waitpid): Likewise.
16980 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16981 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16983 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16984 * sysdeps/unix/bsd/Makefile: ... here.
16985 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16986 * sysdeps/unix/bsd/Versions: ... here.
16987 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16988 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16989 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16990 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16991 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16992 * sysdeps/unix/bsd/sigblock.c: ... here.
16993 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16994 * sysdeps/unix/bsd/sigsetmask.c: ... here.
16995 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16996 * sysdeps/unix/bsd/sigvec.c: ... here.
16997 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16998 * sysdeps/unix/bsd/tcdrain.c: ... here.
16999 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17000 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17001 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17002 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17003 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17004 * sysdeps/unix/bsd/wait.c: ... here.
17005 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17006 * sysdeps/unix/bsd/wait3.c: ... here.
17007 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17008 * sysdeps/unix/bsd/waitpid.c: ... here.
17010 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17013 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17014 round-to-nearest for [!USE_AS_EXPM1L].
17015 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17016 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17017 more tests of exp and exp10. Expect some exp10 tests to miss
17018 exceptions or fail in directed rounding modes.
17019 * math/auto-libm-test-out: Regenerated.
17020 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17021 (exp10_test_tonearest): New function.
17022 (exp10_towardzero_test_data): New array.
17023 (exp10_test_towardzero): New function.
17024 (exp10_downward_test_data): New array.
17025 (exp10_test_downward): New function.
17026 (exp10_upward_test_data): New array.
17027 (exp10_test_upward): New function.
17028 (main): Call the new functions.
17029 * sysdeps/i386/fpu/libm-test-ulps: Update.
17030 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17032 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17034 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17035 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17036 * math/auto-libm-test-out: Regenerated.
17037 * math/libm-test.inc (acosh_test_data): Add more tests.
17038 (atanh_test_data): Likewise.
17039 (ceil_test_data): Likewise.
17040 (copysign_test_data): Likewise.
17041 * sysdeps/i386/fpu/libm-test-ulps: Update.
17042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17044 * timezone/checktab.awk: Update from tzcode 2013i.
17045 * timezone/private.h: Likewise.
17046 * timezone/scheck.c: Likewise.
17047 * timezone/tzfile.h: Likewise.
17048 * timezone/tzselect.ksh: Likewise.
17049 * timezone/zdump.c: Likewise.
17050 * timezone/zic.c: Likewise.
17052 * math/auto-libm-test-in: Add tests of cpow.
17053 * math/auto-libm-test-out: Regenerated.
17054 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17055 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17057 (func_calc_desc): Add mpc_cc_c union field.
17058 (test_functions): Add cpow.
17059 (special_fill_2pi): New function.
17060 (special_real_inputs): Add 2pi.
17061 (calc_generic_results): Handle mpc_cc_c.
17062 * sysdeps/i386/fpu/libm-test-ulps: Update.
17063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17065 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17066 csqrt, ctan and ctanh.
17067 * math/auto-libm-test-out: Regenerated.
17068 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17069 (TEST_COND_x86): Likewise.
17070 (ccos_test_data): Use AUTO_TESTS_c_c.
17071 (ccosh_test_data): Likewise.
17072 (cexp_test_data): Likewise.
17073 (clog_test_data): Likewise.
17074 (csqrt_test_data): Likewise.
17075 (ctan_test_data): Likewise.
17076 (ctan_tonearest_test_data): Likewise.
17077 (ctan_towardzero_test_data): Likewise.
17078 (ctan_downward_test_data): Likewise.
17079 (ctan_upward_test_data): Likewise.
17080 (ctanh_test_data): Likewise.
17081 (ctanh_tonearest_test_data): Likewise.
17082 (ctanh_towardzero_test_data): Likewise.
17083 (ctanh_downward_test_data): Likewise.
17084 (ctanh_upward_test_data): Likewise.
17085 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17087 (func_calc_desc): Add mpc_c_c union field.
17088 (FUNC_mpc_c_c): New macro.
17089 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17090 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17092 (special_fill_min_subnorm_p120): New function.
17093 (special_real_inputs): Add min_subnorm_p120.
17094 (calc_generic_results): Handle mpc_c_c.
17095 * sysdeps/i386/fpu/libm-test-ulps: Update.
17096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17098 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17100 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17101 (do_sin_slow): New functions.
17102 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17103 (cslow2, csloww1, csloww2): Use the new functions.
17105 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17106 Use M to change sign of result instead of X. Assume X is
17108 (csloww1): Likewise.
17112 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17113 arguments A and DA.
17117 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17119 (sloww1): Don't adjust sign of DX.
17120 (csloww1): Likewise.
17121 (sloww2): Use X directly and don't adjust sign of DX.
17122 (csloww2): Likewise.
17124 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17126 * math/auto-libm-test-in: Add tests of cabs and carg.
17127 * math/auto-libm-test-out: Regenerated.
17128 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17129 (carg_test_data): Likewise.
17130 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17132 (func_calc_desc): Add mpc_c_f union field.
17133 (test_functions): Add cabs and carg.
17134 (calc_generic_results): Handle mpc_c_f.
17136 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17137 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17138 as a macro and a compat symbol.
17139 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17140 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17141 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17142 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17143 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17144 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17146 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17148 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17150 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17152 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17154 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17156 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17157 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17160 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17162 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17164 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17166 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17167 trailing whitespace removed.
17168 * scripts/config.guess: Update to version 2013-11-29.
17169 * scripts/config.sub: Update to version 2013-10-01.
17171 * math/auto-libm-test-in: Add tests of sincos.
17172 * math/auto-libm-test-out: Regenerated.
17173 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17174 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17176 (func_calc_desc): Add mpfr_f_11 union field.
17177 (test_functions): Add sincos.
17178 (calc_generic_results): Handle mpfr_f_11.
17179 * sysdeps/i386/fpu/libm-test-ulps: Update.
17180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17182 2013-12-19 Andreas Schwab <schwab@suse.de>
17184 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17186 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17187 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17188 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17190 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17192 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17193 * sysdeps/i386/fpu/libm-test-ulps: Update.
17194 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17197 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17198 round-to-nearest mode when using frndint.
17199 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17200 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17201 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17203 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17205 * math/auto-libm-test-out: Regenerated.
17206 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17207 (TEST_COND_x86): Likewise.
17208 (expm1_tonearest_test_data): New array.
17209 (expm1_test_tonearest): New function.
17210 (expm1_towardzero_test_data): New array.
17211 (expm1_test_towardzero): New function.
17212 (expm1_downward_test_data): New array.
17213 (expm1_test_downward): New function.
17214 (expm1_upward_test_data): New array.
17215 (expm1_test_upward): New function.
17216 (main): Run the new test functions.
17217 * sysdeps/i386/fpu/libm-test-ulps: Update.
17218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17220 * include/features.h: Update comment documenting feature test
17221 macros. Mention _DEFAULT_SOURCE in comment.
17222 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17223 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17224 _BSD_SOURCE and _SVID_SOURCE.
17225 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17226 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17227 !_SVID_SOURCE]: Likewise.
17228 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17229 (__USE_POSIX_IMPLICITLY): Define.
17230 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17231 (_POSIX_SOURCE): Undefine and redefine.
17232 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17233 (_POSIX_C_SOURCE): Likewise.
17234 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17235 (Feature Test Macros): Update documentation of default features.
17237 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17239 * benchtests/Makefile: Add bench-strtok.
17240 * benchtests/bench-strtok.c: New file: strtok benchtest.
17242 2013-12-19 Allan McRae <allan@archlinux.org>
17244 * manual/install.texi: Suppress menu for plain text output.
17245 * INSTALL: Regenerated.
17247 2013-12-18 Brooks Moses <bmoses@google.com>
17250 * misc/getauxval.c: Include errno.h.
17251 (__getauxval): Set errno to ENOENT if the requested type is not
17253 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17254 don't declare with __attribute_const__.
17255 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17256 * manual/startup.texi: Document that getauxval sets errno.
17258 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17260 * math/auto-libm-test-in: Add tests of jn and yn.
17261 * math/auto-libm-test-out: Regenerated.
17262 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17263 (yn_test_data): Likewise.
17264 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17266 (func_calc_desc): Add mpfr_if_f union field.
17267 (FUNC_mpfr_if_f): New macro.
17268 (test_functions): Add jn and yn.
17269 (calc_generic_results): Assert type of second input for
17270 mpfr_ff_f. Handle mpfr_if_f.
17271 (output_for_one_input_case): Disable all checking for arguments
17272 fitting floating-point types in case of an integer argument.
17273 * sysdeps/i386/fpu/libm-test-ulps: Update.
17274 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17276 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17277 Don't expect fegetround reference in libm.so.
17279 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17281 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17282 $(config-cflags-nofma).
17284 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17286 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17287 * math/auto-libm-test-out: Regenerated.
17290 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17291 to determine exponent and adjust argument to have exponent of -1.
17292 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17294 * math/auto-libm-test-out: Regenerated.
17295 * sysdeps/i386/fpu/libm-test-ulps: Update.
17296 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17298 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
17300 * manual/probes.texi: Remove cases when per-thread arenas are
17303 2013-12-18 Andreas Schwab <schwab@suse.de>
17305 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17306 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17307 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17308 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17309 * sysdeps/i386/i686/multiarch/Makefile: Update.
17310 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17312 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17314 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17315 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17317 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17320 Support TZ transition times < 00:00:00.
17321 This is needed for version-3 tz-format files; it supports time
17322 stamps past 2037 for America/Godthab (the only entry in the tz
17323 database for which this change is relevant).
17324 * manual/time.texi (TZ Variable): Document transition times
17325 from -167:59:59 through -00:00:01.
17326 * time/tzset.c (tz_rule): Time of day is now signed.
17327 (__tzset_parse_tz): Parse negative time of day.
17329 Document TZ transition times >= 25:00:00.
17330 * manual/time.texi (TZ Variable): Document transition times from
17331 25:00:00 through 167:59:59. These are already supported, and this
17332 support will help with version-3 tz-format files.
17334 * manual/time.texi (TZ Variable): Modernize North America example
17335 to reflect current (i.e., 2007-and-later) daylight saving rules.
17337 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17339 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17341 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17342 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17343 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17345 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17346 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17347 * sysdeps/unix/bsd/clock.c: Likewise.
17348 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17349 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17350 * sysdeps/unix/bsd/init-posix.c: Likewise.
17351 * sysdeps/unix/bsd/poll.c: Likewise.
17352 * sysdeps/unix/bsd/ptsname.c: Likewise.
17353 * sysdeps/unix/bsd/seekdir.c: Likewise.
17354 * sysdeps/unix/bsd/setegid.c: Likewise.
17355 * sysdeps/unix/bsd/seteuid.c: Likewise.
17356 * sysdeps/unix/bsd/setgid.c: Likewise.
17357 * sysdeps/unix/bsd/setrgid.c: Likewise.
17358 * sysdeps/unix/bsd/setruid.c: Likewise.
17359 * sysdeps/unix/bsd/setsid.c: Likewise.
17360 * sysdeps/unix/bsd/setuid.c: Likewise.
17361 * sysdeps/unix/bsd/sigaction.c: Likewise.
17362 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17363 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17364 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17365 * sysdeps/unix/bsd/telldir.c: Likewise.
17366 * sysdeps/unix/bsd/times.c: Likewise.
17367 * sysdeps/unix/bsd/usleep.c: Likewise.
17369 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17370 ($(objpfx)libbsd-compat.a): Remove rule.
17372 * include/features.h (__FAVOR_BSD): Do not define.
17373 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17374 features conflicting with POSIX.
17375 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17376 (_BSD_SOURCE): Remove description of not being a subset of other
17377 feature test macros.
17378 * manual/job.texi (getpgrp): Do not document BSD version.
17379 (getpgid): Do not document by reference to BSD getpgrp.
17380 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17381 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17382 * signal/signal.h [__FAVOR_BSD]: Likewise.
17383 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17384 instead of making contents conditional on [__FAVOR_BSD].
17385 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17387 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17389 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17391 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17394 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17395 values below 2**-450, not 2**-500.
17396 * math/auto-libm-test-in: Don't allow spurious underflow from
17398 * math/auto-libm-test-out: Regenerated.
17402 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17403 values of ha and hb and sort them after adjusting subnormal
17405 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17407 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17408 values of ea and eb and sort them after adjusting subnormal
17410 * math/auto-libm-test-in: Do not expect some hypot tests of
17411 subnormals to fail. Add more hypot tests.
17412 * math/auto-libm-test-out: Regenerated.
17414 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17417 * sysdeps/sh/s_fma.c: New file.
17418 * sysdeps/sh/s_fmaf.c: New file.
17419 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
17421 * sysdeps/sh/Implies: Add sh/soft-fp.
17423 2013-12-16 Roland McGrath <roland@hack.frob.com>
17425 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
17426 level of indirection to members `objname', `errstring', `malloced'.
17427 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17428 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
17429 it as the __longjmp argument (just pass 1 instead).
17430 (_dl_catch_error): Initialize C with argument pointers and address of
17431 volatile local ERRCODE rather than copying values out of C at return.
17433 2013-12-16 Joseph Myers <joseph@codesourcery.com>
17435 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17436 * math/auto-libm-test-out: Regenerated.
17437 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17438 (hypot_test_data): Likewise.
17439 (pow_test_data): Likewise.
17440 (pow_tonearest_test_data): Likewise.
17441 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17443 (func_calc_desc): Add mpfr_ff_f union field.
17444 (FUNC_mpfr_ff_f): New macro.
17445 (test_functions): Add atan2, hypot and pow.
17446 (special_fill_min): New function.
17447 (special_fill_minus_min): Likewise.
17448 (special_fill_min_subnorm): Likewise.
17449 (special_fill_minus_min_subnorm): Likewise.
17450 (special_real_inputs): Add min, -min, min_subnorm and
17452 (calc_generic_results): Handle mpfr_ff_f.
17453 * sysdeps/i386/fpu/libm-test-ulps: Update.
17454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17456 2013-12-16 Will Newton <will.newton@linaro.org>
17458 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17459 (Aligned Memory Blocks): Add documentation for aligned_alloc
17460 and suggest it as an alternative to posix_memalign.
17461 (Hooks for Malloc): Document __memalign_hook is also called
17462 for aligned_alloc. (Summary of Malloc): Add summary for
17463 aligned alloc. Document __memalign_hook is also called
17466 2013-12-16 Will Newton <will.newton@linaro.org>
17468 * manual/memory.texi (Malloc Examples): Clarify default
17469 alignment documentation. Suggest posix_memalign rather
17470 than memalign or valloc.
17471 (Aligned Memory Blocks): Remove suggestion to use memalign
17472 or valloc. Remove obsolete comment about BSD.
17473 Document memalign errno values and mark the function obsolete.
17474 Document posix_memalign returned error codes. Mark valloc
17475 as obsolete. (Hooks for Malloc): __memalign_hook is also
17476 called for posix_memalign and valloc.
17477 (Summary of Malloc): Add posix_memalign to function summary.
17478 __memalign_hook is also called for posix_memalign and valloc.
17480 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17482 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17486 (sloww): Use mynumber union. Expand ternary operator into
17487 if-else statements.
17488 (cslow): use mynumber union.
17490 2013-12-16 Allan McRae <allan@archlinux.org>
17492 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17493 * configure: Regenerated.
17495 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17498 * configure.ac: Added --enable-maintainer-mode. Check for
17499 autoconf when enabled.
17500 * configure: Regenerated.
17502 * nscd/nscd.service: New file.
17503 * nscd/nscd.tmpfiles: New file.
17505 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
17508 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17509 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17510 * sysdeps/x86_64/multiarch/strstr.c: ... here.
17511 (strstr): Add __strstr_sse2_unaligned ifunc.
17512 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17513 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17514 (strcasestr): Remove __strcasestr_sse42 ifunc.
17515 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17516 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17517 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17519 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17521 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17522 * sysdeps/sh/bits/fenv.h: ... here.
17523 * sysdeps/sh/sh4/fpu/bits: Remove directory.
17525 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17527 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17529 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17530 hypotf multiarch implementations.
17531 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17532 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17533 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17534 multiarch hypot for PPC64.
17535 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17536 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17537 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17538 multiarch hypotf for PPC64.
17540 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17541 modff multiarch implementations.
17542 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17543 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17544 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17545 multiarch modf for PPC64.
17546 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17547 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17548 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17549 multiarch modff for PPC64.
17551 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17552 and logl multiarch implementations.
17553 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17554 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17555 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17556 multiarch logb for PPC64.
17557 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17558 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17559 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17560 multiarch logb for PPC64.
17561 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17562 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17563 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17564 multiarch logb for PPC64.
17566 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17567 isinff multiarch implementation.
17568 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17570 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17571 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17572 multiarch isinf for PPC64.
17573 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17575 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17576 multiarch isinff for PPC64.
17578 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17579 finitef multiarch implementation.
17580 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17582 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17583 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17584 multiarch finite for PPC64.
17585 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17587 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17588 multiarch finitef for PPC64.
17590 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17591 lrint multiarch implementation.
17592 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17594 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17595 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17596 multiarch llrint for PPC64.
17597 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17598 multiarch lrint for PPC64.
17600 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17601 copysignf multiarch implementation.
17602 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17604 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17606 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17607 multiarch copysign for PPC64.
17608 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17609 multiarch copysignf for PPC64.
17611 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17612 multiarch implementation.
17613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17615 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17617 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17619 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17621 multiarch llround for PPC64.
17622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17623 multiarch trunc for PPC64.
17624 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17625 multiarch truncf for PPC64.
17627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17628 multiarch implementation.
17629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17635 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17637 multiarch llround for PPC64.
17638 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17639 multiarch round for PPC64.
17640 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17641 multiarch roundf for PPC64.
17643 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17644 multiarch implementation.
17645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17647 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17649 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17651 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17653 multiarch llround for PPC64.
17654 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17655 multiarch floor for PPC64.
17656 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17657 multiarch floorf for PPC64.
17659 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17660 multiarch implementation.
17661 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17663 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17665 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17669 multiarch llround for PPC64.
17670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17671 multiarch ceil for PPC64.
17672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17673 multiarch ceilf for PPC64.
17675 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17676 multiarch implementation.
17677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17684 multiarch llround for PPC64.
17685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17686 multiarch lround for PPC64.
17688 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17689 multiarch implementation.
17690 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17691 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17697 multiarch isnan for PPC64.
17698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17699 multiarch isnanf for PPC64.
17701 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17702 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17703 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17704 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17705 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17706 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17708 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17709 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17710 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17711 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17713 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17714 multiarch implementations.
17715 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17716 (__libc_ifunc_impl_list): Likewise.
17717 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17718 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17719 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17720 multiarch stpcpy for PPC64.
17722 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17723 multiarch implementations.
17724 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17725 (__libc_ifunc_impl_list): Likewise.
17726 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17727 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17728 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17729 multiarch strcpy for PPC64.
17731 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17732 redefine function name.
17733 (_wordcopy_fwd_dest_aligned): Likewise.
17734 (_wordcopy_bwd_aligned): Likewise.
17735 (_wordcopy_bwd_dest_aligned): Likewise.
17736 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17737 multiarch implementations.
17738 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17739 (__libc_ifunc_impl_list): Likewise.
17740 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17741 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17742 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17743 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17744 multiarch wcscpy for PPC64.
17746 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17747 multiarch implementations.
17748 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17749 (__libc_ifunc_impl_list): Likewise.
17750 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17751 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17752 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17753 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17754 multiarch wcscpy for PPC64.
17756 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17757 multiarch implementations.
17758 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17759 (__libc_ifunc_impl_list): Likewise.
17760 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17761 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17762 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17763 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17764 multiarch wcsrchr for PPC64.
17766 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17767 multiarch implementations.
17768 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17769 (__libc_ifunc_impl_list): Likewise.
17770 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17771 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17772 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17773 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17774 multiarch wcschr for PPC64.
17776 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17777 multiarch implementations.
17778 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17779 (__libc_ifunc_impl_list): Likewise.
17780 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17781 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17782 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17783 multiarch strchrnul for PPC64.
17785 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17787 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17788 (__libc_ifunc_impl_list): Likewise.
17789 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17790 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17791 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17792 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17795 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17797 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17798 (__libc_ifunc_impl_list): Likewise.
17799 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17800 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17801 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17802 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17805 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17806 multiarch implementations.
17807 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17808 (__libc_ifunc_impl_list): Likewise.
17809 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17810 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17811 strncasecmp for PPC64.
17812 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17813 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17814 multiarch strncasecmp_l for PPC64.
17816 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17817 multiarch implementations.
17818 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17819 (__libc_ifunc_impl_list): Likewise.
17820 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17821 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17822 multiarch strcasecmp for PPC64.
17823 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17825 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17826 multiarch strcasecmp_l for PPC64.
17828 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17830 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17831 (__libc_ifunc_impl_list): Likewise.
17832 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17833 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17834 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17840 (__libc_ifunc_impl_list): Likewise.
17841 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17842 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17843 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17849 (__libc_ifunc_impl_list): Likewise.
17850 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17851 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17852 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17853 rawmemrchr for PPC64.
17855 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17857 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17858 (__libc_ifunc_impl_list): Likewise.
17859 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17860 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17861 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17864 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17866 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17867 (__libc_ifunc_impl_list): Likewise.
17868 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17869 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17870 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17873 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17875 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17876 (__libc_ifunc_impl_list): Likewise.
17877 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17878 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17879 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17882 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17883 avoid cretion of __bzero symbol.
17884 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17886 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17888 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17891 multiarch implementations.
17892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17893 (__libc_ifunc_impl_list): Likewise.
17894 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17895 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17896 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17897 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17899 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17900 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17901 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17902 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17903 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17905 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17907 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17908 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17910 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17911 (__libc_ifunc_impl_list): Likewise.
17912 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17913 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17914 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17915 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17918 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17919 multiarch for POWER/PPC64.
17920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17921 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17922 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17923 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17924 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17925 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17926 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17927 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17928 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17931 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17932 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17933 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17934 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17935 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17936 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17937 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17938 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17939 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17940 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17941 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17942 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17943 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17944 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17945 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17954 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17956 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17958 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
17960 * benchtests/Makefile (bench): Add exp2 and log2.
17961 (LDLIBS-bench-exp2): Add -lm.
17962 (LDLIBS-bench-log2): Likewise.
17963 * benchtests/exp2-inputs: New inputs file.
17964 * benchtests/log2-inputs: New inputs file.
17965 * benchtests/log-inputs: Add new inputs.
17966 * benchtests/tan-inputs: Likewise.
17968 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
17970 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17972 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17973 (csloww2): ... from here.
17975 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17976 instead of structures.
17977 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17978 (POLYNOMIAL): Likewise.
17979 (TAYLOR_SLOW): Likewise.
17985 (sloww1); Likewise.
17986 (sloww2): Likewise.
17987 (bsloww1): Likewise.
17988 (bsloww2): Likewise.
17989 (cslow2): Likewise.
17990 (csloww): Likewise.
17991 (csloww1): Likewise.
17992 (csloww2): Likewise.
17994 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
17996 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17997 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17998 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17999 * malloc/hooks.c (realloc_check): Likewise.
18001 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18002 * malloc/arena.c: Remove PER_THREAD conditional.
18003 [!PER_THREAD]: Remove code.
18004 (ptmalloc_unlock_all2): Likewise.
18005 (ptmalloc_init): Likewise.
18006 (_int_new_arena): Likewise.
18007 (arena_get2): Likewise.
18008 * malloc/hooks.c (__malloc_get_state): Likewise.
18009 (__malloc_set_state): Likewise.
18010 * malloc/malloc.c: Likewise.
18011 (struct malloc_state): Likewise.
18012 (struct malloc_par): Likewise.
18013 (__libc_realloc): Likewise.
18014 (__libc_mallopt): Likewise.
18016 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18018 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18020 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18022 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18023 macro to a function. Check for zero perturb_byte.
18024 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18026 * malloc/malloc.c: (force_reg): Remove.
18027 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18028 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18029 force_reg by atomic_forced_read.
18030 * malloc/arena.c (ptmalloc_init): Likewise.
18031 * malloc/hooks.c (top_check): Likewise.
18033 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18035 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18037 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18039 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18041 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18043 * math/auto-libm-test-in: Add tests of lgamma.
18044 * math/auto-libm-test-out: Regenerated.
18045 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18046 (M_LOG_2_SQRT_PIl): Likewise.
18047 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18048 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18050 (func_calc_desc): Add mpfr_f_f1 union field.
18051 (ARGS1): New macro.
18059 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18060 (test_functions): Add lgamma.
18061 (calc_generic_results): Handle mpfr_f_f1.
18062 * sysdeps/i386/fpu/libm-test-ulps: Update.
18063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18065 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18067 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18068 __mpn_add_n for PowerPC64/POWER7.
18069 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18070 __mpn_sub_n for PowerPC64/POWER7.
18072 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18073 __mpn_addmul_1 for PowerPC64.
18074 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18075 __mpn_submul_1 for PowerPC64.
18076 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18078 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18081 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18084 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18086 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18088 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18090 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18091 add multiarch folders.
18092 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18093 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18094 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18095 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18096 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18097 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18098 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18099 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18100 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18101 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18102 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18108 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18110 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18111 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18112 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18114 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18116 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18117 multiarch __ieee754_hypot for PowerPC32.
18118 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18120 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18122 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18123 multiarch __ieee754_hypotf for PowerPC32.
18125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18126 long_double_symbol only if __logbl is defined.
18127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18128 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18129 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18130 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18131 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18132 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18133 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18134 path for implementation.
18135 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18136 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18137 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18138 logb, and logbl multiarch implementations for PowerPC32.
18139 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18141 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18143 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18144 multiarch logb for PowerPC32.
18145 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18147 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18149 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18150 multiarch logbf for PowerPC32.
18151 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18152 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18154 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18155 multiarch logbl implementation for PowerPC32.
18157 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18158 and modff multiarch implementations.
18159 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18161 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18163 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18164 multiarch modf for PowerPC32.
18165 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18167 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18169 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18170 multiarch modff for PowerPC32.
18172 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18173 and lrintf multiarch implementations.
18174 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18176 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18178 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18179 multiarch lrint for PowerPC32.
18180 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18181 file: multiarch lrintf for PowerPC32.
18183 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18184 and lroundf multiarch implementations.
18185 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18187 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18189 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18191 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18192 multiarch lround for PowerPC32.
18193 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18194 file: multiarch lroundf for PowerPC32.
18196 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18197 copysign and copysignf multiarch implementations.
18198 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18200 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18202 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18203 file: multiarch copysign for PowerPC32.
18204 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18205 file: multiarch copysignf for PowerPC32.
18207 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18208 and truncf multiarch implementations.
18209 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18211 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18213 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18214 multiarch trunc for PowerPC32.
18215 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18217 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18219 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18220 multiarch truncf for PowerPC32.
18222 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18223 and roundf multiarch implementations.
18224 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18226 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18228 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18229 multiarch round for PowerPC32.
18230 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18232 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18235 multiarch roundf for PowerPC32.
18237 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18238 and floorf multiarch implementations.
18239 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18241 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18243 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18244 multiarch floor for PowerPC32.
18245 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18247 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18249 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18250 multiarch floorf for PowerPC32.
18252 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18253 and ceilf multiarch implementations.
18254 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18256 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18258 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18259 multiarch ceil for PowerPC32.
18260 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18262 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18264 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18265 multiarch ceilf for PowerPC32.
18267 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18269 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18270 FINITEF is defined.
18271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18272 and finitef multiarch implementations.
18273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18275 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18277 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18278 multiarch finite for PowerPC32.
18279 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18282 file: multiarch finitef for PowerPC32.
18284 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18285 and isinff multiarch implementations.
18286 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18288 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18290 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18291 multiarch isinf for PowerPC32.
18292 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18294 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18295 multiarch isinff for PowerPC32.
18297 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18298 alias when __isnan is defined.
18299 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18300 and isnanf multiarch implementations.
18301 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18303 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18305 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18310 multiarch isnan for PowerPC32.
18311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18316 multiarch isnanf for PowerPC32.
18318 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18319 and sqrtf multiarch implementations.
18320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18325 multiarch sqrt for PowerPC32.
18326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18330 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18331 multiarch sqrtf for PowerPC32.
18333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18334 and llroundf multiarch implementations.
18335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18342 file: multiarch llround for PowerPC32.
18343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18344 file: multiarch llroundf for PowerPC32.
18346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18347 multiarch PowerPC32 fpu implementations.
18348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18353 multiarch llrint for PowerPC32.
18354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18363 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18365 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18367 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18369 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18370 multiarch wordcopy for PPC32.
18371 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18373 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18374 (__libc_ifunc_impl_list): Likewise.
18375 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18376 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18377 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18378 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18379 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18380 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18382 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18383 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18385 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18387 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18389 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18390 multiarch wcscpy for PPC32.
18391 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18393 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18394 (__libc_ifunc_impl_list): Likewise.
18395 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18396 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18397 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18398 sysdeps/powerpc/power6/wcscpy.c.
18400 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18401 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18403 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18405 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18407 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18408 multiarch wcsrchr for PPC32.
18409 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18411 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18412 (__libc_ifunc_impl_list): Likewise.
18413 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18414 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18415 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18416 sysdeps/powerpc/power6/wcsrchr.c.
18418 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18420 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18422 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18423 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18424 multiarch wcschr for PPc32.
18425 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18427 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18428 (__libc_ifunc_impl_list): Likewise.
18429 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18430 * sysdeps/powerpc/power6/wcschr.c: ... to here.
18431 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18432 sysdeps/powerpc/power6/wcschr.c.
18434 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18435 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18437 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18438 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18439 file: multiarch strchr for PPC32.
18440 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18442 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18443 (__libc_ifunc_impl_list): Likewise.
18445 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18447 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18449 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18451 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18452 multiarch strchrnul for PPC32.
18453 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18455 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18456 (__libc_ifunc_impl_list): Likewise.
18458 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18460 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18461 multiarch strncasecmp for PPC32.
18462 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18464 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18465 multiarch strncasecmp_l for PPC32.
18466 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18467 strncasecmp multiarch objects.
18468 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18469 (__libc_ifunc_impl_list): Likewise.
18471 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18473 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18474 multiarch strncasecmp for PPC32.
18475 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18477 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18478 multiarch strcasecmp_l for PPC32.
18479 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18481 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18482 (__libc_ifunc_impl_list): Likewise.
18484 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18486 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18488 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18489 multiarch strncmp for PPC32.
18490 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18492 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18493 (__libc_ifunc_impl_list): Likewise.
18495 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18496 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18498 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18499 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18500 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18502 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18503 (__libc_ifunc_impl_list): Likewise.
18505 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18507 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18509 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18510 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18512 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18513 (__libc_ifunc_impl_list): Likewise.
18515 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18517 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18519 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18520 multiarch rawmemchr for PPC32.
18521 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18523 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18524 (__libc_ifunc_impl_list): Likewise.
18526 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18528 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18530 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18531 file: memrchr multiarch for PPC32.
18532 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18534 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18535 (__libc_ifunc_impl_list): Likewise.
18537 * string/memchr.c (__memchr): Using macro to redefine symbol name.
18538 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18540 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18541 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18542 multiarch memchr for PPC32.
18543 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18545 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18546 (__libc_ifunc_impl_list): Likewise.
18548 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18549 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18551 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18553 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18554 file: multiarch mempcpy for PPC32.
18555 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18557 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18558 (__libc_ifunc_impl_list): Likewise.
18560 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18561 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18562 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18563 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18564 multiarch bzero for PPC32.
18565 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18567 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18569 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18570 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18571 file: multiarch memset for PPC32.
18572 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18573 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18574 memset multiarch objects.
18575 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18576 (__libc_ifunc_impl_list): Likewise.
18578 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18580 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18581 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18583 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18584 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18586 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18587 (__libc_ifunc_impl_list): Likewise.
18589 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18590 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18591 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18593 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18595 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18597 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18598 multiarch memcpy for PPC32.
18599 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18601 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18602 (__libc_ifunc_impl_list): Likewise.
18604 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18605 support multiarch for POWER/PPC32.
18606 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18608 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18610 Implies file to make multiarch folder appers before the fpu and
18611 default folder for power4 configuration.
18613 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18615 * scripts/bench.pl: Append volatile keyword to type.
18617 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18619 * sysdeps/sh/sotruss-lib.c: New file.
18620 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18622 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18624 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18626 2013-12-05 Joseph Myers <joseph@codesourcery.com>
18629 * math/w_tgamma.c: Include <errno.h>.
18630 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18631 * math/w_tgammaf.c: Include <errno.h>.
18632 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18633 * math/w_tgammal.c: Include <errno.h>.
18634 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18635 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18636 underflow. Add more tgamma tests.
18637 * math/auto-libm-test-out: Regenerated.
18638 * sysdeps/i386/fpu/libm-test-ulps: Update.
18639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18641 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18642 sin, sinh, tan, tanh, tgamma, y0 and y1.
18643 * math/auto-libm-test-out: Regenerated.
18644 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18645 (TEST_COND_x86): Likewise.
18646 (M_E2l): Remove macro.
18648 (M_2_SQRT_PIl): Likewise.
18649 (M_SQRT_PIl): Likewise.
18650 (M_1_DIV_El): Likewise.
18651 (log_test_data): Use AUTO_TESTS_f_f.
18652 (log10_test_data): Likewise.
18653 (log1p_test_data): Likewise.
18654 (log2_test_data): Likewise.
18655 (sin_test_data): Likewise.
18656 (sin_tonearest_test_data): Likewise.
18657 (sin_towardzero_test_data): Likewise.
18658 (sin_downward_test_data): Likewise.
18659 (sin_upward_test_data): Likewise.
18660 (sinh_test_data): Likewise.
18661 (sinh_tonearest_test_data): Likewise.
18662 (sinh_towardzero_test_data): Likewise.
18663 (sinh_downward_test_data): Likewise.
18664 (sinh_upward_test_data): Likewise.
18665 (tan_test_data): Likewise.
18666 (tan_tonearest_test_data): Likewise.
18667 (tan_towardzero_test_data): Likewise.
18668 (tan_downward_test_data): Likewise.
18669 (tan_upward_test_data): Likewise.
18670 (tanh_test_data): Likewise.
18671 (tgamma_test_data): Likewise.
18672 (y0_test_data): Likewise.
18673 (y1_test_data): Likewise.
18674 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18675 (special_real_inputs): Add pi/4.
18676 * sysdeps/i386/fpu/libm-test-ulps: Update.
18677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18679 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18681 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18682 "longjmp_target" static probes.
18683 (__longjmp): Rename to __longjmp_symbol.
18684 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18685 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18686 on which longjmp to generate.
18687 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18688 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18690 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18691 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18692 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18693 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18694 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18695 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18697 __longjmp_symbol based on which __longjmp to generate.
18698 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18700 (setjmp): Rename to setjmp_symbol.
18701 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18702 (_setjmp): Rename to _setjmp_symbol.
18703 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18704 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18705 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18706 which setjmp to generate.
18707 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18708 "longjmp_target" static probes.
18710 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18712 * benchtests/README: Add note about output arguments.
18713 * benchtests/bench-sincos.c: Remove file.
18714 * benchtests/sincos-inputs: New file.
18715 * scripts/bench.pl: Identify output arguments and define
18716 static variables for them.
18718 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18721 * Makefile (INSTALL): Add install-plain.texi as the primary
18723 * manual/install-plain.texi: New file.
18724 * manual/install.texi: Include node directive only for
18725 non-plaintext output.
18727 2013-12-04 Joseph Myers <joseph@codesourcery.com>
18729 * stdlib/longlong.h: Update from GCC.
18733 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18734 * math/w_j0f.c (y0f): Likewise.
18735 * math/w_j0l.c (__y0l): Likewise.
18736 * math/w_j1.c (y1): Likewise.
18737 * math/w_j1f.c (y1f): Likewise.
18738 * math/w_j1l.c (__y1l): Likewise
18739 * math/w_jn.c (yn): Likewise.
18740 * math/w_jnf.c (ynf): Likewise.
18741 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18742 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18743 value for Bessel function domain errors outside _SVID_ mode.
18744 Adjust sign of return value for yn (negative integer, 0).
18745 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18746 by zero in return for negative x and set sign appropriately for
18748 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18749 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18750 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18751 expectations in error cases.
18752 (y1_test_data): Likewise.
18753 (yn_test_data): Likewise.
18754 * sysdeps/i386/fpu/libm-test-ulps: Update.
18755 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18757 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18759 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18760 "64" to "64-v1". Add "64-v2".
18761 (abi-64-options): Rename to ...
18762 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18763 (abi-64-condition): Rename to ...
18764 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18765 (abi-64-ld-soname): Rename to ...
18766 (abi-64-v1-ld-soname): ... this.
18767 (abi-64-v2-options): Define.
18768 (abi-64-v2-condition): Likewise.
18769 (abi-64-v2-ld-soname): Likewise.
18770 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18771 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18773 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18776 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18777 Alan Modra <amodra@gmail.com>
18779 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18780 New versions for use with the ELFv2 ABI.
18781 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18782 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18784 (struct La_ppc64v2_retval): Likewise.
18785 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18786 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18787 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18788 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18789 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18790 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18791 Do not save or restore CR.
18792 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18793 (_dl_profile_resolve): Do no save or restore CR. Support extended
18794 return values for ELFv2 ABI. Fix location of FPR return registers.
18795 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18796 updated values for _CALL_ELF == 2.
18797 (La_regs, La_retval, int_retval): Likewise.
18799 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18801 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18802 (FRAME_MIN_SIZE_PARM): Likewise.
18803 (FRAME_BACKCHAIN): Likewise.
18804 (FRAME_CR_SAVE): Likewise.
18805 (FRAME_LR_SAVE): Likewise.
18806 (FRAME_TOC_SAVE): Likewise.
18807 (FRAME_PARM_SAVE): Likewise.
18808 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18809 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18810 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18811 (call_mcount_parm_offset): New macro.
18812 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18813 (PROF): Use symbolic stack frame offsets.
18814 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18815 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18816 Redefine in terms of FRAME_MIN_SIZE.
18817 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18818 (_dl_profile_resolve): Likewise. Update comment.
18819 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18820 symbols stack frame offsets.
18821 (__sigsetjmp): Likewise.
18822 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18823 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18824 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18825 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18828 (FRAME_BACKCHAIN): Remove.
18829 (FRAME_CR_SAVE): Likewise.
18830 (FRAME_LR_SAVE): Likewise.
18831 (FRAME_COMPILER_DW): Likewise.
18832 (FRAME_LINKER_DW): Likewise.
18833 (FRAME_TOC_SAVE): Likewise.
18834 (FRAME_PARM_SAVE): Likewise.
18835 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18836 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18837 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18839 (CHECK_SP): Use symbolic stack frame offsets.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18841 zone" instead of caller's parameter save area for temp storage.
18842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18843 Likewise. Also, use symbolic stack frame offsets.
18844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18845 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18846 our own stack frame instead of the caller's.
18847 (__socket): Use symbolic stack frame offsets.
18849 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18850 Alan Modra <amodra@gmail.com>
18852 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18854 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18855 (PPC64_LOCAL_ENTRY_OFFSET): Define.
18856 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18858 (elf_machine_fixup_plt): Call it.
18859 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18861 (elf_machine_rela): Update call to elf_machine_plt_conflict.
18862 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18863 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18864 r2 before calling target.
18866 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18867 Alan Modra <amodra@gmail.com>
18869 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18870 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18871 versions of macros to support ELFv2 ABI.
18872 (LOCALENTRY): New macro.
18873 (ENTRY, EALIGN): Use it.
18874 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18875 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18876 fall through into ENTRY entry point.
18877 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18878 Only define if _CALL_ELF != 2.
18880 (elf_machine_matches_host): Verify ABI version matches.
18881 (RTLD_START): Use LOCALENTRY.
18882 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18883 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18884 (PLT_ENTRY_WORDS): New macro.
18885 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18886 (elf_machine_runtime_setup): Support ELFv2 ABI.
18887 (elf_machine_fixup_plt): Likewise.
18888 (elf_machine_plt_conflict): Likewise.
18889 (resolve_ifunc): Likewise.
18890 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18891 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18893 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18894 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18896 (makecontext): Support ELFv2 ABI.
18897 * elf/elf.h (EF_PPC64_ABI): Define.
18899 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18901 * sysdeps/powerpc/powerpc64/sysdep.h
18902 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18903 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18904 (ENTRY) [ASSEMBLER]: ... but instead here ...
18905 (EALIGN) [ASSEMBLER]: ... and here.
18906 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18907 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18908 (ENTRY_2) [!ASSEMBLER]: Use it.
18909 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18910 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
18911 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18912 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18913 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18915 Use PPC64_LOAD_FUNCPTR.
18917 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18919 2013-12-04 Alan Modra <amodra@gmail.com>
18921 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18922 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18923 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18924 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18926 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18927 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18928 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18929 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18930 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18931 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18933 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18936 (__makecontext): Fix incorrect CFI when backtracing out of
18937 context created via makecontext.
18938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18939 (__setcontext): Fix incorrect CFI during switch to new context.
18940 (__novec_setcontext): Likewise.
18942 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
18945 * time/strptime_l.c (__strptime_internal): Allow modifiers
18947 * time/tst-strptime.c (day_tests): Add testcase.
18949 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
18951 * scripts/bench.pl: Skip over blank lines.
18953 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
18956 * manual/time.texi (Calendar Time): Clarify what timezone functions
18959 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18961 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18963 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
18965 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18967 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18968 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18969 * debug/memset_chk.c (__memset_chk): Likewise.
18970 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18971 * debug/strncpy_chk.c: Likewise.
18973 2013-12-03 Joseph Myers <joseph@codesourcery.com>
18977 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18978 (__ieee754_exp): For possibly underflowing results, check size of
18979 result and force underflow exception if required.
18980 * math/auto-libm-test-in: Add more tests of exp.
18981 * math/auto-libm-test-out: Regenerated.
18982 * sysdeps/i386/fpu/libm-test-ulps: Update.
18983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18986 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18987 * math/w_exp2f.c (__exp2f): Likewise.
18988 * math/w_exp2l.c (__exp2l): Likewise.
18989 * math/auto-libm-test-in: Do not allow missing errno on exp2
18991 * math/auto-libm-test-out: Regenerated.
18993 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
18996 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18997 handle filename validation.
18998 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19001 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19004 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19005 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19006 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19008 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19009 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19010 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19011 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19012 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19013 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19014 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19015 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19016 Add more erfc tests.
19017 * math/auto-libm-test-out: Regenerated.
19018 * sysdeps/i386/fpu/libm-test-ulps: Update.
19019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19021 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19022 exp2, expm1, j0 and j1.
19023 * math/auto-libm-test-out: Regenerated.
19024 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19025 (erfc_test_data): Likewise.
19026 (exp_test_data): Likewise.
19027 (exp_tonearest_test_data): Likewise.
19028 (exp_towardzero_test_data): Likewise.
19029 (exp_downward_test_data): Likewise.
19030 (exp_upward_test_data): Likewise.
19031 (exp10_test_data): Likewise.
19032 (exp2_test_data): Likewise.
19033 (expm1_test_data): Likewise.
19034 (j0_test_data): Likewise.
19035 (j1_test_data): Likewise.
19036 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19037 (input_flag_type): Add flag_xfail_rounding.
19038 (input_flags): Add xfail-rounding.
19039 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19040 (output_for_one_input_case): Handle flag_xfail_rounding.
19041 * sysdeps/i386/fpu/libm-test-ulps: Update.
19042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19044 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19047 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19050 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19053 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19054 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19055 (STAP_PROBE0): New macro.
19056 (STAP_PROBE1): Likewise.
19057 (STAP_PROBE2): Likewise.
19058 (STAP_PROBE3): Likewise.
19059 (STAP_PROBE4): Likewise.
19061 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19063 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19065 2013-12-02 Steve Ellcey <sellcey@mips.com>
19067 * benchtests/Makefile (bench): Add sqrt.
19068 (LDLIBS-bench-sqrt): New.
19069 * benchtests/sqrt-input: New.
19071 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19073 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19074 (GAIH_EAI): Likewise.
19075 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19076 (gaih_inet): Likewise.
19077 (getaddrinfo): Don't use GAIH_EAI.
19079 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19080 (struct gaih): Remove definition.
19082 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19084 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19085 Use HERRNOP directly.
19087 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19089 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19091 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19093 * math/gen-auto-libm-tests.c (test_functions): Add more
19094 single-argument functions.
19095 (special_fill_pi_2): New function.
19096 (special_fill_minus_pi_2): Likewise.
19097 (special_fill_pi_6): Likewise.
19098 (special_fill_minus_pi_6): Likewise.
19099 (special_fill_pi_3): Likewise.
19100 (special_fill_2pi_3): Likewise.
19101 (special_fill_e): Likewise.
19102 (special_fill_1_e): Likewise.
19103 (special_fill_e_minus_1): Likewise.
19104 (special_real_inputs): Add more special inputs.
19105 (output_for_one_input_case): Do not require ERANGE on underflow to
19106 zero if round-to-nearest result does not underflow to zero, unless
19107 exact results required.
19108 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19109 atan, atanh, cbrt, cos and cosh.
19110 * math/auto-libm-test-out: Regenerated.
19111 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19112 (acos_tonearest_test_data): Likewise.
19113 (acos_towardzero_test_data): Likewise.
19114 (acos_downward_test_data): Likewise.
19115 (acos_upward_test_data): Likewise.
19116 (acosh_test_data): Likewise.
19117 (asin_test_data): Likewise.
19118 (asin_tonearest_test_data): Likewise.
19119 (asin_towardzero_test_data): Likewise.
19120 (asin_upward_test_data): Likewise.
19121 (asinh_test_data): Likewise.
19122 (atan_test_data): Likewise.
19123 (atanh_test_data): Likewise.
19124 (cbrt_test_data): Likewise.
19125 (cos_test_data): Likewise.
19126 (cos_tonearest_test_data): Likewise.
19127 (cos_towardzero_test_data): Likewise.
19128 (cos_downward_test_data): Likewise.
19129 (cos_upward_test_data): Likewise.
19130 (cosh_test_data): Likewise.
19131 (cosh_tonearest_test_data): Likewise.
19132 (cosh_towardzero_test_data): Likewise.
19133 (cosh_downward_test_data): Likewise.
19134 (cosh_upward_test_data): Likewise.
19135 * sysdeps/i386/fpu/libm-test-ulps: Update.
19136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19138 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19141 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19142 * math/w_exp10f.c (__exp10f): Likewise.
19143 * math/w_exp10l.c (__exp10l): Likewise.
19144 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19145 errno settings in existing tests.
19148 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19149 precision control set to double precision.
19150 * sysdeps/i386/fpu/w_sqrt.c: New file.
19151 * math/auto-libm-test-in: Add more tests.
19152 * math/auto-libm-test-out: Update.
19154 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19155 (sqrt_test_tonearest): New function.
19156 (sqrt_towardzero_test_data): New variable.
19157 (sqrt_test_towardzero): New function.
19158 (sqrt_downward_test_data): New variable.
19159 (sqrt_test_downward): New function.
19160 (sqrt_upward_test_data): New variable.
19161 (sqrt_test_upward): New function.
19162 (main): Call the new functions.
19164 * math/gen-auto-libm-tests.c: New file.
19165 * math/auto-libm-test-in: Likewise.
19166 * math/auto-libm-test-out: New generated file.
19167 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19169 (%beautify): Add generated representations of zero.
19170 (top level): Set $auto_input and call parse_auto_input.
19171 (beautify): Remove trailing "f" from hex float constants.
19172 (parse_args): Handle XFAIL_TEST.
19173 (convert_condition): New function.
19174 (or_value): Likewise.
19175 (or_cond_value): Likewise.
19176 (generate_testfile): Handle AUTO_TESTS_* lines.
19177 (parse_auto_input): New function.
19178 * math/libm-test.inc (XFAIL_TEST): New macro.
19179 (ERRNO_UNCHANGED): Update value.
19180 (ERRNO_EDOM): Likewise.
19181 (ERRNO_ERANGE): Likewise.
19182 (IGNORE_RESULT): Likewise.
19183 (TEST_COND_flt_32): New macro.
19184 (TEST_COND_dbl_64): Likewise.
19185 (TEST_COND_ldbl_96_intel): Likewise.
19186 (TEST_COND_ldbl_96_m68k): Likewise.
19187 (TEST_COND_ldbl_128): Likewise.
19188 (TEST_COND_ldbl_128ibm): Likewise.
19189 (TEST_COND_long32): Likewise.
19190 (TEST_COND_long64): Likewise.
19191 (TEST_COND_before_rounding): Likewise.
19192 (TEST_COND_after_rounding): Likewise.
19193 (enable_test): Handle XFAIL_TEST flag.
19194 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19195 with finite results.
19196 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19197 auto-libm-test-out.
19199 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19200 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19203 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19204 __tls_get_addr_internal instead of __tls_get_offset in order to
19205 avoid GOT pointer dependency. Make rtld export
19206 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19207 __tls_get_addr since we are a __tls_get_offset platform.
19208 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19209 GOT pointer being set up before.
19210 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19212 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19214 * manual/math.texi (Errors in Math Functions): Document accuracy
19218 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19219 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19220 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19221 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19222 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19223 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19224 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19225 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19226 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19227 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19228 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19229 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19230 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19231 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19232 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19233 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19235 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19236 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19237 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19238 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19239 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19241 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19243 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19245 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19246 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19247 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19248 atomic-feupdateenv and flt-rounds.
19249 * sysdeps/powerpc/nofpu/Versions (libc): Add
19250 __atomic_feholdexcept, __atomic_feclearexcept,
19251 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19252 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19253 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19254 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19255 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19260 * manual/arith.texi (FP Exceptions): Document that exceptions may
19261 not be raised when matherr is used.
19262 (Math Error Reporting): Document overflow in directed rounding
19263 modes. Document that errno may not be set when finite values are
19264 returned on overflow. Document intent to set errno on underflow
19265 only for underflow to zero.
19268 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19269 round-to-nearest then adjust result for other rounding modes.
19270 * include/fenv.h (fegetround): Use libm_hidden_proto.
19271 * math/fegetround.c (fegetround): Use libm_hidden_def.
19272 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19273 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19274 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19275 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19277 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19278 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19279 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19280 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19282 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19285 * nss/Versions (libnss_files): Add
19286 _nss_files_gethostbyname3_r.
19287 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19289 (HOST_DB_LOOKUP): Remove macro.
19290 (_nss_files_gethostbyname_r): Implement function without the
19291 HOST_DB_LOOKUP macro.
19292 (_nss_files_gethostbyname2_r): Likewise.
19294 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
19296 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19298 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
19300 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19301 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19304 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19306 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19307 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19308 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19309 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19310 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19311 __fe_nomask_env_priv and attribute_hidden.
19312 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19313 (libc_feupdateenv_test_ppc): Likewise.
19314 (libc_feresetround_ppc): Likewise.
19315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19316 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19317 compat_symbol macro.
19318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19319 (__fe_nomask_env): Likewise.
19320 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19322 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19324 * string/Makefile: Remove ifunc tests.
19325 * string/test-string.h: Define TEST_IFUNC.
19326 * string/test-bcopy-ifunc.c: Remove.
19327 * string/test-bzero-ifunc.c: Likewise.
19328 * string/test-memccpy-ifunc.c: Likewise.
19329 * string/test-memchr-ifunc.c: Likewise.
19330 * string/test-memcmp-ifunc.c: Likewise.
19331 * string/test-memcpy-ifunc.c: Likewise.
19332 * string/test-memmem-ifunc.c: Likewise.
19333 * string/test-memmove-ifunc.c: Likewise.
19334 * string/test-mempcpy-ifunc.c: Likewise.
19335 * string/test-memrchr-ifunc.c: Likewise.
19336 * string/test-memset-ifunc.c: Likewise.
19337 * string/test-rawmemchr-ifunc.c: Likewise.
19338 * string/test-stpcpy-ifunc.c: Likewise.
19339 * string/test-stpncpy-ifunc.c: Likewise.
19340 * string/test-strcasecmp-ifunc.c: Likewise.
19341 * string/test-strcasestr-ifunc.c: Likewise.
19342 * string/test-strcat-ifunc.c: Likewise.
19343 * string/test-strchr-ifunc.c: Likewise.
19344 * string/test-strchrnul-ifunc.c: Likewise.
19345 * string/test-strcmp-ifunc.c: Likewise.
19346 * string/test-strcpy-ifunc.c: Likewise.
19347 * string/test-strcspn-ifunc.c: Likewise.
19348 * string/test-strlen-ifunc.c: Likewise.
19349 * string/test-strncasecmp-ifunc.c: Likewise.
19350 * string/test-strncat-ifunc.c: Likewise.
19351 * string/test-strncmp-ifunc.c: Likewise.
19352 * string/test-strncpy-ifunc.c: Likewise.
19353 * string/test-strnlen-ifunc.c: Likewise.
19354 * string/test-strpbrk-ifunc.c: Likewise.
19355 * string/test-strrchr-ifunc.c: Likewise.
19356 * string/test-strspn-ifunc.c: Likewise.
19357 * string/test-strstr-ifunc.c: Likewise.
19359 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19361 * benchtests/Makefile: Remove ifunc tests.
19362 * benchtests/bench-string.h: Define TEST_IFUNC.
19363 * benchtests/bench-bcopy-ifunc.c: Remove.
19364 * benchtests/bench-bzero-ifunc.c: Likewise.
19365 * benchtests/bench-memccpy-ifunc.c: Likewise.
19366 * benchtests/bench-memchr-ifunc.c: Likewise.
19367 * benchtests/bench-memcmp-ifunc.c: Likewise.
19368 * benchtests/bench-memcpy-ifunc.c: Likewise.
19369 * benchtests/bench-memmem-ifunc.c: Likewise.
19370 * benchtests/bench-memmove-ifunc.c: Likewise.
19371 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19372 * benchtests/bench-memrchr-ifunc.c: Likewise.
19373 * benchtests/bench-memset-ifunc.c: Likewise.
19374 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19375 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19376 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19377 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19378 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19379 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19380 * benchtests/bench-strcat-ifunc.c: Likewise.
19381 * benchtests/bench-strchr-ifunc.c: Likewise.
19382 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19383 * benchtests/bench-strcmp-ifunc.c: Likewise.
19384 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19385 * benchtests/bench-strcpy-ifunc.c: Likewise.
19386 * benchtests/bench-strcspn-ifunc.c: Likewise.
19387 * benchtests/bench-strlen-ifunc.c: Likewise.
19388 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19389 * benchtests/bench-strncat-ifunc.c: Likewise.
19390 * benchtests/bench-strncmp-ifunc.c: Likewise.
19391 * benchtests/bench-strncpy-ifunc.c: Likewise.
19392 * benchtests/bench-strnlen-ifunc.c: Likewise.
19393 * benchtests/bench-strpbrk-ifunc.c: Likewise.
19394 * benchtests/bench-strrchr-ifunc.c: Likewise.
19395 * benchtests/bench-strsep-ifunc.c: Likewise.
19396 * benchtests/bench-strspn-ifunc.c: Likewise.
19397 * benchtests/bench-strstr-ifunc.c: Likewise.
19399 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19401 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19403 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19405 * resolv/netdb.h: Use __glibc_reserved instead __unused.
19406 * rt/aio.h: Likewise.
19407 * sysdeps/gnu/bits/utmp.h: Likewise.
19408 * sysdeps/gnu/bits/utmpx.h: Likewise.
19409 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19410 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19411 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19412 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19413 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19414 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19415 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19416 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19417 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19418 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19419 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19420 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19421 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19423 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19424 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19425 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19426 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19427 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19428 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19429 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19430 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19431 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19432 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19433 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19434 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19435 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19436 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19437 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19438 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19439 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19440 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19441 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19442 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19443 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19444 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19445 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19446 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19447 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19448 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19449 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19450 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19452 2013-11-25 Carlos O'Donell <carlos@redhat.com>
19455 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19456 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19458 2013-11-25 Joseph Myers <joseph@codesourcery.com>
19460 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19461 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19464 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19466 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19467 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19468 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19469 (__fesetround): Remove define.
19470 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19471 rounding and exceptions handling.
19472 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19473 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19474 (__fe_nomask_env): Likewise.
19475 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19476 __fegetround instead of fegetround.
19477 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19478 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19480 2013-11-21 Roland McGrath <roland@hack.frob.com>
19482 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19485 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19487 2013-11-21 Meador Inge <meadori@codesourcery.com>
19490 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19491 (encrypt_r): Likewise.
19492 * malloc/obstack.h (obstack_free): Likewise.
19493 * posix/unistd.h (encrypt): Likewise.
19495 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
19497 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19498 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19499 DL_CALL_DT_FINI() that call the functions directly.
19500 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19501 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19502 * elf/dl-fini.c: Likewise.
19504 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
19506 * malloc/hooks.c (memalign_check): Add alignment rounding.
19507 * malloc/malloc.c (_mid_memalign): New function.
19508 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19509 Implement by calling _mid_memalign.
19510 * manual/probes.texi (Memory Allocation Probes): Remove
19511 memory_valloc_retry and memory_pvalloc_retry.
19513 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19515 * locale/programs/locarchive.c (open_archive): Add const
19516 qualifier to ARCHIVEFNAME and copy default fname to
19520 * libio/tst-widetext.input: Rename Oriya to Odia.
19521 * locale/iso-639.def: Likewise.
19523 * manual/probes.texi (Mathematical Function Probes): Add
19524 documentation for sin, cos, asin and acos probes.
19525 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19526 (__sin32): Add slowasin probe.
19527 (__cos32): Add slowacos probe.
19528 (__mpsin): Add slowsin probe.
19529 (__mpcos): Add slowcos probe.
19531 2013-11-19 Joseph Myers <joseph@codesourcery.com>
19534 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19535 thread-local __sim_exceptions_thread and global
19536 __sim_exceptions_global.
19537 (__sim_disabled_exceptions): Change to thread-local
19538 __sim_disabled_exceptions_thread and global
19539 __sim_disabled_exceptions_global.
19540 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19541 and global __sim_round_mode_global.
19542 (__simulate_exceptions): Use thread-local floating-point state and
19543 set global state from it as needed.
19544 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19545 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19546 __sim_round_mode_thread.
19547 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19548 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19549 and global __sim_exceptions_global.
19550 (__sim_disabled_exceptions): Change to thread-local
19551 __sim_disabled_exceptions_thread and global
19552 __sim_disabled_exceptions_global.
19553 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19554 and global __sim_round_mode_global.
19555 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19556 (SIM_SET_GLOBAL): Likewise.
19557 * sysdeps/powerpc/soft-fp/sfp-machine.h
19558 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19559 __sim_round_mode_thread.
19560 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19561 __sim_disabled_exceptions_thread.
19562 (__sim_exceptions): Change to __sim_exceptions_thread.
19563 (__sim_disabled_exceptions): Change to
19564 __sim_disabled_exceptions_thread.
19565 (__sim_round_mode): Change to __sim_round_mode_thread.
19566 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19567 thread-local floating-point state and set global state from it as
19569 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19570 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19571 (__sim_disabled_exceptions): Remove extern declaration.
19572 (feenableexcept): Use thread-local floating-point state and set
19573 global state from it as needed.
19574 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19575 extern declaration.
19576 (__sim_disabled_exceptions): Likewise.
19577 (__sim_round_mode): Likewise.
19578 (__fegetenv): Use thread-local floating-point state.
19579 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19580 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19581 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19582 floating-point state and set global state from it as needed.
19583 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19584 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19585 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19587 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19588 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19590 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19591 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19592 Use __sim_round_mode_thread.
19593 * math/test-fenv-tls.c: New file.
19594 * math/Makefile (tests): Add test-fenv-tls.
19595 ($(objpfx)test-fenv-tls): Depend on
19596 $(common-objpfx)nptl/libpthread.so.
19598 2013-11-19 Andreas Schwab <schwab@suse.de>
19600 * locale/programs/locale.c (show_info): Decode wordarray elements.
19601 * locale/categories.def (LC_MONETARY): Add element for
19602 _NL_MONETARY_CRNCYSTR.
19603 * locale/C-monetary.c (conversion_rate): New variable.
19604 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19607 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19609 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19610 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19612 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19614 * elf/Makefile (tst-auxv): New test.
19615 * elf/tst-auxv.c: New
19616 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19618 2013-11-18 Joseph Myers <joseph@codesourcery.com>
19620 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19621 (hidden_proto): Caller changed.
19622 (hidden_tls_proto): New macro.
19623 (libc_hidden_tls_proto): Likewise.
19624 (rtld_hidden_tls_proto): Likewise.
19625 (libm_hidden_tls_proto): Likewise.
19626 (libresolv_hidden_tls_proto): Likewise.
19627 (librt_hidden_tls_proto): Likewise.
19628 (libdl_hidden_tls_proto): Likewise.
19629 (libnss_files_hidden_tls_proto): Likewise.
19630 (libnsl_hidden_tls_proto): Likewise.
19631 (libnss_nisplus_hidden_tls_proto): Likewise.
19632 (libutil_hidden_tls_proto): Likewise.
19634 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
19637 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19638 (decompose_rpath): Defer expansion to fillin_rpath.
19639 (_dl_init_paths): Pass linkmap to fillin_rpath.
19641 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19643 * benchtests/Makefile: Add strsep.
19644 * benchtests/bench-strsep.c: New file: strsep benchtest.
19645 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19647 2013-11-18 Andreas Schwab <schwab@suse.de>
19649 * locale/programs/locale.c (show_info) [case byte]: Check for
19650 '\377' instead of '\177'.
19651 * locale/C-monetary.c (not_available): Always use "\377".
19652 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19653 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19654 detect unavailable sign_posn locale elements.
19655 * locale/localeconv.c (__localeconv): For grouping and
19656 mon_grouping handle "\177" and "\377" like no grouping.
19657 (INT_ELEM): New macro. Use it to set all numeric members.
19658 * locale/programs/ld-monetary.c (monetary_read)
19659 <tok_mon_grouping>: Normalize single -1 to the empty string.
19660 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19663 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19666 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19667 when we match (nil).
19668 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19670 2013-11-16 Joseph Myers <joseph@codesourcery.com>
19672 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19673 (NO_TEST_INLINE): Update value.
19674 (ERRNO_UNCHANGED): Likewise.
19675 (ERRNO_EDOM): Likewise.
19676 (ERRNO_ERANGE): Likewise.
19677 (IGNORE_RESULT): Likewise.
19678 (check_float_internal): Check signs of NaN results if
19679 TEST_NAN_SIGN used.
19680 (check_complex): Pass TEST_NAN_SIGN flag through to second
19681 check_float_internal call.
19682 (copysign_test_data): Add tests with quiet NaNs as second
19683 argument. Use TEST_NAN_SIGN.
19684 (fabs_test_data): Add test of negative quiet NaN argument. Use
19686 (signbit_test_data): Add tests of quiet NaN argument.
19687 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19689 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19691 (parse_args): Handle function results specified as IGNORE.
19692 * math/libm-test.inc (IGNORE_RESULT): New macro.
19693 (check_float_internal): Do not check numerical result if flag
19695 (check_complex): Pass through IGNORE_RESULT to second
19696 check_float_internal call.
19697 (check_int): Do not check numerical result if flag IGNORE_RESULT
19699 (check_long): Likewise.
19700 (check_bool): Likewise.
19701 (check_longlong): Likewise.
19702 (lrint_test_data): Add tests of infinite and NaN arguments.
19703 (lrint_tonearest_test_data): Likewise.
19704 (lrint_towardzero_test_data): Likewise.
19705 (lrint_downward_test_data): Likewise.
19706 (lrint_upward_test_data): Likewise.
19707 (llrint_test_data): Likewise.
19708 (llrint_tonearest_test_data): Likewise.
19709 (llrint_towardzero_test_data): Likewise.
19710 (llrint_downward_test_data): Likewise.
19711 (llrint_upward_test_data): Likewise.
19712 (lround_test_data): Likewise.
19713 (llround_test_data): Likewise.
19715 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19716 (ERRNO_UNCHANGED): Update value.
19717 (ERRNO_EDOM): Likewise.
19718 (ERRNO_ERANGE): Likewise.
19719 (NO_TEST_INLINE_FLOAT): New macro.
19720 (NO_TEST_INLINE_DOUBLE): Likewise.
19721 (enable_test): New function.
19722 (RUN_TEST_f_f): Check enable_test before running test.
19723 (RUN_TEST_2_f): Likewise.
19724 (RUN_TEST_fff_f): Likewise.
19725 (RUN_TEST_c_f): Likewise.
19726 (RUN_TEST_f_f1): Likewise.
19727 (RUN_TEST_fF_f1): Likewise.
19728 (RUN_TEST_fI_f1): Likewise.
19729 (RUN_TEST_ffI_f1): Likewise.
19730 (RUN_TEST_c_c): Likewise.
19731 (RUN_TEST_cc_c): Likewise.
19732 (RUN_TEST_f_i): Likewise.
19733 (RUN_TEST_f_i_tg): Likewise.
19734 (RUN_TEST_ff_i_tg): Likewise.
19735 (RUN_TEST_f_b): Likewise.
19736 (RUN_TEST_f_b_tg): Likewise.
19737 (RUN_TEST_f_l): Likewise.
19738 (RUN_TEST_f_L): Likewise.
19739 (RUN_TEST_fFF_11): Likewise.
19740 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19742 (cosh_test_data): Likewise.
19743 (exp_test_data): Likewise.
19744 (expm1_test_data): Likewise.
19745 (hypot_test_data): Likewise.
19746 (pow_test_data): Likewise.
19747 (sinh_test_data): Likewise.
19748 (tanh_test_data): Likewise.
19749 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19752 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19753 tests with quiet NaN input and output.
19754 (acosh_test_data): Likewise.
19755 (asin_test_data): Likewise.
19756 (asinh_test_data): Likewise.
19757 (atan_test_data): Likewise.
19758 (atanh_test_data): Likewise.
19759 (atan2_test_data): Likewise.
19760 (cbrt_test_data): Likewise.
19761 (cos_test_data): Likewise.
19762 (cosh_test_data): Likewise.
19763 (erf_test_data): Likewise.
19764 (erfc_test_data): Likewise.
19765 (exp_test_data): Likewise.
19766 (exp10_test_data): Likewise.
19767 (exp2_test_data): Likewise.
19768 (expm1_test_data): Likewise.
19769 (hypot_test_data): Likewise.
19770 (j0_test_data): Likewise.
19771 (j1_test_data): Likewise.
19772 (jn_test_data): Likewise.
19773 (lgamma_test_data): Likewise.
19774 (log_test_data): Likewise.
19775 (log10_test_data): Likewise.
19776 (log1p_test_data): Likewise.
19777 (log2_test_data): Likewise.
19778 (pow_test_data): Likewise.
19779 (scalb_test_data): Likewise.
19780 (sin_test_data): Likewise.
19781 (sincos_test_data): Likewise.
19782 (sinh_test_data): Likewise.
19783 (tan_test_data): Likewise.
19784 (tanh_test_data): Likewise.
19785 (tgamma_test_data): Likewise.
19786 (y0_test_data): Likewise.
19787 (y1_test_data): Likewise.
19788 (yn_test_data): Likewise.
19791 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19792 argument being NaN and avoid computations with second argument in
19794 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19795 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19796 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19798 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19800 * locale/iso-639.def: Add Chitwani Tharu (the).
19802 2013-11-14 Andreas Schwab <schwab@suse.de>
19804 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19805 word instead of empty string.
19807 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19810 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19812 (__fe_nomask_env): Likewise.
19814 2013-11-13 Steve Ellcey <sellcey@mips.com>
19816 * benchtests/bench-timing.h: Include time.h.
19818 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19821 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19823 * sysdeps/unix/sysv/linux/configure: Regenerated.
19825 2013-11-13 Joseph Myers <joseph@codesourcery.com>
19828 * stdlib/strtod_l.c (round_and_return): Do not consider
19829 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19830 exponent one less than half the least subnormal exponent.
19831 * stdlib/test-strtod-round-data: Add more tests.
19832 * stdlib/tst-strtod-round.c (tests): Regenerated.
19834 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19837 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19838 (__fe_mask_env): Likewise.
19839 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19840 libm_hidden_proto and add function prototype.
19841 (__fe_mask_env): Add function prototype.
19842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19843 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19845 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19847 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19849 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19851 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19852 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19854 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19856 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19857 of htab_find_slot().
19859 2013-11-11 David S. Miller <davem@davemloft.net>
19862 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19863 symbol in the non-vis3 case in static builds.
19864 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19865 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19866 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19867 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19869 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19872 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19875 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19877 * benchtests/Makefile: Add bench-strtod.
19878 * benchtests/bench-strtod.c: New file: strtod benchtest
19880 2013-11-11 Andreas Schwab <schwab@suse.de>
19883 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19884 terminating NUL in key length.
19886 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19888 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19889 Add artificial ODP entry for vDSO symbol for PPC64.
19890 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19891 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19893 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19896 * nss/getent.c (services_keys): Recognize services starting with digit.
19898 2013-11-06 David S. Miller <davem@davemloft.net>
19901 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19902 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19904 2013-11-06 Will Newton <will.newton@linaro.org>
19906 * manual/memory.texi (Malloc Examples): Remove register
19907 keyword from examples.
19909 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
19911 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19913 2013-11-04 Joseph Myers <joseph@codesourcery.com>
19916 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19917 depending on [__GCC_IEC_559 > 0].
19918 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19919 depending on [__GCC_IEC_559_COMPLEX > 0].
19921 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
19923 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19926 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
19928 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19930 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
19933 * malloc/malloc (malloc_info): Do not handle first bin as
19936 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
19938 * locale/iso-639.def: Add Central Nahuatl (nhn).
19940 2013-11-01 Bruno Haible <bruno@clisp.org>
19943 * manual/math.texi (BSD Random): Specify range upper bound as
19946 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
19948 * locale/iso-639.def: Add Meadow Mari (mhr).
19950 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
19952 [BZ #14752], [BZ #15763]
19953 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19955 * rt/tst_shm.c: Add test for escaping directory.
19957 2013-10-31 Andreas Schwab <schwab@suse.de>
19960 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19961 followed by 'x' as part of digit sequence.
19962 * stdio-common/tst-sscanf.c (double_tests2): New tests.
19964 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19967 * configure.ac: allow GNU Make 4.0 and greater.
19968 * configure: Regenerated.
19970 2013-10-30 Will Newton <will.newton@linaro.org>
19973 * malloc/hooks.c (memalign_check): Limit alignment to the
19974 maximum representable power of two.
19975 * malloc/malloc.c (__libc_memalign): Likewise.
19976 * malloc/tst-memalign.c (do_test): Add test for very
19977 large alignment values.
19978 * malloc/tst-posix_memalign.c (do_test): Likewise.
19980 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
19983 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19984 (munmap_chunk): Likewise.
19985 (mremap_chunk): Likewise.
19987 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
19990 * stdlib/div.c (div): Remove obsolete code.
19991 * stdlib/ldiv.c (ldiv): Likewise.
19992 * stdlib/lldiv.c (lldiv): Likewise.
19994 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
19997 * nss/nss_files/files-XXX.c (get_contents_ret): New
19999 (get_contents): New function.
20000 (internal_getent): Use it. Expand size of LINEBUFLEN.
20002 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20004 * configure.in: Moved to ...
20005 * configure.ac: ... here. Change reference to configure.in
20007 * sysdeps/arm/preconfigure.ac: ... here.
20008 configure.in to configure.ac.
20009 * sysdeps/gnu/configure.in: Moved to ...
20010 * sysdeps/gnu/configure.ac: ... here.
20011 * sysdeps/i386/configure.in: Moved to ...
20012 * sysdeps/i386/configure.ac: ... here.
20013 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20014 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20015 * sysdeps/mach/configure.in: Moved to ...
20016 * sysdeps/mach/configure.ac: ... here.
20017 * sysdeps/mach/hurd/configure.in: Moved to ...
20018 * sysdeps/mach/hurd/configure.ac: ... here.
20019 * sysdeps/powerpc/configure.in: Moved to ...
20020 * sysdeps/powerpc/configure.ac: ... here.
20021 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20022 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20023 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20024 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20025 * sysdeps/s390/s390-32/configure.in: Moved to ...
20026 * sysdeps/s390/s390-32/configure.ac: ... here.
20027 * sysdeps/s390/s390-64/configure.in: Moved to ...
20028 * sysdeps/s390/s390-64/configure.ac: ... here.
20029 * sysdeps/sh/configure.in: Moved to ...
20030 * sysdeps/sh/configure.ac: ... here.
20031 * sysdeps/sparc/configure.in: Moved to ...
20032 * sysdeps/sparc/configure.ac: ... here.
20033 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20034 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20035 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20036 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20037 * sysdeps/x86_64/configure.in: Moved to ...
20038 * sysdeps/x86_64/configure.ac: ... here.
20039 * sysdeps/x86_64/preconfigure.in: Moved to ...
20040 * sysdeps/x86_64/preconfigure.ac: ... here.
20041 * aclocal.m4: Change reference to configure.in to configure.ac.
20042 * config.h.in: Likewise.
20043 * manual/install.texi: Likewise.
20044 * manual/maint.texi: Likewise.
20045 * Makefile: Likewise.
20046 * malloc/Makefile: Likewise.
20047 * nscd/Makefile: Likewise.
20048 * Makeconfig: Change reference to configure.in and
20049 preconfigure.in to configure.ac and preconfigure.ac
20051 * INSTALL: Regenerated.
20052 * configure: Likewise.
20053 * sysdeps/gnu/configure: Likewise.
20054 * sysdeps/i386/configure: Likewise.
20055 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20056 * sysdeps/mach/configure: Likewise.
20057 * sysdeps/mach/hurd/configure: Likewise.
20058 * sysdeps/powerpc/configure: Likewise.
20059 * sysdeps/powerpc/powerpc32/configure: Likewise.
20060 * sysdeps/powerpc/powerpc64/configure: Likewise.
20061 * sysdeps/s390/s390-32/configure: Likewise.
20062 * sysdeps/s390/s390-64/configure: Likewise.
20063 * sysdeps/sh/configure: Likewise.
20064 * sysdeps/sparc/configure: Likewise.
20065 * sysdeps/unix/sysv/linux/configure: Likewise.
20066 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20067 * sysdeps/x86_64/configure: Likewise.
20068 * sysdeps/x86_64/preconfigure: Likewise.
20070 2013-10-29 Andreas Schwab <schwab@suse.de>
20072 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20074 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20076 * benchtests/pow-inputs: Add new inputs.
20078 * benchtests/exp-inputs: Add new inputs.
20080 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20081 conditional check for return value.
20082 (__cos32): Likewise.
20084 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20086 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20087 to provide a boost for large inputs with word alignment.
20088 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20089 implementation based on optimized PPC64 strcpy.
20090 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20091 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20092 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20093 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20095 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20098 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20100 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20103 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20104 * time/tst-strptime.c (day_tests): Add testcase.
20106 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20109 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20111 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20114 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20115 MAP_FAILED on error.
20117 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20120 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20121 heap for large requests.
20123 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20126 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20127 result if the result has no associated interface.
20128 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20129 interface for all 127.X.Y.Z addresses.
20131 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20133 * locale/iso-639.def: Add Ligurian (lij)
20135 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20138 * sunrpc/rpc_main.c: Document rpcgen -5.
20140 2013-10-19 Michael Stahl <mstahl@redhat.com>
20142 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20144 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20147 * posix/glob.c: Match only directories when trailing slash is present.
20148 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20149 (main): Add testcase.
20151 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20154 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20156 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20158 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20159 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20160 AUTH_DES and cindex for FIPS 140-2.
20161 (DES Encryption): Add cindex FIPS 46-3.
20163 * locale/locarchive.h (struct locarhandle): Add fname.
20164 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20165 if an optional argument was specified to --list-archive,
20167 * locale/programs/locarchive.c (show_archive_content): Take new
20168 argument fname and pass it via ah.fname to open_archive.
20169 * locale/programs/localedef.h: Update decl.
20170 (open_archive): If AH->fname is non-null, open that file
20171 rather than the default file name, and don't ignore ENOENT.
20172 (create_archive): Set AH.fname to NULL.
20173 (delete_locales_from_archive): Likewise.
20174 (add_locales_to_archive): Likewise.
20175 * locale/programs/locfile.c (write_all_categories): Likewise.
20177 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20178 Aldy Hernandez <aldyh@redhat.com>
20180 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20181 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20182 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20183 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20184 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20185 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20186 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20187 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20188 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20189 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20190 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20191 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20192 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20193 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20194 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20196 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20198 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20200 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20202 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20203 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20205 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20206 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20207 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20208 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20210 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20211 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20212 * sysdeps/powerpc/preconfigure: Likewise.
20213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20215 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20216 Replace contents of file by #include of <fenv_libc.h>.
20217 * sysdeps/powerpc/soft-fp/sfp-machine.h
20218 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20220 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20221 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20222 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20223 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20224 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20225 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20227 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20228 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20229 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20230 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20231 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20233 Allow copysignl PLT reference to be missing.
20235 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20236 Joseph Myers <joseph@codesourcery.com
20239 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20241 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20243 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20245 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20246 * elf/tst-tls1.c: Likewise.
20247 * elf/tst-tls10.h: Likewise.
20248 * elf/tst-tls14.c: Likewise.
20249 * elf/tst-tls2.c: Likewise.
20250 * elf/tst-tls3.c: Likewise.
20251 * elf/tst-tls4.c: Likewise.
20252 * elf/tst-tls5.c: Likewise.
20253 * elf/tst-tls6.c: Likewise.
20254 * elf/tst-tls7.c: Likewise.
20255 * elf/tst-tls8.c: Likewise.
20256 * elf/tst-tls9.c: Likewise.
20257 * elf/tst-tlsmod1.c: Likewise.
20258 * elf/tst-tlsmod13.c: Likewise.
20259 * elf/tst-tlsmod13a.c: Likewise.
20260 * elf/tst-tlsmod14a.c: Likewise.
20261 * elf/tst-tlsmod16a.c: Likewise.
20262 * elf/tst-tlsmod16b.c: Likewise.
20263 * elf/tst-tlsmod2.c: Likewise.
20264 * elf/tst-tlsmod3.c: Likewise.
20265 * elf/tst-tlsmod4.c: Likewise.
20266 * elf/tst-tlsmod5.c: Likewise.
20267 * elf/tst-tlsmod6.c: Likewise.
20269 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
20272 * malloc/malloc.c: remove checks for statistics.
20274 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20277 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20278 * inet/tst-network.c: Add testcase.
20280 2013-10-17 Andreas Schwab <schwab@suse.de>
20283 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20284 to determine canonical name.
20286 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20288 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20289 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20290 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20291 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20292 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20293 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20294 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20295 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20296 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20297 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20298 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20299 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20300 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20301 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20302 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20303 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20304 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20305 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20306 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20307 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20308 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20309 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20310 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20311 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20312 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20313 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20314 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20315 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20316 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20317 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20318 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20319 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20320 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20321 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20322 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20323 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20324 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20325 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20326 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20327 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20328 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20329 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20330 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20331 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20332 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20333 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20334 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20335 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20336 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20337 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20338 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20339 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20340 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20341 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20342 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20343 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20344 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20345 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20347 2013-10-17 Joseph Myers <joseph@codesourcery.com>
20350 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20351 make result into a quiet NaN.
20353 2013-10-16 Joseph Myers <joseph@codesourcery.com>
20355 * soft-fp/adddf3.c: Fix horizontal whitespace.
20356 * soft-fp/addsf3.c: Likewise.
20357 * soft-fp/addtf3.c: Likewise.
20358 * soft-fp/divdf3.c: Likewise.
20359 * soft-fp/divsf3.c: Likewise.
20360 * soft-fp/divtf3.c: Likewise.
20361 * soft-fp/double.h: Likewise.
20362 * soft-fp/eqdf2.c: Likewise.
20363 * soft-fp/eqsf2.c: Likewise.
20364 * soft-fp/eqtf2.c: Likewise.
20365 * soft-fp/extenddftf2.c: Likewise.
20366 * soft-fp/extended.h: Likewise.
20367 * soft-fp/extendsfdf2.c: Likewise.
20368 * soft-fp/extendsftf2.c: Likewise.
20369 * soft-fp/extendxftf2.c: Likewise.
20370 * soft-fp/fixdfdi.c: Likewise.
20371 * soft-fp/fixdfsi.c: Likewise.
20372 * soft-fp/fixdfti.c: Likewise.
20373 * soft-fp/fixsfdi.c: Likewise.
20374 * soft-fp/fixsfsi.c: Likewise.
20375 * soft-fp/fixsfti.c: Likewise.
20376 * soft-fp/fixtfdi.c: Likewise.
20377 * soft-fp/fixtfsi.c: Likewise.
20378 * soft-fp/fixtfti.c: Likewise.
20379 * soft-fp/fixunsdfdi.c: Likewise.
20380 * soft-fp/fixunsdfsi.c: Likewise.
20381 * soft-fp/fixunsdfti.c: Likewise.
20382 * soft-fp/fixunssfdi.c: Likewise.
20383 * soft-fp/fixunssfsi.c: Likewise.
20384 * soft-fp/fixunssfti.c: Likewise.
20385 * soft-fp/fixunstfdi.c: Likewise.
20386 * soft-fp/fixunstfsi.c: Likewise.
20387 * soft-fp/fixunstfti.c: Likewise.
20388 * soft-fp/floatdidf.c: Likewise.
20389 * soft-fp/floatdisf.c: Likewise.
20390 * soft-fp/floatditf.c: Likewise.
20391 * soft-fp/floatsidf.c: Likewise.
20392 * soft-fp/floatsisf.c: Likewise.
20393 * soft-fp/floatsitf.c: Likewise.
20394 * soft-fp/floattidf.c: Likewise.
20395 * soft-fp/floattisf.c: Likewise.
20396 * soft-fp/floattitf.c: Likewise.
20397 * soft-fp/floatundidf.c: Likewise.
20398 * soft-fp/floatundisf.c: Likewise.
20399 * soft-fp/floatunditf.c: Likewise.
20400 * soft-fp/floatunsidf.c: Likewise.
20401 * soft-fp/floatunsisf.c: Likewise.
20402 * soft-fp/floatunsitf.c: Likewise.
20403 * soft-fp/floatuntidf.c: Likewise.
20404 * soft-fp/floatuntisf.c: Likewise.
20405 * soft-fp/floatuntitf.c: Likewise.
20406 * soft-fp/fmadf4.c: Likewise.
20407 * soft-fp/fmasf4.c: Likewise.
20408 * soft-fp/fmatf4.c: Likewise.
20409 * soft-fp/gedf2.c: Likewise.
20410 * soft-fp/gesf2.c: Likewise.
20411 * soft-fp/getf2.c: Likewise.
20412 * soft-fp/ledf2.c: Likewise.
20413 * soft-fp/lesf2.c: Likewise.
20414 * soft-fp/letf2.c: Likewise.
20415 * soft-fp/muldf3.c: Likewise.
20416 * soft-fp/mulsf3.c: Likewise.
20417 * soft-fp/multf3.c: Likewise.
20418 * soft-fp/negdf2.c: Likewise.
20419 * soft-fp/negsf2.c: Likewise.
20420 * soft-fp/negtf2.c: Likewise.
20421 * soft-fp/op-1.h: Likewise.
20422 * soft-fp/op-2.h: Likewise.
20423 * soft-fp/op-4.h: Likewise.
20424 * soft-fp/op-8.h: Likewise.
20425 * soft-fp/op-common.h: Likewise.
20426 * soft-fp/quad.h: Likewise.
20427 * soft-fp/single.h: Likewise.
20428 * soft-fp/soft-fp.h: Likewise.
20429 * soft-fp/sqrtdf2.c: Likewise.
20430 * soft-fp/sqrtsf2.c: Likewise.
20431 * soft-fp/sqrttf2.c: Likewise.
20432 * soft-fp/subdf3.c: Likewise.
20433 * soft-fp/subsf3.c: Likewise.
20434 * soft-fp/subtf3.c: Likewise.
20435 * soft-fp/truncdfsf2.c: Likewise.
20436 * soft-fp/trunctfdf2.c: Likewise.
20437 * soft-fp/trunctfsf2.c: Likewise.
20438 * soft-fp/trunctfxf2.c: Likewise.
20439 * soft-fp/unorddf2.c: Likewise.
20440 * soft-fp/unordsf2.c: Likewise.
20441 * soft-fp/unordtf2.c: Likewise.
20443 2013-10-15 Joseph Myers <joseph@codesourcery.com>
20445 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20446 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20448 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
20450 * elf/dl-libc.c: Clear initfini list after freeing.
20452 2013-10-14 Joseph Myers <joseph@codesourcery.com>
20454 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20455 * soft-fp/addsf3.c: Likewise.
20456 * soft-fp/addtf3.c: Likewise.
20457 * soft-fp/divdf3.c: Likewise.
20458 * soft-fp/divsf3.c: Likewise.
20459 * soft-fp/divtf3.c: Likewise.
20460 * soft-fp/double.h: Likewise.
20461 * soft-fp/eqdf2.c: Likewise.
20462 * soft-fp/eqsf2.c: Likewise.
20463 * soft-fp/eqtf2.c: Likewise.
20464 * soft-fp/extenddftf2.c: Likewise.
20465 * soft-fp/extended.h: Likewise.
20466 * soft-fp/extendsfdf2.c: Likewise.
20467 * soft-fp/extendsftf2.c: Likewise.
20468 * soft-fp/extendxftf2.c: Likewise.
20469 * soft-fp/fixdfdi.c: Likewise.
20470 * soft-fp/fixdfsi.c: Likewise.
20471 * soft-fp/fixdfti.c: Likewise.
20472 * soft-fp/fixsfdi.c: Likewise.
20473 * soft-fp/fixsfsi.c: Likewise.
20474 * soft-fp/fixsfti.c: Likewise.
20475 * soft-fp/fixtfdi.c: Likewise.
20476 * soft-fp/fixtfsi.c: Likewise.
20477 * soft-fp/fixtfti.c: Likewise.
20478 * soft-fp/fixunsdfdi.c: Likewise.
20479 * soft-fp/fixunsdfsi.c: Likewise.
20480 * soft-fp/fixunsdfti.c: Likewise.
20481 * soft-fp/fixunssfdi.c: Likewise.
20482 * soft-fp/fixunssfsi.c: Likewise.
20483 * soft-fp/fixunssfti.c: Likewise.
20484 * soft-fp/fixunstfdi.c: Likewise.
20485 * soft-fp/fixunstfsi.c: Likewise.
20486 * soft-fp/fixunstfti.c: Likewise.
20487 * soft-fp/floatdidf.c: Likewise.
20488 * soft-fp/floatdisf.c: Likewise.
20489 * soft-fp/floatditf.c: Likewise.
20490 * soft-fp/floatsidf.c: Likewise.
20491 * soft-fp/floatsisf.c: Likewise.
20492 * soft-fp/floatsitf.c: Likewise.
20493 * soft-fp/floattidf.c: Likewise.
20494 * soft-fp/floattisf.c: Likewise.
20495 * soft-fp/floattitf.c: Likewise.
20496 * soft-fp/floatundidf.c: Likewise.
20497 * soft-fp/floatundisf.c: Likewise.
20498 * soft-fp/floatunsidf.c: Likewise.
20499 * soft-fp/floatunsisf.c: Likewise.
20500 * soft-fp/floatuntidf.c: Likewise.
20501 * soft-fp/floatuntisf.c: Likewise.
20502 * soft-fp/floatuntitf.c: Likewise.
20503 * soft-fp/fmadf4.c: Likewise.
20504 * soft-fp/fmasf4.c: Likewise.
20505 * soft-fp/fmatf4.c: Likewise.
20506 * soft-fp/gedf2.c: Likewise.
20507 * soft-fp/gesf2.c: Likewise.
20508 * soft-fp/getf2.c: Likewise.
20509 * soft-fp/ledf2.c: Likewise.
20510 * soft-fp/lesf2.c: Likewise.
20511 * soft-fp/letf2.c: Likewise.
20512 * soft-fp/muldf3.c: Likewise.
20513 * soft-fp/mulsf3.c: Likewise.
20514 * soft-fp/multf3.c: Likewise.
20515 * soft-fp/negdf2.c: Likewise.
20516 * soft-fp/negsf2.c: Likewise.
20517 * soft-fp/negtf2.c: Likewise.
20518 * soft-fp/op-1.h: Likewise.
20519 * soft-fp/op-2.h: Likewise.
20520 * soft-fp/op-4.h: Likewise.
20521 * soft-fp/op-8.h: Likewise.
20522 * soft-fp/op-common.h: Likewise.
20523 * soft-fp/quad.h: Likewise.
20524 * soft-fp/single.h: Likewise.
20525 * soft-fp/soft-fp.h: Likewise.
20526 * soft-fp/sqrtdf2.c: Likewise.
20527 * soft-fp/sqrtsf2.c: Likewise.
20528 * soft-fp/sqrttf2.c: Likewise.
20529 * soft-fp/subdf3.c: Likewise.
20530 * soft-fp/subsf3.c: Likewise.
20531 * soft-fp/subtf3.c: Likewise.
20532 * soft-fp/truncdfsf2.c: Likewise.
20533 * soft-fp/trunctfdf2.c: Likewise.
20534 * soft-fp/trunctfsf2.c: Likewise.
20535 * soft-fp/trunctfxf2.c: Likewise.
20536 * soft-fp/unorddf2.c: Likewise.
20537 * soft-fp/unordsf2.c: Likewise.
20538 * soft-fp/unordtf2.c: Likewise.
20540 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
20543 * misc/error.c (error_tail): Fix possible buffer overflow.
20545 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
20548 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20551 2013-10-14 P. J. McDermott <pj@pehjota.net>
20554 * elf/ldd.bash.in (try_trace): New function. Delete previous code
20555 testing pipefail option.
20557 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20559 * soft-fp/double.h: Indent preprocessor directives inside #if.
20560 * soft-fp/extended.h: Likewise.
20561 * soft-fp/op-2.h: Likewise.
20562 * soft-fp/op-4.h: Likewise.
20563 * soft-fp/op-common.h: Likewise.
20564 * soft-fp/quad.h: Likewise.
20565 * soft-fp/single.h: Likewise.
20566 * soft-fp/soft-fp.h: Likewise.
20568 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20570 * iconv/iconv_prog.c: Fix typos.
20571 * stdio-common/psiginfo-data.h: Likewise.
20573 2013-10-12 Reuben Thomas <rrt@sc3d.org>
20576 * locale/setlocale.c: Fix typo.
20578 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20581 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20582 signaling NaN arguments.
20583 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20584 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20587 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20588 unordered operands.
20589 * soft-fp/gesf2.c (__gesf2): Likewise.
20590 * soft-fp/getf2.c (__getf2): Likewise.
20591 * soft-fp/ledf2.c (__ledf2): Likewise.
20592 * soft-fp/lesf2.c (__lesf2): Likewise.
20593 * soft-fp/letf2.c (__letf2): Likewise.
20595 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20596 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20597 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20598 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20599 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20600 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20601 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20602 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20603 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20604 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20605 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20606 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20607 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20608 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20609 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20610 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20611 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20612 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20613 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20614 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20615 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20616 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20617 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20618 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20619 * soft-fp/floattidf.c (__floattidf): Likewise.
20620 * soft-fp/floattisf.c (__floattisf): Likewise.
20621 * soft-fp/floattitf.c (__floattitf): Likewise.
20622 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20623 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20624 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20625 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20626 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20627 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20628 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20629 * soft-fp/gesf2.c (__gesf2): Likewise.
20630 * soft-fp/getf2.c (__getf2): Likewise.
20631 * soft-fp/ledf2.c (__ledf2): Likewise.
20632 * soft-fp/lesf2.c (__lesf2): Likewise.
20633 * soft-fp/letf2.c (__letf2): Likewise.
20635 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20636 Undefine and redefine.
20637 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20638 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20639 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20640 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20641 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20642 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20643 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20644 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20645 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20646 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20647 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20648 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20649 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20650 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20651 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20654 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20655 without decrementing exponent if mantissa >= that for the
20656 denominator, not >.
20657 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20658 denominator, not >. Decrement exponent in < case instead of
20659 incrementing in >= case.
20660 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20661 without decrementing exponent if mantissa >= that for the
20662 denominator, not >.
20664 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20665 computing saturated result for unsigned overflow.
20667 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20668 Jeff Law <law@redhat.com>
20670 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20671 (atan2Mp): Add systemtap probe marker.
20672 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20673 (__ieee754_log): Add systemtap probe marker.
20674 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20675 (atanMp): Add systemtap probe marker.
20676 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20677 (tanMp): Add systemtap probe marker.
20678 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20679 (__slowexp): Add systemtap probe marker.
20680 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20681 (__slowpow): Add systemtap probe marker.
20682 * manual/probes.texi: Document probes.
20684 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
20687 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20689 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20691 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20692 written to buffer but not flushed.
20693 * libio/iofwrite_u.c: Likewise.
20694 * libio/iopadn.c: Return bytes returned even if EOF was
20696 * libio/iowpadn.c: Likewise.
20697 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20698 if _IO_padn does not write the whole buffer.
20699 [!COMPILE_WPRINTF] (PAD): Likewise.
20701 2013-10-10 David S. Miller <davem@davemloft.net>
20703 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20706 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20708 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20709 instead of FSF address.
20710 * soft-fp/fixdfti.c: Likewise.
20711 * soft-fp/fixsfti.c: Likewise.
20712 * soft-fp/fixtfti.c: Likewise.
20713 * soft-fp/fixunsdfti.c: Likewise.
20714 * soft-fp/fixunssfti.c: Likewise.
20715 * soft-fp/fixunstfti.c: Likewise.
20716 * soft-fp/floattidf.c: Likewise.
20717 * soft-fp/floattisf.c: Likewise.
20718 * soft-fp/floattitf.c: Likewise.
20719 * soft-fp/floatuntidf.c: Likewise.
20720 * soft-fp/floatuntisf.c: Likewise.
20721 * soft-fp/floatuntitf.c: Likewise.
20722 * soft-fp/trunctfxf2.c: Likewise.
20724 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20725 * soft-fp/fixdfti.c: Likewise.
20726 * soft-fp/fixsfti.c: Likewise.
20727 * soft-fp/fixtfti.c: Likewise.
20728 * soft-fp/fixunsdfti.c: Likewise.
20729 * soft-fp/fixunssfti.c: Likewise.
20730 * soft-fp/fixunstfti.c: Likewise.
20731 * soft-fp/floattidf.c: Likewise.
20732 * soft-fp/floattisf.c: Likewise.
20733 * soft-fp/floattitf.c: Likewise.
20734 * soft-fp/floatuntidf.c: Likewise.
20735 * soft-fp/floatuntisf.c: Likewise.
20736 * soft-fp/floatuntitf.c: Likewise.
20737 * soft-fp/trunctfxf2.c: Likewise.
20739 2013-10-10 David S. Miller <davem@davemloft.net>
20741 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20743 2013-10-10 Joseph Myers <joseph@codsourcery.com>
20745 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20746 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20747 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20748 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20749 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20750 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20751 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20753 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20754 for NaNs before doing comparisons on argument.
20755 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20758 2013-10-10 Will Newton <will.newton@linaro.org>
20760 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20761 passed to _int_memalign does not overflow.
20763 2013-10-10 Torvald Riegel <triegel@redhat.com>
20765 * scripts/bench.pl: Add include-sources directive.
20766 * benchtests/README: Update documentation.
20768 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20770 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20771 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20772 instead of FP_INIT_ROUNDMODE.
20773 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20774 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20777 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20778 copy class of input value.
20779 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20780 not handle exceptions.
20781 * soft-fp/negsf2.c (__negsf2): Likewise.
20782 * soft-fp/negtf2.c (__negtf2): Likewise.
20783 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20785 2013-10-09 Joseph Myers <joseph@codesourcery.com>
20787 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20788 semicolon. From Linux kernel.
20790 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20792 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20794 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20797 * manual/socket.texi: Added statement about buffer
20798 for gethostbyname2_r.
20800 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
20802 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20803 Use .p2align directive instead, throughout.
20804 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20805 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20806 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20807 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20808 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20809 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20810 * sysdeps/x86_64/strchr.S: Likewise.
20811 * sysdeps/x86_64/strrchr.S: Likewise.
20813 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20815 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20817 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20819 * sysdeps/generic/math_private.h (__mpsin1): Remove
20821 (__mpcos1): Likewise.
20822 (__mpsin): New argument __range_reduce.
20823 (__mpcos): Likewise.
20824 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20825 (slow): Use __mpsin and __mpcos.
20829 (sloww1): Likewise.
20830 (sloww2): Likewise.
20831 (bsloww): Likewise.
20832 (bsloww1): Likewise.
20833 (bsloww2): Likewise.
20834 (cslow2): Likewise.
20835 (csloww): Likewise.
20836 (csloww1): Likewise.
20837 (csloww2): Likewise.
20838 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20839 range_reduce. Merge in __mpsin1.
20840 (__mpcos): Likewise.
20841 (__mpsin1): Remove.
20842 (__mpcos1): Likewise.
20844 2013-10-07 Joseph Myers <joseph@codesourcery.com>
20846 * locale/loadlocale.c (_nl_intern_locale_data): Use
20848 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20849 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20850 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20851 obstack data is appropriately aligned.
20852 (obstack_int32_grow_fast): Likewise.
20853 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20854 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20855 (add_locale_uint32_array): Likewise.
20857 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20859 * benchtests/Makefile: Remove ARGLIST and RET variables.
20860 ($(objpfx)bench-%.c): Pass only function name to the script.
20861 * benchtests/README: Update documentation.
20862 * benchtests/acos-inputs: Add new directives.
20863 * benchtests/acosh-inputs: Likewise.
20864 * benchtests/asin-inputs: Likewise.
20865 * benchtests/asinh-inputs: Likewise.
20866 * benchtests/atan-inputs: Likewise.
20867 * benchtests/atanh-inputs: Likewise.
20868 * benchtests/cos-inputs: Likewise.
20869 * benchtests/cosh-inputs: Likewise.
20870 * benchtests/exp-inputs: Likewise.
20871 * benchtests/log-inputs: Likewise.
20872 * benchtests/pow-inputs: Likewise.
20873 * benchtests/rint-inputs: Likewise.
20874 * benchtests/sin-inputs: Likewise.
20875 * benchtests/sinh-inputs: Likewise.
20876 * benchtests/tan-inputs: Likewise.
20877 * benchtests/tanh-inputs: Likewise.
20878 * scripts/bench.pl: Add support for new directives.
20880 2013-10-07 Alan Modra <amodra@gmail.com>
20882 * README: Fix careless merge.
20884 2013-10-05 Alan Modra <amodra@gmail.com>
20886 * NEWS: Mention powerpc64le support and bugs fixed.
20887 * README: Both big-endian and little-endian powerpc64 supported.
20889 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
20891 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20892 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20893 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20894 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20896 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
20898 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20901 2013-10-04 Joseph Myers <joseph@codesourcery.com>
20903 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20904 Move -mhard-float appending from
20905 ports/sysdeps/powerpc/powerpc32/Makefile.
20906 [$(with-fp) = yes] (ASFLAGS): Likewise.
20907 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20908 * sysdeps/powerpc/nofpu: Move directory from
20909 ports/sysdeps/powerpc/nofpu.
20910 * sysdeps/powerpc/soft-fp: Move directory from
20911 ports/sysdeps/powerpc/soft-fp.
20912 * sysdeps/powerpc/powerpc32/405: Move directory from
20913 ports/sysdeps/powerpc/powerpc32/405.
20914 * sysdeps/powerpc/powerpc32/440: Move directory from
20915 ports/sysdeps/powerpc/powerpc32/440.
20916 * sysdeps/powerpc/powerpc32/464: Move directory from
20917 ports/sysdeps/powerpc/powerpc32/464.
20918 * sysdeps/powerpc/powerpc32/476: Move directory from
20919 ports/sysdeps/powerpc/powerpc32/476.
20920 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20921 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20923 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20925 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20927 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20929 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20930 * README: Update for powerpc-*-linux-gnu software floating point
20933 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20934 case to powerpc/powerpc32*.
20935 * sysdeps/unix/sysv/linux/configure: Regenerated.
20937 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20938 (_FPU_MASK_OM): Define as 0x04.
20939 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20940 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20942 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20944 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20947 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20950 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20952 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20953 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20954 and setcontext_e500.
20956 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
20958 * locale/iso-3166.def: Update iso-1366.def and related occurrences
20960 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20962 * manual/threads.texi (Default Thread Attributes): Fix typo.
20964 2013-10-04 Will Newton <will.newton@linaro.org>
20966 * malloc/Makefile: Add tst-memalign.
20967 * malloc/tst-memalign.c: New file.
20969 * malloc/tst-posix_memalign.c: Add comments.
20970 (do_test): Add comments and call free on all potentially
20971 allocated pointers. Add space after cast.
20973 * malloc/tst-pvalloc.c: Add comments.
20974 (do_test): Add comments and call free on all potentially
20975 allocated pointers. Remove duplicate check for NULL pointer.
20976 Add space after cast.
20978 * malloc/tst-valloc.c: Add comments.
20979 (do_test): Add comments and call free on all potentially
20980 allocated pointers. Remove duplicate check for NULL pointer.
20981 Add space after cast.
20983 2013-10-04 Alan Modra <amodra@gmail.com>
20985 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20986 Use stdint types in rather than __attribute__((mode())).
20987 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20989 2013-10-04 Alan Modra <amodra@gmail.com>
20991 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20992 Correct handling of unaligned relocs for little-endian.
20993 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20995 2013-10-04 Alan Modra <amodra@gmail.com>
20997 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20998 * configure: Regenerate.
20999 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21000 * shlib-versions: Likewise.
21002 2013-10-04 Alan Modra <amodra@gmail.com>
21004 * string/tester.c (test_memrchr): Increment reported test cycle.
21006 2013-10-04 Alan Modra <amodra@gmail.com>
21008 * string/test-memcpy.c (do_one_test): When reporting errors, print
21009 string address and don't overrun end of string.
21011 2013-10-04 Alan Modra <amodra@gmail.com>
21013 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21014 insrdi. Make better use of reg selection to speed exit slightly.
21015 Schedule entry path a little better. Remove useless "are we done"
21016 checks on entry to main loop. Handle wrapping around zero address.
21017 Correct main loop count. Handle single left-over word from main
21018 loop inline rather than by using loop_small. Remove extra word
21019 case in loop_small caused by wrong loop count. Add little-endian
21021 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21022 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21024 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21025 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21026 support. Avoid rlwimi.
21027 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21029 2013-10-04 Alan Modra <amodra@gmail.com>
21031 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21032 insrdi. Formatting.
21033 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21034 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21035 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21036 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21037 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21038 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21040 2013-10-04 Alan Modra <amodra@gmail.com>
21042 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21043 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21044 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21045 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21046 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21047 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21048 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21049 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21050 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21051 use of regs. Use power7 mtocrf. Tidy function tails.
21053 2013-10-04 Alan Modra <amodra@gmail.com>
21055 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21056 Formatting. Consistently use rXXX register defines or rN defines.
21057 Use early exit labels that avoid restoring unused non-volatile regs.
21058 Make cr field use more consistent with rWORDn compares. Rename
21059 regs used as shift registers for unaligned loop, using rN defines
21060 for short lifetime/multiple use regs.
21061 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21062 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21063 addi 1,1,64 to pop stack frame. Simplify return value code.
21064 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21066 2013-10-04 Alan Modra <amodra@gmail.com>
21068 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21069 support. Correct typos, formatting. Optimize tail. Use insrdi
21070 rather than rlwimi.
21071 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21072 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21073 little-endian support. Correct typos.
21074 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21075 rather than rlwimi.
21076 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21077 in loop and entry code to keep "and." results.
21078 (strchr): Add little-endian support. Comment. Move cntlzd
21080 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21082 2013-10-04 Alan Modra <amodra@gmail.com>
21084 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21085 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21086 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21087 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21089 2013-10-04 Alan Modra <amodra@gmail.com>
21091 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21092 (rTMP): Define as r11.
21093 (strcmp): Add little-endian support. Optimise tail.
21094 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21095 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21096 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21097 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21098 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21099 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21100 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21102 2013-10-04 Alan Modra <amodra@gmail.com>
21104 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21105 little-endian support. Remove unnecessary "are we done" tests.
21106 Handle "s" wrapping around zero and extremely large "size".
21107 Correct main loop count. Handle single left-over word from main
21108 loop inline rather than by using small_loop. Correct comments.
21109 Delete "zero" tail, use "end_max" instead.
21110 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21112 2013-10-04 Alan Modra <amodra@gmail.com>
21114 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21115 support. Don't branch over align.
21116 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21117 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21118 support. Rearrange tmp reg use to suit. Comment.
21119 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21121 2013-10-04 Alan Modra <amodra@gmail.com>
21123 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21125 2013-10-04 Alan Modra <amodra@gmail.com>
21127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21128 conditional form of branch and link when obtaining pc.
21129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21131 2013-10-04 Alan Modra <amodra@gmail.com>
21133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21135 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21138 2013-10-04 Alan Modra <amodra@gmail.com>
21140 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21141 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21142 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21143 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21144 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21145 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21146 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21147 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21148 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21149 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21151 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21152 Alistair Popple <alistair@ozlabs.au.ibm.com>
21153 Alan Modra <amodra@gmail.com>
21156 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21157 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21158 _dl_hwcap access for little-endian.
21159 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21160 destroy vmx regs when saving unaligned.
21161 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21162 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21163 destroy vmx regs when saving unaligned.
21165 2013-10-04 Alan Modra <amodra@gmail.com>
21167 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21168 Don't use a union to pack hi/low value.
21170 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21172 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21174 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21175 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21176 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21177 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21178 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21180 2013-10-04 Alan Modra <amodra@gmail.com>
21182 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21183 constants to usual value for .cst8 section, and remove redundant
21185 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21186 constant for 0x1p52. Load little-endian words of double from
21187 correct stack offsets.
21189 2013-10-04 Alan Modra <amodra@gmail.com>
21191 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21192 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21193 words of double from correct stack offsets.
21194 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21195 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21196 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21197 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21198 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21199 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21200 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21201 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21202 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21203 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21204 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21205 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21206 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21207 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21208 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21209 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21210 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21212 2013-10-04 Alan Modra <amodra@gmail.com>
21214 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21215 64-bit int/double union.
21216 (_FPU_SETCW): Likewise.
21217 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21218 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21220 2013-10-04 Alan Modra <amodra@gmail.com>
21222 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21223 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21225 2013-10-04 Alan Modra <amodra@gmail.com>
21227 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21228 use vector int constants.
21229 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21231 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21233 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21234 array with long long.
21235 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21236 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21237 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21238 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21239 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21240 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21241 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21242 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21243 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21244 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21245 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21246 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21247 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21249 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21251 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21252 (__signbit): Likewise. Correct for little-endian.
21253 (__signbitl): Call __signbit.
21254 (lrint): Correct for little-endian.
21255 (lrintf): Call lrint.
21257 2013-10-04 Alan Modra <amodra@gmail.com>
21259 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21260 union 32-bit int array member with 64-bit int array.
21261 (t515, tm256): Double rather than long double.
21262 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21264 2013-10-04 Alan Modra <amodra@gmail.com>
21266 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21268 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21269 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21270 version of math_ldbl.h.
21272 2013-10-04 Alan Modra <amodra@gmail.com>
21274 [BZ #15734], [BZ #15735]
21275 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21276 all uses of ieee875 long double macros and unions. Simplify test
21277 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21278 ldbl_extract_mantissa value for ix,iy exponents. Properly
21279 normalize after ldbl_extract_mantissa, and don't add hidden bit
21280 already handled. Don't treat low word of ieee854 mantissa like
21281 low word of IBM long double and mask off bit when testing for
21283 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21284 all uses of ieee875 long double macros and unions. Simplify tests
21285 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21286 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21287 two1022, instead use their values. Recognise that tests for large
21288 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21289 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21290 Rewrite all uses of ieee875 long double macros and unions. Simplify
21291 test for 0.0L and nan. Correct negation.
21292 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21293 ieee875 long double macros and unions. Correct output for large
21294 magnitude x. Correct absolute value calculation.
21295 (__erfcl): Likewise.
21296 * math/libm-test.inc: Add tests for errors discovered in IBM long
21297 double versions of fmodl, remainderl, erfl and erfcl.
21299 2013-10-04 Alan Modra <amodra@gmail.com>
21301 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21302 all uses of ieee854 long double macros and unions. Simplify tests
21303 for long doubles that are fully specified by the high double.
21304 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21306 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21307 Remove dead code too.
21308 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21309 (__ieee754_ynl): Likewise.
21310 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21311 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21312 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21313 Remove dead code too.
21314 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21315 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21316 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21317 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21319 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21321 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21322 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21323 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21324 Comment on variable precision.
21325 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21326 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21328 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21329 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21330 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21331 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21332 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21334 2013-10-04 Alan Modra <amodra@gmail.com>
21336 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21337 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21338 all uses of ieee854 long double macros and unions.
21339 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21340 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21341 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21342 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21343 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21344 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21346 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21347 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21348 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21349 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21350 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21351 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21352 Simplify sign and nan test too.
21353 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21354 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21355 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21356 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21358 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21359 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21361 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21362 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21363 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21364 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21365 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21366 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21368 2013-10-04 Alan Modra <amodra@gmail.com>
21370 * stdio-common/printf_size.c (__printf_size): Don't use
21371 union ieee854_long_double in fpnum union.
21372 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21373 signbit macro to retrieve sign from long double.
21374 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21375 retrieve sign from long double.
21376 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21377 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21378 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21379 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21380 * math/test-misc.c (main): Don't use union ieee854_long_double.
21382 2013-10-04 Alan Modra <amodra@gmail.com>
21385 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21386 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21387 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21388 calculation. Remove unnecessary test for denormal exponent.
21389 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21390 Correct handling of denormals. Avoid undefined shift behaviour.
21391 Correct normalisation of low mantissa when low double is denormal.
21392 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21393 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
21394 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21395 Correct normalisation of low mantissa. Test for overflow of high
21396 mantissa and normalise.
21397 (ldbl_nearbyint): Use more readable constant for two52.
21398 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21399 (__mpn_construct_long_double): Fix test for overflow of high
21400 mantissa and correct normalisation. Avoid undefined shift.
21402 2013-10-04 Alan Modra <amodra@gmail.com>
21404 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21405 (union ibm_extended_long_double): Define as an array of ieee754_double.
21406 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21407 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21408 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21409 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21410 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21411 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21412 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21413 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21414 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21415 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21416 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21418 2013-10-03 Joseph Myers <joseph@codesourcery.com>
21420 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21421 page size instead of calling getpagesize.
21423 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21424 (LOCFILE_ALIGN_MASK): Likewise.
21425 (LOCFILE_ALIGN_UP): Likewise.
21426 (LOCFILE_ALIGNED_P): Likewise.
21427 * locale/programs/ld-collate.c (collate_output): Use the new
21428 macros instead of __alignof__ (int32_t).
21429 * locale/weight.h (findidx): Likewise.
21431 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
21434 * manual/string.texi: Fix strncat and wcsncat.
21436 2013-10-03 Brooks Moses <bmoses@google.com>
21439 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21440 * Makerules: ...here, and adjust associated comments.
21442 2013-10-02 Will Newton <will.newton@linaro.org>
21444 * malloc/Makefile: Add tst-pvalloc.
21445 * malloc/tst-pvalloc.c: New file.
21447 2013-10-02 Will Newton <will.newton@linaro.org>
21449 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21450 improve test coverage.
21452 2013-10-02 Will Newton <will.newton@linaro.org>
21454 * malloc/Makefile: Add tst-posix_memalign.
21455 * malloc/tst-posix_memalign.c: New file.
21457 2013-10-01 Eric Blake <eblake@redhat.com>
21459 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21460 Use __THROWNL rather than __THROW on static functions.
21462 2013-09-30 Petr Machata <pmachata@redhat.com>
21464 * elf/elf.h (R_AARCH64_ABS16): New macro.
21465 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21466 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21467 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21468 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21469 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21470 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21471 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21472 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21473 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21474 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21475 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21476 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21477 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21478 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21479 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21480 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21481 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21482 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21483 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21484 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21485 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21486 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21487 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21488 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21489 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21490 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21491 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21492 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21493 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21494 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21495 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21496 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21497 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21498 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21499 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21500 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21501 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21502 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21503 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21504 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21505 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21506 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21507 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21508 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21509 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21510 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21511 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21512 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21513 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21514 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21515 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21516 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21517 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21518 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21519 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21520 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21521 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21522 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21523 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21524 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21525 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21526 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21527 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21528 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21529 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21530 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21531 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21532 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21533 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21534 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21535 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21536 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21537 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21538 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21539 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21540 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21541 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21542 (R_AARCH64_TLSDESC_LDR): Likewise.
21543 (R_AARCH64_TLSDESC_ADD): Likewise.
21544 (R_AARCH64_TLSDESC_CALL): Likewise.
21546 2013-09-30 Andreas Schwab <schwab@suse.de>
21549 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21550 the nss database lookup.
21551 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21552 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21554 2013-09-28 Mike Frysinger <vapier@gentoo.org>
21556 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21558 2013-09-28 P. J. McDermott <pj@pehjota.net>
21560 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21561 ${Bash-specific parameter/pattern/string} parameter expansion.
21562 * sysdeps/unix/make-syscalls.sh: Likewise.
21564 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21566 * sysdeps/sh/stackguard-macros.h: New file.
21568 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
21570 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21571 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21572 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21573 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21574 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21575 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21577 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21579 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21580 Fix thread ID register.
21582 2013-09-25 Joseph Myers <joseph@codesourcery.com>
21584 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21585 [POSIX || UNIX98]: Require rather than permitting all symbols from
21587 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21588 element of struct sched_param.
21589 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21590 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21591 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21592 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21595 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21597 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21598 argument calculation.
21600 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21602 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21604 [POSIX] (pthread_attr_t): Do not require type.
21605 [POSIX] (pthread_cond_t): Likewise.
21606 [POSIX] (pthread_condattr_t): Likewise.
21607 [POSIX] (pthread_key_t): Likewise.
21608 [POSIX] (pthread_mutex_t): Likewise.
21609 [POSIX] (pthread_mutexattr_t): Likewise.
21610 [POSIX] (pthread_once_t): Likewise.
21611 [POSIX] (pthread_t): Likewise.
21612 [POSIX-based standards] (pthread_atfork): Expect function.
21614 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21615 Richard Sandiford <richard@codesourcery.com>
21617 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21618 (swap_endianness_p): New extern variable.
21619 (set_big_endian): New inline function.
21620 (maybe_swap_uint32): Likewise.
21621 (maybe_swap_uint32_array): Likewise.
21622 (maybe_swap_uint32_obstack): Likewise.
21623 * locale/programs/locfile.c: Include <stdbool.h>.
21624 (swap_endianness_p): New variable.
21625 (add_locale_uint32): Call maybe_swap_uint32.
21626 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21627 (write_locale_data): Call maybe_swap_uint32_array.
21628 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21630 (obstack_int32_grow_fast): Likewise.
21631 (output_weightwc): Call maybe_swap_uint32_obstack.
21632 (collate_output): Likewise.
21633 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21634 (OPT_LITTLE_ENDIAN): Likewise.
21635 (options): Add --little-endian and --big-endian options.
21636 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21637 * locale/programs/locarchive.c: Include "locfile.h".
21641 (create_archive): Use the new macros to access fields of
21642 structures directly mapped from or written to locale archives.
21643 (oldlocrecentcmp): Likewise.
21644 (enlarge_archive): Likewise.
21645 (insert_name): Likewise.
21646 (add_alias): Likewise.
21647 (add_locale): Likewise.
21648 (delete_locales_from_archive): Likewise.
21649 (show_archive_content): Likewise.
21650 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21653 2013-09-24 Roland McGrath <roland@hack.frob.com>
21655 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21656 http://www.gnu.org/doc/freemanuals.texi.
21657 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21659 2013-09-24 Will Newton <will.newton@linaro.org>
21661 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21664 2013-09-23 Joseph Myers <joseph@codesourcery.com>
21666 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21669 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21671 * manual/threads.texi (POSIX Threads): Fix a typo.
21673 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21676 * string/tst-strcoll-overflow.c: New test case.
21677 * string/Makefile (xtests): Add tst-strcoll-overflow.
21678 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21679 cache if string sizes may cause integer overflow.
21682 * string/strcoll_l.c (coll_seq): New members rule, idx,
21683 save_idx and back_us.
21684 (get_next_seq_nocache): New function.
21685 (do_compare_nocache): New function.
21686 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21689 2013-09-23 Carlos O'Donell <carlos@redhat.com>
21692 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21693 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21694 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21697 * elf/Makefile (tests): Add tst-ptrguard1.
21698 (tests-static): Add tst-ptrguard1-static.
21699 (tst-ptrguard1-ARGS): Define.
21700 (tst-ptrguard1-static-ARGS): Define.
21701 * elf/tst-ptrguard1.c: New file.
21702 * elf/tst-ptrguard1-static.c: New file.
21703 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21704 * sysdeps/i386/stackguard-macros.h: Likewise.
21705 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21706 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21707 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21708 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21709 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21710 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21712 2013-09-23 Hector Marco <hecmargi@upv.es>
21713 Ismael Ripoll <iripoll@disca.upv.es>
21714 Carlos O'Donell <carlos@redhat.com>
21717 * sysdeps/generic/stackguard-macros.h: Define
21718 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21719 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21720 Define __pointer_chk_guard_local.
21721 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21722 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21724 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21727 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21729 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21731 * include/string.h (__ffs): Declare as hidden.
21732 * string/ffs.c (__ffs): Define as hidden.
21733 * sysdeps/i386/ffs.c (__ffs): Likewise.
21734 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21735 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21736 * sysdeps/s390/ffs.c (__ffs): Likewise.
21737 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21739 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
21741 * NEWS: Mention malloc probes.
21743 * malloc/arena.c (new_heap): New memory_heap_new probe.
21744 (grow_heap): New memory_heap_more probe.
21745 (shrink_heap): New memory_heap_less probe.
21746 (heap_trim): New memory_heap_free probe.
21747 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21748 (systrim): New memory_sbrk_less probe.
21749 * manual/probes.texi: Document them.
21751 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21752 * manual/probes.texi: Document it.
21754 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21755 (__libc_realloc): Add memory_realloc_retry probe.
21756 (__libc_memalign): Add memory_memalign_retry probe.
21757 (__libc_valloc): Add memory_valloc_retry probe.
21758 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21759 (__libc_calloc): Add memory_calloc_retry probe.
21760 * manual/probes.texi: Document them.
21762 * malloc/arena.c (get_free_list): Add probe
21763 memory_arena_reuse_free_list.
21764 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21765 and memory_arena_reuse.
21766 (arena_get2) [!PER_THREAD]: Likewise.
21767 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21768 memory_arena_reuse_realloc.
21769 * manual/probes.texi: Document them.
21771 * malloc/malloc.c (__libc_free): Add
21772 memory_mallopt_free_dyn_thresholds probe.
21773 (__libc_mallopt): Add multiple memory_mallopt probes.
21774 * manual/probes.texi: Document them.
21776 * malloc/malloc.c: Include stap-probe.h.
21777 (__libc_mallopt): Add memory_mallopt probe.
21778 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21779 * manual/probes.texi: New.
21780 * manual/Makefile (chapters): Add probes.
21781 * manual/threads.texi: Set next node.
21783 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
21785 [BZ #15963, #13985]
21786 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21787 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21788 Add `Chinese' to `nan' entry name.
21790 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21792 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21793 (POLYNOMIAL): Likewise.
21794 (TAYLOR_SINCOS): Likewise.
21795 (TAYLOR_SLOW): Likewise.
21796 (__sin): Use TAYLOR_SINCOS.
21798 (slow): Use TAYLOR_SLOW.
21800 (bsloww): Likewise.
21801 (csloww): Likewise.
21803 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21805 * stdlib/strtod_l.c: Fix buffer overrun.
21807 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21809 * benchtests/Makefile (bench): Add sincos.
21810 * benchtests/bench-sincos.c: New file.
21812 * math/libm-test.inc (cos_test_data): New test inputs.
21813 (sin_test_data): Likewise.
21815 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21821 (sloww1): Likewise.
21822 (sloww2): Likewise.
21823 (bsloww1): Likewise.
21824 (bsloww2): Likewise.
21825 (cslow2): Likewise.
21826 (csloww1): Likewise.
21827 (csloww2): Likewise.
21829 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21834 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21838 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21840 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21841 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21842 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21843 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21844 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21845 * elf/cache.c (print_entry): Handle the new cache flags.
21847 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21848 Aldy Hernandez <aldyh@redhat.com>
21850 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21851 Change condition to [_SOFT_FLOAT].
21852 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21853 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21854 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21855 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21856 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21857 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21858 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21859 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21860 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21861 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21862 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21863 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21864 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21865 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21866 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21867 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21870 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21872 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21873 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21874 (__longjmp): Use LOAD_GP to load saved GPRs.
21875 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21876 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21877 (__sigsetjmp): Use SAVE_GP to save GPRs.
21879 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21880 Do not append -msoft-float.
21881 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21883 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
21885 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21887 2013-09-17 Joseph Myers <joseph@codesourcery.com>
21890 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21891 (_FPU_GETCW): Use initial "__" on variable and field names but not
21892 on macro parameter name.
21893 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
21894 parentheses around reference to macro parameter.
21896 2013-09-13 Richard Sandiford <richard@codesourcery.com>
21898 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21900 (ctype_startup): Use uint32_t in cast and sizeof for
21903 2013-09-11 Jia Liu <proljc@gmail.com>
21905 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21907 [__FreeBSD__]: Likewise.
21909 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
21911 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21912 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21913 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21914 (strchr): Remove __strchr_sse42 ifunc selection.
21915 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21916 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21918 2013-09-11 Will Newton <will.newton@linaro.org>
21920 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21921 parameter to RES. Remove hardcoded 1000 value.
21922 * benchtests/bench-skeleton.c (main): Pass RES parameter
21923 to TIMING_INIT and multiply result by 1000.
21925 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21927 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21929 2013-09-11 Andreas Schwab <schwab@suse.de>
21931 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21933 (O_TMPFILE) [__USE_GNU]: Define.
21934 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21937 2013-09-11 Will Newton <will.newton@linaro.org>
21940 * malloc/malloc.c (__libc_memalign): Check the value of bytes
21943 2013-09-11 Will Newton <will.newton@linaro.org>
21946 * malloc/malloc.c (__libc_valloc): Check the value of bytes
21949 2013-09-11 Will Newton <will.newton@linaro.org>
21952 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21955 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
21957 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21958 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21959 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21960 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21961 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21963 2013-09-10 Allan McRae <allan@archlinux.org>
21966 * manual/arith.texi (Parsing of Floats): Clarify
21970 * manual/install.texi (Running make install): Mention
21972 * INSTALL: Regenerated.
21974 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
21976 * csu/init-first.c (_init): Remove the !SHARED condition around
21977 FPU control word initialization.
21978 * elf/dl-support.c (_dl_fpu_control): New variable.
21979 (_dl_aux_init) <AT_FPUCW>: Initialize it.
21980 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21981 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21982 * math/test-fpucw-static.c: New file.
21983 * math/test-fpucw-ieee.c: New file.
21984 * math/test-fpucw-ieee-static.c: New file.
21985 * math/Makefile (tests): Add `test-fpucw-ieee' and
21987 (tests-static): New variable.
21988 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21990 [($(build-shared),yes)]
21991 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21993 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21996 2013-09-09 Allan McRae <allan@archlinux.org>
21999 * manual/string.texi (Collation Functions): Fix typo in
22001 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22004 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22007 * libio/memstream.c (open_memstream): Fix memory leak.
22008 * libio/wmemstream.c (open_wmemstream): Likewise.
22011 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22013 2013-09-09 Will Newton <will.newton@linaro.org>
22015 * malloc/Makefile: Add tst-realloc to tests.
22016 * malloc/tst-realloc.c: New file.
22018 2013-09-09 Allan McRae <allan@archlinux.org>
22021 * COPYING: Update from GNU website to fix FSF address.
22022 * COPYING.LIB: Likewise.
22024 2013-09-06 David S. Miller <davem@davemloft.net>
22026 * po/zh_TW.po: Update Chinese (traditional) translation from
22027 translation project.
22029 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22030 Joseph Myers <joseph@codesourcery.com>
22032 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22034 (obstack_chunk_alloc): New macro.
22035 (obstack_chunk_free): Likewise.
22036 (record_offset): New function.
22037 (init_locale_data): Likewise.
22038 (align_locale_data): Likewise.
22039 (add_locale_empty): Likewise.
22040 (add_locale_raw_data): Likewise.
22041 (add_locale_raw_obstack): Likewise.
22042 (add_locale_string): Likewise.
22043 (add_locale_wstring): Likewise.
22044 (add_locale_uint32): Likewise.
22045 (add_locale_uint32_array): Likewise.
22046 (add_locale_char): Likewise.
22047 (start_locale_structure): Likewise.
22048 (end_locale_structure): Likewise.
22049 (start_locale_prelude): Likewise.
22050 (end_locale_prelude): Likewise.
22051 (write_locale_data): Take locale_file structure rather than an
22053 * locale/programs/locfile.h: Include "obstack.h".
22054 (struct locale_file): Change to store locale file contents instead
22056 (init_locale_data): New prototype.
22057 (align_locale_data): Likewise.
22058 (add_locale_empty): Likewise.
22059 (add_locale_raw_data): Likewise.
22060 (add_locale_raw_obstack): Likewise.
22061 (add_locale_string): Likewise.
22062 (add_locale_wstring): Likewise.
22063 (add_locale_uint32): Likewise.
22064 (add_locale_uint32_array): Likewise.
22065 (add_locale_char): Likewise.
22066 (start_locale_structure): Likewise.
22067 (end_locale_structure): Likewise.
22068 (start_locale_prelude): Likewise.
22069 (end_locale_prelude): Likewise.
22070 (write_locale_data): Update prototype.
22071 * locale/programs/3level.h (struct TABLE): Remove result field.
22072 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22073 Use new locale_file interface.
22074 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22075 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22076 * locale/programs/ld-address.c (address_output): Use new
22077 locale_file interface.
22078 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22080 (collate_finish): Don't call collseq_table_finalize.
22081 (collate_output): Use new locale_file interface.
22082 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22084 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22085 (TABLE): Move defines earlier in file.
22086 (ELEMENT): Likewise.
22087 (DEFAULT): Likewise.
22088 (wctrans_table_add): Move macro and inline function earlier in
22090 (struct wctype_table): Move type earlier in file.
22091 (add_locale_wctype_table): New static prototype.
22092 (struct locale_ctype_t): Use logical types instead of struct iovec
22093 pointers for members.
22094 (ctype_output): Use new locale_file interface.
22095 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22096 new locale_file interface.
22097 (allocate_arrays): Update for use of new locale_file interface.
22098 * locale/programs/ld-identification.c (identification_output): Use
22099 new locale_file interface.
22100 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22101 * locale/programs/ld-messages.c (messages_output): Likewise.
22102 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22103 * locale/programs/ld-name.c (name_output): Likewise.
22104 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22105 * locale/programs/ld-paper.c (paper_output): Likewise.
22106 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22107 * locale/programs/ld-time.c (time_output): Likewise.
22109 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22111 * benchtests/Makefile: Add memrchr benchmark.
22112 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22113 benchmark as memrchr.
22114 * benchtests/bench-memrchr-ifunc.c: New file.
22115 * benchtests/bench-memrchr.c: New file.
22117 2013-09-06 Will Newton <will.newton@linaro.org>
22119 * benchtests/Makefile (string-bench): Add memcpy.
22121 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22122 Cong Wang <amwang@redhat.com>
22125 * sysdeps/unix/sysv/linux/bits/in.h
22126 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22127 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22128 before __USE_KERNEL_IPV6_DEFS uses.
22129 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22131 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22132 sockaddr_in6, or ipv6_mreq.
22134 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22136 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22137 memory access for final bytes in some large inputs.
22138 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22140 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22142 * string/test-memrchr.c: New file.
22143 * string/test-memrchr-ifunc.c: New file.
22144 * string/Makefile: Add new memrchr testcase.
22146 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22148 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22149 fanotify_init returns EPERM.
22151 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22153 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22155 (top level): Treat second token from macro or constant entries for
22156 allowed headers as allowed.
22157 * include/complex.h: Condition internal declarations on
22159 * include/fenv.h: Condition include of <stdbool.h> and internal
22160 declarations on [!_ISOMAC].
22162 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22165 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22167 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22169 * configure.in (--enable-versioning): Remove configure option.
22170 (libc_cv_asm_symver_directive): Remove configure test.
22171 (libc_cv_ld_version_script_option): Likewise.
22172 (VERSIONING): Remove variable and AC_SUBST.
22173 (DO_VERSIONING): Remove AC_DEFINE.
22174 * configure: Regenerated.
22175 * config.h.in (DO_VERSIONING): Remove macro.
22176 * Makerules [$(versioning) = yes]: Change conditionals to
22177 [$(build-shared) = yes].
22178 * config.make.in (versioning): Remove variable.
22179 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22180 [$(build-shared) = yes].
22181 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22182 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22183 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22184 [$(build-shared) = yes].
22185 * extra-lib.mk [$(versioning) = yes]: Likewise.
22186 * hurd/Makefile [$(versioning) = yes]: Likewise.
22187 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22189 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22191 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22192 [SHARED && !NO_HIDDEN].
22193 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22195 [SHARED && DO_VERSIONING]: Likewise..
22196 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22197 [$(build-shared) = yes].
22198 * manual/install.texi (--disable-versioning): Remove
22200 * INSTALL: Regenerated.
22201 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22203 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22204 [$(build-shared) = yes].
22205 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22206 * sysdeps/i386/i686/multiarch/strstr-c.c
22207 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22208 [SHARED && !NO_HIDDEN].
22209 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22210 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22211 * sysdeps/powerpc/powerpc32/dl-machine.c
22212 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22213 * sysdeps/powerpc/powerpc32/sysdep.h
22214 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22215 to [SHARED && PIC && !NO_HIDDEN].
22216 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22217 conditional to [SHARED].
22219 2013-09-04 Will Newton <will.newton@linaro.org>
22221 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22222 * benchtests/bench-string.h: Include bench-timing.h instead
22223 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22224 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22225 call to HP_TIMING_DIFF_INIT.
22226 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22227 instead of hp-timing.h macros.
22228 * benchtests/bench-memchr.c: Likewise.
22229 * benchtests/bench-memcmp.c: Likewise.
22230 * benchtests/bench-memcpy.c: Likewise.
22231 * benchtests/bench-memmem.c: Likewise.
22232 * benchtests/bench-memmove.c: Likewise.
22233 * benchtests/bench-memset.c: Likewise.
22234 * benchtests/bench-rawmemchr.c: Likewise.
22235 * benchtests/bench-strcasecmp.c: Likewise.
22236 * benchtests/bench-strcasestr.c: Likewise.
22237 * benchtests/bench-strcat.c: Likewise.
22238 * benchtests/bench-strchr.c: Likewise.
22239 * benchtests/bench-strcmp.c: Likewise.
22240 * benchtests/bench-strcpy.c: Likewise.
22241 * benchtests/bench-strcpy_chk.c: Likewise.
22242 * benchtests/bench-strlen.c: Likewise.
22243 * benchtests/bench-strncasecmp.c: Likewise.
22244 * benchtests/bench-strncat.c: Likewise.
22245 * benchtests/bench-strncmp.c: Likewise.
22246 * benchtests/bench-strncpy.c: Likewise.
22247 * benchtests/bench-strnlen.c: Likewise.
22248 * benchtests/bench-strpbrk.c: Likewise.
22249 * benchtests/bench-strrchr.c: Likewise.
22250 * benchtests/bench-strspn.c: Likewise.
22251 * benchtests/bench-strstr.c: Likewise.
22253 2013-09-04 Will Newton <will.newton@linaro.org>
22255 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22257 2013-09-03 Joseph Myers <joseph@codesourcery.com>
22260 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22261 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22262 * math/libm-test.inc (lgamma_test_data): Add more tests.
22263 * sysdeps/i386/fpu/libm-test-ulps: Update.
22264 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22266 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
22268 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22269 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22271 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22272 Add strcmp-sse2-unaligned
22273 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22275 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22277 * Versions.def (libc): Add GLIBC_2.19.
22279 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22281 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22282 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22284 2013-09-02 Joseph Myers <joseph@codesourcery.com>
22287 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22288 intermediate calculations in recurrence.
22289 (__ieee754_ynf): Likewise.
22290 * math/libm-test.inc (jn_test_data): Do not allow spurious
22291 underflow exception. Add more tests.
22292 (yn_test_data): Add more tests.
22293 * sysdeps/i386/fpu/libm-test-ulps: Update.
22294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22296 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
22298 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22300 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22302 * csu/init-first.c: Fix then/than typos.
22303 * locale/programs/ld-collate.c: Likewise.
22304 * locale/programs/linereader.h: Likewise.
22305 * manual/charset.texi: Likewise.
22306 * manual/filesys.texi: Likewise.
22307 * manual/stdio.texi: Likewise.
22308 * manual/string.texi: Likewise.
22309 * stdlib/fmtmsg.c: Likewise.
22310 * sysdeps/i386/stpncpy.S: Likewise.
22311 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22312 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22313 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22314 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22316 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22318 * elf/dl-open.c: Fix typos.
22319 * iconvdata/gbbig5.c: Likewise.
22320 * iconvdata/iso-2022-jp.c: Likewise.
22321 * iconv/gconv_int.h: Likewise.
22322 * iconv/loop.c: Likewise.
22323 * nis/rpcsvc/nis.h: Likewise.
22324 * resolv/ns_name.c: Likewise.
22325 * stdio-common/vfscanf.c: Likewise.
22326 * streams/stropts.h: Likewise.
22327 * sunrpc/rpc_thread.c: Likewise.
22328 * sysdeps/i386/strpbrk.S: Likewise.
22329 * sysdeps/ieee754/k_standard.c: Likewise.
22330 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22331 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22332 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22333 * sysdeps/mach/hurd/profil.c: Likewise.
22334 * sysdeps/s390/dl-procinfo.h: Likewise.
22335 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22336 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22337 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22338 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22339 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22341 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22343 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22346 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22348 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22349 aix specific files.
22350 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22351 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22352 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22353 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22354 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22355 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22356 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22357 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22359 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22360 Roland McGrath <roland@hack.frob.com>
22362 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22363 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22365 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22367 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22368 __executable_start symbol instead of _start.
22370 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22372 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22373 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22375 * sysdeps/gnu/ldsodefs.h: ... this new file.
22377 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22378 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22379 instead of ELFOSABI_LINUX.
22381 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22382 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22383 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22384 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22386 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22387 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22388 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22390 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22391 (ibm_extended_long_double): Add ieee_nan member.
22392 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22393 (do_test): New function.
22395 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22397 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22398 functions, renamed from truncdfsf_test, trunctfsf_test,
22400 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22402 (do_test): Run all these.
22404 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22406 * argp/argp-help.c: Fix typos.
22407 * argp/argp-parse.c: Likewise.
22408 * debug/backtracesyms.c: Likewise.
22409 * elf/elf.h: Likewise.
22410 * malloc/malloc.c: Likewise.
22411 * nis/nis_print.c: Likewise.
22412 * resolv/res_comp.c: Likewise.
22413 * stdlib/stdlib.h: Likewise.
22414 * sunrpc/clnt_tcp.c: Likewise.
22415 * sunrpc/clnt_udp.c: Likewise.
22416 * sunrpc/clnt_unix.c: Likewise.
22417 * sysdeps/unix/bsd/ptsname.c: Likewise.
22418 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22419 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22422 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22426 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22428 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22430 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22431 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22433 2013-08-27 Mike Frysinger <vapier@gentoo.org>
22436 * dlfcn/Makefile (tests): Add bug-dl-leaf.
22437 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22438 ($(objpfx)bug-dl-leaf): New rule.
22439 ($(objpfx)bug-dl-leaf.so): Likewise.
22440 ($(objpfx)bug-dl-leaf.out): Likewise.
22441 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22442 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22443 * dlfcn/bug-dl-leaf.c: New test.
22444 * dlfcn/bug-dl-leaf-lib.c: Likewise.
22445 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22446 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22447 (dlclose): Likewise.
22448 (dlmopen): Likewise.
22450 2013-08-27 Roland McGrath <roland@hack.frob.com>
22452 * include/netdb.h [!_ISOMAC]:
22453 Don't include <tls.h>.
22454 (h_errno, __libc_h_errno): Move declaration and macros out of
22457 * include/resolv.h [_RESOLV_H_]:
22458 Don't include <tls.h>.
22459 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22460 * resolv/res_libc.c: Don't include <tls.h>.
22461 (_res): Use __attribute__ ((nocommon)) in place of
22462 __attribute__ ((section (".bss"))).
22464 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22465 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22467 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22469 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22470 only under [SIOCGIFCONF && SIOCGIFNETMASK].
22472 * resolv/res_mkquery.c: Include <sys/time.h>.
22474 * inet/ifreq.c: Moved to ...
22475 * sysdeps/unix/ifreq.c: ... here.
22476 * inet/ifreq.c: New file, true stub version.
22478 * socket/sa_len.c: New file.
22479 * socket/Makefile (aux): Add it.
22480 * sysdeps/unix/sysv/linux/Makefile
22481 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22482 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22483 and #include <socket/sa_len.c>.
22484 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22485 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22487 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22488 * bits/socket.h: ... here.
22490 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22491 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22492 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22494 2013-08-27 Andreas Schwab <schwab@suse.de>
22497 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22498 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22499 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22500 * string/test-strcasecmp.c (test_main): Run tests in several
22502 * string/test-strncasecmp.c (test_main): Likewise.
22504 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22505 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22506 to __strcasecmp_nonascii and __strncasecmp_nonascii.
22507 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22508 (__strncasecmp_ssse3) [PIC]: Likewise.
22510 2013-08-26 Roland McGrath <roland@hack.frob.com>
22512 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22514 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22515 instead of explicitly declaring xdecrypt.
22516 * nis/nss_nis/nis-publickey.c: Likewise.
22518 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22521 * nscd/aicache.c: Include res_hconf.h.
22522 (addhstaiX): Initialize res_hconf.
22524 2013-08-26 Andreas Schwab <schwab@suse.de>
22526 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22527 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22529 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22531 * nscd/aicache.c (addhstaiX): Fix indentation.
22533 2013-08-25 Mike Frysinger <vapier@gentoo.org>
22535 * configure.ac: Quote $build_pt_chown test.
22536 * configure: Regenerated.
22538 2013-08-23 Joseph Myers <joseph@codesourcery.com>
22541 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22542 * math/s_cexpf.c (__cexpf): Likewise.
22543 * math/s_cexpl.c (__cexpl): Likewise.
22544 * math/libm-test.inc (cexp_test_data): Correct expected return
22545 value for NaN + i0. Add another test.
22547 2013-08-22 David S. Miller <davem@davemloft.net>
22549 * po/ca.po: Update Catalan translation from translation project.
22550 * po/uk.po: Add Ukrainian translations from translation project.
22552 2013-08-21 Joseph Myers <joseph@codesourcery.com>
22555 * math/s_fdim.c (__fdim): Check for infinite arguments if result
22556 is infinite, not alongside NaN test.
22557 * math/s_fdimf.c (__fdimf): Likewise.
22558 * math/s_fdiml.c (__fdiml): Likewise.
22559 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
22560 errno is unchanged.
22562 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
22564 * argp/argp-help.c: Fix typos.
22565 * crypt/speeds.c: Likewise.
22566 * csu/check_fds.c: Likewise.
22567 * elf/dl-load.c: Likewise.
22568 * elf/dl-open.c: Likewise.
22569 * elf/reldep3.c: Likewise.
22570 * elf/reldep.c: Likewise.
22571 * elf/sprof.c: Likewise.
22572 * iconv/iconv_charmap.c: Likewise.
22573 * iconv/skeleton.c: Likewise.
22574 * iconv/strtab.c: Likewise.
22575 * io/lockf64.c: Likewise.
22576 * libio/libioP.h: Likewise.
22577 * resolv/gai_notify.c: Likewise.
22578 * resolv/ns_name.c: Likewise.
22579 * resolv/ns_samedomain.c: Likewise.
22580 * resolv/res_send.c: Likewise.
22581 * stdlib/random.c: Likewise.
22582 * sunrpc/rpc/xdr.h: Likewise.
22583 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22584 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22585 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22586 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22587 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22588 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22589 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22590 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22591 * sysdeps/mach/hurd/check_fds.c: Likewise.
22592 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22593 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22594 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22595 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22596 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22597 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22598 * sysdeps/pthread/aio_notify.c: Likewise.
22599 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22600 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22601 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22602 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22603 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22605 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22607 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22608 version if bit_Slow_SSE4_2 is set.
22609 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22610 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22612 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22615 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22616 trampoline stack frame information.
22617 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22618 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22619 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22620 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22621 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22622 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22623 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22624 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22626 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22627 interrupting a syscall and set with option SA_SIGINFO.
22629 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22632 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22633 argument is infinite.
22634 * math/s_cprojf.c (__cprojf): Likewise.
22635 * math/s_cprojl.c (__cprojl): Likewise.
22636 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22637 * math/libm-test.inc (cproj_test_data): Add more tests.
22639 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22641 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22642 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22643 size. Use __ffs to determine corresponding shift.
22645 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22646 Roland McGrath <roland@hack.frob.com>
22648 * Makefile (INSTALL): Remove trailing blank lines from output of
22651 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22653 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22654 Align 32 bit compat elf_greg to 8 bytes.
22656 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22658 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22660 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22662 * string/strcoll_l.c (coll_seq): New structure.
22663 (get_next_seq_cached): New function.
22664 (get_next_seq): New function.
22665 (do_compare): New function.
22666 (STRCOLL): Use GNU style definition. Simplify implementation
22667 by using get_next_seq, get_next_seq_cached and do_compare.
22669 2013-08-16 Florian Weimer <fweimer@redhat.com>
22673 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22675 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22677 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22678 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22679 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22681 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22682 GETDENTS_64BIT_ALIGNED.
22683 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22684 * manual/filesys.texi (Reading/Closing Directory): Document
22685 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22687 * manual/conf.texi (Limits for Files): Add portability note to
22688 NAME_MAX, PATH_MAX.
22689 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22691 2013-08-13 Andreas Schwab <schwab@suse.de>
22694 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22696 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22697 LDBL_MAX_EXP >= 16384]: Add tests for it.
22699 2013-08-12 David S. Miller <davem@davemloft.net>
22701 * version.h (RELEASE): Set to "development".
22702 (VERSION): Set to "2.18.90".
22703 * NEWS: Add 2.19 section.
22705 2013-08-03 David S. Miller <davem@davemloft.net>
22707 * po/ko.po: Update Korean translation from translation project.
22709 2013-08-01 David S. Miller <davem@davemloft.net>
22711 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22712 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22715 2013-07-30 David S. Miller <davem@davemloft.net>
22717 * po/fr.po: Update French translation from translation project.
22719 2013-07-28 David S. Miller <davem@davemloft.net>
22721 * po/cs.po: Update Czech translation from translation project.
22723 * po/sv.po: Update Swedish translation from translation project.
22725 2013-07-27 David S. Miller <davem@davemloft.net>
22727 * po/eo.po: Update Esperanto translation from translation project.
22729 * po/vi.po: Update Vietnamese translation from translation project.
22731 * po/de.po: Update German translation from translation project.
22733 2013-07-26 David S. Miller <davem@davemloft.net>
22735 * po/bg.po: Update Bulgarian translation from translation project.
22737 * po/nl.po: Update Dutch translation from translation project.
22738 * po/pl.po: Update Polish translation from translation project.
22739 * po/ru.po: Update Russian translation from translation project.
22741 2013-07-24 David S. Miller <davem@davemloft.net>
22743 * po/libc.pot: Update.
22745 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22747 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22748 variable page size.
22749 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22750 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22751 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22753 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22755 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22757 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22758 Andreas Schwab <schwab@suse.de>
22759 Roland McGrath <roland@hack.frob.com>
22760 Joseph Myers <joseph@codesourcery.com>
22761 Carlos O'Donell <carlos@redhat.com>
22764 * config.h.in: Define HAVE_PT_CHOWN.
22765 * config.make.in (build-pt-chown): New variable.
22766 * configure.in (--enable-pt_chown): New configure option.
22767 * configure: Regenerate.
22768 * login/Makefile: Include Makeconfig. Build pt_chown only if
22769 build-pt-chown is enabled.
22770 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22771 pt_chown to fix pty ownership.
22772 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22774 * manual/install.texi (Configuring and compiling): Mention
22775 --enable-pt_chown. Add @findex for grantpt.
22776 * INSTALL: Regenerate.
22778 2013-07-20 David S. Miller <davem@davemloft.net>
22780 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22781 difference between 32-bit and 64-bit.
22783 2013-07-15 Carlos O'Donell <carlos@redhat.com>
22786 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22787 Avoid system header dependency with -ffreestanding.
22788 ($(objpfx)bits/syscall%d): Likewise.
22790 2013-07-13 David S. Miller <davem@davemloft.net>
22792 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22793 underflows from atanl/atan2l due to bug 15319.
22794 (casinh_test_data): Likewise.
22796 2013-07-07 David S. Miller <davem@davemloft.net>
22798 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22800 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22802 * sysdeps/i386/fpu/libm-test-ulps: Update.
22803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22805 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22807 * configure.in (--enable-lock-elision): Fix message text.
22808 * INSTALL: Regenerate.
22809 * configure: Regenerate.
22811 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22813 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22815 2013-07-03 Andreas Jaeger <aj@suse.de>
22817 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22819 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22820 (ptrace_peeksiginfo_args): Add.
22821 (__ptrace_peeksiginfo_flags): Add.
22822 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22823 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22824 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22826 2013-07-03 Allan McRae <allan@archlinux.org>
22828 * sysdeps/i386/fpu/libm-test-ulps: Update.
22830 2013-07-02 David S. Miller <davem@davemloft.net>
22832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22834 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22838 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22840 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22841 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22843 2013-07-02 Andi Kleen <ak@linux.intel.com>
22845 * config.h.in (ENABLE_LOCK_ELISION): Add.
22846 * configure.in (--enable-lock-elision): Add option.
22847 * manual/install.texi: Document --enable lock elision.
22848 * configure: Regenerate
22849 * INSTALL: Regenerate.
22851 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22853 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22854 SSE4.2 strcasecmp for libc.a.
22855 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22857 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22860 * soft-fp/op-common.h (_FP_FMA): New macro.
22861 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22862 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22863 (_FP_MUL_MEAT_1_imm): ... here.
22864 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22865 (_FP_MUL_MEAT_1_wide): ... here.
22866 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22867 (_FP_MUL_MEAT_1_hard): ... here.
22868 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22869 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22870 (_FP_MUL_MEAT_2_wide): ... here.
22871 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22872 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22873 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22874 (_FP_MUL_MEAT_2_gmp): ... here.
22875 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22876 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
22877 (_FP_MUL_MEAT_4_wide): ... here.
22878 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
22879 (_FP_MUL_MEAT_4_gmp): ... here.
22880 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22881 (_FP_WFRACBITS_DW_S): Likewise.
22882 (_FP_WFRACXBITS_DW_S): Likewise.
22883 (_FP_HIGHBIT_DW_S): Likewise.
22884 (FP_FMA_S): Likewise.
22885 (_FP_FRAC_HIGH_DW_S): Likewise.
22886 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22887 (_FP_WFRACBITS_DW_D): Likewise.
22888 (_FP_WFRACXBITS_DW_D): Likewise.
22889 (_FP_HIGHBIT_DW_D): Likewise.
22890 (FP_FMA_D): Likewise.
22891 (_FP_FRAC_HIGH_DW_D): Likewise.
22892 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22893 (_FP_WFRACBITS_DW_E): Likewise.
22894 (_FP_WFRACXBITS_DW_E): Likewise.
22895 (_FP_HIGHBIT_DW_E): Likewise.
22896 (FP_FMA_E): Likewise.
22897 (_FP_FRAC_HIGH_DW_E): Likewise.
22898 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22899 (_FP_WFRACBITS_DW_Q): Likewise.
22900 (_FP_WFRACXBITS_DW_Q): Likewise.
22901 (_FP_HIGHBIT_DW_Q): Likewise.
22902 (FP_FMA_Q): Likewise.
22903 (_FP_FRAC_HIGH_DW_Q): Likewise.
22904 * soft-fp/fmasf4.c: New file.
22905 * soft-fp/fmadf4.c: Likewise.
22906 * soft-fp/fmatf4.c: Likewise.
22908 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22910 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22911 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22913 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22915 (index_Slow_SSE4_2): Likewise.
22916 (index_Prefer_PMINUB_for_stringop): Likewise.
22917 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22918 bit_Slow_SSE4_2 is set.
22919 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22920 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22922 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22924 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22925 rtld_global._dl_hwcap2.
22926 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22928 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22929 POWER8 feature descriptions defined in _dl_hwcap2.
22930 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22931 string handling for POWER8 feature bits.
22932 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22933 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22934 _dl_powerpc_cap_flags.
22935 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22936 * sysdeps/powerpc/rtld-global-offsets.sym
22937 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22938 _dl_hwcap2 in the rtld_global_ro structure.
22940 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
22942 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22943 hardware capabilities in support of AT_HWCAP2.
22944 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22945 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22947 (_dl_show_auxv): Add support for calling _dl_procinfo to display
22948 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
22949 explicitly the unknown a_type display mechanism is used.
22950 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22951 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22953 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22954 to macro prototype for AT_HWCAP2 support.
22955 * sysdeps/i386/dl-procinfo.h: Likewise.
22956 * sysdeps/s390/dl-procinfo.h: Likewise.
22957 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22958 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
22959 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
22960 return -1 for unknown a_type display fallback.
22961 * sysdeps/sparc/dl-procinfo.h: Likewise.
22962 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22963 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22965 2013-06-28 Joseph Myers <joseph@codesourcery.com>
22967 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22968 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22970 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
22973 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22974 mprotect making __stack_prot writable.
22976 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
22977 Joseph Myers <joseph@codesourcery.com>
22979 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22980 as being properly aligned.
22982 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
22984 * dlfcn/modstatic5.c: New file.
22985 * dlfcn/tststatic5.c: New file.
22986 * dlfcn/Makefile (tests): Add tststatic5.
22987 (tests-static): Likewise.
22988 (modules-names): Add modstatic5.
22989 (tststatic5-ENV): New variable.
22990 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22993 * elf/dl-support.c (_dl_main_map): New variable.
22994 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22995 (_dl_nns, _dl_load_adds): Set to 1.
22996 (_dl_initial_searchlist): Refer to _dl_main_map.
22997 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22998 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22999 call to _dl_get_origin.
23000 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23002 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23003 * dlfcn/modstatic3.c: New file.
23004 * dlfcn/tststatic3.c: New file.
23005 * dlfcn/tststatic4.c: New file.
23006 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23007 (tests-static): Likewise.
23008 (modules-names): Add modstatic3.
23009 (tststatic3-ENV, tststatic4-ENV): New variables.
23010 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23011 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23013 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23015 * configure.in (CC): Require GCC version 4.4 or later.
23016 * configure: Regenerated.
23017 * manual/install.texi (Tools for Compilation): Update GCC version
23019 * INSTALL: Regenerated.
23021 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23024 * string/test-memcmp.c (check2): New.
23025 (main): Call check2.
23027 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23029 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23032 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23034 (dl_open_worker) [!SHARED]: ... here.
23036 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23038 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23040 2013-06-25 Richard Henderson <rth@redhat.com>
23042 * locale/programs/locarchive.c: Include <libc-internal.h>
23044 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23046 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23047 trailing whitespace removed.
23049 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23052 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23053 * locale/programs/locarchive.c: Include libc-mmap.h.
23054 (prepare_address_space): Take two new outputs (the mmap base and len).
23055 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23057 (create_archive): Declare new mmap base and len values for
23058 prepare_address_space, and store the result in ah.
23059 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23060 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23061 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23062 Declare new mmap base and len values for
23063 prepare_address_space, and store the result in new_ah.
23064 (open_archive): Declare new mmap base and len values for
23065 prepare_address_space, and store the result in ah.
23066 (close_archive): If ah->mmap_base is not NULL, use that and
23067 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23068 * sysdeps/generic/libc-mmap.h: New file.
23070 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23072 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23073 (ALIGN_UP): Likewise.
23074 (PTR_ALIGN_DOWN): Likewise.
23075 (PTR_ALIGN_UP): Likewise.
23077 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23079 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23080 entry mapped to PPC_PLATFORM_POWER8.
23081 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23083 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23084 (_dl_string_platform): Add case for exporting platform position for
23086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23087 search path to sysdeps/powerpc/powerpc32/power8 directory.
23088 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23089 search path to sysdeps/powerpc/powerpc64/power8 directory.
23090 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23091 power7 directories.
23092 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23093 power7 directories.
23095 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23097 * INSTALL: Regenerate.
23099 * nscd/connections.c (nscd_init): Fix comment.
23101 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23103 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23106 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23107 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23109 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23111 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23113 (DL_DST_REQ_STATIC): Remove macro.
23115 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23118 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23119 with a shift of 0 bits.
23121 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23123 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23126 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23129 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23131 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23133 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23134 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23135 accepts -fno-tree-loop-distribute-patterns.
23136 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23137 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23139 * string/memset.c (memset): Likewise.
23140 * string/test-memmove.c (simple_memmove): Disable loop transformation
23142 * string/test-memset.c (simple_memset): Likewise.
23143 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23144 * benchtests/bench-memset.c (simple_memset): Likewise.
23145 * configure: Regenerated.
23147 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23149 * math/test-misc.c (main): Ignore fesetround failure when failures
23150 of subsequent rounding tests would be ignored.
23153 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23154 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23155 * math/fegetenv.c (__fegetenv): Return 0.
23156 * math/fegetexcept.c (fegetexcept): Return 0.
23157 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23159 * math/feholdexcpt.c (feholdexcept): Return 0.
23160 * math/fesetenv.c (__fesetenv): Return 0.
23161 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23162 argument FE_TONEAREST.
23163 * math/feupdateenv.c (__feupdateenv): Return 0.
23164 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23166 2013-06-18 Roland McGrath <roland@hack.frob.com>
23168 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23169 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23170 ($(objpfx)rtld-%.os rules): Use them.
23172 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23174 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23177 2013-06-17 Roland McGrath <roland@hack.frob.com>
23179 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23180 length of target pattern, then descending length of dependency pattern.
23181 * configure.in (AWK): Require gawk 3.1.2 or newer.
23182 * manual/install.texi (Tools for Compilation): Say that we do.
23183 * configure: Regenerated.
23185 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23186 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23187 * scripts/sysd-rules.awk: ... this new script.
23188 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23189 than a glob-style pattern.
23191 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23193 * math/test-misc.c (main): Do not treat incorrectly rounded
23194 conversions as failure unless ROUNDING_TESTS passes.
23196 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23199 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23200 restore exception state around main square root computation, then
23201 check for inexactness explicitly.
23203 * math/libm-test.inc (fma_test_data): Add another test.
23205 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23207 * manual/threads.texi (Non-POSIX Extensions): New document
23208 node. Document pthread_getattr_default_np and
23209 pthread_setattr_default_np.
23211 * Versions.def (libpthread): Add GLIBC_2.18.
23212 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23221 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23225 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23227 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23232 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23235 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23237 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23238 H.J. Lu <hjl.tools@gmail.com>
23241 * sysdeps/x86_64/rtld-memset.c: Remove file.
23242 * sysdeps/x86_64/rtld-memset.S: New file.
23244 2013-06-14 Joseph Myers <joseph@codesourcery.com>
23246 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23247 (test_in_one_mode): Take arguments for whether the rounding mode
23248 is supported for each floating-point type.
23249 (do_test): Pass new arguments to test_in_one_mode using
23252 2013-06-13 Roland McGrath <roland@hack.frob.com>
23254 * posix/tst-waitid.c (do_test): Distinguish different instances of
23255 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23256 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23257 before entering the kernel for waitpid.
23259 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23261 * NEWS: Fix note on clock function precision. Text by Roland
23264 2013-06-13 Roland McGrath <roland@hack.frob.com>
23266 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23267 it into place only when and if the sanity check passes.
23269 2013-06-13 Joseph Myers <joseph@codesourcery.com>
23271 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23272 output for whether conversion result is exact. Take argument
23273 indicating whether type is IBM long double.
23274 (round_for_all): Change need_exact field to ibm_ld.
23275 * stdlib/tst-strtod-round.c (struct exactness): New type.
23276 (struct test): Change bool ld_ok field to struct exactness exact.
23277 (TEST): Update all definitions for change to field.
23278 (tests): Regenerate array contents.
23279 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23280 field value. Check for IBM long double here.
23281 (do_test): Update calls to test_in_one_mode.
23283 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23286 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23287 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23289 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23292 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23293 generated by the compiler on loop optimizations.
23294 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23295 general definitions.
23297 2013-06-12 Joseph Myers <joseph@codesourcery.com>
23299 * math/bug-nextafter.c: Include <math-tests.h>.
23300 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23302 * math/bug-nexttoward.c: Include <math-tests.h>.
23303 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23305 * math/test-misc.c: Include <math-tests.h>.
23306 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23309 2013-06-12 Andreas Jaeger <aj@suse.de>
23311 * po/ia.po: Update Interlingua translation from translation
23314 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23316 * include/fenv.h: Include stdbool.h.
23317 (struct rm_ctx): New structure.
23318 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23320 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23321 (SET_RESTORE_ROUNDF): Likewise.
23322 (SET_RESTORE_ROUNDL): Likewise.
23323 (SET_RESTORE_ROUND_NOEX): Likewise.
23324 (SET_RESTORE_ROUND_NOEXF): Likewise.
23325 (SET_RESTORE_ROUND_NOEXL): Likewise.
23326 (SET_RESTORE_ROUND_53BIT): Likewise.
23327 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23328 (libc_feresetround_noexf_ctx): Likewise.
23329 (libc_feresetround_noexl_ctx): Likewise.
23330 (libc_feholdsetround_53bit_ctx): Likewise.
23331 (libc_feresetround_53bit_ctx): Likewise.
23332 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23333 (libc_feholdexcept_setround_sse_ctx): New function.
23334 (libc_fesetenv_sse_ctx): Likewise.
23335 (libc_feupdateenv_sse_ctx): Likewise.
23336 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23337 (libc_feholdexcept_setround_387_ctx): Likewise.
23338 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23339 (libc_feholdsetround_387_prec_ctx): Likewise.
23340 (libc_feholdsetround_387_ctx): Likewise.
23341 (libc_feholdsetround_387_53bit_ctx): Likewise.
23342 (libc_feholdsetround_sse_ctx): Likewise.
23343 (libc_feresetround_sse_ctx): Likewise.
23344 (libc_feresetround_387_ctx): Likewise.
23345 (libc_feupdateenv_387_ctx): Likewise.
23346 (libc_feholdexcept_setroundf_ctx): Define macro.
23347 (libc_fesetenvf_ctx): Likewise.
23348 (libc_feupdateenvf_ctx): Likewise.
23349 (libc_feholdsetroundf_ctx): Likewise.
23350 (libc_feresetroundf_ctx): Likewise.
23351 (libc_feholdexcept_setround_ctx): Likewise.
23352 (libc_fesetenv_ctx): Likewise.
23353 (libc_feupdateenv_ctx): Likewise.
23354 (libc_feholdsetround_ctx): Likewise.
23355 (libc_feresetround_ctx): Likewise.
23356 (libc_feholdexcept_setroundl_ctx): Likewise.
23357 (libc_feupdateenvl_ctx): Likewise.
23358 (libc_feholdsetroundl_ctx): Likewise.
23359 (libc_feresetroundl_ctx): Likewise.
23360 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23361 (libc_feresetround_53bit_ctx): Likewise.
23363 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23365 * locale/iso-639.def: Convert to UTF-8.
23367 2013-06-11 Joseph Myers <joseph@codesourcery.com>
23369 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23370 (EXCEPTION_TESTS_double): Likewise.
23371 (EXCEPTION_TESTS_long_double): Likewise.
23372 (EXCEPTION_TESTS): Likewise.
23373 * math/libm-test.inc (test_exceptions): Only test exceptions if
23374 EXCEPTION_TESTS (FLOAT).
23376 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23378 * benchtests/Makefile (string-bench): Add strcpy_chk and
23380 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23381 * benchtests/bench-stpcpy_chk.c: New file.
23382 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23383 * benchtests/bench-strcpy_chk.c: New file.
23384 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23386 (do_test): Likewise.
23388 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23390 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23391 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23392 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23393 with tabs where appropriate.
23394 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23396 [PPC_PLATFORM_PPC440]: Likewise.
23397 [PPC_PLATFORM_PPC464]: Likewise.
23398 [PPC_PLATFORM_PPC476]: Likewise.
23399 (_dl_string_platform): Add support for detecting ppc405, ppc440,
23400 ppc464, and ppc476 platform strings merging from ports/
23403 2013-06-11 Andreas Schwab <schwab@suse.de>
23406 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23407 (from_ucs4_idx): Regenerate.
23408 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23409 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23410 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23411 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23412 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23413 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23414 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23415 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23416 from FROM_LOOP and TO_LOOP specific macros.
23417 (BODY): Handle combining characters.
23418 * iconvdata/BIG5HKSCS.irreversible: Update.
23419 * iconvdata/BIG5HKSCS.precomposed: New file.
23420 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23422 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23424 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23426 * include/sys/time.h: Fix indentation and add copyright header.
23428 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23429 (do_test): Likewise.
23430 * string/test-memchr.c (do_one_test): Likewise.
23431 (do_test): Likewise.
23432 * string/test-memcmp.c (do_one_test): Likewise.
23433 (do_test): Likewise.
23434 * string/test-memcpy.c (do_one_test): Likewise.
23435 (do_test): Likewise.
23436 * string/test-memmem.c (do_one_test): Likewise.
23437 (do_test): Likewise.
23438 (do_random_tests): Likewise.
23439 * string/test-memmove.c (do_one_test): Likewise.
23440 (do_test): Likewise.
23441 * string/test-memset.c (do_one_test): Likewise.
23442 (do_test): Likewise.
23443 * string/test-rawmemchr.c (do_one_test): Likewise.
23444 (do_test): Likewise.
23445 * string/test-strcasecmp.c (do_one_test): Likewise.
23446 (do_test): Likewise.
23447 * string/test-strcasestr.c (do_one_test): Likewise.
23448 (do_test): Likewise.
23449 * string/test-strcat.c (do_one_test): Likewise.
23450 (do_test): Likewise.
23451 * string/test-strchr.c (do_one_test): Likewise.
23452 (do_test): Likewise.
23453 * string/test-strcmp.c (do_one_test): Likewise.
23454 (do_test): Likewise.
23455 * string/test-strcpy.c (do_one_test): Likewise.
23456 (do_test): Likewise.
23457 * string/test-string.h: Likewise.
23458 (test_init): Likewise.
23459 * string/test-strlen.c (do_one_test): Likewise.
23460 (do_test): Likewise.
23461 * string/test-strncasecmp.c (do_one_test): Likewise.
23462 (do_test): Likewise.
23463 * string/test-strncat.c (do_one_test): Likewise.
23464 (do_test): Likewise.
23465 * string/test-strncmp.c (do_one_test): Likewise.
23466 (do_test_limit): Likewise.
23467 (do_test): Likewise.
23468 * string/test-strncpy.c (do_one_test): Likewise.
23469 (do_test): Likewise.
23470 * string/test-strnlen.c (do_one_test): Likewise.
23471 (do_test): Likewise.
23472 * string/test-strpbrk.c (do_one_test): Likewise.
23473 (do_test): Likewise.
23474 * string/test-strrchr.c (do_one_test): Likewise.
23475 (do_test): Likewise.
23476 * string/test-strspn.c (do_one_test): Likewise.
23477 (do_test): Likewise.
23478 * string/test-strstr.c (do_one_test): Likewise.
23479 (do_test): Likewise.
23481 * benchtests/Makefile (string-bench): Add string benchmarks.
23482 * benchtests/bench-bcopy-ifunc.c: New file.
23483 * benchtests/bench-bcopy.c: New file.
23484 * benchtests/bench-bzero-ifunc.c: New file.
23485 * benchtests/bench-bzero.c: New file.
23486 * benchtests/bench-memccpy-ifunc.c: New file.
23487 * benchtests/bench-memccpy.c: New file.
23488 * benchtests/bench-memchr-ifunc.c: New file.
23489 * benchtests/bench-memchr.c: New file.
23490 * benchtests/bench-memcmp-ifunc.c: New file.
23491 * benchtests/bench-memcmp.c: New file.
23492 * benchtests/bench-memmem-ifunc.c: New file.
23493 * benchtests/bench-memmem.c: New file.
23494 * benchtests/bench-memmove-ifunc.c: New file.
23495 * benchtests/bench-memmove.c: New file.
23496 * benchtests/bench-mempcpy-ifunc.c: New file.
23497 * benchtests/bench-mempcpy.c: New file.
23498 * benchtests/bench-memset-ifunc.c: New file.
23499 * benchtests/bench-memset.c: New file.
23500 * benchtests/bench-rawmemchr-ifunc.c: New file.
23501 * benchtests/bench-rawmemchr.c: New file.
23502 * benchtests/bench-stpcpy-ifunc.c: New file.
23503 * benchtests/bench-stpcpy.c: New file.
23504 * benchtests/bench-stpncpy-ifunc.c: New file.
23505 * benchtests/bench-stpncpy.c: New file.
23506 * benchtests/bench-strcasecmp-ifunc.c: New file.
23507 * benchtests/bench-strcasecmp.c: New file.
23508 * benchtests/bench-strcasestr-ifunc.c: New file.
23509 * benchtests/bench-strcasestr.c: New file.
23510 * benchtests/bench-strcat-ifunc.c: New file.
23511 * benchtests/bench-strcat.c: New file.
23512 * benchtests/bench-strchr-ifunc.c: New file.
23513 * benchtests/bench-strchr.c: New file.
23514 * benchtests/bench-strchrnul-ifunc.c: New file.
23515 * benchtests/bench-strchrnul.c: New file.
23516 * benchtests/bench-strcmp-ifunc.c: New file.
23517 * benchtests/bench-strcmp.c: New file.
23518 * benchtests/bench-strcpy-ifunc.c: New file.
23519 * benchtests/bench-strcpy.c: New file.
23520 * benchtests/bench-strcspn-ifunc.c: New file.
23521 * benchtests/bench-strcspn.c: New file.
23522 * benchtests/bench-strlen-ifunc.c: New file.
23523 * benchtests/bench-strlen.c: New file.
23524 * benchtests/bench-strncasecmp-ifunc.c: New file.
23525 * benchtests/bench-strncasecmp.c: New file.
23526 * benchtests/bench-strncat-ifunc.c: New file.
23527 * benchtests/bench-strncat.c: New file.
23528 * benchtests/bench-strncmp-ifunc.c: New file.
23529 * benchtests/bench-strncmp.c: New file.
23530 * benchtests/bench-strncpy-ifunc.c: New file.
23531 * benchtests/bench-strncpy.c: New file.
23532 * benchtests/bench-strnlen-ifunc.c: New file.
23533 * benchtests/bench-strnlen.c: New file.
23534 * benchtests/bench-strpbrk-ifunc.c: New file.
23535 * benchtests/bench-strpbrk.c: New file.
23536 * benchtests/bench-strrchr-ifunc.c: New file.
23537 * benchtests/bench-strrchr.c: New file.
23538 * benchtests/bench-strspn-ifunc.c: New file.
23539 * benchtests/bench-strspn.c: New file.
23540 * benchtests/bench-strstr-ifunc.c: New file.
23541 * benchtests/bench-strstr.c: New file.
23543 * benchtests/Makefile: Disable parallel execution of targets.
23544 (string-bench): Add memcpy.
23545 (benchset): New variable to store a list of benchmark sets.
23546 (bench-func): Renamed from bench.
23547 (bench-set): New target.
23548 (bench): Depend on bench-func and bench-set.
23549 * benchtests/README: Add section on benchmark sets.
23550 * benchtests/bench-memcpy-ifunc.c: New file.
23551 * benchtests/bench-memcpy.c: New file.
23552 * benchtests/bench-string.h: New file.
23554 2013-06-11 Andreas Schwab <schwab@suse.de>
23557 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23558 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23559 values in the triple.
23560 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23561 terminator in the group key.
23563 2013-06-11 Andreas Jaeger <aj@suse.de>
23565 * po/zh_TW.po: Update Chinese (traditional) translation from
23566 translation project.
23568 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23570 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23571 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23572 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23573 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23574 (clock_getcpuclockid): Likewise.
23575 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23576 Add weak_alias and libc_hidden_def.
23577 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23578 * rt/clock_gettime.c (clock_gettime): Rename to
23579 __clock_gettime. Add weak_alias and libc_hidden_def.
23580 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23581 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23582 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23583 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23584 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23586 * rt/clock_settime.c (clock_settime): Rename to
23587 __clock_settime. Add weak_alias and libc_hidden_def.
23588 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23590 2013-06-10 Joseph Myers <joseph@codesourcery.com>
23592 * mach/err_boot.sub: Remove trailing whitespace.
23593 * mach/err_ipc.sub: Likewise.
23594 * mach/err_mach.sub: Likewise.
23596 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23597 (ROUNDING_TESTS_double): Likewise.
23598 (ROUNDING_TESTS_long_double): Likewise.
23599 (ROUNDING_TESTS): Likewise.
23600 * math/libm-test.inc: Include <math-tests.h>.
23601 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23602 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23603 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23604 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23606 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23608 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23611 2013-06-08 Joseph Myers <joseph@codesourcery.com>
23613 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23614 otherwise empty TRANS lines.
23615 * sysdeps/gnu/errlist.c: Regenerated.
23617 * catgets/gencat.c (error_print): Use (void) in function
23619 * crypt/crypt_util.c (__init_des): Likewise.
23620 * crypt/speeds.c (Stop): Likewise.
23622 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23623 * inet/ruserpass.c (token): Likewise.
23624 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23625 * intl/localealias.c (extend_alias_table): Likewise.
23626 * intl/plural-exp.c (init_germanic_plural): Likewise.
23627 * libio/fcloseall.c (__fcloseall): Likewise.
23628 * libio/genops.c (_IO_flush_all): Likewise.
23629 (_IO_flush_all_linebuffered): Likewise.
23630 (_IO_cleanup): Likewise.
23631 (_IO_iter_begin): Likewise.
23632 (_IO_iter_end): Likewise.
23633 (_IO_list_lock): Likewise.
23634 (_IO_list_unlock): Likewise.
23635 (_IO_list_resetlock): Likewise.
23636 * libio/getchar.c (getchar): Likewise.
23637 * libio/getchar_u.c (getchar_unlocked): Likewise.
23638 * libio/getwchar.c (getwchar): Likewise.
23639 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23640 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23641 * login/getpt.c (__getpt): Likewise.
23642 * login/tst-utmp.c (main): Likewise.
23643 * malloc/hooks.c (__malloc_check_init): Likewise.
23644 * malloc/malloc.c (__malloc_stats): Likewise.
23645 * malloc/mtrace.c (tr_break): Likewise.
23646 (mtrace): Likewise.
23647 (muntrace): Likewise.
23648 * misc/fstab.c (endfsent): Likewise.
23649 * misc/getclktck.c (__getclktck): Likewise.
23650 * misc/getdtsz.c (__getdtablesize): Likewise.
23651 * misc/gethostid.c (gethostid): Likewise.
23652 * misc/getpagesize.c (__getpagesize): Likewise.
23653 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23654 (__get_nprocs): Likewise.
23655 (__get_phys_pages): Likewise.
23656 (__get_avphys_pages): Likewise.
23657 * misc/getttyent.c (getttyent): Likewise.
23658 (setttyent): Likewise.
23659 (endttyent): Likewise.
23660 * misc/getusershell.c (getusershell): Likewise.
23661 (endusershell): Likewise.
23662 (setusershell): Likewise.
23663 (initshells): Likewise.
23664 * misc/hsearch.c (__hdestroy): Likewise.
23665 * misc/sync.c (sync): Likewise.
23666 * misc/syslog.c (closelog_internal): Likewise.
23667 (closelog): Likewise.
23668 * misc/ttyslot.c (ttyslot): Likewise.
23669 * misc/vhangup.c (vhangup): Likewise.
23670 * posix/fork.c (__fork): Likewise.
23671 * posix/getegid.c (__getegid): Likewise.
23672 * posix/geteuid.c (__geteuid): Likewise.
23673 * posix/getgid.c (__getgid): Likewise.
23674 * posix/getpid.c (__getpid): Likewise.
23675 * posix/getppid.c (__getppid): Likewise.
23676 * posix/getuid.c (__getuid): Likewise.
23677 * posix/pause.c (pause): Likewise.
23678 * posix/setpgrp.c (setpgrp): Likewise.
23679 * posix/setsid.c (__setsid): Likewise.
23680 * posix/test-vfork.c (noop): Likewise.
23681 * resolv/gethnamaddr.c (_endhtent): Likewise.
23682 (_gethtent): Likewise.
23683 (ht_endhostent): Likewise.
23684 (gethostent): Likewise.
23685 (dns_service): Likewise.
23686 * stdlib/drand48.c (drand48): Likewise.
23687 * stdlib/lrand48.c (lrand48): Likewise.
23688 * stdlib/mrand48.c (mrand48): Likewise.
23689 * stdlib/rand.c (rand): Likewise.
23690 * stdlib/random.c (__random): Likewise.
23691 * stdlib/setenv.c (clearenv): Likewise.
23692 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23693 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23694 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23695 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23696 (__get_nprocs): Likewise.
23697 (__get_phys_pages): Likewise.
23698 (__get_avphys_pages): Likewise.
23699 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23700 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23701 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23702 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23703 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23704 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23705 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23706 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23707 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23708 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23709 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23710 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23711 * sysdeps/posix/clock.c (clock): Likewise.
23712 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23713 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23714 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23715 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23716 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23717 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23718 (__get_nprocs_conf): Likewise.
23719 (__get_phys_pages): Likewise.
23720 (__get_avphys_pages): Likewise.
23721 * time/clock.c (clock): Likewise.
23722 * time/tzset.c (__tzname_max): Likewise.
23724 2013-06-07 Joseph Myers <joseph@codesourcery.com>
23726 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23727 (__bswap_32): Do not use "register".
23728 * crypt/crypt.c (_ufc_doit_r): Likewise.
23729 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23730 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23731 * gmon/gmon.c (__monstartup): Likewise.
23732 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23733 * hurd/hurdmalloc.c (more_memory): Likewise.
23734 (malloc): Likewise.
23736 (realloc): Likewise.
23737 (malloc_fork_prepare): Likewise.
23738 (malloc_fork_parent): Likewise.
23739 (malloc_fork_child): Likewise.
23740 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23741 (_svcauth_des): Likewise.
23742 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23743 * inet/inet_net.c (inet_network): Likewise.
23744 * inet/inet_netof.c (inet_netof): Likewise.
23745 * inet/rcmd.c (__validuser2_sa): Likewise.
23746 * io/fts.c (fts_open): Likewise.
23747 (fts_load): Likewise.
23748 (fts_close): Likewise.
23749 (fts_read): Likewise.
23750 (fts_children): Likewise.
23751 (fts_build): Likewise.
23752 (fts_stat): Likewise.
23753 (fts_sort): Likewise.
23754 (fts_alloc): Likewise.
23755 (fts_lfree): Likewise.
23756 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23757 (_IO_file_xsgetn): Likewise.
23758 (_IO_file_xsgetn_mmap): Likewise.
23759 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23760 (_IO_cookie_write): Likewise.
23761 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23762 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23763 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23764 * malloc/obstack.c (_obstack_begin): Likewise.
23765 (_obstack_begin_1): Likewise.
23766 (_obstack_newchunk): Likewise.
23767 (_obstack_allocated_p): Likewise.
23768 (obstack_free): Likewise.
23769 (_obstack_memory_used): Likewise.
23770 * misc/getttyent.c (getttynam): Likewise.
23771 (getttyent): Likewise.
23774 * misc/getusershell.c (initshells): Likewise.
23775 * misc/syslog.c (__vsyslog_chk): Likewise.
23776 * misc/ttyslot.c (ttyslot): Likewise.
23777 * nis/nis_hash.c (__nis_hash): Likewise.
23778 * posix/fnmatch_loop.c (FCT): Likewise.
23779 * posix/getconf.c (print_all): Likewise.
23781 * posix/getopt.c (exchange): Likewise.
23782 * posix/glob.c (globfree): Likewise.
23783 (prefix_array): Likewise.
23784 (__glob_pattern_type): Likewise.
23785 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23786 (NS_GET32): Likewise.
23787 (NS_PUT16): Likewise.
23788 (NS_PUT32): Likewise.
23789 * resolv/gethnamaddr.c (getanswer): Likewise.
23790 (gethostbyname2): Likewise.
23791 (gethostbyaddr): Likewise.
23792 (_gethtent): Likewise.
23793 (_gethtbyname2): Likewise.
23794 (_gethtbyaddr): Likewise.
23795 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23796 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23797 * resolv/res_init.c (__res_vinit): Likewise.
23798 (net_mask): Likewise.
23799 * resolv/res_mkquery.c (outchar): Likewise.
23801 * stdio-common/printf_fp.c (outchar): Likewise.
23803 * stdio-common/printf_fphex.c (outchar): Likewise.
23805 * stdio-common/printf_size.c (outchar): Likewise.
23807 * stdio-common/test_rdwr.c (main): Likewise.
23808 * stdio-common/tfformat.c (matches): Likewise.
23809 * stdio-common/vfprintf.c (outchar): Likewise.
23810 (printf_unknown): Likewise.
23811 (buffered_vfprintf): Likewise.
23812 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23813 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23814 (ReadFile): Likewise.
23815 * stdlib/qsort.c (SWAP): Likewise.
23816 (_quicksort): Likewise.
23817 * stdlib/setenv.c (__add_to_environ): Likewise.
23818 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23819 * stdlib/strtol_l.c (__strtol_l): Likewise.
23820 * stdlib/tst-strtod.c (main): Likewise.
23821 * stdlib/tst-strtol.c (main): Likewise.
23822 * stdlib/tst-strtoll.c (main): Likewise.
23823 * string/bits/string2.h (__strcmp_cc): Likewise.
23824 (__strcmp_cg): Likewise.
23825 (__strcspn_c1): Likewise.
23826 (__strcspn_c2): Likewise.
23827 (__strcspn_c3): Likewise.
23828 (__strspn_c1): Likewise.
23829 (__strspn_c2): Likewise.
23830 (__strspn_c3): Likewise.
23831 (__strsep_1c): Likewise.
23832 (__strsep_2c): Likewise.
23833 (__strsep_3c): Likewise.
23834 * string/memccpy.c (__memccpy): Likewise.
23835 * string/stpcpy.c (__stpcpy): Likewise.
23836 * string/strcmp.c (strcmp): Likewise.
23837 * string/strrchr.c (strrchr): Likewise.
23838 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23840 * sysdeps/mach/hurd/getcwd.c
23841 (_hurd_canonicalize_directory_name_internal): Likewise.
23842 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23843 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23844 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23845 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23846 Likewise, in both definitions.
23847 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23849 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23850 64] (__bswap_64): Likewise.
23851 * time/test_time.c (main): Likewise.
23852 * time/tzfile.c (__tzfile_read): Likewise.
23853 (__tzfile_compute): Likewise.
23854 * time/tzset.c (__tzset_parse_tz): Likewise.
23855 (tzset_internal): Likewise.
23856 (compute_change): Likewise.
23857 * wcsmbs/wcscat.c (__wcscat): Likewise.
23858 * wcsmbs/wcschr.c (wcschr): Likewise.
23859 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23860 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23861 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23862 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23863 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23864 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23865 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23866 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23867 * wcsmbs/wmemset.c (wmemset): Likewise.
23869 2013-06-06 Joseph Myers <joseph@codesourcery.com>
23871 * scripts/config.guess: Update to version 2013-05-16.
23872 * scripts/config.sub: Update to version 2013-04-24.
23873 * scripts/install-sh: Update to version 2011-11-20.07.
23874 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23875 * scripts/move-if-change: Update to version 2012-01-06 07:23.
23877 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
23879 * debug/fgetws_u_chk.c: Fix leading whitespaces.
23880 * elf/sln.c: Likewise.
23881 * hurd/hurd/ioctl.h: Likewise.
23882 * hurd/hurdmalloc.c: Likewise.
23883 * hurd/xattr.c: Likewise.
23884 * include/shlib-compat.h: Likewise.
23885 * inet/ruserpass.c: Likewise.
23886 * libio/iofgets_u.c: Likewise.
23887 * libio/iofgetws_u.c: Likewise.
23888 * locale/programs/ld-identification.c: Likewise.
23889 * locale/programs/ld-time.c: Likewise.
23890 * mach/msg-destroy.c: Likewise.
23891 * nss/nss_files/files-netgrp.c: Likewise.
23892 * resolv/res_data.c: Likewise.
23893 * soft-fp/op-1.h: Likewise.
23894 * soft-fp/op-2.h: Likewise.
23895 * soft-fp/op-4.h: Likewise.
23896 * soft-fp/op-common.h: Likewise.
23897 * stdio-common/printf_fphex.c: Likewise.
23898 * stdlib/strtod_l.c: Likewise.
23899 * sunrpc/rpc/clnt.h: Likewise.
23900 * sysdeps/generic/framestate.c: Likewise.
23901 * sysdeps/i386/bsd-_setjmp.S: Likewise.
23902 * sysdeps/i386/bsd-setjmp.S: Likewise.
23903 * sysdeps/i386/__longjmp.S: Likewise.
23904 * sysdeps/i386/setjmp.S: Likewise.
23905 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23906 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23907 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23908 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23909 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23910 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23911 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23912 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23913 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23914 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23915 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23916 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23917 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23918 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23919 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23920 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23921 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23922 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23923 * sysdeps/ieee754/support.c: Likewise.
23924 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23925 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23926 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23927 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23928 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23929 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23930 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23931 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23932 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23933 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23934 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23935 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23936 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23937 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23938 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23939 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23940 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23943 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
23945 * posix/transbug.c: Remove executable mode.
23947 2013-06-05 Joseph Myers <joseph@codesourcery.com>
23949 * crypt/speeds.c: Remove trailing whitespace.
23950 * dlfcn/default.c: Likewise.
23951 * elf/ifuncdep2.c: Likewise.
23952 * elf/ifuncmain1.c: Likewise.
23953 * elf/ifuncmain1vis.c: Likewise.
23954 * elf/testobj.h: Likewise.
23955 * elf/tst-stackguard1.c: Likewise.
23956 * gmon/sys/gmon.h: Likewise.
23957 * hurd/hurdmsg.c: Likewise.
23958 * hurd/new-fd.c: Likewise.
23959 * hurd/ports-get.c: Likewise.
23960 * iconvdata/ibm1008_420.c: Likewise.
23961 * inet/tst-getni1.c: Likewise.
23962 * inet/tst-getni2.c: Likewise.
23963 * libio/ioungetc.c: Likewise.
23964 * libio/wfiledoalloc.c: Likewise.
23965 * manual/libm-err-tab.pl: Likewise.
23966 * math/w_dremf.c: Likewise.
23967 * misc/ftruncate.c: Likewise.
23968 * posix/bug-glob2.c: Likewise.
23969 * posix/tst-pcre.c: Likewise.
23970 * posix/wait4.c: Likewise.
23971 * resolv/README: Likewise.
23972 * resolv/res_debug.h: Likewise.
23973 * resolv/tst-inet_ntop.c: Likewise.
23974 * setjmp/bug269-setjmp.c: Likewise.
23975 * soft-fp/extended.h: Likewise.
23976 * soft-fp/op-1.h: Likewise.
23977 * soft-fp/op-2.h: Likewise.
23978 * soft-fp/op-4.h: Likewise.
23979 * soft-fp/op-8.h: Likewise.
23980 * soft-fp/testit.c: Likewise.
23981 * stdio-common/bug16.c: Likewise.
23982 * stdlib/random.c: Likewise.
23983 * sunrpc/rpcsvc/rquota.x: Likewise.
23984 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23985 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23986 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23987 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23988 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23989 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23990 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23991 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23992 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23993 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23994 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23995 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23996 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23997 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23998 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23999 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24000 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24001 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24002 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24003 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24004 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24005 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24006 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24007 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24008 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24009 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24010 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24011 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24012 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24013 * sysdeps/ieee754/s_lib_version.c: Likewise.
24014 * sysdeps/mach/hurd/check_fds.c: Likewise.
24015 * sysdeps/mach/hurd/getsockname.c: Likewise.
24016 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24017 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24018 * sysdeps/powerpc/bits/link.h: Likewise.
24019 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24020 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24021 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24022 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24023 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24024 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24025 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24026 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24027 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24028 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24029 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24030 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24031 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24032 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24033 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24034 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24035 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24036 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24037 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24038 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24039 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24040 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24041 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24042 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24043 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24044 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24045 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24046 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24047 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24048 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24049 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24050 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24051 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24052 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24053 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24054 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24055 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24056 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24057 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24058 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24059 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24060 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24061 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24062 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24063 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24064 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24065 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24066 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24067 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24068 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24069 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24070 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24071 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24072 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24073 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24074 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24075 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24076 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24077 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24078 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24079 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24080 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24081 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24082 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24083 * sysdeps/powerpc/sysdep.h: Likewise.
24084 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24085 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24086 * sysdeps/sh/dl-trampoline.S: Likewise.
24087 * sysdeps/sh/memset.S: Likewise.
24088 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24089 * sysdeps/sh/strlen.S: Likewise.
24090 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24091 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24092 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24093 * sysdeps/sparc/sparc32/rem.S: Likewise.
24094 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24095 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24096 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24097 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24098 * sysdeps/sparc/sparc32/urem.S: Likewise.
24099 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24100 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24101 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24102 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24103 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24104 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24105 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24106 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24107 * sysdeps/unix/bsd/times.c: Likewise.
24108 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24109 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24113 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24114 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24115 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24116 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24117 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24118 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24119 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24120 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24121 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24122 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24123 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24124 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24125 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24126 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24127 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24128 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24129 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24130 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24131 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24132 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24133 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24134 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24135 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24136 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24137 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24138 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24139 * sysdeps/x86_64/strcspn.S: Likewise.
24141 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24143 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24144 generated file. Regenerate properly from gen-translit.pl.
24145 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24146 locale/C-translit.h.
24148 2013-06-05 Andreas Schwab <schwab@suse.de>
24151 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24152 week as 6 instead of -1.
24153 * time/tst-strptime.c (day_tests): Add test case.
24155 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24157 * sysdeps/generic/math_private.h
24158 (libc_feholdexcept_setround_53bit): Replace with
24159 libc_feholdsetround_53bit.
24160 (libc_feupdateenv_53bit): Replace with
24161 libc_feresetround_53bit.
24162 (SET_RESTORE_ROUND_53BIT): Adjust.
24164 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24166 * string/test-strchrnul.c: Add copyright header.
24168 * posix/tst-getaddrinfo4.c: Increase test timeout.
24170 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24173 * math/libm-test.inc (MAX_EXP): Remove
24175 (ulp): Use MIN_EXP - MANT_DIG.
24176 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24178 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24180 * po/be.po: Revert last change.
24181 * po/zh_CN.po: Likewise.
24182 * po/header.pot: Likewise.
24184 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24186 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24187 link-libc-deps to empty as target-specific variable.
24188 * Makerules (link-libc-args): New variable.
24189 (libc-for-link): Likewise.
24190 (link-libc-deps): Likewise.
24191 (lib%.so): Depend on $(link-libc-deps). Link with
24193 (build-module): Link with $(link-libc-args).
24194 (build-module-asneeded): Likewise.
24195 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24197 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24198 target-specific variable.
24199 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24200 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24201 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24203 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24205 ($(objpfx)libpcprofile.so): Likewise.
24206 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24208 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24209 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24210 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24212 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24213 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24214 * login/Makefile ($(objpfx)libutil.so): Likewise.
24215 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24216 * math/Makefile ($(objpfx)libm.so): Likewise.
24217 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24218 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24219 variable instead of depending directly on libc.
24220 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24221 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24223 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24225 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24226 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24227 ($(objpfx)libanl.so): Likewise.
24228 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24230 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24232 * sysdeps/i386/fpu/Makefile: Remove file.
24233 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24234 ($(objpfx)libm.so): Remove dependency on ld.so.
24236 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
24239 * nis/yp_xdr.c (XDRMAXNAME): Define.
24240 (XDRMAXRECORD): Define.
24241 (xdr_domainname): Use XDRMAXNAME.
24242 (xdr_mapname): Likewise.
24243 (xdr_peername): Likewise.
24244 (xdr_keydat): Use XDRMAXRECORD.
24245 (xdr_valdat): Likewise.
24247 2013-05-30 Jeff Law <law@redhat.com>
24250 * manual/errno.texi (ESTALE): Update to account for more than
24251 just NFS file systems.
24252 * sysdeps/gnu/errlist.c: Regenerated.
24254 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24257 * elf/Makefile (tests): Add tst-null-argv.
24258 (modules-names): Add tst-null-argv-lib.
24259 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24260 (tst-null-argv-ENV): Set environment for tst-null-argv.
24261 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24262 (RTLD_PROGNAME): New macro.
24263 * elf/tst-null-argv.c: New test case.
24264 * elf/tst-null-argv-lib.c: Library for test case.
24265 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24266 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24267 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24268 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24269 * elf/dl-init.c (call_init): Likewise.
24270 (_dl_init): Likewise.
24271 * elf/dl-load.c (print_search_path): Likewise.
24272 (_dl_map_object): Likewise.
24273 * elf/dl-lookup.c (do_lookup_x): Likewise.
24274 (add_dependency): Likewise.
24275 (_dl_lookup_symbol_x): Likewise.
24276 (_dl_debug_bindings): Likewise.
24277 * elf/dl-open.c (_dl_show_scope): Likewise.
24278 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24279 * elf/dl-version.c (match_symbol): Likewise.
24280 (_dl_check_map_versions): Likewise.
24281 * elf/rtld.c (dl_main): Likewise.
24282 (print_unresolved): Use RTLD_PROGNAME.
24283 (print_missing_version): Likewise.
24284 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24285 (elf_machine_rela): Likewise.
24286 * sysdeps/powerpc/powerpc32/dl-machine.c
24287 (__process_machine_rela): Likewise.
24288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24290 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24292 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24294 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24295 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24297 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24299 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24301 2013-05-28 Carlos O'Donell <carlos@redhat.com>
24303 * po/be.po: Add descriptive title.
24304 * po/zh_CN.po: Likewise.
24305 * po/header.pot: Likewise.
24307 2013-05-28 Mike Frysinger <vapier@gentoo.org>
24309 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24311 (enlarge_archive): Likewise.
24313 2013-05-28 Ben North <ben@redfrontdoor.org>
24315 * manual/arith.texi (frexp): It is the magnitude of the return
24316 value which lies in [0.5, 1), not the return value itself.
24318 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24320 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24322 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24324 * stdio-common/bug26.c (main): Correct fscanf template.
24326 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24327 declare _dl_skip_args.
24329 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24332 * manual/platform.texi: Add missing @end deftypefun.
24334 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24337 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24338 bit of mantissa of 2^16382.
24339 * math/libm-test.inc (hypot_test_data): Add more tests.
24341 * math/libm-test.inc: Add drem and pow10 to list of tested
24343 (pow10_test): New function.
24344 (drem_test): Likewise.
24345 (drem_test_tonearest): Likewise.
24346 (drem_test_towardzero): Likewise.
24347 (drem_test_downward): Likewise.
24348 (drem_test_upward): Likewise.
24349 (main): Call the new functions.
24351 * math/libm-test.inc (finite_test_data): Remove.
24352 (finite_test): Run tests from isfinite_test_data.
24353 (gamma_test_data): Remove.
24354 (gamma_test): Run tests from lgamma_test_data.
24355 * sysdeps/i386/fpu/libm-test-ulps: Update.
24356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24358 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24360 * manual/platform.texi: Add PowerPC PPR function set documentation.
24361 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24364 2013-05-24 Carlos O'Donell <carlos@redhat.com>
24366 * math/libm-test.inc (MAX_EXP): Define.
24368 (ulp): New function.
24369 (check_float_internal): Use ULPDIFF.
24370 (cpow_test): Disable failing test.
24371 (check_ulp): Test ulp() implemetnation.
24372 (main): Call check_ulp before starting tests.
24374 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24376 * math/gen-libm-test.pl (generate_testfile): Do not handle
24377 START_DATA and END_DATA.
24378 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24380 (acos_tonearest_test_data): Likewise.
24381 (acos_towardzero_test_data): Likewise.
24382 (acos_downward_test_data): Likewise.
24383 (acos_upward_test_data): Likewise.
24384 (acosh_test_data): Likewise.
24385 (asin_test_data): Likewise.
24386 (asin_tonearest_test_data): Likewise.
24387 (asin_towardzero_test_data): Likewise.
24388 (asin_downward_test_data): Likewise.
24389 (asin_upward_test_data): Likewise.
24390 (asinh_test_data): Likewise.
24391 (atan_test_data): Likewise.
24392 (atanh_test_data): Likewise.
24393 (atan2_test_data): Likewise.
24394 (cabs_test_data): Likewise.
24395 (cacos_test_data): Likewise.
24396 (cacosh_test_data): Likewise.
24397 (carg_test_data): Likewise.
24398 (casin_test_data): Likewise.
24399 (casinh_test_data): Likewise.
24400 (catan_test_data): Likewise.
24401 (catanh_test_data): Likewise.
24402 (cbrt_test_data): Likewise.
24403 (ccos_test_data): Likewise.
24404 (ccosh_test_data): Likewise.
24405 (ceil_test_data): Likewise.
24406 (cexp_test_data): Likewise.
24407 (cimag_test_data): Likewise.
24408 (clog_test_data): Likewise.
24409 (clog10_test_data): Likewise.
24410 (conj_test_data): Likewise.
24411 (copysign_test_data): Likewise.
24412 (cos_test_data): Likewise.
24413 (cos_tonearest_test_data): Likewise.
24414 (cos_towardzero_test_data): Likewise.
24415 (cos_downward_test_data): Likewise.
24416 (cos_upward_test_data): Likewise.
24417 (cosh_test_data): Likewise.
24418 (cosh_tonearest_test_data): Likewise.
24419 (cosh_towardzero_test_data): Likewise.
24420 (cosh_downward_test_data): Likewise.
24421 (cosh_upward_test_data): Likewise.
24422 (cpow_test_data): Likewise.
24423 (cproj_test_data): Likewise.
24424 (creal_test_data): Likewise.
24425 (csin_test_data): Likewise.
24426 (csinh_test_data): Likewise.
24427 (csqrt_test_data): Likewise.
24428 (ctan_test_data): Likewise.
24429 (ctan_tonearest_test_data): Likewise.
24430 (ctan_towardzero_test_data): Likewise.
24431 (ctan_downward_test_data): Likewise.
24432 (ctan_upward_test_data): Likewise.
24433 (ctanh_test_data): Likewise.
24434 (ctanh_tonearest_test_data): Likewise.
24435 (ctanh_towardzero_test_data): Likewise.
24436 (ctanh_downward_test_data): Likewise.
24437 (ctanh_upward_test_data): Likewise.
24438 (erf_test_data): Likewise.
24439 (erfc_test_data): Likewise.
24440 (exp_test_data): Likewise.
24441 (exp_tonearest_test_data): Likewise.
24442 (exp_towardzero_test_data): Likewise.
24443 (exp_downward_test_data): Likewise.
24444 (exp_upward_test_data): Likewise.
24445 (exp10_test_data): Likewise.
24446 (exp2_test_data): Likewise.
24447 (expm1_test_data): Likewise.
24448 (fabs_test_data): Likewise.
24449 (fdim_test_data): Likewise.
24450 (finite_test_data): Likewise.
24451 (floor_test_data): Likewise.
24452 (fma_test_data): Likewise.
24453 (fma_towardzero_test_data): Likewise.
24454 (fma_downward_test_data): Likewise.
24455 (fma_upward_test_data): Likewise.
24456 (fmax_test_data): Likewise.
24457 (fmin_test_data): Likewise.
24458 (fmod_test_data): Likewise.
24459 (fpclassify_test_data): Likewise.
24460 (frexp_test_data): Likewise.
24461 (gamma_test_data): Likewise.
24462 (hypot_test_data): Likewise.
24463 (ilogb_test_data): Likewise.
24464 (isfinite_test_data): Likewise.
24465 (isgreater_test_data): Likewise.
24466 (isgreaterequal_test_data): Likewise.
24467 (isinf_test_data): Likewise.
24468 (isless_test_data): Likewise.
24469 (islessequal_test_data): Likewise.
24470 (islessgreater_test_data): Likewise.
24471 (isnan_test_data): Likewise.
24472 (isnormal_test_data): Likewise.
24473 (issignaling_test_data): Likewise.
24474 (isunordered_test_data): Likewise.
24475 (j0_test_data): Likewise.
24476 (j1_test_data): Likewise.
24477 (jn_test_data): Likewise.
24478 (ldexp_test_data): Likewise.
24479 (lgamma_test_data): Likewise.
24480 (lrint_test_data): Likewise.
24481 (lrint_tonearest_test_data): Likewise.
24482 (lrint_towardzero_test_data): Likewise.
24483 (lrint_downward_test_data): Likewise.
24484 (lrint_upward_test_data): Likewise.
24485 (llrint_test_data): Likewise.
24486 (llrint_tonearest_test_data): Likewise.
24487 (llrint_towardzero_test_data): Likewise.
24488 (llrint_downward_test_data): Likewise.
24489 (llrint_upward_test_data): Likewise.
24490 (log_test_data): Likewise.
24491 (log10_test_data): Likewise.
24492 (log1p_test_data): Likewise.
24493 (log2_test_data): Likewise.
24494 (logb_test_data): Likewise.
24495 (logb_downward_test_data): Likewise.
24496 (lround_test_data): Likewise.
24497 (llround_test_data): Likewise.
24498 (modf_test_data): Likewise.
24499 (nearbyint_test_data): Likewise.
24500 (nextafter_test_data): Likewise.
24501 (nexttoward_test_data): Likewise.
24502 (pow_test_data): Likewise.
24503 (pow_tonearest_test_data): Likewise.
24504 (pow_towardzero_test_data): Likewise.
24505 (pow_downward_test_data): Likewise.
24506 (pow_upward_test_data): Likewise.
24507 (remainder_test_data): Likewise.
24508 (remainder_tonearest_test_data): Likewise.
24509 (remainder_towardzero_test_data): Likewise.
24510 (remainder_downward_test_data): Likewise.
24511 (remainder_upward_test_data): Likewise.
24512 (remquo_test_data): Likewise.
24513 (rint_test_data): Likewise.
24514 (rint_tonearest_test_data): Likewise.
24515 (rint_towardzero_test_data): Likewise.
24516 (rint_downward_test_data): Likewise.
24517 (rint_upward_test_data): Likewise.
24518 (round_test_data): Likewise.
24519 (scalb_test_data): Likewise.
24520 (scalbn_test_data): Likewise.
24521 (scalbln_test_data): Likewise.
24522 (signbit_test_data): Likewise.
24523 (sin_test_data): Likewise.
24524 (sin_tonearest_test_data): Likewise.
24525 (sin_towardzero_test_data): Likewise.
24526 (sin_downward_test_data): Likewise.
24527 (sin_upward_test_data): Likewise.
24528 (sincos_test_data): Likewise.
24529 (sinh_test_data): Likewise.
24530 (sinh_tonearest_test_data): Likewise.
24531 (sinh_towardzero_test_data): Likewise.
24532 (sinh_downward_test_data): Likewise.
24533 (sinh_upward_test_data): Likewise.
24534 (sqrt_test_data): Likewise.
24535 (tan_test_data): Likewise.
24536 (tan_tonearest_test_data): Likewise.
24537 (tan_towardzero_test_data): Likewise.
24538 (tan_downward_test_data): Likewise.
24539 (tan_upward_test_data): Likewise.
24540 (tanh_test_data): Likewise.
24541 (tgamma_test_data): Likewise.
24542 (trunc_test_data): Likewise.
24543 (y0_test_data): Likewise.
24544 (y1_test_data): Likewise.
24545 (yn_test_data): Likewise.
24546 (significand_test_data): Likewise.
24548 * math/gen-libm-test.pl (@functions): Remove variable.
24549 (generate_testfile): Don't handle START and END lines.
24550 * math/libm-test.inc (START): New macro.
24552 (END_COMPLEX): Likewise.
24553 (acos_test): Use END macro without arguments.
24554 (acos_test_tonearest): Likewise.
24555 (acos_test_towardzero): Likewise.
24556 (acos_test_downward): Likewise.
24557 (acos_test_upward): Likewise.
24558 (acosh_test): Likewise.
24559 (asin_test): Likewise.
24560 (asin_test_tonearest): Likewise.
24561 (asin_test_towardzero): Likewise.
24562 (asin_test_downward): Likewise.
24563 (asin_test_upward): Likewise.
24564 (asinh_test): Likewise.
24565 (atan_test): Likewise.
24566 (atanh_test): Likewise.
24567 (atan2_test): Likewise.
24568 (cabs_test): Likewise.
24569 (cacos_test): Use END_COMPLEX macro without arguments.
24570 (cacosh_test): Likewise.
24571 (carg_test): Use END macro without arguments.
24572 (casin_test): Use END_COMPLEX macro without arguments.
24573 (casinh_test): Likewise.
24574 (catan_test): Likewise.
24575 (catanh_test): Likewise.
24576 (cbrt_test): Use END macro without arguments.
24577 (ccos_test): Use END_COMPLEX macro without arguments.
24578 (ccosh_test): Likewise.
24579 (ceil_test): Use END macro without arguments.
24580 (cexp_test): Use END_COMPLEX macro without arguments.
24581 (cimag_test): Use END macro without arguments.
24582 (clog_test): Use END_COMPLEX macro without arguments.
24583 (clog10_test): Likewise.
24584 (conj_test): Likewise.
24585 (copysign_test): Use END macro without arguments.
24586 (cos_test): Likewise.
24587 (cos_test_tonearest): Likewise.
24588 (cos_test_towardzero): Likewise.
24589 (cos_test_downward): Likewise.
24590 (cos_test_upward): Likewise.
24591 (cosh_test): Likewise.
24592 (cosh_test_tonearest): Likewise.
24593 (cosh_test_towardzero): Likewise.
24594 (cosh_test_downward): Likewise.
24595 (cosh_test_upward): Likewise.
24596 (cpow_test): Use END_COMPLEX macro without arguments.
24597 (cproj_test): Likewise.
24598 (creal_test): Use END macro without arguments.
24599 (csin_test): Use END_COMPLEX macro without arguments.
24600 (csinh_test): Likewise.
24601 (csqrt_test): Likewise.
24602 (ctan_test): Likewise.
24603 (ctan_test_tonearest): Likewise.
24604 (ctan_test_towardzero): Likewise.
24605 (ctan_test_downward): Likewise.
24606 (ctan_test_upward): Likewise.
24607 (ctanh_test): Likewise.
24608 (ctanh_test_tonearest): Likewise.
24609 (ctanh_test_towardzero): Likewise.
24610 (ctanh_test_downward): Likewise.
24611 (ctanh_test_upward): Likewise.
24612 (erf_test): Use END macro without arguments.
24613 (erfc_test): Likewise.
24614 (exp_test): Likewise.
24615 (exp_test_tonearest): Likewise.
24616 (exp_test_towardzero): Likewise.
24617 (exp_test_downward): Likewise.
24618 (exp_test_upward): Likewise.
24619 (exp10_test): Likewise.
24620 (exp2_test): Likewise.
24621 (expm1_test): Likewise.
24622 (fabs_test): Likewise.
24623 (fdim_test): Likewise.
24624 (finite_test): Likewise.
24625 (floor_test): Likewise.
24626 (fma_test): Likewise.
24627 (fma_test_towardzero): Likewise.
24628 (fma_test_downward): Likewise.
24629 (fma_test_upward): Likewise.
24630 (fmax_test): Likewise.
24631 (fmin_test): Likewise.
24632 (fmod_test): Likewise.
24633 (fpclassify_test): Likewise.
24634 (frexp_test): Likewise.
24635 (gamma_test): Likewise.
24636 (hypot_test): Likewise.
24637 (ilogb_test): Likewise.
24638 (isfinite_test): Likewise.
24639 (isgreater_test): Likewise.
24640 (isgreaterequal_test): Likewise.
24641 (isinf_test): Likewise.
24642 (isless_test): Likewise.
24643 (islessequal_test): Likewise.
24644 (islessgreater_test): Likewise.
24645 (isnan_test): Likewise.
24646 (isnormal_test): Likewise.
24647 (issignaling_test): Likewise.
24648 (isunordered_test): Likewise.
24649 (j0_test): Likewise.
24650 (j1_test): Likewise.
24651 (jn_test): Likewise.
24652 (ldexp_test): Likewise.
24653 (lgamma_test): Likewise.
24654 (lrint_test): Likewise.
24655 (lrint_test_tonearest): Likewise.
24656 (lrint_test_towardzero): Likewise.
24657 (lrint_test_downward): Likewise.
24658 (lrint_test_upward): Likewise.
24659 (llrint_test): Likewise.
24660 (llrint_test_tonearest): Likewise.
24661 (llrint_test_towardzero): Likewise.
24662 (llrint_test_downward): Likewise.
24663 (llrint_test_upward): Likewise.
24664 (log_test): Likewise.
24665 (log10_test): Likewise.
24666 (log1p_test): Likewise.
24667 (log2_test): Likewise.
24668 (logb_test): Likewise.
24669 (logb_test_downward): Likewise.
24670 (lround_test): Likewise.
24671 (llround_test): Likewise.
24672 (modf_test): Likewise.
24673 (nearbyint_test): Likewise.
24674 (nextafter_test): Likewise.
24675 (nexttoward_test): Likewise.
24676 (pow_test): Likewise.
24677 (pow_test_tonearest): Likewise.
24678 (pow_test_towardzero): Likewise.
24679 (pow_test_downward): Likewise.
24680 (pow_test_upward): Likewise.
24681 (remainder_test): Likewise.
24682 (remainder_test_tonearest): Likewise.
24683 (remainder_test_towardzero): Likewise.
24684 (remainder_test_downward): Likewise.
24685 (remainder_test_upward): Likewise.
24686 (remquo_test): Likewise.
24687 (rint_test): Likewise.
24688 (rint_test_tonearest): Likewise.
24689 (rint_test_towardzero): Likewise.
24690 (rint_test_downward): Likewise.
24691 (rint_test_upward): Likewise.
24692 (round_test): Likewise.
24693 (scalb_test): Likewise.
24694 (scalbn_test): Likewise.
24695 (scalbln_test): Likewise.
24696 (signbit_test): Likewise.
24697 (sin_test): Likewise.
24698 (sin_test_tonearest): Likewise.
24699 (sin_test_towardzero): Likewise.
24700 (sin_test_downward): Likewise.
24701 (sin_test_upward): Likewise.
24702 (sincos_test): Likewise.
24703 (sinh_test): Likewise.
24704 (sinh_test_tonearest): Likewise.
24705 (sinh_test_towardzero): Likewise.
24706 (sinh_test_downward): Likewise.
24707 (sinh_test_upward): Likewise.
24708 (sqrt_test): Likewise.
24709 (tan_test): Likewise.
24710 (tan_test_tonearest): Likewise.
24711 (tan_test_towardzero): Likewise.
24712 (tan_test_downward): Likewise.
24713 (tan_test_upward): Likewise.
24714 (tanh_test): Likewise.
24715 (tgamma_test): Likewise.
24716 (trunc_test): Likewise.
24717 (y0_test): Likewise.
24718 (y1_test): Likewise.
24719 (yn_test): Likewise.
24720 (significand_test): Likewise.
24722 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
24725 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24727 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24730 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24731 __ppc_mdoio and __ppc_mdoom.
24732 * manual/platform.texi: Document new functions __ppc_yield,
24733 __ppc_mdoio and __ppc_mdoom.
24735 2013-05-22 Carlos O'Donell <carlos@redhat.com>
24737 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24738 (main): Mention "tls" pseudo-hwcap is legacy.
24739 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24741 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24743 * math/gen-libm-test.pl (parse_args): Output only string of
24744 arguments as text for test name, not full call or descriptions of
24745 tests for extra outputs.
24746 (generate_testfile): Do not pass function name to parse_args.
24747 Generate this_func variable from START.
24748 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24750 (struct test_ff_f_data): Likewise.
24751 (test_ff_f_data_nexttoward): Likewise.
24752 (struct test_fi_f_data): Likewise.
24753 (struct test_fl_f_data): Likewise.
24754 (struct test_if_f_data): Likewise.
24755 (struct test_fff_f_data): Likewise.
24756 (struct test_c_f_data): Likewise.
24757 (struct test_f_f1_data): Likewise. Remove field extra_name.
24758 (struct test_fF_f1_data): Likewise.
24759 (struct test_ffI_f1_data): Likewise.
24760 (struct test_c_c_data): Rename test_name field to arg_str.
24761 (struct test_cc_c_data): Likewise.
24762 (struct test_f_i_data): Likewise.
24763 (struct test_ff_i_data): Likewise.
24764 (struct test_f_l_data): Likewise.
24765 (struct test_f_L_data): Likewise.
24766 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24768 (COMMON_TEST_SETUP): New macro.
24769 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24770 (COMMON_TEST_CLEANUP): Likewise.
24771 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24772 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24774 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24775 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24777 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24778 (RUN_TEST_fff_f): Take argument string. Call new setup and
24780 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24781 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24783 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24784 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24786 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24787 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24789 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24790 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24792 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24793 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24795 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24796 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24798 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24799 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24801 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24802 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24804 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24805 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24807 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24808 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24810 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24811 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24813 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24814 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24816 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24817 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24819 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24820 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24822 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24823 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24825 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24827 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24829 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24830 to _sifields.sigfault.
24831 (si_addr_lsb): Define new macro.
24832 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24833 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24834 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24836 2013-05-03 Carlos O'Donell <carlos at redhat.com>
24839 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24841 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24843 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24844 loading the domain.
24846 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24848 * math/gen-libm-test.pl (parse_args): Do not include expected
24849 result in test name.
24850 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24851 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24852 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24853 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24854 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24857 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24859 * benchtests/Makefile: Sort function entries.
24861 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24862 tanh, asinh, acosh, atanh.
24863 * benchtests/acos-inputs: New file.
24864 * benchtests/acosh-inputs: New file.
24865 * benchtests/asin-inputs: New file.
24866 * benchtests/asinh-inputs: New file.
24867 * benchtests/atanh-inputs: New file.
24868 * benchtests/cosh-inputs: New file.
24869 * benchtests/log-inputs: New file.
24870 * benchtests/sinh-inputs: New file.
24871 * benchtests/tanh-inputs: New file.
24873 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
24876 * posix/tst-getaddrinfo4.c: New test.
24877 * posix/Makefile (tests): Add it.
24879 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24882 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24883 when no services were used.
24884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24885 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24887 2013-05-21 Andreas Schwab <schwab@suse.de>
24890 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24891 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24893 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24894 redundant variable declarations and reallocation of buffer when
24895 parsing as IPv6 address. Always set NSS status when called from
24896 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
24897 buffer too small. Correct computation of needed size.
24898 * nss/Makefile (tests): Add test-digits-dots.
24899 * nss/test-digits-dots.c: New test.
24901 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
24903 * benchtests/Makefile: Remove instructions for adding
24905 * benchtests/README: New file to explain how to execute and
24906 enhance the benchmark tests.
24908 2013-05-21 Andreas Schwab <schwab@suse.de>
24911 * setjmp/Makefile (tests): Add tst-sigsetjmp.
24912 * setjmp/tst-sigsetjmp.c: New test.
24914 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
24916 * sysdeps/x86_64/memset.S (memset): New implementation.
24917 (__bzero): Likewise.
24918 (__memset_tail): New function.
24920 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
24922 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24923 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24924 __memcpy_sse2_unaligned ifunc selection.
24925 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24926 Add memcpy-sse2-unaligned.S.
24927 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24928 Add: __memcpy_sse2_unaligned.
24930 2013-05-19 Joseph Myers <joseph@codesourcery.com>
24933 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24934 math_force_eval before restoring floating-point envrionment.
24935 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24936 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24938 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24940 (__nearbyintl): Use math_force_eval before restoring
24941 floating-point environment.
24942 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24944 * math/gen-libm-test.pl (special_functions): Remove.
24945 (parse_args): Don't handle TEST_extra. Handle functions with no
24947 * math/libm-test.inc (struct test_sincos_data): Replace with
24948 struct test_fFF_11_data.
24949 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24950 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24951 (sincos_test_data): Change element type to struct
24952 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
24953 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24954 RUN_TEST_LOOP_sincos.
24955 * math/README.libm-test: Don't mention special handling of
24956 individual functions.
24957 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24958 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24959 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24960 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24961 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24962 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24964 * math/gen-libm-test.pl (get_variable): Remove function.
24965 (parse_args): Don't show pointer parameters to call in test
24966 names. Use "extra output N" in test names for extra outputs
24967 rather than naming variables.
24969 2013-05-18 Joseph Myers <joseph@codesourcery.com>
24972 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24973 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24974 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24976 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24978 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24981 * math/gen-libm-test.pl (@tests): Remove variable.
24982 ($count): Likewise.
24983 (new_test): Remove function.
24984 (show_exceptions): New function.
24985 (special_functions): Use show_exceptions instead of new_test.
24986 (parse_args): Likewise.
24987 (generate_testfile): Pass only function name in generated call to
24988 print_max_error or print_complex_max_error.
24989 (get_ulps): Do not handle complex tests specially.
24990 (output_test): Rename to ...
24991 (get_all_ulps_for_test): ... this. Return a string rather than
24992 printing to a file. Require ulps to be present.
24993 (output_ulps): Generate arrays rather than #defines.
24994 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24995 (struct ulp_data): New type.
24996 (BUILD_COMPLEX_ULP): Remove macro.
24997 (compare_ulp_data): New function.
24998 (find_ulps): Likewise.
24999 (find_test_ulps): Likewise.
25000 (find_function_ulps): Likewise.
25001 (find_complex_function_ulps): Likewise.
25002 (print_max_error): Determine allowed ulps using
25003 find_function_ulps.
25004 (print_complex_max_error): Determine allowed ulps using
25005 find_complex_function_ulps.
25006 (check_float_internal): Determine max ulps using find_test_ulps.
25007 (check_float): Do not take max_ulp parameter. Update call to
25008 check_float_internal.
25009 (check_complex): Likewise.
25010 (check_int): Do not take max_ulp parameter.
25011 (check_long): Likewise.
25012 (check_bool): Likewise.
25013 (check_longlong): Likewise.
25014 (struct test_f_f_data): Remove max_ulp field.
25015 (struct test_ff_f_data): Likewise.
25016 (struct test_ff_f_data_nexttoward): Likewise.
25017 (struct test_fi_f_data): Likewise.
25018 (struct test_fl_f_data): Likewise.
25019 (struct test_if_f_data): Likewise.
25020 (struct test_fff_f_data): Likewise.
25021 (struct test_c_f_data): Likewise.
25022 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25023 (struct test_fF_f1_data): Likewise.
25024 (struct test_ffI_f1_data): Likewise.
25025 (struct test_c_c_data): Remove max_ulp field.
25026 (struct test_cc_c_data): Likewise.
25027 (struct test_f_i_data): Likewise.
25028 (struct test_ff_i_data): Likewise.
25029 (struct test_f_l_data): Likewise.
25030 (struct test_f_L_data): Likewise.
25031 (struct test_sincos_data): Likewise.
25032 (RUN_TEST_f_f): Do not handle ulps.
25033 (RUN_TEST_LOOP_f_f): Likewise.
25034 (RUN_TEST_2_f): Likewise.
25035 (RUN_TEST_LOOP_2_f): Likewise.
25036 (RUN_TEST_fff_f): Likewise.
25037 (RUN_TEST_LOOP_fff_f): Likewise.
25038 (RUN_TEST_c_f): Likewise.
25039 (RUN_TEST_LOOP_c_f): Likewise.
25040 (RUN_TEST_f_f1): Likewise.
25041 (RUN_TEST_LOOP_f_f1): Likewise.
25042 (RUN_TEST_fF_f1): Likewise.
25043 (RUN_TEST_LOOP_fF_f1): Likewise.
25044 (RUN_TEST_fI_f1): Likewise.
25045 (RUN_TEST_LOOP_fI_f1): Likewise.
25046 (RUN_TEST_ffI_f1): Likewise.
25047 (RUN_TEST_LOOP_ffI_f1): Likewise.
25048 (RUN_TEST_c_c): Likewise.
25049 (RUN_TEST_LOOP_c_c): Likewise.
25050 (RUN_TEST_cc_c): Likewise.
25051 (RUN_TEST_LOOP_cc_c): Likewise.
25052 (RUN_TEST_f_i): Likewise.
25053 (RUN_TEST_LOOP_f_i): Likewise.
25054 (RUN_TEST_f_i_tg): Likewise.
25055 (RUN_TEST_LOOP_f_i_tg): Likewise.
25056 (RUN_TEST_ff_i_tg): Likewise.
25057 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25058 (RUN_TEST_f_b): Likewise.
25059 (RUN_TEST_LOOP_f_b): Likewise.
25060 (RUN_TEST_f_b_tg): Likewise.
25061 (RUN_TEST_LOOP_f_b_tg): Likewise.
25062 (RUN_TEST_f_l): Likewise.
25063 (RUN_TEST_LOOP_f_l): Likewise.
25064 (RUN_TEST_f_L): Likewise.
25065 (RUN_TEST_LOOP_f_L): Likewise.
25066 (RUN_TEST_sincos): Likewise.
25067 (RUN_TEST_LOOP_sincos): Likewise.
25069 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25073 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25074 main case of finite arguments, set rounding mode to FE_TONEAREST
25075 and discard exceptions.
25076 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25078 (remainder_tonearest_test_data): New variable.
25079 (remainder_test_tonearest): New function.
25080 (remainder_towardzero_test_data): New variable.
25081 (remainder_test_towardzero): New function.
25082 (remainder_downward_test_data): New variable.
25083 (remainder_test_downward): New function.
25084 (remainder_upward_test_data): New variable.
25085 (remainder_test_upward): New function.
25086 (main): Call the new test functions.
25088 * math/libm-test.inc (struct test_f_f1_data): Remove field
25090 (struct test_fF_f1_data): Likewise.
25091 (struct test_ffI_f1_data): Likewise.
25092 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25093 based on value of EXTRA_EXPECTED.
25094 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25095 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25096 EXTRA_VAR based on value of EXTRA_EXPECTED.
25097 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25098 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25099 EXTRA_VAR based on value of EXTRA_EXPECTED.
25100 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25101 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25102 EXTRA_VAR based on value of EXTRA_EXPECTED.
25103 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25104 * math/gen-libm-test.pl (parse_args): Don't output initializers
25105 for extra output values.
25107 * math/libm-test.inc (check_int): Expect result to be exactly
25108 equal to expected value and do not handle ulps.
25109 (check_long): Likewise.
25110 (check_longlong): Likewise.
25112 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25114 (cimag_test_data): Likewise.
25115 (conj_test_data): Likewise.
25116 (copysign_test_data): Likewise.
25117 (cproj_test_data): Likewise.
25118 (creal_test_data): Likewise.
25119 (fabs_test_data): Likewise.
25120 (fdim_test_data): Likewise.
25121 (finite_test_data): Likewise.
25122 (floor_test_data): Likewise.
25123 (fmax_test_data): Likewise.
25124 (fmin_test_data): Likewise.
25125 (fmod_test_data): Likewise.
25126 (fpclassify_test_data): Likewise.
25127 (frexp_test_data): Likewise.
25128 (ilogb_test_data): Likewise.
25129 (isfinite_test_data): Likewise.
25130 (isgreater_test_data): Likewise.
25131 (isgreaterequal_test_data): Likewise.
25132 (isinf_test_data): Likewise.
25133 (isless_test_data): Likewise.
25134 (islessequal_test_data): Likewise.
25135 (islessgreater_test_data): Likewise.
25136 (isnan_test_data): Likewise.
25137 (isnormal_test_data): Likewise.
25138 (issignaling_test_data): Likewise.
25139 (isunordered_test_data): Likewise.
25140 (ldexp_test_data): Likewise.
25141 (lrint_test_data): Likewise.
25142 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25143 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25144 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25145 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25146 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25147 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25149 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25150 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25151 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25152 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25154 (lrint_downward_test_data): Test for "inexact" exceptions.
25155 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25156 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25157 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25159 (lrint_upward_test_data): Test for "inexact" exceptions.
25160 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25162 (llrint_test_data): Test for "inexact" exceptions.
25163 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25164 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25165 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25166 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25167 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25168 (llrint_downward_test_data): Test for "inexact" exceptions.
25169 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25170 (llrint_upward_test_data): Test for "inexact" exceptions.
25171 (logb_test_data): Likewise.
25172 (logb_downward_test_data): Likewise.
25173 (nextafter_test_data): Likewise.
25174 (nexttoward_test_data): Likewise.
25175 (remainder_test_data): Likewise.
25176 (remquo_test_data): Likewise.
25177 (scalbn_test_data): Likewise.
25178 (scalbln_test_data): Likewise.
25179 (signbit_test_data): Likewise.
25180 (sqrt_test_data): Likewise.
25181 (significand_test_data): Likewise.
25183 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25186 * benchtests/bench-modf.c (struct args): Mark arg0 as
25188 * scripts/bench.pl: Mark members of struct args as volatile.
25190 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25193 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25194 negative infinity on POWER6 or lower.
25195 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25197 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25200 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25201 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25202 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25203 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25204 (_FP_SETQNAN): New macro.
25205 (_FP_SETQNAN_SEMIRAW): Likewise.
25206 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25207 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25208 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25209 (FP_EXTEND): Use _FP_FRAC_SNANP.
25210 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25211 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25213 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25215 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25218 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25220 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25221 with DIVIDE_BY_ZERO_EXCEPTION.
25222 (gamma_test_data): Likewise.
25223 (lgamma_test_data): Likewise.
25224 (log_test_data): Likewise.
25225 (log10_test_data): Likewise.
25226 (log2_test_data): Likewise.
25227 (tgamma_test_data): Likewise.
25229 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25230 (acos_test_tonearest): Likewise.
25231 (acos_test_towardzero): Likewise.
25232 (acos_test_downward): Likewise.
25233 (acos_test_upward): Likewise.
25234 (acosh_test): Likewise.
25235 (asin_test): Likewise.
25236 (asin_test_tonearest): Likewise.
25237 (asin_test_towardzero): Likewise.
25238 (asin_test_downward): Likewise.
25239 (asin_test_upward): Likewise.
25240 (asinh_test): Likewise.
25241 (atan_test): Likewise.
25242 (atanh_test): Likewise.
25243 (atan2_test): Likewise.
25244 (cabs_test): Likewise.
25245 (cacos_test): Likewise.
25246 (cacosh_test): Likewise.
25247 (casin_test): Likewise.
25248 (casinh_test): Likewise.
25249 (catan_test): Likewise.
25250 (catanh_test): Likewise.
25251 (cbrt_test): Likewise.
25252 (ccos_test): Likewise.
25253 (ccosh_test): Likewise.
25254 (cexp_test): Likewise.
25255 (clog_test): Likewise.
25256 (clog10_test): Likewise.
25257 (cos_test): Likewise.
25258 (cos_test_tonearest): Likewise.
25259 (cos_test_towardzero): Likewise.
25260 (cos_test_downward): Likewise.
25261 (cos_test_upward): Likewise.
25262 (cosh_test): Likewise.
25263 (cosh_test_tonearest): Likewise.
25264 (cosh_test_towardzero): Likewise.
25265 (cosh_test_downward): Likewise.
25266 (cosh_test_upward): Likewise.
25267 (cpow_test): Likewise.
25268 (csin_test): Likewise.
25269 (csinh_test): Likewise.
25270 (csqrt_test): Likewise.
25271 (ctan_test): Likewise.
25272 (ctan_test_tonearest): Likewise.
25273 (ctan_test_towardzero): Likewise.
25274 (ctan_test_downward): Likewise.
25275 (ctan_test_upward): Likewise.
25276 (ctanh_test): Likewise.
25277 (ctanh_test_tonearest): Likewise.
25278 (ctanh_test_towardzero): Likewise.
25279 (ctanh_test_downward): Likewise.
25280 (ctanh_test_upward): Likewise.
25281 (erf_test): Likewise.
25282 (erfc_test): Likewise.
25283 (exp_test): Likewise.
25284 (exp_test_tonearest): Likewise.
25285 (exp_test_towardzero): Likewise.
25286 (exp_test_downward): Likewise.
25287 (exp_test_upward): Likewise.
25288 (exp10_test): Likewise.
25289 (exp2_test): Likewise.
25290 (expm1_test): Likewise.
25291 (fmod_test): Likewise.
25292 (gamma_test): Likewise.
25293 (hypot_test): Likewise.
25294 (j0_test): Likewise.
25295 (j1_test): Likewise.
25296 (jn_test): Likewise.
25297 (lgamma_test): Likewise.
25298 (log_test): Likewise.
25299 (log10_test): Likewise.
25300 (log1p_test): Likewise.
25301 (log2_test): Likewise.
25302 (logb_test_downward): Likewise.
25303 (pow_test): Likewise.
25304 (pow_test_tonearest): Likewise.
25305 (pow_test_towardzero): Likewise.
25306 (pow_test_downward): Likewise.
25307 (pow_test_upward): Likewise.
25308 (remainder_test): Likewise.
25309 (remquo_test): Likewise.
25310 (sin_test): Likewise.
25311 (sin_test_tonearest): Likewise.
25312 (sin_test_towardzero): Likewise.
25313 (sin_test_downward): Likewise.
25314 (sin_test_upward): Likewise.
25315 (sincos_test): Likewise.
25316 (sinh_test): Likewise.
25317 (sinh_test_tonearest): Likewise.
25318 (sinh_test_towardzero): Likewise.
25319 (sinh_test_downward): Likewise.
25320 (sinh_test_upward): Likewise.
25321 (sqrt_test): Likewise.
25322 (tan_test): Likewise.
25323 (tan_test_tonearest): Likewise.
25324 (tan_test_towardzero): Likewise.
25325 (tan_test_downward): Likewise.
25326 (tan_test_upward): Likewise.
25327 (tanh_test): Likewise.
25328 (tgamma_test): Likewise.
25329 (y0_test): Likewise.
25330 (y1_test): Likewise.
25331 (yn_test): Likewise.
25333 * math/gen-libm-test.pl (adjust_arg): Remove function.
25334 (special_function): Remove argument $in_func. Only handle
25335 generating output for tables of tests, not inside functions.
25336 (parse_args): Likewise.
25337 (generate_testfile): Remove variable $in_func. Update call to
25339 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25340 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25341 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25342 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25343 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25344 (MAX_VALUE_INIT): Rename macro to max_value.
25345 (MIN_VALUE_INIT): Rename macro to min_value.
25346 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25347 (plus_zero): Remove variable.
25348 (minus_zero): Likewise.
25349 (plus_infty): Likewise.
25350 (minus_infty): Likewise.
25351 (qnan_value): Likewise.
25352 (max_value): Likewise.
25353 (min_value): Likewise.
25354 (min_subnorm_value): Likewise.
25356 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25358 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25359 uint64_t or uint32_t usage.
25360 * crypt/sha256-block.c: Likewise.
25361 * crypt/sha256-crypt.c: Likewise.
25362 * crypt/sha256.c: Likewise.
25363 * crypt/sha512-block.c: Likewise.
25364 * crypt/sha512-crypt.c: Likewise.
25365 * crypt/sha512.c: Likewise.
25366 * debug/backtrace-tst.c: Likewise.
25367 * debug/pcprofiledump.c: Likewise.
25368 * elf/cache.c: Likewise.
25369 * elf/dl-cache.c: Likewise.
25370 * elf/dl-misc.c: Likewise.
25371 * elf/dl-profile.c: Likewise.
25372 * elf/dl-support.c: Likewise.
25373 * elf/ldconfig.c: Likewise.
25374 * elf/sprof.c: Likewise.
25375 * iconv/dummy-repertoire.c: Likewise.
25376 * iconv/iconv_charmap.c: Likewise.
25377 * iconv/skeleton.c: Likewise.
25378 * iconvdata/8bit-generic.c: Likewise.
25379 * iconvdata/cp737.h: Likewise.
25380 * iconvdata/cp775.h: Likewise.
25381 * iconvdata/ibm1008.h: Likewise.
25382 * iconvdata/ibm1025.h: Likewise.
25383 * iconvdata/ibm1046.h: Likewise.
25384 * iconvdata/ibm1097.h: Likewise.
25385 * iconvdata/ibm1112.h: Likewise.
25386 * iconvdata/ibm1122.h: Likewise.
25387 * iconvdata/ibm1123.h: Likewise.
25388 * iconvdata/ibm1124.h: Likewise.
25389 * iconvdata/ibm1129.h: Likewise.
25390 * iconvdata/ibm1130.h: Likewise.
25391 * iconvdata/ibm1132.h: Likewise.
25392 * iconvdata/ibm1133.h: Likewise.
25393 * iconvdata/ibm1137.h: Likewise.
25394 * iconvdata/ibm1140.h: Likewise.
25395 * iconvdata/ibm1141.h: Likewise.
25396 * iconvdata/ibm1142.h: Likewise.
25397 * iconvdata/ibm1143.h: Likewise.
25398 * iconvdata/ibm1144.h: Likewise.
25399 * iconvdata/ibm1145.h: Likewise.
25400 * iconvdata/ibm1146.h: Likewise.
25401 * iconvdata/ibm1147.h: Likewise.
25402 * iconvdata/ibm1148.h: Likewise.
25403 * iconvdata/ibm1149.h: Likewise.
25404 * iconvdata/ibm1153.h: Likewise.
25405 * iconvdata/ibm1154.h: Likewise.
25406 * iconvdata/ibm1155.h: Likewise.
25407 * iconvdata/ibm1156.h: Likewise.
25408 * iconvdata/ibm1157.h: Likewise.
25409 * iconvdata/ibm1158.h: Likewise.
25410 * iconvdata/ibm1160.h: Likewise.
25411 * iconvdata/ibm1161.h: Likewise.
25412 * iconvdata/ibm1162.h: Likewise.
25413 * iconvdata/ibm1163.h: Likewise.
25414 * iconvdata/ibm1164.h: Likewise.
25415 * iconvdata/ibm1166.h: Likewise.
25416 * iconvdata/ibm1167.h: Likewise.
25417 * iconvdata/ibm12712.h: Likewise.
25418 * iconvdata/ibm1390.h: Likewise.
25419 * iconvdata/ibm1399.h: Likewise.
25420 * iconvdata/ibm16804.h: Likewise.
25421 * iconvdata/ibm4517.h: Likewise.
25422 * iconvdata/ibm4899.h: Likewise.
25423 * iconvdata/ibm4909.h: Likewise.
25424 * iconvdata/ibm4971.h: Likewise.
25425 * iconvdata/ibm5347.h: Likewise.
25426 * iconvdata/ibm803.h: Likewise.
25427 * iconvdata/ibm856.h: Likewise.
25428 * iconvdata/ibm901.h: Likewise.
25429 * iconvdata/ibm902.h: Likewise.
25430 * iconvdata/ibm9030.h: Likewise.
25431 * iconvdata/ibm9066.h: Likewise.
25432 * iconvdata/ibm921.h: Likewise.
25433 * iconvdata/ibm922.h: Likewise.
25434 * iconvdata/ibm9448.h: Likewise.
25435 * iconvdata/isiri-3342.h: Likewise.
25436 * iconvdata/jis0201.h: Likewise.
25437 * include/link.h: Likewise.
25438 * include/netdb.h: Likewise.
25439 * inet/check_native.c: Likewise.
25440 * inet/check_pf.c: Likewise.
25441 * inet/getipv4sourcefilter.c: Likewise.
25442 * inet/getnameinfo.c: Likewise.
25443 * inet/getsourcefilter.c: Likewise.
25444 * inet/htonl.c: Likewise.
25445 * inet/setipv4sourcefilter.c: Likewise.
25446 * inet/setsourcefilter.c: Likewise.
25447 * inet/test-inet6_opt.c: Likewise.
25448 * inet/tst-network.c: Likewise.
25449 * locale/C-collate.c: Likewise.
25450 * locale/C-ctype.c: Likewise.
25451 * locale/C-time.c: Likewise.
25452 * locale/C-translit.h: Likewise.
25453 * locale/loadarchive.c: Likewise.
25454 * locale/programs/3level.h: Likewise.
25455 * locale/programs/charmap.c: Likewise.
25456 * locale/programs/charmap.h: Likewise.
25457 * locale/programs/ld-address.c: Likewise.
25458 * locale/programs/ld-collate.c: Likewise.
25459 * locale/programs/ld-ctype.c: Likewise.
25460 * locale/programs/ld-identification.c: Likewise.
25461 * locale/programs/ld-measurement.c: Likewise.
25462 * locale/programs/ld-messages.c: Likewise.
25463 * locale/programs/ld-monetary.c: Likewise.
25464 * locale/programs/ld-name.c: Likewise.
25465 * locale/programs/ld-numeric.c: Likewise.
25466 * locale/programs/ld-paper.c: Likewise.
25467 * locale/programs/ld-telephone.c: Likewise.
25468 * locale/programs/ld-time.c: Likewise.
25469 * locale/programs/linereader.c: Likewise.
25470 * locale/programs/locale.c: Likewise.
25471 * locale/programs/locarchive.c: Likewise.
25472 * locale/programs/locfile.h: Likewise.
25473 * locale/programs/repertoire.c: Likewise.
25474 * locale/programs/simple-hash.c: Likewise.
25475 * locale/programs/simple-hash.h: Likewise.
25476 * malloc/memusage.c: Likewise.
25477 * malloc/memusagestat.c: Likewise.
25478 * nis/nis_defaults.c: Likewise.
25479 * nis/nis_hash.c: Likewise.
25480 * nis/nis_print.c: Likewise.
25481 * nis/nis_xdr.c: Likewise.
25482 * nscd/connections.c: Likewise.
25483 * nscd/hstcache.c: Likewise.
25484 * nscd/nscd_gethst_r.c: Likewise.
25485 * nscd/nscd_getserv_r.c: Likewise.
25486 * nscd/nscd_helper.c: Likewise.
25487 * nscd/servicescache.c: Likewise.
25488 * nss/makedb.c: Likewise.
25489 * nss/nss_db/db-XXX.c: Likewise.
25490 * nss/nss_db/db-initgroups.c: Likewise.
25491 * nss/nss_db/db-netgrp.c: Likewise.
25492 * nss/nss_files/files-network.c: Likewise.
25493 * nss/nss_files/files-parse.c: Likewise.
25494 * posix/bug-regex5.c: Likewise.
25495 * posix/fnmatch_loop.c: Likewise.
25496 * posix/regcomp.c: Likewise.
25497 * posix/regexec.c: Likewise.
25498 * posix/tst-rfc3484-2.c: Likewise.
25499 * posix/tst-rfc3484-3.c: Likewise.
25500 * posix/tst-rfc3484.c: Likewise.
25501 * resolv/nss_dns/dns-canon.c: Likewise.
25502 * resolv/nss_dns/dns-network.c: Likewise.
25503 * resolv/res_init.c: Likewise.
25504 * resolv/res_mkquery.c: Likewise.
25505 * resolv/tst-aton.c: Likewise.
25506 * stdlib/cxa_atexit.c: Likewise.
25507 * stdlib/cxa_finalize.c: Likewise.
25508 * stdlib/gen-fpioconst.c: Likewise.
25509 * stdlib/strtol_l.c: Likewise.
25510 * string/tst-endian.c: Likewise.
25511 * sunrpc/auth_des.c: Likewise.
25512 * sunrpc/clnt_udp.c: Likewise.
25513 * sunrpc/rtime.c: Likewise.
25514 * sunrpc/svcauth_des.c: Likewise.
25515 * sunrpc/xdr.c: Likewise.
25516 * sunrpc/xdr_intXX_t.c: Likewise.
25517 * sunrpc/xdr_rec.c: Likewise.
25518 * sysdeps/generic/ldconfig.h: Likewise.
25519 * sysdeps/generic/ldsodefs.h: Likewise.
25520 * sysdeps/generic/memusage.h: Likewise.
25521 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25522 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25523 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25524 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25525 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25526 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25527 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25528 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25529 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25530 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25531 * sysdeps/posix/getaddrinfo.c: Likewise.
25532 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25533 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25534 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25535 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25536 * sysdeps/powerpc/test-gettimebase.c: Likewise.
25537 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25538 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25539 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25540 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25541 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25542 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25543 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25544 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25545 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25546 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25547 * sysdeps/x86_64/dl-tls.h: Likewise.
25548 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25549 * time/alt_digit.c: Likewise.
25550 * time/era.c: Likewise.
25551 * wcsmbs/tst-c16c32-1.c: Likewise.
25553 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25555 * math/libm-test.inc (struct test_sincos_data): New type.
25556 (RUN_TEST_LOOP_sincos): New macro.
25557 (sincos_test_data): New variable.
25558 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25560 2013-05-16 Richard Henderson <rth@redhat.com>
25562 * math/atest-exp2.c (LIMB64): New macro.
25563 (CONSTSZ): New macro.
25564 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25566 (print_mpn_fp): ... to function scope.
25567 (read_mpn_hex): Remove.
25568 (get_log2): Remove.
25569 (exp2_mpn): Use mp_log2.
25570 (main): Use mp_exp1.
25572 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25574 * math/libm-test.inc: Remove comment about not testing "inexact"
25576 (INEXACT_EXCEPTION): New macro.
25577 (NO_INEXACT_EXCEPTION): Likewise.
25578 (INVALID_EXCEPTION_OK): Update value.
25579 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25580 (OVERFLOW_EXCEPTION_OK): Likewise.
25581 (UNDERFLOW_EXCEPTION_OK): Likewise.
25582 (IGNORE_ZERO_INF_SIGN): Likewise.
25583 (ERRNO_UNCHANGED): Likewise.
25584 (ERRNO_EDOM): Likewise.
25585 (ERRNO_ERANGE): Likewise.
25586 (test_exceptions): Handle testing "inexact" exceptions.
25587 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25588 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25589 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25590 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25592 (rint_towardzero_test_data): Likewise.
25593 (rint_downward_test_data): Likewise.
25594 (rint_upward_test_data): Likewise.
25596 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25597 with OVERFLOW_EXCEPTION.
25598 (exp10_test_data): Likewise.
25599 (exp2_test_data): Likewise.
25600 (expm1_test_data): Likewise.
25601 (lgamma_test_data): Likewise.
25602 (pow_test_data): Likewise.
25603 (tgamma_test_data): Likewise.
25604 (yn_test_data): Remove duplicate test of overflow.
25606 * math/libm-test.inc (struct test_cc_c_data): New type.
25607 (RUN_TEST_LOOP_cc_c): New macro.
25608 (cpow_test_data): New variable.
25609 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25611 * math/libm-test.inc (struct test_f_L_data): New type.
25612 (RUN_TEST_LOOP_f_L): New macro.
25613 (llrint_test_data): New variable.
25614 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25615 (llrint_tonearest_test_data): New variable.
25616 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25617 (llrint_towardzero_test_data): New variable.
25618 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25619 (llrint_downward_test_data): New variable.
25620 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25621 (llrint_upward_test_data): New variable.
25622 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25623 (llround_test_data): New variable.
25624 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25626 2013-05-13 Peter Collingbourne <pcc@google.com>
25628 * math/atest-exp2.c (get_log2): Remove const attribute.
25630 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25632 * math/libm-test.inc (struct test_f_l_data): New type.
25633 (RUN_TEST_LOOP_f_l): New macro.
25634 (lrint_test_data): New variable.
25635 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25636 (lrint_tonearest_test_data): New variable.
25637 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25638 (lrint_towardzero_test_data): New variable.
25639 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25640 (lrint_downward_test_data): New variable.
25641 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25642 (lrint_upward_test_data): New variable.
25643 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25644 (lround_test_data): New variable.
25645 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25647 2013-05-15 Peter Collingbourne <pcc@google.com>
25649 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25650 (EXTRACT_WORDS64) Use where appropriate.
25651 (INSERT_WORDS64) Likewise.
25653 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25654 constraints with x constraints.
25655 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25657 * malloc/obstack.c (_obstack_compat): Add initializer.
25659 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25661 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25662 si_trapno and add si_addr_lsb to _sifields.sigfault.
25663 (si_trapno): Remove macro.
25664 (si_addr_lsb): Define new macro.
25665 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25667 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25669 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25670 instead of TEST_f_l.
25671 (llrint_test_tonearest): Likewise.
25672 (llrint_test_towardzero): Likewise.
25673 (llrint_test_downward): Likewise.
25674 (llrint_test_upward): Likewise.
25675 (llround_test): Likewise.
25677 * math/libm-test.inc (struct test_f_i_data): Add comment.
25678 (RUN_TEST_LOOP_f_b): New macro.
25679 (RUN_TEST_LOOP_f_b_tg): Likewise.
25680 (finite_test_data): New variable.
25681 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25682 (isfinite_test_data): New variable.
25683 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25684 (isinf_test_data): New variable.
25685 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25686 (isnan_test_data): New variable.
25687 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25688 (isnormal_test_data): New variable.
25689 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25690 (issignaling_test_data): New variable.
25691 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25692 (signbit_test_data): New variable.
25693 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25695 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25696 with INVALID_EXCEPTION.
25697 (acosh_test_data): Likewise.
25698 (asin_test_data): Likewise.
25699 (atanh_test_data): Likewise.
25700 (fmod_test_data): Likewise.
25701 (log_test_data): Likewise.
25702 (log10_test_data): Likewise.
25703 (log2_test_data): Likewise.
25704 (pow_test_data): Likewise.
25705 (sqrt_test_data): Likewise.
25706 (y0_test_data): Likewise.
25707 (y1_test_data): Likewise.
25708 (yn_test_data): Likewise.
25710 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25713 * math/libm-test.inc (struct test_ff_i_data): New type.
25714 (RUN_TEST_LOOP_ff_i_tg): New macro.
25715 (isgreater_test_data): New variable.
25716 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25717 (isgreaterequal_test_data): New variable.
25718 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25719 (isless_test_data): New variable.
25720 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25721 (islessequal_test_data): New variable.
25722 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25723 (islessgreater_test_data): New variable.
25724 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25725 (isunordered_test_data): New variable.
25726 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25728 2013-05-14 David S. Miller <davem@davemloft.net>
25730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25732 2013-05-14 Joseph Myers <joseph@codesourcery.com>
25734 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25736 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25738 (struct test_f_i_data): Change type of max_ulp to int.
25740 * math/libm-test.inc (test_ffI_f1_data): New type.
25741 (RUN_TEST_LOOP_ffI_f1): New macro.
25742 (remquo_test_data): New variable.
25743 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25745 * setjmp/tst-setjmp-fp.c: New file.
25746 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25747 (link-libm): New variable.
25748 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25750 * math/libm-test.inc (struct test_f_i_data): New type.
25751 (RUN_TEST_LOOP_f_i): New macro.
25752 (RUN_TEST_LOOP_f_i_tg): Likewise.
25753 (fpclassify_test_data): New variable.
25754 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25755 (ilogb_test_data): New variable.
25756 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25758 * math/libm-test.inc (scalbln_test): Correct function name in END
25761 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25762 (RUN_TEST_LOOP_fI_f1): New macro.
25763 (frexp_test_data): New variable.
25764 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25766 * math/libm-test.inc (struct test_fF_f1_data): New type.
25767 (RUN_TEST_LOOP_fF_f1): New macro.
25768 (modf_test_data): New variable.
25769 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25771 * math/libm-test.inc (struct test_f_f1_data): New type.
25772 (RUN_TEST_LOOP_f_f1): New macro.
25773 (gamma_test_data): New variable.
25774 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25775 (lgamma_test_data): New variable.
25776 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25778 2013-05-13 Carlos O'Donell <carlos@redhat.com>
25780 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25781 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25782 (main): Comment "tls" pseudo-hwcap.
25784 2013-05-13 Joseph Myers <joseph@codesourcery.com>
25786 * math/libm-test.inc (struct test_fl_f_data): New type.
25787 (RUN_TEST_LOOP_fl_f): New variable.
25788 (scalbln_test_data): New variable.
25789 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25791 * math/libm-test.inc (struct test_fi_f_data): New type.
25792 (RUN_TEST_LOOP_fi_f): New macro.
25793 (ldexp_test_data): New variable.
25794 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25795 (scalbn_test_data): New variable.
25796 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25798 * math/libm-test.inc (struct test_c_f_data): New type.
25799 (RUN_TEST_LOOP_c_f): New macro.
25800 (cabs_test_data): New variable.
25801 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25802 (carg_test_data): New variable.
25803 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25804 (cimag_test_data): New variable.
25805 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25806 (creal_test_data): New variable.
25807 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25809 * math/libm-test.inc (struct test_if_f_data): New type.
25810 (RUN_TEST_LOOP_if_f): New macro.
25811 (jn_test_data): New variable.
25812 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25813 (yn_test_data): New variable.
25814 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25816 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25818 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25820 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25821 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25823 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25825 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25826 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25827 (bench-deps): Add bench-timing.h.
25828 * benchtests-bench-skeleton.c: Include bench-timing.h.
25829 (main): Use TIMING_* macros instead of clock_gettime.
25830 * benchtests/bench-timing.h: New file.
25833 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25834 Renamed from _LIB_VERSION.
25835 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25837 2013-05-12 Joseph Myers <joseph@codesourcery.com>
25839 * math/libm-test.inc (struct test_fff_f_data): New type.
25840 (RUN_TEST_LOOP_fff_f): New macro.
25841 (fma_test_data): New variable.
25842 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25843 (fma_towardzero_test_data): New variable.
25844 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25845 (fma_downward_test_data): New variable.
25846 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25847 (fma_upward_test_data): New variable.
25848 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25850 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25851 (struct test_c_c_data): New type.
25852 (RUN_TEST_LOOP_c_c): New macro.
25853 (cacos_test_data): New variable.
25854 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25855 (cacosh_test_data): New variable.
25856 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25857 (casin_test_data): New variable.
25858 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25859 (casinh_test_data): New variable.
25860 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25861 (catan_test_data): New variable.
25862 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25863 (catanh_test_data): New variable.
25864 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25865 (ccos_test_data): New variable.
25866 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25867 (ccosh_test_data): New variable.
25868 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25869 (cexp_test_data): New variable.
25870 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25871 (clog_test_data): New variable.
25872 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25873 (clog10_test_data): New variable.
25874 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25875 (conj_test_data): New variable.
25876 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25877 (cproj_test_data): New variable.
25878 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25879 (csin_test_data): New variable.
25880 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25881 (csinh_test_data): New variable.
25882 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25883 (csqrt_test_data): New variable.
25884 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25885 (ctan_test_data): New variable.
25886 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25887 (ctan_tonearest_test_data): New variable.
25888 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25889 (ctan_towardzero_test_data): New variable.
25890 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25891 (ctan_downward_test_data): New variable.
25892 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25893 (ctan_upward_test_data): New variable.
25894 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25895 (ctanh_test_data): New variable.
25896 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25897 (ctanh_tonearest_test_data): New variable.
25898 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25899 (ctanh_towardzero_test_data): New variable.
25900 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25901 (ctanh_downward_test_data): New variable.
25902 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25903 (ctanh_upward_test_data): New variable.
25904 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25905 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25908 * math/libm-test.inc (struct test_ff_f_data): New type.
25909 (struct test_ff_f_data_nexttoward): Likewise.
25910 (RUN_TEST_LOOP_2_f): New macro.
25911 (RUN_TEST_LOOP_ff_f): Likewise.
25912 (atan2_test_data): New variable.
25913 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25914 (copysign_test_data): New variable.
25915 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25916 (fdim_test_data): New variable.
25917 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25918 (fmax_test_data): New variable.
25919 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25920 (fmin_test_data): New variable.
25921 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25922 (fmod_test_data): New variable.
25923 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25924 (hypot_test_data): New variable.
25925 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25926 (nextafter_test_data): New variable.
25927 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25928 (nexttoward_test_data): New variable.
25929 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25930 (pow_test_data): New variable.
25931 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25932 (pow_tonearest_test_data): New variable.
25933 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25934 (pow_towardzero_test_data): New variable.
25935 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25936 (pow_downward_test_data): New variable.
25937 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25938 (pow_upward_test_data): New variable.
25939 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25940 (remainder_test_data): New variable.
25941 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25942 (scalb_test_data): New variable.
25943 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25944 * sysdeps/i386/fpu/libm-test-ulps: Update.
25946 2013-05-11 Joseph Myers <joseph@codesourcery.com>
25948 * math/libm-test.inc (fma_test): Use max_value instead of local
25950 (nextafter_test): Likewise.
25952 * math/libm-test.inc (acos_towardzero_test_data): New variable.
25953 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25954 (acos_downward_test_data): New variable.
25955 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25956 (acos_upward_test_data): New variable.
25957 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25958 (acosh_test_data): New variable.
25959 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25960 (asin_test_data): New variable.
25961 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25962 (asin_tonearest_test_data): New variable.
25963 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25964 (asin_towardzero_test_data): New variable.
25965 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25966 (asin_downward_test_data): New variable.
25967 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25968 (asin_upward_test_data): New variable.
25969 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25970 (asinh_test_data): New variable.
25971 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25972 (atan_test_data): New variable.
25973 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25974 (atanh_test_data): New variable.
25975 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25976 (cbrt_test_data): New variable.
25977 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25978 (ceil_test_data): New variable.
25979 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25980 (cos_test_data): New variable.
25981 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25982 (cos_tonearest_test_data): New variable.
25983 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25984 (cos_towardzero_test_data): New variable.
25985 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25986 (cos_downward_test_data): New variable.
25987 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25988 (cos_upward_test_data): New variable.
25989 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25990 (cosh_test_data): New variable.
25991 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25992 (cosh_tonearest_test_data): New variable.
25993 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25994 (cosh_towardzero_test_data): New variable.
25995 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25996 (cosh_downward_test_data): New variable.
25997 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25998 (cosh_upward_test_data): New variable.
25999 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26000 (erf_test_data): New variable.
26001 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26002 (erfc_test_data): New variable.
26003 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26004 (exp_test_data): New variable.
26005 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26006 (exp_tonearest_test_data): New variable.
26007 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26008 (exp_towardzero_test_data): New variable.
26009 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26010 (exp_downward_test_data): New variable.
26011 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26012 (exp_upward_test_data): New variable.
26013 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26014 (exp10_test_data): New variable.
26015 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26016 (exp2_test_data): New variable.
26017 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26018 (expm1_test_data): New variable.
26019 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26020 (fabs_test_data): New variable.
26021 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26022 (floor_test_data): New variable.
26023 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26024 (j0_test_data): New variable.
26025 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26026 (j1_test_data): New variable.
26027 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26028 (log_test_data): New variable.
26029 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26030 (log10_test_data): New variable.
26031 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26032 (log1p_test_data): New variable.
26033 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26034 (log2_test_data): New variable.
26035 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26036 (logb_test_data): New variable.
26037 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26038 (logb_downward_test_data): New variable.
26039 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26040 (nearbyint_test_data): New variable.
26041 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26042 (rint_test_data): New variable.
26043 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26044 (rint_tonearest_test_data): New variable.
26045 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26046 (rint_towardzero_test_data): New variable.
26047 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26048 (rint_downward_test_data): New variable.
26049 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26050 (rint_upward_test_data): New variable.
26051 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26052 (round_test_data): New variable.
26053 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26054 (sin_test_data): New variable.
26055 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26056 (sin_tonearest_test_data): New variable.
26057 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26058 (sin_towardzero_test_data): New variable.
26059 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26060 (sin_downward_test_data): New variable.
26061 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26062 (sin_upward_test_data): New variable.
26063 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26064 (sinh_test_data): New variable.
26065 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26066 (sinh_tonearest_test_data): New variable.
26067 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26068 (sinh_towardzero_test_data): New variable.
26069 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26070 (sinh_downward_test_data): New variable.
26071 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26072 (sinh_upward_test_data): New variable.
26073 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26074 (sqrt_test_data): New variable.
26075 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26076 (tan_test_data): New variable.
26077 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26078 (tan_tonearest_test_data): New variable.
26079 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26080 (tan_towardzero_test_data): New variable.
26081 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26082 (tan_downward_test_data): New variable.
26083 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26084 (tan_upward_test_data): New variable.
26085 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26086 (tanh_test_data): New variable.
26087 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26088 (tgamma_test_data): New variable.
26089 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26090 (trunc_test_data): New variable.
26091 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26092 (y0_test_data): New variable.
26093 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26094 (y1_test_data): New variable.
26095 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26096 (significand_test_data): New variable.
26097 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26099 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26102 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26104 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26106 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26108 2013-05-10 Andreas Jaeger <aj@suse.de>
26111 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26112 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26114 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26116 * math/gen-libm-test.pl (adjust_arg): New function.
26117 (special_functions): Handle generating output in both functions
26119 (parse_args): Likewise.
26120 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26121 $in_func argument to parse_args.
26122 * math/libm-test.inc (struct test_f_f_data): New type.
26123 (IF_ROUND_INIT_): New macro.
26124 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26125 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26126 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26127 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26128 (ROUND_RESTORE_): Likewise.
26129 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26130 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26131 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26132 (ROUND_RESTORE_FE_UPWARD): Likewise.
26133 (RUN_TEST_LOOP_f_f): New macro.
26134 (acos_test_data): New variable.
26135 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26136 (acos_tonearest_test_data): New variable.
26137 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26139 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26141 * benchtests/bench-skeleton.c (startup): Fix coding style.
26143 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26146 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26147 negative infinity argument.
26148 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26149 negative infinity argument.
26150 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26151 negative infinity argument.
26152 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26155 2013-05-10 Florian Weimer <fweimer@redhat.com>
26157 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26158 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26159 * iconv/iconv_prog.c (main): Likewise.
26160 * locale/programs/charmap-dir.c (charmap_readdir)
26161 (fopen_uncompressed): Likewise.
26162 * locale/programs/locfile.c (siblings_uncached)
26163 (write_locale_data): Use lstat64 instead of lstat.
26164 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26167 2013-05-10 Andreas Jaeger <aj@suse.de>
26170 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26172 Include <locale.h>.
26174 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26176 * elf/dl-close.c (_dl_close_worker): Add comments.
26178 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26181 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26183 (__ieee754_rem_pio2l): Update comments.
26186 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26188 (__ieee754_rem_pio2l): Update comments.
26190 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26191 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26193 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26196 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26197 (M_PI_34_LOG10El): Likewise.
26198 (M_PI2_LOG10El): Likewise.
26199 (M_PI4_LOG10El): Likewise.
26200 (M_PI_LOG10El): Likewise.
26202 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26206 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26208 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26209 (MINUS_ZERO_INIT): Likewise.
26210 (PLUS_INFTY_INIT): Likewise.
26211 (MINUS_INFTY_INIT): Likewise.
26212 (QNAN_VALUE_INIT): Likewise.
26213 (MAX_VALUE_INIT): Likewise.
26214 (MIN_VALUE_INIT): Likewise.
26215 (MIN_SUBNORM_VALUE_INIT): Likewise.
26216 (plus_zero): Initialize with PLUS_ZERO_INIT.
26217 (minus_zero): Initialize with MINUS_ZERO_INIT.
26218 (plus_infty): Initialize with PLUS_INFTY_INIT.
26219 (minus_infty): Initialize with MINUS_INFTY_INIT.
26220 (qnan_value): Initialize with QNAN_VALUE_INIT.
26221 (max_value): Initialize with MAX_VALUE_INIT.
26222 (min_value): Initialize with MIN_VALUE_INIT.
26223 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26225 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26226 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26227 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26228 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26230 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26231 (RUN_TEST_2_f): Likewise.
26232 (RUN_TEST_ff_f): Likewise.
26233 (RUN_TEST_fi_f): Likewise.
26234 (RUN_TEST_fl_f): Likewise.
26235 (RUN_TEST_fff_f): Likewise.
26236 (RUN_TEST_c_f): Likewise.
26237 (RUN_TEST_f_f1): Likewise.
26238 (RUN_TEST_fF_f1): Likewise.
26239 (RUN_TEST_fI_f1): Likewise.
26240 (RUN_TEST_ffI_f1): Likewise.
26241 (RUN_TEST_c_c): Likewise.
26242 (RUN_TEST_cc_c): Likewise.
26243 (RUN_TEST_f_i): Likewise.
26244 (RUN_TEST_f_i_tg): Likewise.
26245 (RUN_TEST_ff_i_tg): Likewise.
26246 (RUN_TEST_f_b): Likewise.
26247 (RUN_TEST_f_b_tg): Likewise.
26248 (RUN_TEST_f_l): Likewise.
26249 (RUN_TEST_f_L): Likewise.
26250 (RUN_TEST_sincos): Likewise.
26251 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26252 whether to show exceptions. Do not include ");\n" in return
26254 (special_functions): Output call to RUN_TEST_sincos instead of
26255 check_float calls. Update calls to new_test.
26256 (parse_args): Output call to single RUN_TEST_* macro instead of
26257 check_* calls and other assignments. Update calls to new_test.
26263 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26264 input to result for tgamma overflow.
26265 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26266 (gamma_coeff): New variable.
26267 (NCOEFF): New macro.
26268 (gamma_positive): New function.
26269 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26270 underflow here. Use gamma_positive instead of exp (lgamma) for
26272 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26273 (gamma_coeff): New variable.
26274 (NCOEFF): New macro.
26275 (gammaf_positive): New function.
26276 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26277 underflow here. Use gamma_positive instead of exp (lgamma) for
26279 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26280 (gamma_coeff): New variable.
26281 (NCOEFF): New macro.
26282 (gammal_positive): New function.
26283 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26284 underflow here. Use gamma_positive instead of exp (lgamma) for
26286 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26287 (gamma_coeff): New variable.
26288 (NCOEFF): New macro.
26289 (gammal_positive): New function.
26290 (__ieee754_gammal_r): Handle positive infinity, overflow and
26291 underflow here. Handle NaN the same as positive infinity. Remove
26292 check x < 0xffffffff for negative integers. Use gamma_positive
26293 instead of exp (lgamma) for other arguments.
26294 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26295 (gamma_coeff): New variable.
26296 (NCOEFF): New macro.
26297 (gammal_positive): New function.
26298 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26299 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26300 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26301 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26302 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26303 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26304 * sysdeps/generic/math_private.h (__gamma_productf): New
26306 (__gamma_product): Likewise.
26307 (__gamma_productl): Likewise.
26308 * math/Makefile (libm-calls): Add gamma_product.
26309 * math/libm-test.inc (tgamma_test): Add more tests.
26310 * sysdeps/i386/fpu/libm-test-ulps: Update.
26311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26313 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
26315 * benchtests/bench-skeleton.c (main): Preheat CPU.
26317 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26319 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26321 2013-05-07 Roland McGrath <roland@hack.frob.com>
26323 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26324 and _dl_skip_args_internal.
26326 2013-05-07 Carlos O'Donell <carlos@redhat.com>
26328 * manual/message.texi (Message Translation): Talk about users.
26329 Message to key mapping impacts design.
26331 2013-05-06 Roland McGrath <roland@hack.frob.com>
26333 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26335 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26337 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26338 * sysdeps/wordsize-64/glob64.c: ... here.
26340 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26341 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26344 * debug/getlogin_r_chk.c: Moved to ...
26345 * login/getlogin_r_chk.c: ... here.
26346 * debug/Makefile (routines): Move getlogin_r_chk to ...
26347 * login/Makefile (routines): ... here.
26348 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26349 * login/Versions (libc: GLIBC_2.4): ... here.
26351 * io/poll.c (__poll): Renamed from poll.
26352 Add libc_hidden_def.
26353 (poll): Define as weak alias.
26355 * debug/ptsname_r_chk.c: Moved to ...
26356 * login/ptsname_r_chk.c: ... here.
26357 * debug/Makefile (routines): Move ptsname_r_chk to ...
26358 * login/Makefile (routines): ... here.
26359 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26360 * login/Versions (libc: GLIBC_2.4): ... here.
26362 * posix/getlogin.c: Moved to ...
26363 * login/getlogin.c: ... here.
26364 * posix/getlogin_r.c: Moved to ...
26365 * login/getlogin_r.c: ... here.
26366 * posix/getlogin_r.c: Moved to ...
26367 * login/getlogin_r.c: ... here.
26368 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26369 * login/Makefile (routines): ... here.
26370 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26371 * login/Versions (libc: GLIBC_2.0): ... here.
26373 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26374 (setrlimit): Define as weak alias.
26376 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26377 Call __ names for open, ftruncate, and close.
26378 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26379 (truncate): Define as weak alias.
26381 2013-05-06 Joseph Myers <joseph@codesourcery.com>
26383 * math/gen-libm-test.pl (parse_args): Initialize x before each
26384 test of frexp, modf and remquo.
26386 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26387 test signgam value.
26389 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26393 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26395 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26397 2013-05-06 Roland McGrath <roland@hack.frob.com>
26399 * elf/dl-writev.h: New file.
26400 * elf/dl-misc.c: Include it.
26401 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26402 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26404 2013-05-04 Joseph Myers <joseph@codesourcery.com>
26406 * math/libm-test.inc (noXFails): Remove variable.
26407 (noXPasses): Likewise.
26408 (BUILD_COMPLEX_INT): Remove macro.
26409 (print_screen): Remove xfail argument.
26410 (print_screen_max_error): Likewise.
26411 (update_stats): Likewise.
26412 (print_max_error): Likewise. Update calls to other affected
26414 (print_complex_max_error): Likewise.
26415 (test_single_exception): Update calls to print_screen.
26416 (test_single_errno): Likewise.
26417 (check_float_internal): Remove xfail argument. Update calls to
26418 other affected functions.
26419 (check_float): Likewise.
26420 (check_complex): Likewise.
26421 (check_int): Likewise.
26422 (check_long): Likewise.
26423 (check_bool): Likewise.
26424 (check_longlong): Likewise.
26425 (main): Don't print noXFails and noXPasses.
26426 * math/gen-libm-test.pl (top level): Don't mention expected
26427 failure handling in comment.
26428 (new_test): Don't handle expected failures.
26429 (parse_args): Don't mention expected failure handling in comment.
26430 (generate_testfile): Don't handle expected failures.
26431 (parse_ulps): Likewise.
26432 (print_ulps_file): Likewise.
26433 (get_failure): Remove function.
26434 (output_test): Don't handle expected failures.
26435 * make/README.libm-test: Don't mention expected failure handling.
26437 * math/libm-test.inc (plus_zero): Make const. Add initializer.
26438 (minus_zero): Likewise.
26439 (plus_infty): Likewise.
26440 (minus_infty): Likewise.
26441 (qnan_value): Likewise.
26442 (max_value): Likewise.
26443 (min_value): Likewise.
26444 (min_subnorm_value): Likewise.
26445 (initialize): Do not initialize those variables dynamically.
26447 2013-05-03 Roland McGrath <roland@hack.frob.com>
26449 * io/open.c (__open_2): Moved to ...
26450 * io/open_2.c: ... this new file.
26451 * io/open64.c (__open64_2): Moved to ...
26452 * io/open64_2.c: ... this new file.
26453 * io/openat.c (__openat_2): Moved to ...
26454 * io/openat_2.c: ... this new file.
26455 * io/openat64.c (__openat64_2): Moved to ...
26456 * io/openat64_2.c: ... this new file.
26457 * io/Makefile (routines): Add them.
26458 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26459 * sysdeps/unix/sysv/linux/open_2.c: File removed.
26460 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26461 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26462 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26463 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26464 (__openat64): Add hidden_ver.
26465 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26466 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26468 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26469 Separately conditionalize setting of GLRO(dl_sysinfo) so
26470 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26471 as well, but the actual setting is only under [NEED_DL_SYSINFO].
26473 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26475 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26476 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26478 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26479 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26480 (_libc_vdso_platform_setup): Add __vdso_time initialization.
26481 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26482 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26484 2013-05-03 Joseph Myers <joseph@codesourcery.com>
26486 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26487 test signgam value.
26489 * math/libm-test.inc (hypot_test): Do not use
26490 IGNORE_ZERO_INF_SIGN.
26492 2013-05-03 Andreas Jaeger <aj@suse.de>
26494 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26496 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26497 (PF_MAX): Adjust for VSOCK change.
26499 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26501 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26503 2013-05-02 Carlos O'Donell <carlos@redhat.com>
26506 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26507 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26508 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26510 2013-05-02 David S. Miller <davem@davemloft.net>
26512 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26514 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
26516 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26518 2013-05-01 Roland McGrath <roland@hack.frob.com>
26520 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26522 2013-05-01 Richard Smith <richard@metafoo.co.uk>
26525 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26526 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26527 Use __attribute__ ((__gnu_inline__)).
26528 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26529 Don't use __attribute__ ((__gnu_inline__)).
26531 2013-05-01 Joseph Myers <joseph@codesourcery.com>
26534 * math/s_catan.c (__catan): Handle small real or imaginary part of
26535 input specially to avoid spurious underflow.
26536 * math/s_catanf.c (__catanf): Likewise.
26537 * math/s_catanh.c (__catanh): Likewise.
26538 * math/s_catanhf.c (__catanhf): Likewise.
26539 * math/s_catanhl.c (__catanhl): Likewise.
26540 * math/s_catanl.c (__catanl): Likewise.
26541 * math/libm-test.inc (catan_test): Add more tests.
26542 (catanh_test): Likewise.
26543 * sysdeps/i386/fpu/libm-test-ulps: Update.
26544 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26546 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26548 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26550 2013-04-30 Joseph Myers <joseph@codesourcery.com>
26553 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26554 accurately for denominator in atan2.
26555 * math/s_catanf.c (__catanf): Likewise.
26556 * math/s_catanh.c (__catanh): Likewise.
26557 * math/s_catanhf.c (__catanhf): Likewise.
26558 * math/s_catanhl.c (__catanhl): Likewise.
26559 * math/s_catanl.c (__catanl): Likewise.
26560 * math/libm-test.inc (catan_test): Add more tests.
26561 (catanh_test): Likewise.
26562 * sysdeps/i386/fpu/libm-test-ulps: Update.
26563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26565 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26567 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26569 * benchtests/Makefile (bench): Remove slow benchmarks.
26570 * benchtests/atan-inputs: Add slow benchmark inputs.
26571 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26572 (BENCH_FUNC): Accept variant offset.
26574 * benchtests/bench-skeleton.c (main): Run benchmark for each
26576 * benchtests/cos-inputs: Add slow benchmark inputs.
26577 * benchtests/exp-inputs: Likewise.
26578 * benchtests/pow-inputs: Likewise.
26579 * benchtests/sin-inputs: Likewise.
26580 * benchtests/slowatan-inputs: Remove.
26581 * benchtests/slowatan.c: Remove.
26582 * benchtests/slowcos-inputs: Remove.
26583 * benchtests/slowcos.c: Remove.
26584 * benchtests/slowexp-inputs: Remove.
26585 * benchtests/slowexp.c: Remove.
26586 * benchtests/slowpow-inputs: Remove.
26587 * benchtests/slowpow.c: Remove.
26588 * benchtests/slowsin-inputs: Remove.
26589 * benchtests/slowsin.c: Remove.
26590 * benchtests/slowtan-inputs: Remove.
26591 * benchtests/slowtan.c: Remove.
26592 * benchtests/tan-inputs: Add slow benchmark inputs.
26593 * scripts/bench.pl: Parse comments and directives.
26595 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26597 ($(objpfx)bench-%.c): Remove *-ITER.
26598 * benchtests/bench-modf.c: Remove definition of ITER.
26599 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26600 (main): Loop for DURATION seconds instead of fixed number of
26602 * scripts/bench.pl: Don't expect iterations in parameters.
26604 2013-04-29 Roland McGrath <roland@hack.frob.com>
26606 * io/fchdir.c (__fchdir): Renamed from fchdir.
26607 (fchdir): Define as weak alias.
26609 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26611 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26612 (ERRNO_EDOM): Likewise.
26613 (ERRNO_ERANGE): Likewise.
26614 (noErrnoTests): New variable.
26615 (init_max_error): Set errno to 0.
26616 (test_single_errno): New function.
26617 (test_errno): Likewise.
26618 (check_float_internal): Call test_errno. Set errno to 0.
26619 (check_complex): Refer to errno tests in comment.
26620 (check_int): Call test_errno. Set errno to 0.
26621 (check_long): Likewise.
26622 (check_bool): Likewise.
26623 (check_longlong): Likewise.
26624 (cos_test): Use ERRNO_* flags for errno tests instead of
26626 (expm1_test): Likewise.
26627 (fmod_test): Likewise.
26628 (ilogb_test): Likewise.
26629 (lgamma_test): Likewise.
26630 (pow_test): Likewise.
26631 (remainder_test): Likewise.
26632 (sin_test): Likewise.
26633 (tan_test): Likewise.
26634 (yn_test): Likewise.
26635 (initialize): Set errno to 0.
26636 (main): Print number of errno tests.
26637 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26639 2013-04-29 Andreas Jaeger <aj@suse.de>
26642 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26646 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26647 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26651 * stdlib/random.c (__initstate): Return NULL if
26655 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26656 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26659 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26661 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26663 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26665 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26666 of individual tests.
26667 (casin_test): Likewise.
26668 (casinh_test): Likewise.
26670 2013-04-27 Joseph Myers <joseph@codesourcery.com>
26673 * math/s_catan.c (__catan): Handle arguments with large real or
26674 imaginary part separately without squaring.
26675 * math/s_catanf.c (__catanf): Likewise.
26676 * math/s_catanh.c (__catanh): Likewise.
26677 * math/s_catanhf.c (__catanhf): Likewise.
26678 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26680 (__catanhl): Handle arguments with large real or imaginary part
26681 separately without squaring.
26682 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26684 (__catanl): Handle arguments with large real or imaginary part
26685 separately without squaring.
26686 * math/libm-test.inc (catan_test): Add more tests.
26687 (catanh_test): Likewise.
26688 * sysdeps/i386/fpu/libm-test-ulps: Update.
26689 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26691 2013-04-27 Andreas Jaeger <aj@suse.de>
26694 * stdlib/stdlib.h: Update guards for qecvt.
26695 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26698 2013-04-27 Allan McRae <allan@archlinux.org>
26700 * sysdeps/i386/fpu/libm-test-ulps: Update.
26702 2013-04-26 Joseph Myers <joseph@codesourcery.com>
26705 * math/s_catan.c: Include <float.h>.
26706 (__catan): Ensure underflow exception occurs for underflowed
26708 * math/s_catanf.c: Include <float.h>.
26709 (__catanf): Ensure underflow exception occurs for underflowed
26711 * math/s_catanh.c: Include <float.h>.
26712 (__catanh): Ensure underflow exception occurs for underflowed
26714 * math/s_catanhf.c: Include <float.h>.
26715 (__catanhf): Ensure underflow exception occurs for underflowed
26717 * math/s_catanhl.c: Include <float.h>.
26718 (__catanhl): Ensure underflow exception occurs for underflowed
26720 * math/s_catanl.c: Include <float.h>.
26721 (__catanl): Ensure underflow exception occurs for underflowed
26723 * math/libm-test.inc (catan_test): Add more tests.
26724 (catanh_test): Likewise.
26727 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26728 underflowed result.
26729 * math/s_ccoshf.c (__ccoshf): Likewise.
26730 * math/s_ccoshl.c (__ccoshl): Likewise.
26731 * math/s_csin.c (__csin): Likewise.
26732 * math/s_csinf.c (__csinf): Likewise.
26733 * math/s_csinh.c (__csinh): Likewise.
26734 * math/s_csinhf.c (__csinhf): Likewise.
26735 * math/s_csinhl.c (__csinhl): Likewise.
26736 * math/s_csinl.c (__csinl): Likewise.
26737 * math/libm-test.inc (ccos_test): Add more tests.
26738 (ccosh_test): Likewise.
26739 (csin_test): Likewise.
26740 (csinh_test): Likewise.
26742 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26744 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26745 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26746 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26747 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26748 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26749 powerpc/power5+/fpu folders.
26750 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26753 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26755 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26757 2013-04-25 Joseph Myers <joseph@codesourcery.com>
26759 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26760 additions to variable.
26761 [$(config-machine) = x86_64] (modules-names): Likewise.
26762 ($(objpfx)tst-audit3): Remove dependency.
26763 ($(objpfx)tst-audit3.out): Likewise.
26764 ($(objpfx)tst-audit4): Likewise.
26765 ($(objpfx)tst-audit4.out): Likewise.
26766 ($(objpfx)tst-audit5): Likewise.
26767 ($(objpfx)tst-audit5.out): Likewise.
26768 ($(objpfx)tst-audit6): Likewise.
26769 ($(objpfx)tst-audit6.out): Likewise.
26770 ($(objpfx)tst-audit7): Likewise.
26771 ($(objpfx)tst-audit7.out): Likewise.
26772 (tst-audit3-ENV): Remove variable.
26773 (tst-audit4-ENV): Likewise.
26774 (tst-audit5-ENV): Likewise.
26775 (tst-audit6-ENV): Likewise.
26776 (tst-audit7-ENV): Likewise.
26777 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26778 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26779 addition to variable.
26780 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26781 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26782 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26783 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26784 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26785 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26786 tst-audit3, tst-audit4 and tst-audit5.
26787 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26788 tst-audit6 and tst-audit7.
26789 [$(subdir) = elf] (modules-names): Add audit modules for those
26791 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26792 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26793 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26794 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26795 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26796 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26797 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26798 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26799 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26800 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26801 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26802 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26803 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26804 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26805 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26806 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26808 [$(subdir) = elf && $(config-cflags-avx) = yes]
26809 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26810 [$(subdir) = elf && $(config-cflags-avx) = yes]
26811 (CFLAGS-tst-auditmod4a.c): Likewise.
26812 [$(subdir) = elf && $(config-cflags-avx) = yes]
26813 (CFLAGS-tst-auditmod4b.c): Likewise.
26814 [$(subdir) = elf && $(config-cflags-avx) = yes]
26815 (CFLAGS-tst-auditmod6b.c): Likewise.
26816 [$(subdir) = elf && $(config-cflags-avx) = yes]
26817 (CFLAGS-tst-auditmod6c.c): Likewise.
26818 [$(subdir) = elf && $(config-cflags-avx) = yes]
26819 (CFLAGS-tst-auditmod7b.c): Likewise.
26820 * elf/tst-audit3.c: Move to ...
26821 * sysdeps/x86_64/tst-audit3.c: ... here.
26822 * elf/tst-audit4.c: Move to ...
26823 * sysdeps/x86_64/tst-audit4.c: ... here.
26824 * elf/tst-audit5.c: Move to ...
26825 * sysdeps/x86_64/tst-audit5.c: ... here.
26826 * elf/tst-audit6.c: Move to ...
26827 * sysdeps/x86_64/tst-audit6.c: ... here.
26828 * elf/tst-audit7.c: Move to ...
26829 * sysdeps/x86_64/tst-audit7.c: ... here.
26830 * elf/tst-auditmod3a.c: Move to ...
26831 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26832 * elf/tst-auditmod3b.c: Move to ...
26833 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26834 * elf/tst-auditmod4a.c: Move to ...
26835 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26836 * elf/tst-auditmod4b.c: Move to ...
26837 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26838 * elf/tst-auditmod5a.c: Move to ...
26839 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26840 * elf/tst-auditmod5b.c: Move to ...
26841 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26842 * elf/tst-auditmod6a.c: Move to ...
26843 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26844 * elf/tst-auditmod6b.c: Move to ...
26845 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26846 * elf/tst-auditmod6c.c: Move to ...
26847 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26848 * elf/tst-auditmod7a.c: Move to ...
26849 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26850 * elf/tst-auditmod7b.c: Move to ...
26851 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26853 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26856 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26857 define unconditionally.
26858 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26859 define unconditionally.
26860 (INT8_C, INT16_C, etc.): Likewise.
26862 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26864 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26865 __ehdr_start with hidden visibility.
26867 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26869 2013-04-24 Carlos O'Donell <carlos@redhat.com>
26871 * math/libm-test.inc (cos_test): Use accurate hex constants.
26872 (sincost_test): Likewise.
26874 2013-04-24 Joseph Myers <joseph@codesourcery.com>
26876 * math/libm-test.inc (catan_test): Add more tests.
26877 (catanh_test): Likewise.
26879 * math/s_catanf.c (__catanf): Use suffixed floating-point
26881 * math/s_catanhf.c (__catanhf): Likewise.
26882 * math/s_catanhl.c (__catanhl): Likewise.
26883 * math/s_catanl.c (__catanl): Likewise.
26886 * math/s_catan.c (__catan): Calculate imaginary part of result
26887 with log1p not log unless computing log of number close to 0.
26888 * math/s_catanf.c (__catanf): Likewise.
26889 * math/s_catanl.c (__catanl): Likewise.
26890 * math/s_catanh.c (__catanh): Calculate real part of result with
26891 log1p not log unless computing log of number close to 0.
26892 * math/s_catanhf.c (__catanhf): Likewise.
26893 * math/s_catanhl.c (__catanhl): Likewise.
26894 * math/libm-test.inc (catan_test): Add more tests.
26895 (catanh_test): Likewise.
26896 * sysdeps/i386/fpu/libm-test-ulps: Update.
26897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26899 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
26901 * benchtests/Makefile: Mention files in which fast and slow
26902 paths of math functions are implemented.
26904 2013-04-23 Roland McGrath <roland@hack.frob.com>
26906 * sysdeps/posix/timespec_get.c: New file.
26908 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26910 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26912 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26914 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26915 powerpc/power5/fpu folders.
26916 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26917 * benchtests/Makefile: Add modf testcase.
26918 * benchtests/bench-modf.c: New file: Benchmark test for mo
26920 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
26923 * time/Makefile (tests): Add tst-strptime-whitespace.
26924 * time/strptime_l.c (get_number): Use ISSPACE.
26925 (__strptime_internal): Likewise.
26926 * time/tst-strptime-whitespace.c: New test case.
26928 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
26930 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26932 (_nss_files_init): Set it here.
26934 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
26936 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26937 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26940 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
26942 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26944 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
26946 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26949 2013-04-21 David S. Miller <davem@davemloft.net>
26951 * po/ru.po: Update Russion translation from translation project.
26953 2013-04-17 Adam Conrad <adconrad@0c3.net>
26955 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26958 2013-04-17 Carlos O'Donell <carlos@redhat.com>
26960 * configure.in: Remove i386 configure warning. Remove i386 case.
26961 * configure: Regenerate.
26962 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26963 Add example to error message.
26964 * sysdeps/i386/configure: Regenerate.
26966 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
26968 * benchtests/Makefile (bench): Add cos, tan, slowcos and
26970 * benchtests/cos-inputs: New file.
26971 * benchtests/slowcos-inputs: New file.
26972 * benchtests/slowcos.c: New file.
26973 * benchtests/slowtan-inputs: New file.
26974 * benchtests/slowtan.c: New file.
26975 * benchtests/tan-inputs: New file.
26977 2013-04-16 Roland McGrath <roland@hack.frob.com>
26979 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26982 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
26984 * benchtests/Makefile: Include cppflags-iterator.mk to add
26985 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26987 * Makefile.in (bench-clean): New target.
26988 * benchtests/Makefile (bench-clean): Likewise.
26990 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
26992 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26994 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
26996 * stdio-common/tstdiomisc.c: Fix coding-style violation.
26998 2013-04-15 Andreas Schwab <schwab@suse.de>
27000 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27001 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27002 * nscd/pwdcache.c (cache_addpw): Likewise.
27003 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27006 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27008 * benchtests/Makefile (bench): Write all output to
27009 bench-out.tmp together.
27011 2013-04-15 Andreas Schwab <schwab@suse.de>
27013 * nscd/nscd.c (main): Don't fork again after closing files.
27015 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27017 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27019 * benchtests/Rules (bench-deps): Collect dependencies into a
27020 single variable. Add Makefile to dependencies.
27021 ($(objpfx)bench-%.c): Depend on bench-deps.
27023 2013-04-12 Roland McGrath <roland@hack.frob.com>
27024 Xavier Roche <roche+kml2@exalead.com>
27027 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27028 just that it's a file descriptor.
27029 * manual/llio.texi (Synchronizing AIO Operations): Update description
27030 for EBADF error from aio_fsync.
27032 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27034 * Rules (bench): Move target definition...
27035 * benchtests/Makefile: ... here.
27037 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27039 * math/libm-test.inc (cos_test): Fix PI/2 test.
27040 (sincos_test): Likewise.
27041 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27042 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27044 2013-04-11 Andreas Schwab <schwab@suse.de>
27047 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27048 accept exponent character only when digits were seen.
27049 * stdio-common/Makefile (tests): Add bug26.
27050 * stdio-common/bug26.c: New file.
27053 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27056 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27058 * Makeconfig (rtld-prefix): Define built linker prefix.
27059 * Rules (run-bench): Use it.
27060 * math/Makefile (run-regen-ulps): Likewise.
27062 * Rules (bench): Remove eval.
27064 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27065 Roland McGrath <roland@hack.frob.com>
27066 Ondrej Bilka <neleai@seznam.cz>
27069 * time/getdate.c: Include ctype.h and alloca.h.
27070 (__getdate_r): Trim leading and trailing spaces of input.
27071 * time/tst-getdate.c (tests): Add tests with leading and
27074 2013-04-08 Roland McGrath <roland@hack.frob.com>
27077 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27078 when computing value.
27080 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27082 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27083 Use testrun.sh to run libm tests.
27086 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27088 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27091 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27093 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27095 * Makefile.in (regen-ulps): New target.
27096 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27097 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27098 [ifneq (no,$(PERL)] (regen-ulps): New target.
27099 [ifeq (no,$(PERL)] (regen-ulps): New target.
27100 * math/libm-test.inc (ulps_file_name): Define.
27101 (output_dir): New variable.
27102 (options): Add "output-dir" option.
27103 (parse_opt): Handle 'o' case.
27104 (main): If output_dir is non-NULL use it as a prefix
27106 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27108 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27110 [BZ #10060, #10062]
27111 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27112 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27113 fail configure if __sync_val_compare_and_swap is not inlined.
27114 * sysdeps/i386/configure: Regenerate.
27115 * configure.in: Build for i686 when configured for i386.
27116 * configure: Regenerate.
27117 * README: Remove i386 reference.
27119 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27121 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27122 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27124 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27126 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27127 (lmsnanval): New variables.
27128 (F): Add conversion tests.
27129 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27130 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27132 * stdio-common/tstdiomisc.c (F): Properly collect individual
27135 [BZ #14686, #15336]
27136 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27137 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27138 Instead, use input NaN values or generate a qNaN by arithmetic
27139 operation. Also fix bugs to comply with the standard.
27140 * math/libm-test.inc (remainder_test): Add more tests.
27142 [BZ #15335, #15342]
27143 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27144 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27145 input NaN values or generate a qNaN by arithmetic operation.
27147 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27150 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27153 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27156 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27157 underflowed result.
27158 * math/s_cexpf.c (__cexpf): Likewise.
27159 * math/s_cexpl.c (__cexpl): Likewise.
27160 * math/libm-test.inc (cexp_test): Add more tests.
27162 2013-04-03 Andreas Schwab <schwab@suse.de>
27165 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27166 order arrays from heap if bigger than alloca cutoff.
27168 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27170 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27171 (SNAN_TESTS_double): Refer to GCC PR56831.
27172 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27175 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27177 * Rules (bench): Move bench.out after the run is complete.
27179 * Rules (bench): Echo currently running benchmark.
27181 * benchtests/Makefile (bench): Add atan and slowatan.
27182 * benchtests/atan-inputs: New file.
27183 * benchtests/slowatan-inputs: New file.
27184 * benchtests/slowatan.c: New file.
27186 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27187 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27191 * sysdeps/unix/sysv/linux/kernel-features.h
27192 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27193 __ASSUME_XFS_RESTRICTED_CHOWN.
27194 * sysdeps/unix/sysv/linux/pathconf.c
27195 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27196 Save and restore errno.
27198 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27201 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27202 arguments using __kernel_casinh.
27203 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27204 arguments using __kernel_casinhf.
27205 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27206 arguments using __kernel_casinhl.
27207 * math/libm-test.inc (cacosh_test): Add more tests.
27208 * sysdeps/i386/fpu/libm-test-ulps: Update.
27209 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27211 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27213 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27214 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27216 * bench/Makefile (bench): Add sin and slowsin.
27217 * benchtests/sin-inputs: New file.
27218 * benchtests/slowsin-inputs: New file.
27219 * benchtests/slowsin.c: New file.
27221 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27222 (bench): Add slowexp and slowpow.
27223 (exp-ITER): Increase iterations.
27224 (pow-ITER): Likewise.
27225 * benchtests/exp-inputs: Change input.
27226 * benchtests/pow-inputs: Likewise.
27227 * benchtests/slowexp-inputs: New file.
27228 * benchtests/slowexp.c: New file.
27229 * benchtests/slowpow-inputs: New file.
27230 * benchtests/slowpow.c: New file.
27232 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27234 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27236 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27237 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27238 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27239 * benchtests/Makefile: Add rint benchtest.
27240 * benchtests/rint-inputs: Input for rint benchtest.
27242 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27244 * Versions.def (libm): Add GLIBC_2.18.
27245 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27246 hidden libm prototypes.
27247 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27248 * math/Makefile (libm-calls): Add s_issignaling.
27249 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27250 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27251 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27253 * math/math.h [__USE_GNU] (issignaling): New macro.
27254 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27255 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27256 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27257 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27258 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27259 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27260 * manual/arith.texi (issignaling): New section.
27261 * manual/libm-err-tab.pl (@all_functions): Update comment.
27262 * math/gen-libm-test.pl (parse_args): Apply special handling for
27264 * math/libm-test.inc (print_float, issignaling_test): New
27266 (check_float_internal): Add issignaling checks.
27267 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27268 default definition.
27269 * sysdeps/powerpc/math-tests.h: New file.
27270 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27272 * math/test-snan.c (TEST_FUNC): Likewise.
27274 2013-03-30 David S. Miller <davem@davemloft.net>
27276 * po/de.po: Update from translation team.
27278 2013-03-30 Joseph Myers <joseph@codesourcery.com>
27281 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27282 imaginary part less than 1.0 and real part less than 0.5
27284 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27285 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27286 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27287 (cacos_test): Add more tests.
27288 (casin_test): Likewise.
27289 (casinh_test): Likewise.
27290 * sysdeps/i386/fpu/libm-test-ulps: Update.
27291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27293 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27295 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27296 ONE with its value.
27298 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27299 (__pow_mp): Replace ONE and MONE with their values.
27300 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27301 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27302 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27303 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27304 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27305 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27307 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27309 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27310 (__pow_mp): Replace ZERO and MZERO with their values.
27311 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27312 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27313 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27314 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27315 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27316 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27319 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27321 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27323 2013-03-28 Roland McGrath <roland@hack.frob.com>
27325 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27326 Declare with __attribute__ ((weak)).
27327 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27328 Call __call_tls_dtors only if it's not NULL.
27330 2013-03-28 Roland McGrath <roland@hack.frob.com>
27332 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27333 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27334 magic __ehdr_start linker symbol if it's defined.
27335 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27336 them up here if it was already done.
27338 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27339 (_dl_aux_init): Use const in cast when setting it.
27340 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27341 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27342 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27344 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27346 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27347 * csu/libc-tls.c: Nor here.
27348 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27350 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27351 (__libc_message): Never call vsyslog.
27353 2013-03-28 Alan Modra <amodra@gmail.com>
27355 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27357 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27360 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27363 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27367 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27370 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27371 Don't add gid passed as argument.
27373 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27375 2013-03-27 Joseph Myers <joseph@codesourcery.com>
27378 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27379 imaginary part between 1.0 and 1.5 and real part less than 0.5
27381 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27382 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27383 * math/libm-test.inc (cacos_test): Add more tests.
27384 (casin_test): Likewise.
27385 (casinh_test): Likewise.
27386 * sysdeps/i386/fpu/libm-test-ulps: Update.
27387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27389 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27391 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27394 (denorm): Likewise.
27395 (__dbl_mp): Likewise.
27396 (add_magnitudes): Likewise.
27397 (sub_magnitudes): Likewise.
27405 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27407 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27408 (__dubcos): Likewise.
27409 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27410 (__ieee754_acos): Likewise.
27411 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27412 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27413 (__exp1): Likewise.
27414 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27415 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27417 (my_log2): Likewise.
27418 (checkint): Likewise.
27419 * sysdeps/ieee754/dbl-64/e_remainder.c
27420 (__ieee754_remainder): Likewise.
27421 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27422 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27423 (bsloww): Likewise.
27424 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27426 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27427 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27428 MANTISSA_STORE_T to store computations on mantissa. Use
27429 macros for rounding and division.
27430 (denorm): Likewise.
27431 (__dbl_mp): Likewise.
27432 (add_magnitudes): Likewise.
27433 (sub_magnitudes): Likewise.
27436 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27437 powers of two in terms of TWOPOW macro.
27438 (mp_no): Make type of mantissa as MANTISSA_T.
27439 [!RADIXI]: Define RADIXI.
27440 [!TWO52]: Define TWO52.
27441 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27443 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27445 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27446 llroundl symbol when building for PPC32.
27448 2013-03-24 Mark H Weaver <mhw@netris.org>
27450 * manual/arith.texi (Normalization Functions): Fix prototypes for
27451 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27453 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27456 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27457 high value to check if expl overflow.
27458 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27459 to check for underflow and overflow.
27460 * math/libm-test.inc: Add exp test.
27462 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
27465 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27468 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27470 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27473 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
27475 * math/gen-libm-test.pl (parse_args, special_functions): Properly
27476 wrap blocks consisting of several statements.
27478 * sysdeps/generic/math-tests.h: New file.
27479 * sysdeps/i386/fpu/math-tests.h: Likewise.
27480 * math/test-snan.c: Include it.
27481 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27483 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27486 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27487 (__ieee754_j0l): Do not improve calculations using cos of twice
27488 input for inputs above LDBL_MAX / 2.0L.
27489 (__ieee754_y0l): Likewise.
27490 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27491 (__ieee754_j1l): Do not improve calculations using cos of twice
27492 input for inputs above LDBL_MAX / 2.0L.
27493 (__ieee754_y1l): Likewise.
27494 * math/libm-test.inc (j0_test): Add another test.
27495 (j1_test): Likewise.
27496 (y0_test): Likewise.
27497 (y1_test): Likewise.
27498 * sysdeps/i386/fpu/libm-test-ulps: Update.
27500 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27502 * Rules ($(objpfx)bench-%.c): Include code from a C source
27505 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27508 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27509 imaginary part 1.0 and real part less than 0.5 specially.
27510 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27511 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27512 * math/libm-test.inc (cacos_test): Add more tests.
27513 (casin_test): Likewise.
27514 (casinh_test): Likewise.
27515 * sysdeps/i386/fpu/libm-test-ulps: Update.
27516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27518 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27520 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27521 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27523 2013-03-20 Joseph Myers <joseph@codesourcery.com>
27525 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27526 * config.make.in (config-cflags-sse4): Remove variable.
27527 (config-cflags-avx): Likewise.
27528 (config-cflags-sse2avx): Likewise.
27529 (config-cflags-novzeroupper): Likewise.
27530 (config-asflags-i686): Likewise.
27531 (have-mfma4): Likewise.
27532 (have-as-vis3): Likewise.
27534 * configure.in (MIG): Do not AC_SUBST.
27535 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27536 (libc_cv_cc_sse4): Do not AC_SUBST.
27537 (libc_cv_cc_avx): Likewise.
27538 (libc_cv_cc_sse2avx): Likewise.
27539 (libc_cv_cc_novzeroupper): Likewise.
27540 (libc_cv_cc_fma4): Likewise.
27541 (libc_cv_as_i686): Likewise.
27542 (libc_cv_sparc_as_vis3): Likewise.
27543 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27545 (config-asflags-i686): Likewise.
27546 (config-cflags-avx): Likewise.
27547 (config-cflags-sse2avx): Likewise.
27548 (have-mfma4): Likewise.
27549 (config-cflags-novzeroupper): Likewise.
27550 * sysdeps/mach/configure.in (MIG): Likewise.
27551 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27552 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27554 (config-cflags-avx): Likewise.
27555 (config-cflags-sse2avx): Likewise.
27556 (have-mfma4): Likewise.
27557 (config-cflags-novzeroupper): Likewise.
27558 * configure: Regenerated.
27559 * sysdeps/i386/configure: Likewise.
27560 * sysdeps/mach/configure: Likewise.
27561 * sysdeps/sparc/configure: Likewise.
27562 * sysdeps/x86_64/configure: Likewise.
27564 2013-03-20 Roland McGrath <roland@hack.frob.com>
27567 * locale/programs/localedef.c (options): Put N_ translation marker
27568 on argument names, not just descriptions.
27570 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27572 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27574 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
27577 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27579 2013-03-19 Roland McGrath <roland@hack.frob.com>
27581 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27582 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27583 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27584 [!BEFORE_ABORT] (before_abort): New function.
27585 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27586 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27587 (writev_for_fatal): New function.
27588 (WRITEV_FOR_FATAL): New macro; call that.
27589 (backtrace_and_maps): New function.
27590 (BEFORE_ABORT): New macro; call that.
27591 (struct str_list): Type removed.
27592 (__libc_message, __libc_fatal): Functions removed.
27593 Include <sysdeps/posix/libc_fatal.c> instead.
27595 2013-03-19 Joseph Myers <joseph@codesourcery.com>
27597 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27599 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27602 2013-03-19 Andreas Schwab <schwab@suse.de>
27604 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27605 * sysdeps/gnu/configure: Regenerate.
27607 * configure.in: Substitute libc_cv_rtlddir.
27608 * configure: Regenerate.
27609 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27610 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27611 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27612 * elf/Makefile (install-others, CFLAGS-interp.c)
27613 (ldso_install, common-ldd-rewrite): Likewise.
27614 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27615 $(inst_slibdir)/$(rtld-installed-name).
27616 * scripts/rellns-sh: Add -p option.
27617 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27620 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27622 * manual/nptl.texi: Renamed to ...
27623 * manual/threads.texi: ... this.
27624 * manual/Makefile (chapters): Update.
27626 2013-03-18 Roland McGrath <roland@hack.frob.com>
27629 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27630 on argument names, not just descriptions.
27631 * malloc/memusagestat.c (options): Likewise.
27632 * nss/getent.c (options): Likewise.
27634 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
27637 * iconv/iconv_prog.c (options): Put N_ translation marker
27638 on argument names, not just descriptions.
27639 * iconv/iconvconfig.c (options): Likewise.
27641 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
27643 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27644 implementation which is faster on all x86_64 architectures.
27645 Tested on AMD, Intel Nehalem, SNB, IVB.
27646 * sysdeps/x86_64/strnlen.S: Likewise.
27648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27649 Remove all multiarch strlen and strnlen versions.
27650 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27651 Remove strlen and strnlen related parts.
27653 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27654 Inline strlen part.
27655 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27657 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27658 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27659 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27660 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27661 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27662 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27664 2013-03-17 Carlos O'Donell <carlos@redhat.com>
27666 * manual/memory.texi (Malloc Tunable Parameters):
27667 Sort parameters alphabetically. Add comments for missing entries.
27669 2013-03-17 David S. Miller <davem@davemloft.net>
27671 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27673 2013-03-16 Joseph Myers <joseph@codesourcery.com>
27676 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27677 for arguments at most half maximum finite value.
27678 * math/libm-test.inc (j0_test): Add more tests.
27679 (j1_test): Likewise.
27680 (y0_test): Likewise.
27681 (y1_test): Likewise.
27682 * sysdeps/i386/fpu/libm-test-ulps: Update.
27683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27686 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27687 1 / x and functions P and Q for arguments above 0x1p256L.
27688 (__ieee754_y0l): Likewise.
27689 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27690 (__ieee754_y1l): Likewise.
27691 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27692 (j1_test): Likewise.
27693 (y0_test): Likewise.
27694 (y1_test): Likewise.
27696 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27698 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27701 2013-03-15 Roland McGrath <roland@hack.frob.com>
27703 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27704 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27705 zero since it's initialized to EXEC_PAGESIZE.
27707 * sysdeps/unix/sysv/linux/ldsodefs.h
27708 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27709 * sysdeps/generic/ldsodefs.h: ... here.
27711 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27713 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27715 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27717 * math/test-snan.c: Renamed from
27718 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27719 * math/Makefile (tests): Add test-snan.
27720 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27723 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27724 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27726 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27727 __builtin_nan family of functions.
27728 * math/libm-test.inc (initialize): Initialize qnan_value with
27729 __builtin_nan family of functions.
27730 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27732 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27734 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27735 storage class. Initialize qNaN_var and sNaN_var with
27736 __builtin_nan and __builtin_nans families of functions,
27739 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27740 (sqrt_test): Remove duplicate test with qNaN input.
27741 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27742 (round_test, signbit_test, significand_test): Note missing +/-Inf
27743 as well as qNaN tests.
27745 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27746 qNaN_var. Fix a few strings, too.
27747 * math/libm-test.inc (nan_value): Rename to qnan_value.
27748 * math/gen-libm-test.pl (%beautify): Adjust to that.
27749 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27750 * math/test-misc.c (main): Likewise.
27751 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27752 to __qnan_bytes, and __qnan_union, respectively.
27753 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27755 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27756 and lqnanval, respectively.
27757 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27758 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27759 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27760 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27762 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27763 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27766 * math/test-misc.c (main): Fix copy'n'pastos.
27767 * misc/tst-efgcvt.c (special): Likewise.
27769 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27770 Remove declarations.
27772 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27774 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27775 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27776 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27777 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27779 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27781 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27782 macro to return vdso values correctly in IFUNC implementations.
27783 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27784 Optimization by using IFUNC.
27786 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27787 Richard Henderson <rth@redhat.com>
27788 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27790 * Makefile.in (bench): New target.
27791 * NEWS: Mention the benchmark framework.
27792 * Rules (bench): Likewise.
27793 (binaries-bench): Generate binaries for functions to
27795 * benchtests/Makefile: New makefile for benchmark tests.
27796 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27798 * benchtests/exp-inputs: New input file for EXP function.
27799 * benchtests/pow-inputs: New input file for POW function.
27800 * scripts/bench.pl: New script to generate source files for
27801 benchmark programs.
27803 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27805 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27806 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27807 computations on mantissa. Use macros for rounding and
27809 (denorm): Likewise.
27810 (__dbl_mp): Likewise.
27811 (add_magnitudes): Likewise.
27812 (sub_magnitudes): Likewise.
27815 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27816 powers of two in terms of TWOPOW macro.
27817 (mp_no): Make type of mantissa as MANTISSA_T.
27818 [!RADIXI]: Define RADIXI.
27819 [!TWO52]: Define TWO52.
27820 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27822 * manual/nptl.texi (cindex): Modify threads to pthreads.
27824 2013-03-15 Joseph Myers <joseph@codesourcery.com>
27826 * sysdeps/x86_64/preconfigure: Regenerated.
27828 2013-03-14 Joseph Myers <joseph@codesourcery.com>
27831 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27833 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27834 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27836 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27837 * math/libm-test.inc (j0_test): Do not allow one spurious
27838 underflow exception.
27839 (y1_test): Likewise.
27841 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27843 * manual/Makefile (chapters): Add nptl.
27844 * manual/debug.texi (Debugging Support): Add link to Threads
27846 * manual/nptl.texi: New file.
27848 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27850 2013-03-14 Petr Baudis <pasky@ucw.cz>
27852 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27853 for non-NULL pointer before the memory validity test. Pointed
27854 out by Holger Brunck <holger.brunck@keymile.com>.
27856 2013-03-13 Andreas Schwab <schwab@suse.de>
27858 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27861 2013-03-13 Joseph Myers <joseph@codesourcery.com>
27863 * timezone/zic.c: Update from tzcode 2013b.
27865 2013-03-12 Carlos O'Donell <carlos@redhat.com>
27867 * manual/install.texi (Configuring and compiling):
27868 Mention i686 and i586.
27869 * INSTALL: Regenerate.
27871 2013-03-12 Roland McGrath <roland@hack.frob.com>
27873 * sysdeps/init_array/elf-init.c: New file.
27875 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27876 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27878 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27879 __gmon_start__ as global, but as static with a .preinit_array pointer.
27880 * sysdeps/init_array/gmon-start.c: New file. Use that.
27881 * sysdeps/init_array/crti.S: New file, empty except for comments.
27882 * sysdeps/init_array/crtn.S: Likewise.
27884 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
27886 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27888 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27889 Remove Prefer_SSE_for_memop.
27890 * sysdeps/x86_64/multiarch/init-arch.h: Remove
27891 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27892 HAS_PREFER_SSE_FOR_MEMOP.
27893 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27895 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27896 Remove bzero, memset ifunc support.
27897 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27898 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27899 * sysdeps/x86_64/multiarch/memset.S: Likewise.
27900 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27902 2013-03-11 Andreas Schwab <schwab@suse.de>
27905 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27908 (GLIBC_2.16): Remove pthread_atfork.
27910 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
27912 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27913 (ptestcases.h): Likewise.
27915 2013-03-08 Roland McGrath <roland@hack.frob.com>
27917 * Makeconfig ($(common-objpfx)config.status): Depend on
27918 sysdeps/*/preconfigure{,.in} too.
27920 2013-03-08 Joseph Myers <joseph@codesourcery.com>
27922 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27923 (__free_hook): Use void * instead of __malloc_ptr_t.
27924 (__malloc_hook): Likewise.
27925 (__realloc_hook): Likewise.
27926 (__memalign_hook): Likewise.
27927 (__after_morecore_hook): Likewise.
27928 * malloc/arena.c (save_malloc_hook): Likewise.
27929 (save_free_hook): Likewise.
27930 * malloc/hooks.c (malloc_hook_ini): Likewise.
27931 (realloc_hook_ini): Likewise.
27932 (memalign_hook_ini): Likewise.
27933 * malloc/malloc.c (malloc_hook_ini): Likewise.
27934 (realloc_hook_ini): Likewise.
27935 (memalign_hook_ini): Likewise.
27936 (__free_hook): Likewise.
27937 (__malloc_hook): Likewise.
27938 (__realloc_hook): Likewise.
27939 (__memalign_hook): Likewise.
27940 (__libc_malloc): Likewise.
27941 (__libc_free): Likewise.
27942 (__libc_realloc): Likewise.
27943 (__libc_memalign): Likewise.
27944 (__libc_valloc): Likewise.
27945 (__libc_pvalloc): Likewise.
27946 (__libc_calloc): Likewise.
27947 (__posix_memalign): Likewise.
27948 * malloc/morecore.c (__sbrk): Likewise.
27949 (__default_morecore): Likewise.
27951 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27953 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27954 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27955 __malloc_ptrdiff_t.
27957 * malloc/malloc.h (__malloc_size_t): Remove macro.
27958 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27960 (old_memalign_hook): Likewise.
27961 (old_realloc_hook): Likewise.
27962 (struct hdr): Likewise.
27964 (mallochook): Likewise.
27965 (memalignhook): Likewise.
27966 (reallochook): Likewise.
27967 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27968 (tr_old_realloc_hook): Likewise.
27969 (tr_old_memalign_hook): Likewise.
27970 (tr_mallochook): Likewise.
27971 (tr_reallochook): Likewise.
27972 (tr_memalignhook): Likewise.
27974 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27976 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27977 default_ldbl_pack and using as default implementation.
27978 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27980 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27981 redundant definition.
27982 (ldbl_insert_mantissa): Likewise.
27983 (ldbl_canonicalize): Likewise.
27984 (ldbl_nearbyint): Likewise.
27985 (ldbl_pack): Rename to ldbl_pack_ppc.
27986 (ldbl_unpack): Rename to ldbl_unpack_ppc.
27987 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27988 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27990 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
27992 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27993 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27994 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27995 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27996 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27997 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27998 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27999 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28001 2013-03-07 Andreas Jaeger <aj@suse.de>
28003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28006 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28008 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28009 Include mpa.h and declare __MPEXP.
28010 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28011 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28012 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28013 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28014 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28015 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28016 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28018 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28019 (__slowpow): Use long double EXPL and LOGL functions to
28021 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28022 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28023 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28024 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28025 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28026 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28028 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28029 intermediate variable to calculate exponent.
28031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28035 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28036 [!NO__SQR]: Define __sqr.
28037 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28038 and NO__SQR. Remove all code except __mul and __sqr. Include
28039 sysdeps/ieee754/dbl-64/mpa.c.
28040 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28043 * posix/Makefile (tests): Add tst-pathconf.
28044 * posix/tst-pathconf.c: New test case.
28045 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28047 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28049 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28051 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28053 2013-03-06 Andreas Jaeger <aj@suse.de>
28055 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28056 definition via __MAP_ANONYMOUS.
28058 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28059 it's not part of Linux headers.
28061 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28062 (MAP_HUGE_MASK): Define.
28064 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28066 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28067 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28069 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28070 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28072 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28073 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28075 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28077 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28078 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28079 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28080 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28081 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28082 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28084 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28087 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28088 Handle f2fs and efivarfs.
28090 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28093 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28094 (EFIVARFS_MAGIC): Add.
28095 (F2FS_LINK_MAX): Add.
28097 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28099 * stdio-common/vfprintf.c: Replace __builtin_expect with
28102 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28105 * sysdeps/generic/bp-sym.h: Remove file.
28106 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28107 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28108 <bp-sym.h> and <bp-asm.h>.
28109 (__longjmp): Don't use BP_SYM.
28110 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28112 (memcpy): Don't use BP_SYM.
28113 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28114 <bp-sym.h> and <bp-asm.h>.
28115 (memcpy): Don't use BP_SYM.
28116 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28118 (memcpy): Don't use BP_SYM.
28119 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28121 (memset): Don't use BP_SYM.
28122 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28123 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28124 (__bzero): Don't use BP_SYM.
28125 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28126 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28127 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28128 <bp-sym.h> and <bp-asm.h>.
28129 (memcmp): Don't use BP_SYM. Remove comment about bounded
28131 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28132 <bp-sym.h> and <bp-asm.h>.
28133 (memcpy): Don't use BP_SYM.
28134 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28135 <bp-sym.h> and <bp-asm.h>.
28136 (memset): Don't use BP_SYM.
28137 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28138 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28139 (__bzero): Don't use BP_SYM.
28140 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28141 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28142 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28143 <bp-sym.h> and <bp-asm.h>.
28144 (strncmp): Don't use BP_SYM. Remove comment about bounded
28146 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28147 <bp-sym.h> and <bp-asm.h>.
28148 (memcpy): Don't use BP_SYM.
28149 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28150 <bp-sym.h> and <bp-asm.h>.
28151 (memset): Don't use BP_SYM.
28152 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28153 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28154 (__bzero): Don't use BP_SYM.
28155 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28156 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28157 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28158 <bp-sym.h> and <bp-asm.h>.
28159 (__memchr): Don't use BP_SYM.
28160 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28161 <bp-sym.h> and <bp-asm.h>.
28162 (memcmp): Don't use BP_SYM. Remove comment about bounded
28164 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28165 <bp-sym.h> and <bp-asm.h>.
28166 (memcpy): Don't use BP_SYM.
28167 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28168 <bp-sym.h> and <bp-asm.h>.
28169 (__mempcpy): Don't use BP_SYM.
28170 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28171 <bp-sym.h> and <bp-asm.h>.
28172 (__memrchr): Don't use BP_SYM.
28173 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28174 <bp-sym.h> and <bp-asm.h>.
28175 (memset): Don't use BP_SYM.
28176 (__bzero): Likewise.
28177 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28178 <bp-sym.h> and <bp-asm.h>.
28179 (__rawmemchr): Don't use BP_SYM.
28180 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28181 <bp-sym.h> and <bp-asm.h>.
28182 (__STRCMP): Don't use BP_SYM.
28183 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28184 <bp-sym.h> and <bp-asm.h>.
28185 (strchr): Don't use BP_SYM.
28186 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28187 <bp-sym.h> and <bp-asm.h>.
28188 (__strchrnul): Don't use BP_SYM.
28189 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28190 <bp-sym.h> and <bp-asm.h>.
28191 (strlen): Don't use BP_SYM.
28192 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28193 <bp-sym.h> and <bp-asm.h>.
28194 (strncmp): Don't use BP_SYM. Remove comment about bounded
28196 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28197 <bp-sym.h> and <bp-asm.h>.
28198 (__strnlen): Don't use BP_SYM.
28199 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28200 <bp-sym.h> and <bp-asm.h>.
28201 (__GI__setjmp): Don't use BP_SYM.
28202 (_setjmp): Likewise.
28203 (__sigsetjmp): Likewise.
28204 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28205 (L(start_addresses)): Don't use BP_SYM.
28206 (_start): Likewise.
28207 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28209 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28210 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28211 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28212 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28213 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28215 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28216 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28217 about bounded pointers.
28218 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28219 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28220 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28222 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28223 about bounded pointers. Remove GKM FIXME comments.
28224 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28225 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28227 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28228 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28229 Remove GKM FIXME comments.
28230 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28231 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28232 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28234 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28235 about bounded pointers. Remove GKM FIXME comment.
28236 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28238 (strncmp): Don't use BP_SYM. Remove comment about bounded
28240 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28241 <bp-sym.h> and <bp-asm.h>.
28242 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28244 <bp-sym.h> and <bp-asm.h>.
28245 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28248 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28250 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28253 2013-03-05 David S. Miller <davem@davemloft.net>
28255 * po/es.po: Update from translation team.
28257 2013-03-05 Andreas Jaeger <aj@suse.de>
28259 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28260 <bits/mman-linux.h>.
28261 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28263 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28264 <bits/mman-linux.h> to end of file.
28265 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28267 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28268 <bits/mman-linux.h> to end of file.
28269 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28271 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28272 <bits/mman-linux.h> to end of file.
28274 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28275 (MCL_CURRENT, MCL_FUTURE): Define here.
28277 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28280 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28282 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28284 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28286 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28287 fourth parameter needed for rt_sigprocmask syscall.
28288 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28289 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28290 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28291 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28292 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28293 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28295 2013-03-04 Joseph Myers <joseph@codesourcery.com>
28298 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28299 comment about bounded pointers.
28300 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28301 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28303 2013-03-04 Andreas Jaeger <aj@suse.de>
28305 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28306 common definitions.
28308 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28309 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28310 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28311 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28312 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28313 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28315 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28318 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28319 __ieee754_sqrl instead of __sqrl.
28321 2013-03-01 Joseph Myers <joseph@codesourcery.com>
28323 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28324 * sysdeps/powerpc/fpu_control.h: ... here.
28325 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28326 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28327 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28328 * sysdeps/powerpc/bits/mathinline.h: ... here.
28330 2013-03-01 Roland McGrath <roland@hack.frob.com>
28332 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28333 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28334 to just [NEED_DL_SYSINFO_DSO].
28335 * elf/dl-support.c: Likewise.
28336 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28337 * elf/rtld.c (dl_main): Likewise.
28338 * elf/setup-vdso.h (setup_vdso): Likewise.
28339 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28340 * sysdeps/unix/sysv/linux/dl-sysdep.c
28341 (_dl_discover_osversion): Likewise.
28343 2013-03-01 Carlos O'Donell <carlos@redhat.com>
28345 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28346 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28348 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28350 * NEWS: Mention libm performance improvements and non-x86 PI
28353 * csu/libc-start.c (__pthread_initialize_minimal): Change
28354 function arguments.
28355 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28357 2013-02-28 Joseph Myers <joseph@codesourcery.com>
28360 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28361 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28362 <bp-sym.h> and <bp-asm.h>.
28363 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28364 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28366 (memcpy): Don't use BP_SYM.
28367 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28369 (__mpn_add_n): Don't use BP_SYM.
28370 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28371 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28373 (__mpn_addmul_1): Don't use BP_SYM.
28374 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28375 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28377 (_setjmp): Don't use BP_SYM.
28378 (__novmx_setjmp): Likewise.
28379 (__GI__setjmp): Likewise.
28380 (__vmx_setjmp): Likewise.
28381 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28383 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28384 (__bzero): Don't use BP_SYM.
28385 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28386 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28387 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28388 <bp-sym.h> and <bp-asm.h>.
28389 (memcpy): Don't use BP_SYM.
28390 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28391 <bp-sym.h> and <bp-asm.h>.
28392 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28393 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28394 <bp-sym.h> and <bp-asm.h>.
28395 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28396 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28398 (__mpn_lshift): Don't use BP_SYM.
28399 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28400 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28402 (memset): Don't use BP_SYM.
28403 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28404 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28405 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28407 (__mpn_mul_1): Don't use BP_SYM.
28408 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28409 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28410 <bp-sym.h> and <bp-asm.h>.
28411 (memcmp): Don't use BP_SYM.
28412 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28413 <bp-sym.h> and <bp-asm.h>.
28414 (memcpy): Don't use BP_SYM.
28415 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28416 <bp-sym.h> and <bp-asm.h>.
28417 (memset): Don't use BP_SYM.
28418 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28419 <bp-sym.h> and <bp-asm.h>.
28420 (strncmp): Don't use BP_SYM.
28421 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28422 <bp-sym.h> and <bp-asm.h>.
28423 (memcpy): Don't use BP_SYM.
28424 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28425 <bp-sym.h> and <bp-asm.h>.
28426 (memset): Don't use BP_SYM.
28427 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28428 <bp-sym.h> and <bp-asm.h>.
28429 (__memchr): Don't use BP_SYM.
28430 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28431 <bp-sym.h> and <bp-asm.h>.
28432 (memcmp): Don't use BP_SYM.
28433 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28434 <bp-sym.h> and <bp-asm.h>.
28435 (memcpy): Don't use BP_SYM.
28436 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28437 <bp-sym.h> and <bp-asm.h>.
28438 (__mempcpy): Don't use BP_SYM.
28439 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28440 <bp-sym.h> and <bp-asm.h>.
28441 (__memrchr): Don't use BP_SYM.
28442 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28443 <bp-sym.h> and <bp-asm.h>.
28444 (memset): Don't use BP_SYM.
28445 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28446 <bp-sym.h> and <bp-asm.h>.
28447 (__rawmemchr): Don't use BP_SYM.
28448 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28449 <bp-sym.h> and <bp-asm.h>.
28450 (__STRCMP): Don't use BP_SYM.
28451 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28452 <bp-sym.h> and <bp-asm.h>.
28453 (strchr): Don't use BP_SYM.
28454 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28455 <bp-sym.h> and <bp-asm.h>.
28456 (__strchrnul): Don't use BP_SYM.
28457 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28458 <bp-sym.h> and <bp-asm.h>.
28459 (strlen): Don't use BP_SYM.
28460 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28461 <bp-sym.h> and <bp-asm.h>.
28462 (strncmp): Don't use BP_SYM.
28463 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28464 <bp-sym.h> and <bp-asm.h>.
28465 (__strnlen): Don't use BP_SYM.
28466 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28468 (__mpn_rshift): Don't use BP_SYM.
28469 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28470 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28471 <bp-sym.h> and <bp-asm.h>.
28472 (__sigsetjmp): Don't use BP_SYM.
28473 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28474 (L(start_addresses)): Don't use BP_SYM.
28475 (_start): Likewise.
28476 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28478 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28479 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28480 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28481 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28483 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28484 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28485 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28486 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28488 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28490 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28491 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28493 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
28495 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28496 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28497 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28499 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28501 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28503 (strncmp): Don't use BP_SYM,
28504 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28506 (__mpn_sub_n): Don't use BP_SYM.
28507 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28508 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28510 (__mpn_submul_1): Don't use BP_SYM.
28511 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28513 <bp-sym.h> and <bp-asm.h>.
28514 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28516 <bp-sym.h> and <bp-asm.h>.
28517 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28520 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28522 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28523 Use ZK to minimize writes to Z.
28524 (sub_magnitudes): Simplify code a bit.
28525 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28526 Use ZK to minimize writes to Z.
28527 (sub_magnitudes): Simplify code a bit.
28529 2013-02-27 Roland McGrath <roland@hack.frob.com>
28531 * csu/gmon-start.c: Add special exception to license text.
28533 2013-02-27 Richard Henderson <rth@redhat.com>
28535 * scripts/config.guess: Update from config.git.
28536 * scripts/config.sub: Likewise.
28538 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28540 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28542 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28544 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28546 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28548 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28550 2013-02-26 Roland McGrath <roland@hack.frob.com>
28552 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28553 [$(build-shared = yes].
28555 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28557 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28558 (__mul): Reduce iterations for calculating mantissa.
28560 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28562 (__mpranred): Likewise.
28565 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28566 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28568 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28570 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28571 Define __attribute__.
28573 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28575 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28577 * posix/regex_internal.h (__attribute): Remove.
28578 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28579 (re_string_context_at): Likewise.
28580 (bitset_not): Use __attribute__ and mark function as possibly
28582 (bitset_merge): Likewise.
28583 (bitset_mask): Likewise.
28584 (re_string_char_size_at): Likewise.
28585 (re_string_wchar_at): Likewise.
28586 (re_string_elem_size_at): Likewise.
28588 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28590 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28594 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28598 (denorm): Likewise.
28599 (__dbl_mp): Likewise.
28600 (add_magnitudes): Likewise.
28601 (sub_magnitudes): Likewise.
28605 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28608 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28611 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28614 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28615 up changes with default code.
28616 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28619 2013-02-24 Allan McRae <allan@archlinux.org>
28621 * manual/socket.texi (The Internet Namespace): Order menu items
28622 to match that in the file.
28624 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28625 node listing of the info page menu.
28627 2013-02-21 Joseph Myers <joseph@codesourcery.com>
28630 * sysdeps/i386/bp-asm.h: Remove file.
28631 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28632 (PARMS): Do not use macros from bp-asm.h.
28636 (__mpn_add_n): Do not use BP_SYM
28637 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28639 (PARMS): Do not use macros from bp-asm.h.
28642 (__mpn_addmul_1): Do not use BP_SYM
28643 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28645 (PARMS): Do not use macros from bp-asm.h.
28646 (SIGMSK): Likewise.
28647 (_setjmp): Likewise. Do not use BP_SYM.
28648 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28650 (PARMS): Do not use macros from bp-asm.h.
28651 (SIGMSK): Likewise.
28652 (setjmp): Likewise. Do not use BP_SYM.
28653 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28655 (PARMS): Do not use macros from bp-asm.h.
28656 (__frexp): Do not use BP_SYM.
28658 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28660 (PARMS): Do not use macros from bp-asm.h.
28661 (__frexpf): Do not use BP_SYM.
28662 (frexpf): Likewise.
28663 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28665 (PARMS): Do not use macros from bp-asm.h.
28666 (__frexpl): Do not use BP_SYM.
28667 (frexpl): Likewise.
28668 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28670 (PARMS): Do not use macros from bp-asm.h.
28671 (__remquo): Do not use BP_SYM.
28672 (remquo): Likewise.
28673 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28675 (PARMS): Do not use macros from bp-asm.h.
28676 (__remquof): Do not use BP_SYM.
28677 (remquof): Likewise.
28678 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28680 (PARMS): Do not use macros from bp-asm.h.
28681 (__remquol): Do not use BP_SYM.
28682 (remquol): Likewise.
28683 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28685 (PARMS): Do not use macros from bp-asm.h.
28688 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28689 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28691 (PARMS): Do not use macros from bp-asm.h.
28692 (strlen): Do not use BP_SYM.
28693 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28695 (PARMS): Do not use macros from bp-asm.h.
28699 (__mpn_add_n): Do not use BP_SYM.
28700 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28702 (PARMS): Do not use macros from bp-asm.h.
28705 (__mpn_addmul_1): Do not use BP_SYM.
28706 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28709 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28711 (PARMS): Do not use macros from bp-asm.h.
28714 (__mpn_lshift): Do not use BP_SYM.
28715 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28717 (PARMS): Do not use macros from bp-asm.h.
28721 (memcpy): Likewise. Do not use BP_SYM.
28722 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28723 libc_hidden_def and weak_alias.
28724 (mempcpy): Do not use BP_SYM in weak_alias.
28725 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28727 (PARMS): Do not use macros from bp-asm.h.
28730 [!BZERO_P] (CHR): Likewise.
28731 (memset): Likewise. Do not use BP_SYM.
28732 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28734 (PARMS): Do not use macros from bp-asm.h.
28737 (__mpn_mul_1): Do not use BP_SYM.
28738 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28740 (PARMS): Do not use macros from bp-asm.h.
28743 (__mpn_rshift): Do not use BP_SYM.
28744 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28746 (PARMS): Do not use macros from bp-asm.h.
28749 (strchr): Likewise. Do not use BP_SYM.
28750 (index): Do not use BP_SYM in weak_alias.
28751 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28753 (PARMS): Do not use macros from bp-asm.h.
28756 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28757 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28759 (PARMS): Do not use macros from bp-asm.h.
28760 (strlen): Do not use BP_SYM.
28761 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28763 (PARMS): Do not use macros from bp-asm.h.
28767 (__mpn_sub_n): Do not use BP_SYM.
28768 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28770 (PARMS): Do not use macros from bp-asm.h.
28773 (__mpn_submul_1): Do not use BP_SYM.
28774 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28776 (PARMS): Do not use macros from bp-asm.h.
28780 (__mpn_add_n): Do not use BP_SYM.
28781 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28784 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28786 (PARMS): Do not use macros from bp-asm.h.
28789 (memcmp): Do not use BP_SYM.
28790 (bcmp): Do not use BP_SYM in weak_alias.
28791 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28793 (PARMS): Do not use macros from bp-asm.h.
28797 (memcpy): Likewise. Do not use BP_SYM.
28798 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28800 (PARMS): Do not use macros from bp-asm.h.
28804 (memmove): Likewise. Do not use BP_SYM.
28805 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28807 (PARMS): Do not use macros from bp-asm.h.
28811 (__mempcpy): Likewise. Do not use BP_SYM.
28812 (mempcpy): Do not use BP_SYM in weak_alias.
28813 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28815 (PARMS): Do not use macros from bp-asm.h.
28818 [!BZERO_P] (CHR): Likewise.
28819 (memset): Likewise. Do not use BP_SYM.
28820 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28822 (PARMS): Do not use macros from bp-asm.h.
28824 (strcmp): Do not use BP_SYM.
28825 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28827 (PARMS): Do not use macros from bp-asm.h.
28830 [USE_AS_STRTOK_R] (SAVE): Likewise.
28831 (FUNCTION): Likewise. Do not use BP_SYM.
28832 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28834 (strtok_r): Likewise.
28835 (__GI___strtok_r): Likewise.
28836 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28837 (PARMS): Do not use macros from bp-asm.h.
28840 (__mpn_lshift): Do not use BP_SYM.
28841 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28842 (PARMS): Do not use macros from bp-asm.h.
28845 (__memchr): Do not use BP_SYM.
28846 (memchr): Do not use BP_SYM in weak_alias.
28847 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28848 (PARMS): Do not use macros from bp-asm.h.
28851 (memcmp): Do not use BP_SYM.
28852 (bcmp): Do not use BP_SYM in weak_alias.
28853 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28854 (PARMS): Do not use macros from bp-asm.h.
28857 (__mpn_mul_1): Do not use BP_SYM.
28858 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28860 (PARMS): Do not use macros from bp-asm.h.
28863 (__rawmemchr): Do not use BP_SYM.
28864 (rawmemchr): Do not use BP_SYM in weak_alias.
28865 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28866 (PARMS): Do not use macros from bp-asm.h.
28869 (__mpn_rshift): Do not use BP_SYM.
28870 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28871 (PARMS): Do not use macros from bp-asm.h.
28872 (SIGMSK): Likewise.
28873 (__sigsetjmp): Likewise. Do not use BP_SYM.
28874 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28875 (_start): Do not use BP_SYM.
28876 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28877 (PARMS): Do not use macros from bp-asm.h.
28880 (__stpcpy): Likewise. Do not use BP_SYM.
28881 (stpcpy): Do not use BP_SYM in weak_alias.
28882 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28884 (PARMS): Do not use macros from bp-asm.h.
28888 (__stpncpy): Likewise. Do not use BP_SYM.
28889 (stpncpy): Do not use BP_SYM in weak_alias.
28890 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28891 (PARMS): Do not use macros from bp-asm.h.
28894 (strchr): Likewise. Do not use BP_SYM.
28895 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28897 (PARMS): Do not use macros from bp-asm.h.
28900 (__strchrnul): Likewise. Do not use BP_SYM.
28901 (strchrnul): Do not use BP_SYM in weak_alias.
28902 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28904 (PARMS): Do not use macros from bp-asm.h.
28906 (strcspn): Do not use BP_SYM.
28907 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28909 (PARMS): Do not use macros from bp-asm.h.
28912 (strpbrk): Likewise. Do not use BP_SYM.
28913 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28915 (PARMS): Do not use macros from bp-asm.h.
28918 (strrchr): Likewise. Do not use BP_SYM.
28919 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28920 (PARMS): Do not use macros from bp-asm.h.
28922 (strspn): Do not use BP_SYM.
28923 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28924 (PARMS): Do not use macros from bp-asm.h.
28928 (FUNCTION): Likewise. Do not use BP_SYM.
28929 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28931 (strtok_r): Likewise.
28932 (__GI___strtok_r): Likewise.
28933 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28934 (PARMS): Do not use macros from bp-asm.h.
28938 (__mpn_sub_n): Do not use BP_SYM.
28939 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
28941 (PARMS): Do not use macros from bp-asm.h.
28944 (__mpn_submul_1): Do not use BP_SYM.
28945 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28947 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28949 (PARMS): Do not use macros from bp-asm.h.
28954 (__clone): Do not use BP_SYM.
28955 (clone): Do not use BP_SYM in weak_alias.
28956 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28958 (PARMS): Do not use macros from bp-asm.h.
28960 (__mmap64): Do not use BP_SYM.
28961 (mmap64): Do not use BP_SYM in weak_alias.
28962 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28963 <bp-sym.h> and <bp-asm.h>.
28964 (PARMS): Do not use macros from bp-asm.h.
28965 (__posix_fadvise64_l64): Do not use BP_SYM.
28966 * sysdeps/unix/sysv/linux/i386/semtimedop.S
28967 (PARMS): Do not use macros from bp-asm.h.
28969 (semtimedop): Do not use BP_SYM.
28970 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28973 2013-02-21 Allan McRae <allan@archlinux.org>
28975 * manual/message.texi (Charset conversion in gettext):
28976 Move @end statement to beginning of line.
28978 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28980 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28985 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28986 (denorm): Likewise.
28987 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28990 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28992 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28993 tail-call to the resolved function if pltexit isn't needed.
28995 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
28997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28998 or Y being zero as being unlikely.
28999 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29002 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29004 * manual/nss.texi (System Databases and Name Service Switch):
29005 Remove frobnicate @pxref.
29007 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29009 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29010 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29012 2013-02-20 Petr Machata <pmachata@redhat.com>
29014 * elf/elf.h (R_ARM_TARGET1): New macro.
29015 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29016 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29017 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29018 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29019 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29020 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29021 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29022 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29023 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29024 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29025 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29026 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29027 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29028 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29029 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29030 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29031 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29032 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29033 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29034 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29035 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29036 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29037 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29038 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29039 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29040 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29041 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29042 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29043 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29044 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29045 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29046 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29047 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29048 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29049 (R_ARM_THM_GOT_BREL12): Likewise.
29050 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29051 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29052 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29053 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29054 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29055 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29056 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29057 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29058 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29060 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29062 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29063 __attribute_used__ to __attribute__ ((unused)).
29065 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29067 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29069 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29070 comment formatting.
29071 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29073 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29076 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29078 (ENTER): Remove both macro definitions.
29080 (CHECK_BOUNDS_LOW): Likewise.
29081 (CHECK_BOUNDS_HIGH): Likewise.
29082 (CHECK_BOUNDS_BOTH): Likewise.
29083 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29084 (RETURN_BOUNDED_POINTER): Likewise.
29085 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29086 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29087 (POP_ERRNO_LOCATION_RETURN): Likewise.
29088 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29089 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29090 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29092 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29093 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29094 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29095 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29096 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29097 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29098 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29099 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29100 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29101 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29102 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29103 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29104 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29105 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29107 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29108 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29110 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29111 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29112 * sysdeps/i386/i586/memset.S (memset): Likewise.
29113 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29114 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29115 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29117 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29118 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29119 Change uses of L(2) to L(out).
29120 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29121 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29122 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29123 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29124 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29126 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29127 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29129 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29130 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29131 (RETURN): Do not use macro LEAVE.
29132 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29133 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29134 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29135 * sysdeps/i386/i686/memset.S (memset): Likewise.
29136 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29137 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29138 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29139 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29141 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29142 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29143 L(1_2) and L(1_3) into L(1).
29144 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29145 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29146 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29147 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29148 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29149 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29150 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29151 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29152 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29154 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29155 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29156 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29157 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29158 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29159 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29160 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29161 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29162 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29163 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29164 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29165 * sysdeps/i386/strspn.S (strspn): Likewise.
29166 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29168 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29169 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29170 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29171 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29172 L(1_3) into L(1_1).
29173 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29174 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29175 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29177 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29179 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29181 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29184 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29186 * math/atest-exp.c (exp_mpn): Remove ROUND.
29187 * math/atest-exp2.c (exp_mpn): Likewise.
29188 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29190 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29191 * stdlib/tst-tls-atexit-lib.c: Likewise.
29192 * stdlib/tst-tls-atexit.c: Likewise.
29194 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29196 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29197 and __attribute_alloc_size__.
29199 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29201 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29202 __attribute_alloc_size__.
29203 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29204 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29206 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29208 * include/programs/xmalloc.h: New file.
29209 * catgets/gencat.c: Include it.
29210 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29211 * elf/pldd.c: Likewise.
29212 * iconv/iconv_charmap.c: Likewise.
29213 * iconv/iconvconfig.c: Likewise.
29214 * iconv/strtab.c: Likewise.
29215 * locale/programs/locale.c: Likewise.
29216 * locale/programs/localedef.h: Likewise.
29217 * locale/programs/simple-hash.c: Likewise.
29218 * nscd/nscd.h: Likewise.
29219 * nss/makedb.c: Likewise.
29220 * sysdeps/generic/ldconfig.h: Likewise.
29222 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29224 * Versions.def: Add GLIBC_2.18.
29225 * include/link.h (struct link_map): New member l_tls_dtor_count.
29226 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29227 (__call_tls_dtors): Likewise.
29228 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29229 __cxa_thread_atexit_impl.
29230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29234 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29236 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29238 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29243 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29244 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29246 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29247 (tests): Add test case tst-tls-atexit.
29248 (modules-names): Add shared library for tst-tls-atexit.
29249 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29250 (GLIBC_PRIVATE): Add __call_tls_dtors.
29251 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29253 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29254 * stdlib/tst-tls-atexit.c: New test case.
29255 * stdlib/tst-tls-atexit-lib.c: New test case.
29257 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29259 * elf/Versions (ld): Add _dl_find_dso_for_object.
29260 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29261 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29262 (dl_open_worker): Use _dl_find_dso_for_object.
29263 * elf/dl-sym.c (do_sym): Likewise.
29264 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29266 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29268 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29269 Syntactic changes only.
29270 (_dl_runtime_profile): Do a tail-call to the resolved function.
29272 2013-02-17 Joseph Myers <joseph@codesourcery.com>
29275 * sysdeps/x86_64/bp-asm.h: Remove file.
29276 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29277 <bp-sym.h> and <bp-asm.h>.
29278 (__clone): Do not use BP_SYM.
29279 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29280 <bp-sym.h> and <bp-asm.h>.
29281 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29282 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29284 (_setjmp): Do not use BP_SYM.
29285 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29287 (setjmp): Do not use BP_SYM.
29288 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29290 (mempcpy): Do not use BP_SYM in weak_alias.
29291 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29293 (strchr): Do not use BP_SYM.
29294 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29296 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29297 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29298 (_start): Do not use BP_SYM.
29299 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29301 (strcat): Do not use BP_SYM.
29302 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29304 (STRCMP): Do not use BP_SYM.
29305 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29307 (STRCPY): Do not use BP_SYM.
29308 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29310 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29312 (FUNCTION): Do not use BP_SYM.
29313 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29315 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29317 2013-02-17 Andreas Jaeger <aj@suse.de>
29319 * time/Versions: Sort entries.
29320 * string/Versions: Likewise.
29321 * resolv/Versions: Likewise.
29322 * posix/Versions: Likewise.
29323 * iconv/Versions: Likewise.
29324 * elf/Versions: Likewise.
29325 * wcsmbs/Versions: Likewise.
29327 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29329 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29330 loop termination condition.
29332 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29333 variable to calculate EZ.
29336 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29337 the lower precision input.
29339 2013-02-15 Joseph Myers <joseph@codesourcery.com>
29342 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29343 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29344 (run-via-rtld-prefix): Do not handle %-bp tests.
29345 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29346 (all-object-suffixes): Remove .ob.
29347 (bppfx): Remove variable.
29348 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29349 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29350 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29351 [$(build-bounded) = yes] (libtype.ob): Likewise.
29352 * Makerules (elide-routines.ob): Remove variable.
29353 (do-tests-clean): Do not handle *-bp.out.
29354 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29355 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29356 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29357 (tests): Do not include $(tests-bp.out).
29358 (xtests): Do not include $(xtests-bp.out).
29359 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29360 [$(build-bounded) = yes] ($(addprefix
29361 $(objpfx),$(binaries-bounded))): Remove rule.
29362 ($(objpfx)%-bp.out): Remove rule.
29363 * config.make.in (build-bounded): Remove variable.
29364 * crypt/Makefile [$(build-bounded) = yes]
29365 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29366 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29367 append to variable.
29368 [$(build-bounded) = yes] (install-lib): Likewise.
29369 [$(build-bounded) = yes] (generated): Likewise.
29370 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29372 * intl/Makefile [$(build-bounded) = yes]
29373 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29374 * math/Makefile [$(build-bounded) = yes]
29375 ($(tests:%=$(objpfx)%-bp): Likewise.
29376 * misc/Makefile [$(build-bounded) = yes]
29377 ($(objpfx)tst-tsearch-bp): Likewise.
29378 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29379 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29381 * string/Makefile (o-objects.ob): Remove variable.
29382 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29383 (CFLAGS-.ob): Remove variable.
29384 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29385 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29386 both definitions of variable.
29387 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29388 (ASFLAGS-.ob): Remove variable.
29390 2013-02-14 Joseph Myers <joseph@codesourcery.com>
29393 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29394 Remove __BOUNDED_POINTERS__ from condition.
29395 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29396 * string/bits/string2.h [!__NO_STRING_INLINES &&
29397 !__BOUNDED_POINTERS__]: Likewise.
29398 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29400 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29401 Remove conditional code.
29402 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29403 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29404 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29408 * csu/libc-start.c: Do not include <bp-sym.h>.
29409 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29410 * elf/dl-open.c: Do not include <bp-sym.h>.
29411 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29412 * math/fegetenv.c: Do not include <bp-sym.h>.
29413 (fegetenv): Do not use BP_SYM in versioned symbols.
29414 * nptl/sysdeps/pthread/bits/libc-lockP.h
29415 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29417 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29418 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29419 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29420 (__pthread_mutex_destroy): Likewise.
29421 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29422 (__pthread_mutex_lock): Likewise.
29423 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29424 (__pthread_mutex_trylock): Likewise.
29425 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29426 (__pthread_mutex_unlock): Likewise.
29427 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29428 (__pthread_mutexattr_init): Likewise.
29429 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29430 (__pthread_mutexattr_destroy): Likewise.
29431 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29432 (__pthread_mutexattr_settype): Likewise.
29433 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29434 (__pthread_rwlock_init): Likewise.
29435 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29436 (__pthread_rwlock_destroy): Likewise.
29437 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29438 (__pthread_rwlock_rdlock): Likewise.
29439 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29440 (__pthread_rwlock_tryrdlock): Likewise.
29441 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29442 (__pthread_rwlock_wrlock): Likewise.
29443 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29444 (__pthread_rwlock_trywrlock): Likewise.
29445 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29446 (__pthread_rwlock_unlock): Likewise.
29447 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29448 (__pthread_key_create): Likewise.
29449 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29450 (__pthread_setspecific): Likewise.
29451 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29452 (__pthread_getspecific): Likewise.
29453 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29455 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29456 (_pthread_cleanup_push_defer): Likewise.
29457 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29458 (_pthread_cleanup_pop_restore): Likewise.
29459 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29460 (pthread_setcancelstate): Likewise.
29461 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29463 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29464 (memchr): Do not use BP_SYM in weak_alias.
29465 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29466 (fegetenv): Do not use BP_SYM in versioned symbols.
29467 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29468 (fesetenv): Do not use BP_SYM in versioned symbols.
29469 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29470 (feupdateenv): Do not use BP_SYM in versioned symbols.
29471 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29472 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29473 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29474 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29475 (open64): Do not use BP_SYM in weak_alias.
29476 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29477 (fegetenv): Do not use BP_SYM in versioned symbols.
29478 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29479 (fesetenv): Do not use BP_SYM in versioned symbols.
29480 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29481 (feupdateenv): Do not use BP_SYM in versioned symbols.
29482 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29483 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29484 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29485 (feraiseexcept): Do not use BP_SYM in versioned symbols.
29486 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29487 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29488 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29490 (__libc_start_main): Do not use BP_SYM.
29492 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29494 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29495 redundant return line.
29497 (denorm): Likewise.
29498 (dbl_mp): Likewise.
29499 (sub_magnitudes): Likewise.
29505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29507 (denorm): Likewise.
29508 (dbl_mp): Likewise.
29509 (sub_magnitudes): Likewise.
29516 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29518 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29519 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29522 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29523 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29524 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29525 of __mul for squares.
29526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29530 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29531 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29533 2013-02-13 Joseph Myers <joseph@codesourcery.com>
29536 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29538 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29539 prototype or function definition. Rename ubp_* variables and
29540 parameters. Remove argv definitions conditional on
29541 [__BOUNDED_POINTERS__].
29542 * debug/backtrace.c (__backtrace): Do not use __unbounded.
29543 * elf/dl-runtime.c (_dl_fixup): Likewise.
29544 * include/set-hooks.h (RUN_HOOK): Likewise.
29545 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29547 * string/strcpy.c (strcpy): Do not use __unbounded.
29548 * sysdeps/generic/frame.h (struct layout): Likewise.
29549 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29550 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29551 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29552 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29553 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29554 (__backtrace): Likewise.
29555 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29557 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29558 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29559 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29561 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29562 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29563 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29564 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29565 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29566 Do not use __unbounded.
29567 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29568 Rename __unboundedrlimits parameter to rlimits in prototype.
29569 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29570 Do not use __unbounded.
29571 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29572 not use __ptrvalue.
29573 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29574 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29575 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29576 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29577 __ptrvalue or __unbounded.
29578 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29579 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29581 (__new_msgctl): Do not use __ptrvalue.
29582 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29584 (__libc_msgrcv): Do not use __ptrvalue.
29585 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29586 startup_info): Do not use __unbounded.
29587 (__libc_start_main): Likewise. Rename ubp_* variables and
29588 parameters. Remove argv definitions conditional on
29589 [__BOUNDED_POINTERS__].
29590 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29592 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29594 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29596 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29598 (__new_shmctl): Do not use __ptrvalue.
29599 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29600 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29602 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29603 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29604 (__libc_sigaction): Likewise.
29605 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29606 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29608 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29610 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
29612 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29614 * string/mempcpy.c: Implement by calling memcpy.
29616 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29618 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29620 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29623 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29624 values in the mantissa.
29626 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29627 minimize writes to Z.
29628 (sub_magnitudes): Simplify code a bit.
29630 2013-02-12 Roland McGrath <roland@hack.frob.com>
29632 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29633 from the message. The linker prefixes all warnings with that already.
29635 2013-02-12 Andreas Schwab <schwab@suse.de>
29638 * posix/regexec.c (extend_buffers): Add parameter min_len.
29639 (check_matching): Pass minimum needed length.
29640 (clean_state_log_if_needed): Likewise.
29641 (get_subexp): Likewise.
29642 * posix/Makefile (tests): Add bug-regex34.
29643 (bug-regex34-ENV): Define.
29644 * posix/bug-regex34.c: New file.
29647 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29648 elements compare against the byte sequence of it, not its name.
29649 * posix/Makefile (tests): Add bug-regex35.
29650 (bug-regex35-ENV): Define.
29651 * posix/bug-regex35.c: New file.
29653 2013-02-11 Tom de Vries <tom@codesourcery.com>
29655 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29657 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29658 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29659 (CHECK_EOL): Add undef.
29661 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
29663 * bits/stdlib-bsearch.h: New file.
29664 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29665 * stdlib/stdlib.h: Likewise.
29667 2013-02-11 Roland McGrath <roland@hack.frob.com>
29669 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29670 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29672 * manual/search.texi (Array Search Function): Add missing const in
29674 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29675 declaration to use rlim_t.
29676 (Basic Scheduling Functions): Remove erroneous const from
29677 sched_getparam prototype. Remove erroneous * from
29678 sched_get_priority_max and sched_get_priority_min prototypes.
29679 (Resource Usage): Fix summary @comment on vtimes to refer to
29680 sys/vtimes.h rather than vtimes.h.
29681 Add missing *s in vtimes prototype.
29682 (Limits on Resources): Fix ulimit prototype to return long int.
29683 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29684 prototypes to use long int rather than double.
29685 (BSD Random): Fix initstate and setstate to use char *, not void *.
29686 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29687 prototype to make second argument 'struct aiocb64 *const[]'.
29688 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29689 (Status of AIO Operations): Remove erroneous const in aio_return and
29690 aio_return64 prototypes.
29691 (Synchronizing I/O): Fix sync prototype to return void.
29692 * manual/startup.texi (Suboptions): Remove an erroneous const in
29693 getsubopt prototype.
29694 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29695 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29696 use size_t rather than int.
29697 (Scanning All Users): Likewise for getpwent_r.
29698 (Setting Groups): Add missing const to setgroups prototype.
29699 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29700 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29701 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29702 'const void *' rather than 'const char *'.
29703 (Host Address Functions): Likewise for inet_ntop.
29704 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29705 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29706 ssize_t for return value.
29707 (Sending Data): Likewise for send, sendto, sendmsg.
29708 (Socket Option Functions): Add a missing const in setsockopt prototype.
29709 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29710 use wchar_t for the argument.
29711 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29712 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29714 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29715 double/float/long double for second argument.
29716 Fix return types of significand, significandf, significandl.
29717 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29718 argument in fchmod prototype.
29719 (File Owner): Use uid_t and gid_t in fchown prototype.
29720 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29721 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29722 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29723 use 'const struct dirent **' as argument types to CMP function pointer
29725 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29726 (File Times): Fix summary magic @comment for struct utimbuf and utime
29727 to refer to utime.h, not time.h.
29728 * manual/string.texi (Argz Functions): Add missing const in
29729 argz_extract and argz_next prototypes.
29730 (Finding Tokens in a String): Likewise for basename.
29731 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29732 (Copying and Concatenation): Fix typo in wmemmove prototype.
29733 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29734 (Signal Stack): Remove erroneous const in sigstack prototype.
29735 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29737 (Simple Calendar Time): Likewise for stime.
29738 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29740 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29741 say sys/sysctl.h instead.
29742 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29743 and vsyslog prototypes.
29745 2013-02-11 Tom de Vries <tom@codesourcery.com>
29747 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29750 2013-02-11 Roland McGrath <roland@hack.frob.com>
29752 * misc/sys/mman.h: Fix typo in mremap comment.
29754 2013-02-08 Roland McGrath <roland@hack.frob.com>
29756 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29757 the '\0' terminator.
29759 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29762 * debug/segfault.c: Don't include <bp-checks.h>.
29763 * sysdeps/generic/bp-checks.h: Remove file.
29764 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29765 (__GETDENTS): Don't use CHECK_N.
29766 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29767 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29768 (__getgroups): Don't use CHECK_N.
29769 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29770 (setgroups): Don't use CHECK_N.
29771 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29772 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29773 (__libc_msgrcv): Don't use CHECK_N.
29774 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29775 (__libc_msgsnd): Don't use CHECK_N.
29776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29778 (__libc_pread): Don't use CHECK_N.
29779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29780 include <bp-checks.h>.
29781 (__libc_pread64): Don't use CHECK_N.
29782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29783 include <bp-checks.h>.
29784 (__libc_pwrite): Don't use CHECK_N.
29785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29786 include <bp-checks.h>.
29787 (__libc_pwrite64): Don't use CHECK_N.
29788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29790 (__libc_pread): Don't use CHECK_N.
29791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29792 include <bp-checks.h>.
29793 (__libc_pread64): Don't use CHECK_N.
29794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29795 include <bp-checks.h>.
29796 (__libc_pwrite): Don't use CHECK_N.
29797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29798 include <bp-checks.h>.
29799 (__libc_pwrite64): Don't use CHECK_N.
29800 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29801 (do_pread): Don't use CHECK_N.
29802 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29803 (do_pread64): Don't use CHECK_N.
29804 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29805 (do_pwrite): Don't use CHECK_N.
29806 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29807 (do_pwrite64): Don't use CHECK_N.
29808 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29809 (__libc_readv): Don't use CHECK_N.
29810 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29811 (semop): Don't use CHECK_N.
29812 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29814 (semtimedop): Don't use CHECK_N.
29815 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29816 (__libc_pread): Don't use CHECK_N.
29817 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29819 (__libc_pread64): Don't use CHECK_N.
29820 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29822 (__libc_pwrite): Don't use CHECK_N.
29823 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29825 (__libc_pwrite64): Don't use CHECK_N.
29826 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29828 (__libc_msgrcv): Don't use CHECK_N.
29829 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29830 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29831 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29832 (__libc_writev): Don't use CHECK_N.
29834 2013-02-08 Roland McGrath <roland@hack.frob.com>
29836 * string/strcpy.c: Removed unused variable.
29838 * Makeconfig (+sysdep-includes): Define with := rather than =.
29839 Use an existing include/ subdir of each sysdeps dir before it.
29841 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29843 * nscd/connection.c (register_traced_file): Comment function.
29844 [HAVE_INOTIFY] (union __inev): Define.
29845 [HAVE_INOTIFY] (inotify_check_files): New function.
29846 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29847 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29849 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29851 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29853 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29854 loaded if not already and that a failure is permanent.
29856 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29859 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29860 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29862 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29865 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29866 (CHECK_1_NULL_OK): Likewise.
29867 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29868 (__fxstat): Do not use CHECK_1.
29869 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29871 (___fxstat64): Do not use CHECK_1.
29872 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29874 (__fxstatat): Do not use CHECK_1.
29875 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29877 (__fxstatat64): Do not use CHECK_1.
29878 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29880 (__fxstat): Do not use CHECK_1.
29881 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29883 (__fxstatat): Do not use CHECK_1.
29884 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29886 (__getresgid): Do not use CHECK_1.
29887 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29889 (__getresuid): Do not use CHECK_1.
29890 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29892 (__lxstat): Do not use CHECK_1.
29893 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29895 (__old_msgctl): Do not use CHECK_1.
29896 (__new_msgctl): Likewise.
29897 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29899 (__new_setrlimit): Do not use CHECK_1.
29900 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29902 (__old_shmctl): Do not use CHECK_1.
29903 (__new_shmctl): Likewise.
29904 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29906 (__xstat): Do not use CHECK_1.
29907 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29908 (__lxstat): Do not use CHECK_1.
29909 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29911 (___lxstat64): Do not use CHECK_1.
29912 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29913 (__old_msgctl): Do not use CHECK_1.
29914 (__new_msgctl): Likewise.
29915 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29917 (__gettimeofday): Do not use CHECK_1.
29918 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29919 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29920 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29922 (__gettimeofday): Do not use CHECK_1.
29923 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29924 (__old_shmctl): Do not use CHECK_1_NULL_OK.
29925 (__new_shmctl): Do not use CHECK_1.
29926 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29928 (do_sigtimedwait): Do not use CHECK_1.
29929 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29931 (do_sigwaitinfo): Do not use CHECK_1.
29932 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29934 (msgctl): Do not use CHECK_1.
29935 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29937 (shmctl): Do not use CHECK_1.
29938 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29939 (ustat): Do not use CHECK_1.
29940 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29942 (__fxstat): Do not use CHECK_1.
29943 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29945 (__fxstatat): Do not use CHECK_1.
29946 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29948 (__lxstat): Do not use CHECK_1.
29949 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29951 (__xstat): Do not use CHECK_1.
29952 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29953 (__xstat): Do not use CHECK_1.
29954 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29955 (___xstat64): Do not use CHECK_1.
29958 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29960 (CHECK_BOUNDS_HIGH): Likewise.
29961 * string/strcpy.c: Do not include <bp-checks.h>.
29962 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29964 2013-02-07 Roland McGrath <roland@hack.frob.com>
29966 * nscd/nscd-client.h (__nscd_drop_map_ref):
29967 Add __attribute__ ((unused)).
29968 * nis/nss-nisplus.h (niserr2nss): Likewise.
29970 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29971 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29973 * csu/libc-tls.c (init_static_tls, init_slotinfo):
29974 Remove inline keyword.
29975 * include/rounding-mode.h (round_away): Likewise.
29976 * libio/wfileops.c (adjust_wide_data): Likewise.
29977 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29978 (__m128i_strloadu_tolower): Likewise.
29979 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29980 (__m128i_strloadu_tolower): Likewise.
29981 * time/mktime.c (ydhms_diff): Likewise.
29982 * locale/elem-hash.h (elem_hash): Likewise.
29983 * locale/setlocale.c (setdata): Likewise.
29984 * posix/regex_internal.h (re_string_char_size_at): Likewise.
29985 (re_string_wchar_at): Likewise.
29986 (bitset_not, bitset_merge, bitset_mask): Likewise.
29987 [!(__GNUC__ > 3)] (inline): Remove macro.
29988 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29989 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29990 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29991 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29992 * string/memcmp.c (memcmp_bytes): Likewise.
29993 * locale/programs/locarchive.c (compute_hashval): Likewise.
29994 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29995 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29996 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29997 * nss/getent.c (print_rpc, print_protocols): Likewise.
29998 (print_passwd, print_group, print_aliases): Likewise.
29999 * nis/nss-nisplus.h (niserr2nss): Likewise.
30000 * nscd/connections.c (restart_p): Likewise.
30001 Change return type to bool.
30003 2013-02-05 Roland McGrath <roland@hack.frob.com>
30005 * Makeconfig (all-Depend-files): Add existing
30006 $(sorted-subdirs:=/Depend) files.
30007 (all-subdirs): Remove nss.
30008 * sysdeps/unix/inet/Subdirs: Add it here instead.
30009 * hesiod/Depend: New file.
30011 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30012 instead of calling alloca.
30014 * io/lseek.c (__lseek): Rename to __libc_lseek.
30015 Define __lseek as an alias.
30017 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30019 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30021 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30022 else clause and remove check for non-standard endianness.
30024 2013-02-04 David S. Miller <davem@davemloft.net>
30026 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30028 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30031 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30032 (__ubp_memchr): Remove prototype.
30033 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30034 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30035 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30036 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30037 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30039 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30040 (__ubp_memchr): Likewise.
30041 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30042 (__ubp_memchr): Likewise.
30043 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30044 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30045 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30046 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30048 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30049 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30050 (__getcwd): Do not use CHECK_STRING.
30051 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30053 (__real_chown): Do not use CHECK_STRING.
30054 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30056 (fchownat): Do not use CHECK_STRING.
30057 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30059 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30061 (__lchown): Do not use CHECK_STRING.
30062 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30063 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30064 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30065 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30066 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30067 include <bp-checks.h>.
30068 (truncate64): Do not use CHECK_STRING.
30069 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30071 (__real_chown): Do not use CHECK_STRING.
30072 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30074 (__lchown): Do not use CHECK_STRING.
30075 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30077 (__chown): Do not use CHECK_STRING.
30078 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30080 (truncate64): Do not use CHECK_STRING.
30081 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30083 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30084 (__xmknod): Do not use CHECK_STRING.
30085 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30087 (__xmknodat): Do not use CHECK_STRING.
30088 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30089 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30091 2013-02-04 Andreas Schwab <schwab@suse.de>
30094 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30095 * include/netdb.h: Likewise for h_errno.
30096 * elf/tst-stackguard1.c: Include <tls.h>.
30098 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30100 * elf/link.h (struct link_map): Extend the l_addr comment.
30101 * include/link.h (struct link_map): Likewise.
30103 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30106 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30107 (BOUNDED_1): Remove macro.
30108 * debug/backtrace.c: Don't include <bp-checks.h>.
30109 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30110 (__backtrace): Likewise.
30111 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30113 (__backtrace): Don't use BOUNDED_1.
30114 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30116 (__backtrace): Don't use BOUNDED_1.
30117 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30118 (__backtrace): Don't use BOUNDED_1.
30119 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30120 (shmat): Don't use BOUNDED_N.
30122 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30125 * sysdeps/generic/bp-start.h: Remove file.
30126 * csu/libc-start.c: Don't include <bp-start.h>.
30127 (LIBC_START_MAIN): Set up __environ directly instead of using
30128 INIT_ARGV_and_ENVIRON.
30129 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30133 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30135 (CHECK_FCNTL): Likewise.
30136 (CHECK_N_PAGES): Likewise.
30139 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30141 (CHECK_SIGSET_NULL_OK): Likewise.
30142 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30144 (sigpending): Don't use CHECK_SIGSET.
30145 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30147 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30148 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30150 (do_sigsuspend): Don't use CHECK_SIGSET.
30151 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30153 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30154 (do_sigwait): Don't use CHECK_SIGSET.
30155 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30157 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30158 include <bp-checks.h>.
30159 (sigpending): Don't use CHECK_SIGSET.
30160 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30161 include <bp-checks.h>.
30162 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30163 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30165 (sigpending): Don't use CHECK_SIGSET.
30166 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30168 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30171 * sysdeps/generic/bp-semctl.h: Remove file.
30172 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30173 <bp-checks.h> and <bp-semctl.h>.
30174 (__old_semctl): Don't use CHECK_SEMCTL.
30175 (__new_semctl): Likewise.
30176 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30178 (__old_semctl): Don't use CHECK_SEMCTL.
30179 (__new_semctl): Likewise.
30180 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30181 <bp-checks.h> and <bp-semctl.h>.
30182 (__old_semctl): Don't use CHECK_SEMCTL.
30183 (__new_semctl): Likewise.
30184 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30185 <bp-checks.h> and <bp-semctl.h>.
30186 (semctl): Don't use CHECK_SEMCTL.
30189 * Makerules (elide-bp-thunks): Remove variable.
30190 (elide-routines.oS): Don't use $(elide-bp-thunks).
30191 (elide-routines.os): Likewise.
30192 (elide-routines.o): Likewise.
30193 (elide-routines.op): Likewise.
30194 (elide-routines.og): Likewise.
30195 (objects): Don't use $(bp-thunks).
30196 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30198 (common-generated): Do not add s-proto-bp.d.
30199 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30202 Do not generate makefile rules for bounded-pointer thunks.
30203 * sysdeps/generic/bp-thunks.h: Remove file.
30204 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30205 * sysdeps/unix/s-proto-bp.S: Likewise.
30208 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30209 parts of result separately when argument is not close to line from
30210 -i to i and one part of argument is small.
30211 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30212 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30213 * math/libm-test.inc (cacos_test): Add more tests.
30214 (casin_test): Likewise.
30215 (casinh_test): Likewise.
30216 * sysdeps/i386/fpu/libm-test-ulps: Update.
30217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30219 2013-01-31 David S. Miller <davem@davemloft.net>
30221 * po/de.po: Update from translation team.
30223 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30225 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30227 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30229 * configure.in (_AC_PROG_CC_C89): New definition.
30230 * configure: Regenerate.
30232 * configure.in (AC_PROG_CPP): New definition.
30233 * configure: Regenerate.
30235 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30237 * debug/tst-backtrace.h: New file.
30238 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30239 (ret): Remove variable.
30241 (FAIL): Remove macro.
30242 (NO_INLINE): Likewise.
30243 (fn1): Use match function instead of strstr.
30244 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30245 (ret): Remove variable.
30247 (FAIL): Remove macro.
30248 (NO_INLINE): Likewise.
30249 (fn): Use match function instead of strstr.
30250 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30251 (ret): Remove variable.
30253 (FAIL): Remove macro.
30254 (NO_INLINE): Likewise.
30255 (handle_signal): Use match function instead of strstr.
30256 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30257 (ret): Remove variable.
30259 (FAIL): Remove macro.
30260 (NO_INLINE): Likewise.
30261 (handle_signal): Use match function instead of strstr.
30263 2013-01-23 Roland McGrath <roland@hack.frob.com>
30265 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30267 2013-01-23 David S. Miller <davem@davemloft.net>
30269 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30270 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30271 argument of CAS if possible.
30272 * sysdeps/sparc/sparc64/bits/atomic.h
30273 (__arch_compare_and_exchange_val_32_acq): Likewise.
30274 (__arch_compare_and_exchange_val_64_acq): Likewise.
30276 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30278 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30279 * sysdeps/posix/ulimit.c: ... this.
30280 Include <limits.h>.
30281 * sysdeps/unix/bsd/ulimit.c: Remove file.
30283 2013-01-23 Adam Conrad <adconrad@0c3.net>
30285 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30286 (LDFLAGS-tst-array5): Likewise.
30288 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30291 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30292 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30293 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30294 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30296 2013-01-21 David S. Miller <davem@davemloft.net>
30298 * sysdeps/sparc/backtrace.c: New file.
30299 * sysdeps/sparc/sparc32/backtrace.h: New file.
30300 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30301 * sysdeps/sparc/sparc64/backtrace.h: New file.
30302 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30303 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30306 2013-01-21 Andreas Schwab <schwab@suse.de>
30309 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30312 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30314 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30316 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30318 2013-01-18 Joseph Myers <joseph@codesourcery.com>
30319 Mark Mitchell <mark@codesourcery.com>
30320 Tom de Vries <tom@codesourcery.com>
30321 Paul Pluzhnikov <ppluzhnikov@google.com>
30323 * debug/tst-backtrace2.c: New file.
30324 * debug/tst-backtrace3.c: Likewise.
30325 * debug/tst-backtrace4.c: Likewise.
30326 * debug/tst-backtrace5.c: Likewise.
30327 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30328 (CFLAGS-tst-backtrace3.c): Likewise.
30329 (CFLAGS-tst-backtrace4.c): Likewise.
30330 (CFLAGS-tst-backtrace5.c): Likewise.
30331 (LDFLAGS-tst-backtrace2): Likewise.
30332 (LDFLAGS-tst-backtrace3): Likewise.
30333 (LDFLAGS-tst-backtrace4): Likewise.
30334 (LDFLAGS-tst-backtrace5): Likewise.
30335 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30336 tst-backtrace4 and tst-backtrace5.
30338 2013-01-18 Anton Blanchard <anton@samba.org>
30339 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30341 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30342 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30343 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30344 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30345 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30346 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30347 "+r" and remove output regs list as redundant. Add explicit inline
30348 asm to specify register of return val to work around compiler codegen
30349 bug. Remove (int) cast on return value. Add return type parameter to
30350 use in macro so that this macro does not truncate return value for
30352 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30353 pass to INTERNAL_VSYSCALL_NCS.
30354 (INLINE_VSYSCALL): Add 'long int' as return type to
30355 INTERNAL_VSYSCALL_NCS macro invocation.
30356 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30357 INTERNAL_VSYSCALL_NCS macro invocation.
30358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30360 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30363 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30364 Fix application of SIMD FP exception mask.
30366 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30367 mp_no from a power of two.
30368 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30369 __mpexp_twomm1. Use __pow_mp.
30371 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30374 2013-01-17 David S. Miller <davem@davemloft.net>
30376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30378 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30381 * include/complex.h: Condition contents on [!_COMPLEX_H].
30382 (__kernel_casinhf): New prototype.
30383 (__kernel_casinh): Likewise.
30384 (__kernel_casinhl): Likewise.
30385 * math/Makefile (libm_calls): Add k_casinh.
30386 * math/k_casinh.c: New file.
30387 * math/k_casinhf.c: Likewise.
30388 * math/k_casinhl.c: Likewise.
30389 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30390 finite nonzero arguments.
30391 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30392 finite nonzero arguments.
30393 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30394 finite nonzero arguments.
30395 * math/s_casinh.c: Do not include <float.h>.
30396 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30397 * math/s_casinhf.c: Do not include <float.h>.
30398 (__casinhf): Move code for finite nonzero arguments to
30400 * math/s_casinhl.c: Do not include <float.h>.
30401 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30403 (__casinhl): Move code for finite nonzero arguments to
30405 * math/libm-test.inc (cacos_test): Add more tests.
30406 * sysdeps/i386/fpu/libm-test-ulps: Update.
30407 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30409 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
30411 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30412 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30413 [!HAVE_MREMAP]: Remove [defined linux] case.
30414 * malloc/arena.c: Do not include <malloc-sysdep.h>.
30416 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30418 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30420 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
30422 * elf/elf.h (R_386_SIZE32): New relocation.
30423 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30425 (elf_machine_rela): Likewise.
30426 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30427 R_X86_64_SIZE64 and R_X86_64_SIZE32.
30429 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30431 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30432 (FP_FAST_FMA): Do not define.
30433 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30434 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30435 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30436 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30437 !_SOFT_FLOAT]: Likewise.
30438 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30439 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30441 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30442 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30443 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30444 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30445 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30446 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30449 2013-01-16 Andreas Schwab <schwab@suse.de>
30452 * include/stdlib.h (__mktemp): Add declaration.
30453 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30454 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30456 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30458 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30460 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30461 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30462 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30464 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30465 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30467 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30469 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30470 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30471 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30473 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30474 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30476 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30478 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30480 2013-01-15 David S. Miller <davem@davemloft.net>
30482 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30483 trunc{,f} to libm-sysdep_routes.
30484 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30485 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30487 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30488 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30490 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30493 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30494 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30495 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30496 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30497 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30498 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30499 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30501 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30502 nearbyint{,f} to libm-sysdep_routes.
30503 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30504 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30506 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30508 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30510 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30512 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30513 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30514 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30516 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30517 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30519 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30520 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30521 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30523 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30524 libc_feholdexcept and libc_fesetenv.
30526 2013-01-15 Mike Frysinger <vapier@gentoo.org>
30528 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30530 2013-01-14 David S. Miller <davem@davemloft.net>
30532 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30533 (SPARC_ASM_VIS2_IFUNC): Likewise.
30534 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30535 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30536 use of 'siam' instruction.
30537 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30541 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30543 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30544 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30545 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30546 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30547 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30549 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30553 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30555 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30556 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30557 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30558 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30559 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30561 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30562 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30563 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30565 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30566 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30567 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30568 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30570 routines to libm-sysdep_routines.
30571 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30573 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30574 fdim/fdimf to libm-sysdep_routines.
30575 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30577 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30578 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30580 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30581 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30582 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30583 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30584 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30585 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30586 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30588 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30590 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30591 to optimize copies.
30593 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30595 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30597 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30598 local variable MPTWO.
30599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30602 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30604 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30607 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30609 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30611 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30613 * manual/pattern.texi (glob_t): Document gl_flags.
30614 (glob64_t): Likewise.
30616 2013-01-11 David S. Miller <davem@davemloft.net>
30618 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30619 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30620 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
30621 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30622 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30623 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30624 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30625 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30626 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30627 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30628 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30629 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30630 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30632 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30633 sparc V9 rather than using V8 code.
30634 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30635 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30637 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30639 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30642 2013-01-11 Roland McGrath <roland@hack.frob.com>
30644 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30645 not in the main loop.
30646 * configure: Regenerated.
30648 2013-01-11 Joseph Myers <joseph@codesourcery.com>
30650 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30651 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30653 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30654 [!__GLIBC_HAVE_LONG_LONG] case.
30655 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30656 condition to just #else.
30657 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30658 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30659 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30660 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30662 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30663 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30664 #elif condition to just #else.
30665 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30666 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30667 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30668 #elif condition to just #else.
30670 2013-01-11 Steve Ellcey <sellcey@mips.com>
30672 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30673 (EF_MIPS_ARCH_64): Fix value.
30674 (EF_MIPS_ARCH_32R2): New.
30675 (EF_MIPS_ARCH_64R2): New.
30677 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30679 * Makeconfig (+link-pie-before-libc): New.
30680 (+link-pie-after-libc): Likewise.
30681 (+link-pie-tests): Likewise.
30682 (+link-pie): Rewritten.
30683 (link-before-libc): Remove $(config-LDFLAGS).
30684 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30685 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30686 (config-LDFLAGS): Renamed to ...
30687 (rtld-LDFLAGS): This.
30688 (rtld-tests-LDFLAGS): New macro.
30689 (link-libc-rpath-link): Likewise.
30690 (link-libc-tests-rpath-link): Likewise.
30691 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30692 (link-libc): Prepand $(link-libc-rpath-link).
30693 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30694 (test-program-prefix): New macro.
30695 (test-via-rtld-prefix): Likewise.
30696 (test-program-cmd): Likewise.
30697 (host-test-program-cmd): Likewise.
30698 * Makefile ($(common-objpfx)testrun.sh): Replace
30699 $(run-program-prefix) with $(test-program-prefix).
30700 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30702 ($(common-objpfx)shlib.lds): Likewise.
30703 (build-module-helper): Likewise.
30704 ($(common-objpfx)format.lds): Likewise.
30705 * Rules (binaries-pie-tests): New.
30706 (binaries-pie-notests): Likewise.
30707 (binaries-pie): Rewritten.
30708 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30709 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30710 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30711 (make-test-out): Replace $(host-built-program-cmd) with
30712 $(host-test-program-cmd).
30713 * config.make.in (build-hardcoded-path-in-tests): New variable.
30714 * configure.in (--enable-hardcoded-path-in-tests): New configure
30716 (hardcoded_path_in_tests): New AC_SUBST.
30717 * configure: Regenerated.
30718 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30719 $(built-program-cmd) with $(test-program-cmd).
30720 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30721 (test_program_cmd): This.
30722 * elf/Makefile ($(objpfx)order.out): Run test with
30723 $(test-program-prefix).
30724 ($(objpfx)order2.out): Likewise.
30725 ($(objpfx)tst-initorder.out): Likewise.
30726 ($(objpfx)tst-initorder2.out): Likewise.
30727 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30728 $(test-program-cmd).
30729 ($(objpfx)tst-array1-static.out): Likewise.
30730 ($(objpfx)tst-array2.out): Likewise.
30731 ($(objpfx)tst-array3.out): Likewise.
30732 ($(objpfx)tst-array4.out): Likewise.
30733 ($(objpfx)tst-array5.out): Likewise.
30734 ($(objpfx)tst-array5-static.out): Likewise.
30735 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30736 $(test-program-cmd).
30737 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30738 $(run-program-prefix) with $(test-program-prefix).
30739 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30740 (test_program_prefix): This.
30741 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30742 $(run-program-prefix) with $(test-program-prefix).
30743 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30744 (test_program_prefix): This.
30745 * iconvdata/tst-tables.sh: Likewise.
30746 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30747 $(run-program-prefix) with $(test-program-prefix).
30748 ($(objpfx)tst-translit.out): Likewise.
30749 ($(objpfx)tst-gettext2.out): Likewise.
30750 ($(objpfx)tst-gettext4.out): Likewise.
30751 ($(objpfx)tst-gettext6.out): Likewise.
30752 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30753 (test_program_prefix): This.
30754 * intl/tst-gettext2.sh: Likewise.
30755 * intl/tst-gettext4.sh Likewise.
30756 * intl/tst-gettext6.sh: Likewise.
30757 * intl/tst-translit.sh: Likewise.
30758 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30759 with $(test-program-cmd).
30760 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30761 $(run-program-prefix) with $(test-program-prefix).
30762 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30763 (test_program_prefix): This.
30764 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30765 $(run-program-prefix) with $(test-program-prefix).
30766 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30767 (test_program_prefix): This.
30768 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30769 * posix/Makefile ($(objpfx)globtest.out): Replace
30770 $(run-via-rtld-prefix) and $(test-wrapper) with
30771 $(test-program-prefix) and $(test-via-rtld-prefix).
30772 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30773 $(test-program-prefix).
30774 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30775 $(host-test-program-cmd).
30776 (tst-spawn-ARGS): Likewise.
30777 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30778 $(test-program-prefix).
30779 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30780 (test_via_rtld_prefix): This.
30781 (test_wrapper): Renamed to ...
30782 (test_program_prefix): This.
30783 (run_program_prefix): Replaced by test_program_prefix.
30784 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30785 (test_program_prefix): This.
30786 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30787 with $(host-test-program-cmd).
30788 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30789 $(run-program-prefix) with $(test-program-prefix).
30790 ($(objpfx)tst-printf.out): Likewise.
30791 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30792 $(test-program-cmd).
30793 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30794 (test_program_prefix): This.
30795 * stdio-common/tst-unbputc.sh: Likewise.
30796 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30797 $(run-program-prefix) with $(test-program-prefix).
30798 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30799 (test_program_prefix): This.
30800 * string/Makefile ($(objpfx)tst-svc.out): Replace
30801 $(built-program-cmd) with $(test-program-cmd).
30803 2013-01-11 Andreas Jaeger <aj@suse.de>
30806 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30807 value. Sync with Linux 3.7.
30809 2013-01-10 David S. Miller <davem@davemloft.net>
30811 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30812 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30813 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30815 2013-01-10 Roland McGrath <roland@hack.frob.com>
30817 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30819 * configure: Regenerated.
30821 2013-01-10 David S. Miller <davem@davemloft.net>
30823 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30824 sparc V9 rather than using V8 code.
30825 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30826 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30828 2013-01-10 Roland McGrath <roland@hack.frob.com>
30830 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30831 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30832 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30833 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30834 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30835 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30836 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30837 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30838 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30839 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30840 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30841 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30842 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30843 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30844 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30845 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30846 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30847 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30848 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30849 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30850 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30851 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30852 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30853 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30854 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30855 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30856 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30858 2013-01-10 David S. Miller <davem@davemloft.net>
30860 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30862 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30864 * posix/Makefile (tests-static): New variable.
30865 (tests): Add $(tests-static).
30866 (tst-exec-static-ARGS): New variable.
30867 (tst-spawn-static-ARGS): Likewise.
30868 * posix/tst-exec-static.c: New file.
30869 * posix/tst-spawn-static.c: Likewise.
30870 * posix/tst-exec.c: Support run directly.
30871 * posix/tst-spawn.c: Likewise.
30873 2013-01-10 Joseph Myers <joseph@codesourcery.com>
30875 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30877 * math/bits/mathcalls.h (llrint): Likewise.
30878 (llround): Likewise.
30879 * stdlib/stdlib.h (struct drand48_data): Likewise.
30880 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30881 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30882 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30884 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30886 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30887 (elf_greg_t): Likewise.
30888 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30889 (__jmp_buf): Likewise.
30890 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30892 (llrint): Likewise, for all definitions.
30893 (llrintl): Likewise.
30895 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30896 Remove [__GNUC__] condition.
30897 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30898 condition to just [__USE_ISOC99].
30899 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30901 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30904 * sysdeps/unix/sysv/linux/x86/bits/environments.h
30905 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30907 (_POSIX_V6_ILP32_OFF32): Likewise.
30908 (_XBS5_ILP32_OFF32): Likewise.
30909 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30910 (__ILP32_OFFBIG_LDFLAGS): Likewise.
30912 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
30914 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30916 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30917 doubles __mpexp_twomm1. Adjust usage.
30918 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30921 2013-01-10 Andreas Schwab <schwab@suse.de>
30924 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30925 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30927 2013-01-09 David S. Miller <davem@davemloft.net>
30930 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30931 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30932 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30933 (TCP_FASTOPEN): Define.
30934 (tcp_repair_opt): New structure.
30935 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30937 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30938 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30939 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30940 (tcp_cookie_transactions): New structure.
30942 2013-01-09 Anton Blanchard <anton@samba.org>
30944 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30945 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30946 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30947 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30949 2013-01-09 Joseph Myers <joseph@codesourcery.com>
30951 * include/features.h (__USE_ANSI): Remove.
30953 2013-01-09 Roland McGrath <roland@hack.frob.com>
30955 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30957 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30959 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
30961 * sysdeps/s390/fpu/libm-test-ulps: Update.
30963 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30965 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30969 (denorm): Likewise.
30970 (__mp_dbl): Likewise.
30971 (__dbl_mp): Likewise.
30972 (add_magnitudes): Likewise.
30973 (sub_magnitudes): Likewise.
30979 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30983 (denorm): Likewise.
30984 (__mp_dbl): Likewise.
30985 (__dbl_mp): Likewise.
30986 (add_magnitudes): Likewise.
30987 (sub_magnitudes): Likewise.
30993 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30997 (denorm): Likewise.
30998 (__mp_dbl): Likewise.
30999 (__dbl_mp): Likewise.
31000 (add_magnitudes): Likewise.
31001 (sub_magnitudes): Likewise.
31008 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31010 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31011 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31012 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31013 2 && __USE_EXTERN_INLINES]: Likewise.
31015 2013-01-08 Andreas Jaeger <aj@suse.de>
31018 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31020 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31021 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31023 2013-01-07 Anton Blanchard <anton@samba.org>
31025 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31026 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31027 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31028 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31029 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31030 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31031 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31032 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31033 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31034 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31035 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31036 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31037 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31038 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31039 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31040 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31041 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31042 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31043 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31044 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31045 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31046 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31047 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31048 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31049 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31050 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31051 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31052 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31053 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31054 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31055 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31056 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31057 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31058 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31059 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31060 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31061 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31062 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31063 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31064 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31065 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31067 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31069 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31071 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31072 (__MALLOC_PMT): Likewise.
31073 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31074 [__GNUC__], only on [_LIBC].
31075 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31076 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31077 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31078 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31079 forward declaration.
31080 (realloc_hook_ini): Likewise.
31081 (memalign_hook_ini): Likewise.
31082 (__libc_memalign): Do not use __MALLOC_PMT in variable
31084 (__libc_valloc): Likewise.
31085 (__libc_pvalloc): Likewise.
31086 (__libc_calloc): Likewise.
31087 (__posix_memalign): Likewise.
31090 * math/s_casinh.c: Include <float.h>.
31091 (__casinh): Do not do computation with squaring and square root
31092 for large arguments.
31093 * math/s_casinhf.c: Include <float.h>.
31094 (__casinhf): Do not do computation with squaring and square root
31095 for large arguments.
31096 * math/s_casinhl.c: Include <float.h>.
31097 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31098 (__casinhl): Do not do computation with squaring and square root
31099 for large arguments.
31100 * math/libm-test.inc (casin_test): Add more tests.
31101 (casinh_test): Likewise.
31102 * sysdeps/i386/fpu/libm-test-ulps: Update.
31103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31105 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31107 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31108 (__x86_64_raw_data_cache_size): Likewise.
31109 (__x86_64_data_cache_size_half): Likewise.
31110 (__x86_64_raw_data_cache_size_half): Likewise.
31111 (__x86_64_shared_cache_size): Likewise.
31112 (__x86_64_raw_shared_cache_size): Likewise.
31113 (__x86_64_shared_cache_size_half): Likewise.
31114 (__x86_64_raw_shared_cache_size_half): Likewise.
31115 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31117 (__x86_data_cache_size): This.
31118 (__x86_64_raw_data_cache_size): Renamed to ...
31119 (__x86_raw_data_cache_size): This.
31120 (__x86_64_data_cache_size_half): Renamed to ...
31121 (__x86_data_cache_size_half): This.
31122 (__x86_64_raw_data_cache_size_half): Renamed to ...
31123 (__x86_raw_data_cache_size_half): This.
31124 (__x86_64_shared_cache_size): Renamed to ...
31125 (__x86_shared_cache_size): This.
31126 (__x86_64_raw_shared_cache_size): Renamed to ...
31127 (__x86_raw_shared_cache_size): This.
31128 (__x86_64_shared_cache_size_half): Renamed to ...
31129 (__x86_shared_cache_size_half): This.
31130 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31131 (__x86_raw_shared_cache_size_half): This.
31132 * sysdeps/x86_64/memcpy.S: Updated.
31133 * sysdeps/x86_64/memset.S: Likewise.
31134 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31135 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31136 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31138 2013-01-04 David S. Miller <davem@davemloft.net>
31140 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31142 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31144 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31145 1 to avoid redefinition warning.
31146 (__USE_GNU): Don't define.
31147 (init_signaling_nan): Protoize.
31149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31151 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31153 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31155 (__cpymn): Likewise.
31156 (norm): Remove commented code.
31157 (denorm): Likewise.
31158 (__mp_dbl): Likewise.
31160 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31161 (__cpymn): Likewise.
31162 (norm): Remove commented code.
31163 (denorm): Likewise.
31164 (__mp_dbl): Likewise.
31167 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31168 mp_no value for 1.0 and 2.0.
31169 (norm): Use RADIXI instead of radixi.d.
31170 (denorm): Likewise.
31171 (__mul): Use 0.0 instead of zero.d.
31172 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31173 mp_no value for 1.0 and 2.0.
31174 (norm): Use RADIXI instead of radixi.d.
31175 (denorm): Likewise.
31176 (__mul): Use 0.0 instead of zero.d.
31178 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31181 * math/s_casinh.c (__casinh): Reduce finite argument to first
31182 quadrant then set signs of results at the end.
31183 * math/s_casinhf.c (__casinhf): Likewise.
31184 * math/s_casinhl.c (__casinhl): Likewise.
31185 * math/libm-test.inc (casin_test): Add more tests.
31186 (casinh_test): Likewise.
31187 * sysdeps/i386/fpu/libm-test-ulps: Update.
31188 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31190 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31192 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31194 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31196 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31198 (denorm): Likewise.
31199 (__mp_dbl): Likewise.
31202 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31203 and adjust the header comment.
31205 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31206 variable name from declaration.
31208 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31210 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31211 Initialize COMMON_CPUID_INDEX_7 element.
31212 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31213 (CPUID_RTM): Likewise.
31214 (HAS_RTM): Likewise.
31215 (COMMON_CPUID_INDEX_7): New enum.
31217 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31220 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31221 size is zero, record memory as freed.
31223 2013-01-03 Andreas Jaeger <aj@suse.de>
31225 * po/ia.po: Add new Interlingua translation.
31227 2012-01-03 Allan McRae <allan@archlinux.org>
31229 * locale/programs/localedef.c: Fix description of '--posix' flag.
31231 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31233 * NEWS: Update dates in second copyright notice.
31234 * README: Update copyright dates in example.
31235 * manual/libc.texinfo: Update copyright dates.
31236 * scripts/test-installation.pl: Update copyright date in --version
31239 * hurd/ctty-input.c: Fix copyright notice formatting.
31240 * hurd/ctty-output.c: Likewise.
31241 * hurd/dtable.c: Likewise.
31242 * hurd/hurd-raise.c: Likewise.
31243 * hurd/hurdprio.c: Likewise.
31244 * hurd/msgportdemux.c: Likewise.
31245 * misc/sys/file.h: Likewise.
31246 * misc/sys/ioctl.h: Likewise.
31247 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31248 * sysdeps/mach/hurd/chdir.c: Likewise.
31249 * sysdeps/mach/hurd/fchdir.c: Likewise.
31250 * sysdeps/mach/hurd/rename.c: Likewise.
31251 * sysdeps/mach/hurd/rmdir.c: Likewise.
31252 * sysdeps/mach/hurd/seekdir.c: Likewise.
31253 * sysdeps/mach/hurd/setsid.c: Likewise.
31254 * sysdeps/posix/wait3.c: Likewise.
31256 * All files with FSF copyright notices: Update copyright dates
31257 using scripts/update-copyrights.
31258 * intl/plural.c: Regenerated.
31259 * locale/programs/charmap-kw.h: Likewise.
31260 * locale/programs/locfile-kw.h: Likewise.
31262 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31264 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31267 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31268 calculation loop and add branch prediction.
31270 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31271 check access beyond bounds of m1np.
31273 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31275 (__inv): Remove local variable MPTWO to use the global
31277 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31278 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31280 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31281 MP3HALFS static const.
31283 2013-01-01 David S. Miller <davem@davemloft.net>
31285 * po/ca.po: Update from translation team.
31287 2013-01-01 Joseph Myers <joseph@codesourcery.com>
31289 * scripts/update-copyrights: New file.
31290 * Makeconfig: Reformat copyright notice.
31291 * ctype/ctype.h: Likewise.
31292 * debug/swprintf_chk.c: Likewise.
31293 * elf/dl-cache.c: Likewise.
31294 * elf/dl-debug.c: Likewise.
31295 * elf/dl-object.c: Likewise.
31296 * grp/initgroups.c: Likewise.
31297 * hurd/Makefile: Likewise.
31298 * hurd/hurd/signal.h: Likewise.
31299 * hurd/hurdfault.c: Likewise.
31300 * hurd/hurdioctl.c: Likewise.
31301 * hurd/hurdlookup.c: Likewise.
31302 * hurd/intr-msg.c: Likewise.
31303 * iconv/gconv_open.c: Likewise.
31304 * libio/swprintf.c: Likewise.
31305 * locale/lc-ctype.c: Likewise.
31306 * locale/nl_langinfo.c: Likewise.
31307 * mach/Machrules: Likewise.
31308 * mach/Makefile: Likewise.
31309 * malloc/obstack.h: Likewise.
31310 * manual/Makefile: Likewise.
31311 * manual/tsort.awk: Likewise.
31312 * misc/bits/stab.def: Likewise.
31313 * nis/nis_print_group_entry.c: Likewise.
31314 * nis/nis_table.c: Likewise.
31315 * nis/nss_compat/compat-pwd.c: Likewise.
31316 * nis/nss_compat/compat-spwd.c: Likewise.
31317 * po/Makefile: Likewise.
31318 * posix/fnmatch.c: Likewise.
31319 * posix/regex.h: Likewise.
31320 * resolv/Makefile: Likewise.
31321 * resolv/nss_dns/dns-network.c: Likewise.
31322 * resolv/res_hconf.c: Likewise.
31323 * scripts/gen-sorted.awk: Likewise.
31324 * soft-fp/soft-fp.h: Likewise.
31325 * stdio-common/printf.h: Likewise.
31326 * stdlib/monetary.h: Likewise.
31327 * stdlib/random.c: Likewise.
31328 * stdlib/random_r.c: Likewise.
31329 * sysdeps/generic/Makefile: Likewise.
31330 * sysdeps/gnu/Makefile: Likewise.
31331 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31332 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31333 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31334 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31335 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31336 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31337 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31338 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31339 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31340 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31341 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31342 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31343 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31344 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31345 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31346 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31347 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31348 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31349 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31350 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31351 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31352 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31353 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31354 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31355 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31356 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31357 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31358 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31359 * sysdeps/mach/hurd/errnos.awk: Likewise.
31360 * sysdeps/mach/hurd/fork.c: Likewise.
31361 * sysdeps/mach/hurd/getcwd.c: Likewise.
31362 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31363 * sysdeps/mach/hurd/mmap.c: Likewise.
31364 * sysdeps/mach/hurd/utimes.c: Likewise.
31365 * sysdeps/mach/hurd/xmknod.c: Likewise.
31366 * sysdeps/posix/profil.c: Likewise.
31367 * sysdeps/posix/readdir_r.c: Likewise.
31368 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31369 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31370 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31371 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31373 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31374 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31375 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31377 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31378 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31379 * sysdeps/pthread/lio_listio.c: Likewise.
31380 * sysdeps/sparc/dl-procinfo.h: Likewise.
31381 * sysdeps/unix/i386/sysdep.S: Likewise.
31382 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31383 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31384 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31385 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31387 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31388 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31389 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31390 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31391 * sysdeps/wordsize-32/divdi3.c: Likewise.
31392 * time/sys/time.h: Likewise.
31393 * wcsmbs/Makefile: Likewise.
31395 2013-01-01 David S. Miller <davem@davemloft.net>
31397 * po/fr.po: Update from translation team.
31399 * catgets/gencat.c: Update copyright year.
31400 * csu/version.c: Likewise.
31401 * debug/catchsegv.sh: Likewise.
31402 * debug/pcprofiledump.c: Likewise.
31403 * debug/xtrace.sh: Likewise.
31404 * elf/ldconfig.c: Likewise.
31405 * elf/ldd.bash.in: Likewise.
31406 * elf/pldd.c: Likewise.
31407 * elf/sotruss.ksh: Likewise.
31408 * elf/sprof.c: Likewise.
31409 * iconv/iconv_prog.c: Likewise.
31410 * iconv/iconvconfig.c: Likewise.
31411 * locale/programs/locale.c: Likewise.
31412 * locale/programs/localedef.c: Likewise.
31413 * login/programs/pt_chown.c: Likewise.
31414 * malloc/memusage.sh: Likewise.
31415 * malloc/memusagestat.c: Likewise.
31416 * malloc/mtrace.pl: Likewise.
31417 * nscd/nscd.c: Likewise.
31418 * nss/getent.c: Likewise.
31419 * nss/makedb.c: Likewise.
31420 * posix/getconf.c: Likewise.
31422 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31424 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31427 2012-12-30 Mike Frysinger <vapier@gentoo.org>
31429 * math/bits/mathcalls.h (modf): Use __nonnull.
31431 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31433 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31434 (split): Use macro CN instead of the bare value.
31435 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31437 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31438 instead of the bare value.
31439 (power1): Likewise.
31441 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31443 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31445 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31447 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31449 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31450 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31451 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31452 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31454 2012-12-28 Andreas Jaeger <aj@suse.de>
31456 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
31457 values are from Linux 3.7.
31459 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31460 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
31462 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31464 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31467 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31469 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31470 variables with preprocessor constants.
31471 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31472 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31473 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31475 2012-12-27 Bruno Haible <bruno@clisp.org>
31478 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31481 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31483 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31484 and use variable directly.
31485 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31487 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31489 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31490 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31492 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31493 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31494 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31495 include directive. Remove local variable MPONE.
31496 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31497 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31498 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31500 2012-12-25 David S. Miller <davem@davemloft.net>
31502 * version.h (RELEASE): Set to "development".
31503 (VERSION): Set to "2.17.90".
31504 * NEWS: Add 2.18 section.
31506 2012-12-21 David S. Miller <davem@davemloft.net>
31508 * po/hr.po: Update from translation team.
31510 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31512 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31514 2012-12-19 Steve Ellcey <sellcey@mips.com>
31516 * NEWS: Mention new memcpy for MIPS.
31518 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31520 * manual/contrib.texi (Contributors): Spelling correction.
31522 2012-12-15 David S. Miller <davem@davemloft.net>
31524 * po/ru.po: Update from translation team.
31526 2012-12-13 David S. Miller <davem@davemloft.net>
31528 * NEWS: Mention IFUNC testsuite enhancements.
31530 * po/pl.po: Update from translation team.
31531 * po/bg.po: Likewise.
31533 * manual/contrib.texi (Contributors): Update entries for Hongjiu
31534 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
31536 2012-12-11 David S. Miller <davem@davemloft.net>
31538 * po/sv.po: Update from translation team.
31540 * po/vi.po: Update from translation team.
31542 * po/cs.po: Update from translation team.
31544 * po/de.po: Update from translation team.
31545 * po/eo.po: Likewise.
31546 * po/nl.po: Likewise.
31548 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31551 * manual/argp.texi (Argp Helper Functions): Move node to follow
31552 Argp Parsing State.
31555 * manual/conf.texi (Limits on File System Capacity): Mention if
31556 terminating null is included in the max size.
31558 2012-12-10 Andreas Jaeger <aj@suse.de>
31560 * po/cs.po: Update from translation team.
31562 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31564 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31565 void pointer and cast to uintptr_t.
31566 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31568 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31569 * sysdeps/s390/s390-64/memset.S: Likewise.
31571 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
31574 * menual/message.texi (Message Translation): Fix typos.
31575 (Helper programs for gettext): Likewise.
31577 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31580 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31583 2012-12-07 David S. Miller <davem@davemloft.net>
31585 * po/libc.pot: Update.
31587 2012-12-07 Richard Henderson <rth@redhat.com>
31590 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31591 normal/normal case to before the switch.
31592 (_FP_DIV): Likewise.
31594 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31595 Mike Frysinger <vapier@gentoo.org>
31597 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31598 check for __NR_fadvise64_64.
31600 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31602 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31603 0, not just to plain "0" as a statement.
31604 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31607 2012-12-06 Joseph Myers <joseph@codesourcery.com>
31609 * NEWS: Use sourceware.org in Bugzilla URL.
31611 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31614 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31616 * stdio-common/tst-put-error.c (do_test): Add newline to the
31617 padded test to ensure flush.
31619 2012-12-05 Jeff Law <law@redhat.com>
31621 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31623 2012-12-05 Joseph Myers <joseph@codesourcery.com>
31625 * README: Don't refer to ports add-on as distributed separately.
31626 Mention AArch64 in list of systems supported in the ports add-on.
31628 * LICENSES: Add more non-FSF copyright and license notices.
31630 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31633 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31635 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31636 10000 as width of padded output.
31638 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31640 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31642 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31643 variable LX with __attribute__ ((unused)).
31644 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31646 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31647 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31648 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31649 with __attribute__ ((unused)).
31651 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
31653 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31655 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31657 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31658 (CFLAGS-nldbl-acos.c): New variable.
31659 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31660 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31661 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31662 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31663 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31664 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31665 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31666 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31667 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31668 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31669 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31670 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31671 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31672 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31673 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31674 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31675 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31676 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31677 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31678 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31679 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31680 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31681 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31682 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31683 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31684 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31685 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31686 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31687 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31688 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31689 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31690 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31691 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31692 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31693 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31694 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31695 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31696 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31697 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31698 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31699 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31700 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31701 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31702 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31703 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31704 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31705 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31706 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31707 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31708 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31709 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31710 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31711 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31712 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31713 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31714 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31715 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31716 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31717 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31718 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31719 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31720 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31721 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31722 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31723 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31724 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31725 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31726 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31727 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31728 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31729 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31730 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31731 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31732 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31733 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31734 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31735 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31736 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31737 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31738 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31739 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31740 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31741 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31742 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31743 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31744 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31745 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31746 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31747 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31748 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31749 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31750 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31751 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31752 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31753 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31754 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31755 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31758 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31761 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31762 whole low double instead of just low 47 bits when splitting values
31765 2012-12-03 Allan McRae <allan@archlinux.org>
31767 * manual/stdio.texi (Predefined Printf Handlers): Remove
31768 @hsep and @vsep usage.
31770 2012-12-03 Mike Frysinger <vapier@gentoo.org>
31772 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31773 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31775 2012-12-03 Jeff Law <law@redhat.com>
31777 * time/sys/time.h (settimeofday): Do not mark TV argument
31780 2012-12-01 Mike Frysinger <vapier@gentoo.org>
31782 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31783 when currently writing and seek to current position when not.
31784 * libio/Makefile (tests): Remove bug-fclose1.
31785 * libio/bug-fclose1.c: Delete.
31787 2012-12-01 Joseph Myers <joseph@codesourcery.com>
31789 * manual/arith.texi (feenableexcept): Fix typo.
31790 (fedisableexcept): Likewise.
31792 2012-11-30 Roland McGrath <roland@hack.frob.com>
31794 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31795 second, differently-typed declaration, rather than a cast.
31797 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31799 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31800 * include/rpc/svc.h: ... here.
31802 2012-11-30 Aurelien Jarno <aurel32@debian.org>
31805 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31806 depending n and resplen2 to catch cases where answer
31809 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31811 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31812 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31814 2012-11-29 Mike Frysinger <vapier@gentoo.org>
31816 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31818 2012-11-29 Roland McGrath <roland@hack.frob.com>
31820 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31822 2012-11-28 Jeff Law <law@redhat.com>
31825 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31826 dataset_temporary. Track alloca usage into alloca_used.
31827 If dataset is large allocate and release it via malloc/free.
31829 2012-06-04 Florian Weimer <fweimer@redhat.com>
31832 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31834 2012-11-28 David S. Miller <davem@davemloft.net>
31836 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31838 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31841 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31842 of pi/2 rounded to nearest to 64 bits.
31843 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31844 nearest to 64 bits.
31845 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31848 2012-11-28 Jeff Law <law@redhat.com>
31849 Martin Osvald <mosvald@redhat.com>
31852 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31853 * sunrpc/svc.c: Include time.h.
31854 (__svc_accept_failed): New function.
31855 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31856 any reason other than EINTR, call __svc_accept_failed.
31857 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31858 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31860 2012-11-28 Andreas Schwab <schwab@suse.de>
31862 * scripts/abilist.awk: Also handle indirect functions in .opd
31865 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31868 * sysdeps/x86/fpu/powl_helper.c: New file.
31869 * sysdeps/x86/fpu/Makefile: Likewise.
31870 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31872 (__ieee754_powl): Use __powl_helper for finite arguments except
31873 integer exponents below 8.
31874 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31876 (__ieee754_powl): Use __powl_helper for finite arguments except
31877 integer exponents below 8.
31878 * math/libm-test.inc (pow_test): Add more tests and enable some
31879 previously disabled tests.
31880 * sysdeps/i386/fpu/libm-test-ulps: Update.
31881 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31883 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31884 Carlos O'Donell <carlos_odonell@mentor.com>
31886 * nss/makedb.c (is_prime): Assert that input is odd and greater
31887 than 4. Note that fact in a comment too.
31888 (next_prime): Add 4 to input.
31890 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31893 * libio/Makefile (tests): Add test case tst-fwrite-error.
31894 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31895 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31896 * libio/tst-fwrite-error.c: New test case.
31898 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
31900 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31901 before casting to void *.
31902 * include/libc-internal.h (__pointer_type): New macro.
31903 (__integer_if_pointer_type_sub): Likewise.
31904 (__integer_if_pointer_type): Likewise.
31905 (cast_to_integer): Likewise.
31906 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31907 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31908 before casting to atomic64_t.
31909 (atomic_exchange_acq): Likewise.
31910 (__arch_exchange_and_add_body): Likewise.
31911 (__arch_add_body): Likewise.
31912 (atomic_add_negative): Likewise.
31913 (atomic_add_zero): Likewise.
31915 2012-11-26 Joseph Myers <joseph@codesourcery.com>
31917 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31918 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31919 (add_fdes): Likewise.
31920 (linear_search_fdes): Likewise.
31921 (binary_search_unencoded_fdes): Likewise.
31923 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
31925 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31927 2012-11-24 Adam Conrad <adconrad@0c3.net>
31929 * configure.in: Autodetect C++ header directories.
31930 * configure: Regenerated.
31932 2012-11-23 Mike Frysinger <vapier@gentoo.org>
31934 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31936 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
31938 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31940 2012-11-22 Joseph Myers <joseph@codesourcery.com>
31942 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31943 LDBL_MANT_DIG == 106]: Disable some tests.
31944 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31946 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31950 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31951 input for small inputs. Return +/- pi/2 for large inputs.
31952 * math/libm-test.inc (atan_test): Add more tests.
31954 * sysdeps/generic/unwind-dw2-fde-glibc.c
31955 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31956 __attribute__ ((unused)).
31959 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31960 x * y if x and y are nonzero and z is zero.
31963 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31964 nonzero exponents with absolute value below 0x1p-117 to +/-
31968 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31969 up arguments below 2**-450, not just those below 2**-500.
31970 * math/libm-test.inc (hypot_test): Add another test.
31973 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31974 Return a+b for ratio over 2**120, not 2**60.
31975 * math/libm-test.inc (hypot_test): Add another test.
31977 * math/libm-test.inc (clog_test): Use
31978 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31979 (clog10_test): Likewise.
31982 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31984 2012-11-22 Andreas Schwab <schwab@suse.de>
31986 * sysdeps/i386/fpu/libm-test-ulps: Update.
31988 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
31990 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31991 printf output with newline.
31993 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
31996 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31997 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31998 -z nodlopen, -z initfirst and -z execstack support.
31999 * configure: Regenerated.
32001 * elf/elf.h (DF_1_NODIRECT): New macro.
32002 (DF_1_IGNMULDEF): Likewise.
32003 (DF_1_NOKSYMS): Likewise.
32004 (DF_1_NOHDR): Likewise.
32005 (DF_1_EDITED): Likewise.
32006 (DF_1_NORELOC): Likewise.
32007 (DF_1_SYMINTPOSE): Likewise.
32008 (DF_1_GLOBAUDIT): Likewise.
32009 (DF_1_SINGLETON): Likewise.
32010 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32011 DT_1_SUPPORTED_MASK bits.
32012 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32014 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32016 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32018 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32020 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32023 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32024 (sendmmsg): Move declarations...
32025 * socket/sys/socket.h: ... here.
32026 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32027 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32029 * socket/recvmmsg.c: ... this new file.
32030 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32031 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32032 definition of __sendmmsg hidden.
32033 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32034 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32035 Move ENOSYS stub into and include it from...
32036 * socket/sendmmsg.c: ... this new file.
32037 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32038 (sysdep_routines): Move recvmmsg and sendmmsg...
32039 * socket/Makefile (routines): ... here.
32040 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32041 (GLIBC_PRIVATE): Add __sendmmsg.
32042 * include/sys/socket.h (__sendmmsg): Add declarations.
32043 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32046 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32048 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32049 variable I1 with __attribute__ ((unused)).
32050 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32052 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32054 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32055 DUMMY variables with __attribute__ ((unused)).
32057 * bits/byteswap.h: Include <bits/types.h>.
32058 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32060 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32062 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32063 string_t. Do not manually set errno.
32064 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32065 length with __strnlen. Make sure to both set errno and return it on
32068 2012-11-19 David S. Miller <davem@davemloft.net>
32070 With help from Joseph Myers.
32071 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32072 very large arguments properly.
32073 * math/libm-test.inc (atan_test): New tests.
32074 (atan2_test): New tests.
32075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32076 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32078 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32081 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32084 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32085 [POSIX] (EADDRNOTAVAIL): Likewise.
32086 [POSIX] (EAFNOSUPPORT): Likewise.
32087 [POSIX] (EALREADY): Likewise.
32088 [POSIX] (ECONNABORTED): Likewise.
32089 [POSIX] (ECONNREFUSED): Likewise.
32090 [POSIX] (ECONNRESET): Likewise.
32091 [POSIX] (EDESTADDRREQ): Likewise.
32092 [POSIX] (EDQUOT): Likewise.
32093 [POSIX] (EHOSTUNREACH): Likewise.
32094 [POSIX] (EIDRM): Likewise.
32095 [POSIX] (EISCONN): Likewise.
32096 [POSIX] (ELOOP): Likewise.
32097 [POSIX] (EMULTIHOP): Likewise.
32098 [POSIX] (ENETDOWN): Likewise.
32099 [POSIX] (ENETUNREACH): Likewise.
32100 [POSIX] (ENOBUFS): Likewise.
32101 [POSIX] (ENODATA): Likewise.
32102 [POSIX] (ENOLINK): Likewise.
32103 [POSIX] (ENOMSG): Likewise.
32104 [POSIX] (ENOPROTOOPT): Likewise.
32105 [POSIX] (ENOSR): Likewise.
32106 [POSIX] (ENOSTR): Likewise.
32107 [POSIX] (ENOTCONN): Likewise.
32108 [POSIX] (ENOTSOCK): Likewise.
32109 [POSIX] (EOPNOTSUPP): Likewise.
32110 [POSIX] (EOVERFLOW): Likewise.
32111 [POSIX] (EPROTO): Likewise.
32112 [POSIX] (EPROTONOSUPPORT): Likewise.
32113 [POSIX] (EPROTOTYPE): Likewise.
32114 [POSIX] (ESTALE): Likewise.
32115 [POSIX] (ETIME): Likewise.
32116 [POSIX] (ETXTBSY): Likewise.
32117 [POSIX] (EWOULDBLOCK): Likewise.
32118 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32119 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32120 [POSIX] (SEEK_CUR): Likewise.
32121 [POSIX] (SEEK_END): Likewise.
32122 [POSIX || UNIX98] (mode_t): Do not require.
32123 [POSIX] (off_t): Likewise.
32124 [POSIX] (pid_t): Likewise.
32125 [POSIX] (sys/stat.h): Do not allow header.
32126 [POSIX] (unistd.h): Likewise.
32127 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32128 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32129 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32130 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32132 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32133 sigevent): Specify elements.
32134 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32136 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32137 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32139 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32140 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32141 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32142 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32143 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32144 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32145 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32146 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32147 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32148 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32149 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32150 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32151 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32152 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32154 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32156 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32158 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32160 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32161 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32162 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32163 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32164 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32165 Specify lower bound on value.
32166 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32167 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32168 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32169 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32170 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32171 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32172 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32173 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32175 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32177 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32178 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32179 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32180 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32181 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32182 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32183 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32184 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32185 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32186 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32187 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32188 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32189 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32190 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32191 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32192 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32194 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32196 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32197 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32198 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32199 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32200 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32201 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32203 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32204 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32205 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32206 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32207 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32208 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32209 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32211 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32212 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32213 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32214 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32215 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32216 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32217 specify as optional.
32218 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32219 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32220 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32221 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32222 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32223 [XPG3] (NL_LANGMAX): Likewise.
32224 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32225 [POSIX || XPG3] (NL_NMAX): Likewise.
32226 [POSIX || XPG3] (NL_SETMAX): Likewise.
32227 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32228 [XPG3] (NZERO): Likewise.
32229 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32230 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32231 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32232 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32233 (REG_ERANGE): Expect.
32234 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32236 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32237 Use (void) in prototype.
32238 [POSIX] (*_t): Allow.
32239 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32240 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32241 (WRDE_BADVAL): Expect.
32243 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32245 [XPG3 || XPG4] (O_RSYNC): Likewise.
32246 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32248 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32249 [XPG3 || XPG4] (sigqueue): Likewise.
32250 [XPG3 || XPG4] (sigtimedwait): Likewise.
32251 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32252 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32253 [XPG3 || XPG4] (vsnprintf): Likewise.
32254 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32256 [XPG3 || XPG4] (blksize_t): Likewise.
32257 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32259 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32260 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32261 [XPG3 || XPG4] (struct itimerspec): Likewise.
32262 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32263 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32264 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32265 [XPG3 || XPG4] (clockid_t): Likewise.
32266 [XPG3 || XPG4] (timer_t): Likewise.
32267 [XPG3 || XPG4] (clock_getres): Likewise.
32268 [XPG3 || XPG4] (clock_gettime): Likewise.
32269 [XPG3 || XPG4] (clock_settime): Likewise.
32270 [XPG3 || XPG4] (nanosleep): Likewise.
32271 [XPG3 || XPG4] (timer_create): Likewise.
32272 [XPG3 || XPG4] (timer_delete): Likewise.
32273 [XPG3 || XPG4] (timer_gettime): Likewise.
32274 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32275 [XPG3 || XPG4] (timer_settime): Likewise.
32276 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32277 [XPG3 || XPG4] (getlogin_r): Likewise.
32278 [XPG3 || XPG4] (pread): Likewise.
32279 [XPG3 || XPG4] (pthread_atfork): Likewise.
32280 [XPG3 || XPG4] (pwrite): Likewise.
32283 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32286 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32288 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32289 finalizing MALLSTREAM.
32291 * sysdeps/mach/hurd/syncfs.c: New file.
32293 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32296 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32297 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32298 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32299 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32300 (_nss_dns_gethostbyname4_r): Likewise.
32301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32302 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32304 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32307 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32309 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32311 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32312 * elf/cache.c (print_entry): Print ",AArch64" for
32315 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32316 * elf/cache.c (print_entry): Print ",hard-float" for
32319 2012-11-18 David S. Miller <davem@davemloft.net>
32321 With help from Joseph Myers.
32322 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32324 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32326 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32327 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32329 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32330 * math/libm-test.inc (y0_test): New tests.
32331 (y1_test): New tests.
32332 * sysdeps/i386/fpu/libm-test-ulps: Update.
32333 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32334 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32336 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32338 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32340 * configure: Regenerated.
32342 2012-11-17 David S. Miller <davem@davemloft.net>
32345 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32346 nonzero exponents with absolute value below 0x1p-128 to +/-
32349 2012-11-17 Joseph Myers <joseph@codesourcery.com>
32351 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32353 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32355 * posix/getconf-speclist.c: New file.
32356 * posix/posix-envs.def: Likewise.
32357 * posix/confstr.c (START_ENV_GROUP): New macro.
32358 (END_ENV_GROUP): Likewise.
32359 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32360 (KNOWN_PRESENT_ENV_STRING): Likewise.
32361 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32362 (UNKNOWN_ENVIRONMENT): Likewise.
32363 (confstr): Include posix-envs.def instead of handling
32364 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32365 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32366 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32367 (END_ENV_GROUP): Likewise.
32368 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32369 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32370 (UNKNOWN_ENVIRONMENT): Likewise.
32371 (__sysconf): Include posix-envs.def instead of handling associated
32372 cases directly here.
32373 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32374 preprocessing getconf-speclist.c rather than running getconf or
32375 generating empty file.
32377 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32379 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32381 2012-11-16 Andrej Lajovic <natrij@gmail.com>
32384 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32386 2012-11-16 David S. Miller <davem@davemloft.net>
32388 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32389 smaller than LDBL_EPSILON/2.0L, just return xm1.
32391 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32393 * elf/tst-array1.c (init): Set constructor priority to 1000.
32394 (fini): Set destructor priority to 1000.
32395 * elf/tst-array2dep.c: Likewise.
32397 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32400 * libio/fileops.c (_IO_new_file_write): Correctly return error.
32401 (_IO_new_file_xsputn): Also return EOF if none of the input
32402 data was written when overflow failed.
32403 * libio/iopadn.c (_IO_padn): Likewise.
32404 * libio/iowpadn.c (_IO_wpadn): Likewise.
32405 * stdio-common/tst-put-error.c: Add copyright notice.
32406 (do_test): Add case for printing padded string.
32407 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32408 _IO_padn returned error.
32409 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32410 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32413 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32415 * libio/libioP.h: Add comment note that the references to C++
32416 bits are now obsolete.
32418 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32420 * math/libm-test.inc (check_complex): Use asprintf.
32422 2012-11-14 Joseph Myers <joseph@codesourcery.com>
32424 * debug/pcprofiledump.c (print_version): Update copyright year.
32425 * malloc/memusagestat.c (print_version): Likewise.
32427 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
32430 * elf/Makefile (tests): Add tst-audit8.
32431 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32432 ($(objpfx)tst-audit8.out): New target.
32433 (tst-audit8-ENV): New variable.
32434 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32435 audit if l_reloc_result is NULL.
32436 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32437 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32438 * elf/tst-audit8.c: New file.
32440 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32442 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32443 * misc/Makefile (CFLAGS-select.c): Define.
32444 * posix/Makefile (CFLAGS-pause.c): Define.
32446 2012-11-13 David S. Miller <davem@davemloft.net>
32448 * crypt/Makefile: Move test targets after toplevel Rules
32449 inclusion. Grab any necessary sysdep routines when linking.
32450 * crypt/md5.c (md5_process_block): Remove define, we will always
32451 name it __md5_process_block.
32452 (md5_finish_ctx): Update md5_process_block call.
32453 (md5_stream): Likewise.
32454 (md5_process_bytes): Likewise.
32455 (md5_process_block): Rename to __md5_process_block and move to ...
32456 * crypt/md5-block.c: ... here.
32457 * crypt/sha256.c (sha256_process_block): Move to ...
32458 * crypt/sha256-block.c: ... here.
32459 * crypt/sha512.c (sha512_process_block): Move to ...
32460 * crypt/sha512-block.c: ... here.
32461 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32463 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32464 * sysdeps/sparc/sparc64/multiarch/Makefile
32465 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32467 (localedef-aux): Add md5 crypto assembler when in locale subdir.
32468 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32470 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32471 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32472 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32473 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32474 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32475 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32476 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32477 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32478 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32480 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32481 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32483 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32485 2012-11-13 Joseph Myers <joseph@codesourcery.com>
32487 * timezone/tzselect.ksh: Update from tzcode git revision
32488 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32489 * timezone/zdump.c: Likewise.
32490 * timezone/zic.c: Likewise.
32491 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32492 in TZVERSION setting, not $(PKGVERSION).
32493 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
32494 REPORT_BUGS_TO settings.
32497 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32500 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32502 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32503 detection to immediately after _FP_ROUND().
32504 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32507 2012-11-11 David S. Miller <davem@davemloft.net>
32509 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32511 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32512 __close rather than their public counterparts.
32514 2012-11-10 Joseph Myers <joseph@codesourcery.com>
32516 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32518 [UNIX98] (sem_timedwait): Do not expect.
32519 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32520 [XPG4 || UNIX98] (sockatmark): Do not expect.
32521 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32522 (clock_getcpuclockid): Do not expect.
32523 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32524 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32526 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32527 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32528 [UNIX98] (vwscanf): Likewise.
32529 [UNIX98] (vswscanf): Likewise.
32531 2012-11-09 Joseph Myers <joseph@codesourcery.com>
32533 * timezone/version.h: Remove file.
32534 * timezone/README: Do not refer to version.h.
32535 * timezone/Makefile ($(objpfx)zic.o): New dependency on
32536 $(objpfx)version.h.
32537 ($(objpfx)zdump.o): Likewise.
32538 ($(objpfx)version.h): New target.
32540 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32542 * timezone/README: Don't mention modification to tzselect.ksh.
32543 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32544 work on unmodified tzselect.ksh. Substitute version numbers in
32547 * Makefile (format-me): Remove.
32548 (INSTALL): Adjust indentation. Use commands directly instead of
32549 using $(format-me).
32551 * aclocal.m4 (ACX_PKGVERSION): New macro.
32552 (ACX_BUGURL): Likewise.
32553 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32554 (PKGVERSION): New AC_DEFINE_UNQUOTED.
32555 (REPORT_BUGS_TO): Likewise.
32556 * configure: Regenerated.
32557 * config.h.in (PKGVERSION): New macro.
32558 (REPORT_BUGS_TO): Likewise.
32559 * config.make.in (PKGVERSION): New variable.
32560 (PKGVERSION_TEXI): Likewise.
32561 (REPORT_BUGS_TO): Likewise.
32562 (REPORT_BUGS_TEXI): Likewise.
32563 * Makefile (format-me): Use -I$(common-objpfx)manual.
32564 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32565 ($(common-objpfx)manual/%): New target.
32566 (manual/%): Remove target.
32567 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32568 (print_version): Use PKGVERSION.
32569 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32570 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32571 and REPORT_BUGS_TO.
32572 ($(objpfx)xtrace): Likewise.
32573 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32574 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32575 (print_version): Use PKGVERSION.
32576 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32577 (do_version): Use PKGVERSION.
32578 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32580 (common-ldd-rewrite): Likewise.
32581 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32582 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32583 (print_version): Use PKGVERSION.
32584 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32585 * elf/pldd.c (argp_program_bug_address): Remove variable.
32586 (more_help): New function.
32587 (argp): Use more_help.
32588 (print_version): Use PKGVERSION.
32589 * elf/sln.c (main): Use PKGVERSION.
32590 (usage): Use REPORT_BUGS_TO.
32591 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32592 (top level): Use PKGVERSION.
32593 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32594 (print_version): Use PKGVERSION.
32595 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32596 (print_version): Use PKGVERSION.
32597 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32598 (print_version): Use PKGVERSION.
32599 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32600 (print_version): Use PKGVERSION.
32601 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32602 (print_version): Use PKGVERSION.
32603 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32604 (print_version): Use PKGVERSION.
32605 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32607 ($(objpfx)memusage): Likewise.
32608 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32609 (do_version): Use PKGVERSION.
32610 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32611 (print_version): Use PKGVERSION.
32612 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32613 ($PKGVERSION): New variable.
32614 ($REPORT_BUGS_TO): Likewise.
32615 (usage): Use $REPORT_BUGS_TO.
32616 (top level): Use $PKGVERSION.
32617 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32618 ($(objpfx)pkgvers.texi): New rule.
32619 ($(objpfx)stamp-pkgvers): Likewise.
32620 * manual/install.texi: Include pkgvers.texi.
32621 (--with-pkgversion): Document new configure option.
32622 (--with-bugurl): Likewise.
32623 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32624 than necessarily for this particular distribution. Use
32625 REPORT_BUGS_TO for where to report bugs.
32626 * INSTALL: Regenerated.
32627 * manual/libc.texinfo: Include pkgvers.texi.
32628 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32629 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32630 (print_version): Use PKGVERSION.
32631 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32632 (print_version): Use PKGVERSION.
32633 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32634 (print_version): Use PKGVERSION.
32635 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32636 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32638 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32639 (print_version): Use PKGVERSION.
32640 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32641 (print_version): Use PKGVERSION.
32642 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32645 * timezone/checktab.awk: Update from tzcode 2012i.
32646 * timezone/ialloc.c: Likewise.
32647 * timezone/private.h: Likewise.
32648 * timezone/scheck.c: Likewise.
32649 * timezone/tzfile.h: Likewise.
32650 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32651 (TZVERSION): Hardcode tzcode version number.
32652 * timezone/zdump.c: Update from tzcode 2012i.
32653 * timezone/zic.c: Likewise.
32654 * timezone/version.h: New file.
32655 * timezone/README: Describe version.h. Update upstream location.
32658 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32659 (mktemp): Enable declaration.
32660 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32661 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32662 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32663 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32665 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32667 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32669 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32671 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32673 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32677 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32678 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32679 for copies of such integer values.
32680 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32681 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32683 2012-11-09 Andreas Jaeger <aj@suse.de>
32685 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32686 definitions and declarations that are provided by
32687 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32689 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32691 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32692 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32693 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32696 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32698 * elf/elf.h: Update comment before AArch64 relocations.
32700 2012-11-07 David S. Miller <davem@davemloft.net>
32702 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32703 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32704 (__start_context): Declare.
32705 (__makecontext_ret): Delete.
32706 (__makecontext): Hook up __start_context instead of
32708 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32709 (sysdep_routines): Add __start_context when in stdlib.
32711 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32713 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32714 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32715 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32717 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32718 (READELF): New variable. Use it instead of hardcoded "readelf".
32720 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32722 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32723 * sysdeps/x86/Makefile: Here.
32724 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32725 * sysdeps/x86/tst-xmmymm.sh: This.
32727 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32729 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32731 [UNIX98] (pthread_barrier_t): Do not expect.
32732 [UNIX98] (pthread_barrierattr_t): Likewise.
32733 [UNIX98] (pthread_spinlock_t): Likewise.
32734 [UNIX98] (pthread_barrier_destroy): Likewise.
32735 [UNIX98] (pthread_barrier_init): Likewise.
32736 [UNIX98] (pthread_barrier_wait): Likewise.
32737 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32738 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32739 [UNIX98] (pthread_barrierattr_init): Likewise.
32740 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32741 [UNIX98] (pthread_getcpuclockid): Likewise.
32742 [UNIX98] (pthread_mutex_timedlock): Likewise.
32743 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32744 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32745 [UNIX98] (pthread_sigmask): Likewise.
32746 [UNIX98] (pthread_spin_destroy): Likewise.
32747 [UNIX98] (pthread_spin_init): Likewise.
32748 [UNIX98] (pthread_spin_lock): Likewise.
32749 [UNIX98] (pthread_spin_trylock): Likewise.
32750 [UNIX98] (pthread_spin_unlock): Likewise.
32751 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32753 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32754 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32755 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32756 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32757 [XPG3 || XPG4] (pthread_key_t): Likewise.
32758 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32759 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32760 [XPG3 || XPG4] (pthread_once_t): Likewise.
32761 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32762 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32763 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32764 [XPG3 || XPG4] (pthread_t): Likewise.
32766 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32768 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32770 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32771 Change function return type to int.
32773 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32774 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32775 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32776 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32777 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32778 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32779 [!POSIX] (posix_madvise): Likewise.
32780 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32782 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32783 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32784 (mode_t): Likewise.
32785 (posix_mem_offset): Likewise.
32786 (posix_typed_mem_get_info): Likewise.
32787 (posix_typed_mem_open): Likewise.
32789 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32790 Change condition to [XOPEN2K8].
32792 * conform/conformtest.pl: Preprocess allow-header data with -x c
32793 instead of from stdin.
32794 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32795 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32796 [C99-based standards] (cerfc): Likewise.
32797 [C99-based standards] (cexp2): Likewise.
32798 [C99-based standards] (cexpm1): Likewise.
32799 [C99-based standards] (clog10): Likewise.
32800 [C99-based standards] (clog1p): Likewise.
32801 [C99-based standards] (clog2): Likewise.
32802 [C99-based standards] (clgamma): Likewise.
32803 [C99-based standards] (ctgamma): Likewise.
32804 [C99-based standards] (cerff): Likewise.
32805 [C99-based standards] (cerfcf): Likewise.
32806 [C99-based standards] (cexp2f): Likewise.
32807 [C99-based standards] (cexpm1f): Likewise.
32808 [C99-based standards] (clog10f): Likewise.
32809 [C99-based standards] (clog1pf): Likewise.
32810 [C99-based standards] (clog2f): Likewise.
32811 [C99-based standards] (clgammaf): Likewise.
32812 [C99-based standards] (ctgammaf): Likewise.
32813 [C99-based standards] (cerfl): Likewise.
32814 [C99-based standards] (cerfcl): Likewise.
32815 [C99-based standards] (cexp2l): Likewise.
32816 [C99-based standards] (cexpm1l): Likewise.
32817 [C99-based standards] (clog10l): Likewise.
32818 [C99-based standards] (clog1pl): Likewise.
32819 [C99-based standards] (clog2l): Likewise.
32820 [C99-based standards] (clgammal): Likewise.
32821 [C99-based standards] (ctgammal): Likewise.
32822 * conform/data/inttypes.h-data [C99-based standards]: Include
32823 stdint.h-data. Remove all expectations for stdint.h contents.
32824 [C99-based standards] (PRI*): Do not allow.
32825 [C99-based standards] (SCN*): Likewise.
32826 [C99-based standards] (*_t): Likewise.
32827 [C99-based-standards] (PRId8): Expect macro.
32828 [C99-based-standards] (PRIi8): Likewise.
32829 [C99-based-standards] (PRIo8): Likewise.
32830 [C99-based-standards] (PRIu8): Likewise.
32831 [C99-based-standards] (PRIx8): Likewise.
32832 [C99-based-standards] (PRIX8): Likewise.
32833 [C99-based-standards] (SCNd8): Likewise.
32834 [C99-based-standards] (SCNi8): Likewise.
32835 [C99-based-standards] (SCNo8): Likewise.
32836 [C99-based-standards] (SCNu8): Likewise.
32837 [C99-based-standards] (SCNx8): Likewise.
32838 [C99-based-standards] (PRIdLEAST8): Likewise.
32839 [C99-based-standards] (PRIiLEAST8): Likewise.
32840 [C99-based-standards] (PRIoLEAST8): Likewise.
32841 [C99-based-standards] (PRIuLEAST8): Likewise.
32842 [C99-based-standards] (PRIxLEAST8): Likewise.
32843 [C99-based-standards] (PRIXLEAST8): Likewise.
32844 [C99-based-standards] (SCNdLEAST8): Likewise.
32845 [C99-based-standards] (SCNiLEAST8): Likewise.
32846 [C99-based-standards] (SCNoLEAST8): Likewise.
32847 [C99-based-standards] (SCNuLEAST8): Likewise.
32848 [C99-based-standards] (SCNxLEAST8): Likewise.
32849 [C99-based-standards] (PRIdFAST8): Likewise.
32850 [C99-based-standards] (PRIiFAST8): Likewise.
32851 [C99-based-standards] (PRIoFAST8): Likewise.
32852 [C99-based-standards] (PRIuFAST8): Likewise.
32853 [C99-based-standards] (PRIxFAST8): Likewise.
32854 [C99-based-standards] (PRIXFAST8): Likewise.
32855 [C99-based-standards] (SCNdFAST8): Likewise.
32856 [C99-based-standards] (SCNiFAST8): Likewise.
32857 [C99-based-standards] (SCNoFAST8): Likewise.
32858 [C99-based-standards] (SCNuFAST8): Likewise.
32859 [C99-based-standards] (SCNxFAST8): Likewise.
32860 [C99-based-standards] (PRId16): Likewise.
32861 [C99-based-standards] (PRIi16): Likewise.
32862 [C99-based-standards] (PRIo16): Likewise.
32863 [C99-based-standards] (PRIu16): Likewise.
32864 [C99-based-standards] (PRIx16): Likewise.
32865 [C99-based-standards] (PRIX16): Likewise.
32866 [C99-based-standards] (SCNd16): Likewise.
32867 [C99-based-standards] (SCNi16): Likewise.
32868 [C99-based-standards] (SCNo16): Likewise.
32869 [C99-based-standards] (SCNu16): Likewise.
32870 [C99-based-standards] (SCNx16): Likewise.
32871 [C99-based-standards] (PRIdLEAST16): Likewise.
32872 [C99-based-standards] (PRIiLEAST16): Likewise.
32873 [C99-based-standards] (PRIoLEAST16): Likewise.
32874 [C99-based-standards] (PRIuLEAST16): Likewise.
32875 [C99-based-standards] (PRIxLEAST16): Likewise.
32876 [C99-based-standards] (PRIXLEAST16): Likewise.
32877 [C99-based-standards] (SCNdLEAST16): Likewise.
32878 [C99-based-standards] (SCNiLEAST16): Likewise.
32879 [C99-based-standards] (SCNoLEAST16): Likewise.
32880 [C99-based-standards] (SCNuLEAST16): Likewise.
32881 [C99-based-standards] (SCNxLEAST16): Likewise.
32882 [C99-based-standards] (PRIdFAST16): Likewise.
32883 [C99-based-standards] (PRIiFAST16): Likewise.
32884 [C99-based-standards] (PRIoFAST16): Likewise.
32885 [C99-based-standards] (PRIuFAST16): Likewise.
32886 [C99-based-standards] (PRIxFAST16): Likewise.
32887 [C99-based-standards] (PRIXFAST16): Likewise.
32888 [C99-based-standards] (SCNdFAST16): Likewise.
32889 [C99-based-standards] (SCNiFAST16): Likewise.
32890 [C99-based-standards] (SCNoFAST16): Likewise.
32891 [C99-based-standards] (SCNuFAST16): Likewise.
32892 [C99-based-standards] (SCNxFAST16): Likewise.
32893 [C99-based-standards] (PRId32): Likewise.
32894 [C99-based-standards] (PRIi32): Likewise.
32895 [C99-based-standards] (PRIo32): Likewise.
32896 [C99-based-standards] (PRIu32): Likewise.
32897 [C99-based-standards] (PRIx32): Likewise.
32898 [C99-based-standards] (PRIX32): Likewise.
32899 [C99-based-standards] (SCNd32): Likewise.
32900 [C99-based-standards] (SCNi32): Likewise.
32901 [C99-based-standards] (SCNo32): Likewise.
32902 [C99-based-standards] (SCNu32): Likewise.
32903 [C99-based-standards] (SCNx32): Likewise.
32904 [C99-based-standards] (PRIdLEAST32): Likewise.
32905 [C99-based-standards] (PRIiLEAST32): Likewise.
32906 [C99-based-standards] (PRIoLEAST32): Likewise.
32907 [C99-based-standards] (PRIuLEAST32): Likewise.
32908 [C99-based-standards] (PRIxLEAST32): Likewise.
32909 [C99-based-standards] (PRIXLEAST32): Likewise.
32910 [C99-based-standards] (SCNdLEAST32): Likewise.
32911 [C99-based-standards] (SCNiLEAST32): Likewise.
32912 [C99-based-standards] (SCNoLEAST32): Likewise.
32913 [C99-based-standards] (SCNuLEAST32): Likewise.
32914 [C99-based-standards] (SCNxLEAST32): Likewise.
32915 [C99-based-standards] (PRIdFAST32): Likewise.
32916 [C99-based-standards] (PRIiFAST32): Likewise.
32917 [C99-based-standards] (PRIoFAST32): Likewise.
32918 [C99-based-standards] (PRIuFAST32): Likewise.
32919 [C99-based-standards] (PRIxFAST32): Likewise.
32920 [C99-based-standards] (PRIXFAST32): Likewise.
32921 [C99-based-standards] (SCNdFAST32): Likewise.
32922 [C99-based-standards] (SCNiFAST32): Likewise.
32923 [C99-based-standards] (SCNoFAST32): Likewise.
32924 [C99-based-standards] (SCNuFAST32): Likewise.
32925 [C99-based-standards] (SCNxFAST32): Likewise.
32926 [C99-based-standards] (PRId64): Likewise.
32927 [C99-based-standards] (PRIi64): Likewise.
32928 [C99-based-standards] (PRIo64): Likewise.
32929 [C99-based-standards] (PRIu64): Likewise.
32930 [C99-based-standards] (PRIx64): Likewise.
32931 [C99-based-standards] (PRIX64): Likewise.
32932 [C99-based-standards] (SCNd64): Likewise.
32933 [C99-based-standards] (SCNi64): Likewise.
32934 [C99-based-standards] (SCNo64): Likewise.
32935 [C99-based-standards] (SCNu64): Likewise.
32936 [C99-based-standards] (SCNx64): Likewise.
32937 [C99-based-standards] (PRIdLEAST64): Likewise.
32938 [C99-based-standards] (PRIiLEAST64): Likewise.
32939 [C99-based-standards] (PRIoLEAST64): Likewise.
32940 [C99-based-standards] (PRIuLEAST64): Likewise.
32941 [C99-based-standards] (PRIxLEAST64): Likewise.
32942 [C99-based-standards] (PRIXLEAST64): Likewise.
32943 [C99-based-standards] (SCNdLEAST64): Likewise.
32944 [C99-based-standards] (SCNiLEAST64): Likewise.
32945 [C99-based-standards] (SCNoLEAST64): Likewise.
32946 [C99-based-standards] (SCNuLEAST64): Likewise.
32947 [C99-based-standards] (SCNxLEAST64): Likewise.
32948 [C99-based-standards] (PRIdFAST64): Likewise.
32949 [C99-based-standards] (PRIiFAST64): Likewise.
32950 [C99-based-standards] (PRIoFAST64): Likewise.
32951 [C99-based-standards] (PRIuFAST64): Likewise.
32952 [C99-based-standards] (PRIxFAST64): Likewise.
32953 [C99-based-standards] (PRIXFAST64): Likewise.
32954 [C99-based-standards] (SCNdFAST64): Likewise.
32955 [C99-based-standards] (SCNiFAST64): Likewise.
32956 [C99-based-standards] (SCNoFAST64): Likewise.
32957 [C99-based-standards] (SCNuFAST64): Likewise.
32958 [C99-based-standards] (SCNxFAST64): Likewise.
32959 [C99-based-standards] (PRIdMAX): Likewise.
32960 [C99-based-standards] (PRIiMAX): Likewise.
32961 [C99-based-standards] (PRIoMAX): Likewise.
32962 [C99-based-standards] (PRIuMAX): Likewise.
32963 [C99-based-standards] (PRIxMAX): Likewise.
32964 [C99-based-standards] (PRIXMAX): Likewise.
32965 [C99-based-standards] (SCNdMAX): Likewise.
32966 [C99-based-standards] (SCNiMAX): Likewise.
32967 [C99-based-standards] (SCNoMAX): Likewise.
32968 [C99-based-standards] (SCNuMAX): Likewise.
32969 [C99-based-standards] (SCNxMAX): Likewise.
32970 [C99-based-standards] (PRIdPTR): Likewise.
32971 [C99-based-standards] (PRIiPTR): Likewise.
32972 [C99-based-standards] (PRIoPTR): Likewise.
32973 [C99-based-standards] (PRIuPTR): Likewise.
32974 [C99-based-standards] (PRIxPTR): Likewise.
32975 [C99-based-standards] (PRIXPTR): Likewise.
32976 [C99-based-standards] (SCNdPTR): Likewise.
32977 [C99-based-standards] (SCNiPTR): Likewise.
32978 [C99-based-standards] (SCNoPTR): Likewise.
32979 [C99-based-standards] (SCNuPTR): Likewise.
32980 [C99-based-standards] (SCNxPTR): Likewise.
32981 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32983 * conform/data/stdint.h-data: Update comments to clarify
32985 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
32987 [C99-based standards] (INT8_MAX): Likewise.
32988 [C99-based standards] (INT16_MIN): Likewise.
32989 [C99-based standards] (INT16_MAX): Likewise.
32990 [C99-based standards] (INT32_MIN): Likewise.
32991 [C99-based standards] (INT32_MAX): Likewise.
32992 [C99-based standards] (INT64_MIN): Likewise.
32993 [C99-based standards] (INT64_MAX): Likewise.
32994 [C99-based standards] (UINT8_MAX): Likewise.
32995 [C99-based standards] (UINT16_MAX): Likewise.
32996 [C99-based standards] (UINT32_MAX): Likewise.
32997 [C99-based standards] (UINT64_MAX): Likewise.
32998 [C99-based standards] (INT_LEAST8_MIN): Likewise.
32999 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33000 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33001 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33002 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33003 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33004 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33005 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33006 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33007 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33008 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33009 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33010 [C99-based standards] (INT_FAST8_MIN): Likewise.
33011 [C99-based standards] (INT_FAST8_MAX): Likewise.
33012 [C99-based standards] (INT_FAST16_MIN): Likewise.
33013 [C99-based standards] (INT_FAST16_MAX): Likewise.
33014 [C99-based standards] (INT_FAST32_MIN): Likewise.
33015 [C99-based standards] (INT_FAST32_MAX): Likewise.
33016 [C99-based standards] (INT_FAST64_MIN): Likewise.
33017 [C99-based standards] (INT_FAST64_MAX): Likewise.
33018 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33019 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33020 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33021 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33022 [C99-based standards] (INTPTR_MIN): Likewise.
33023 [C99-based standards] (INTPTR_MAX): Likewise.
33024 [C99-based standards] (UINTPTR_MAX): Likewise.
33025 [C99-based standards] (INTMAX_MIN): Likewise.
33026 [C99-based standards] (INTMAX_MAX): Likewise.
33027 [C99-based standards] (UINTMAX_MAX): Likewise.
33028 [C99-based standards] (PTRDIFF_MIN): Likewise.
33029 [C99-based standards] (PTRDIFF_MAX): Likewise.
33030 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33031 [C99-based standards] (SIZE_MAX): Likewise.
33032 [C99-based standards] (WCHAR_MAX): Likewise.
33033 [C99-based standards] (WINT_MAX): Likewise.
33034 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33035 constraint on value.
33036 [C99-based standards] (WCHAR_MIN): Likewise.
33037 [C99-based standards] (WINT_MIN): Likewise.
33038 [C99-based standards] (*_t): Allow.
33039 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33040 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33041 Include math.h-data and complex.h-data. Remove all expectations
33042 of math.h and complex.h contents.
33043 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33045 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33046 (struct tm): Expect tag.
33047 [C99-based-standards] (wcstof): Expect function.
33048 [C99-based-standards] (wcstold): Likewise.
33049 [C99-based-standards] (wcstoll): Likewise.
33050 [C99-based-standards] (wcstoull): Likewise.
33051 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33052 macro-int-constant. Specify type.
33053 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33054 constraint on value.
33055 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33057 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33059 [ISO C standards]: Do not allow headers.
33060 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33061 wcs[abcdefghijklmnopqrstuvwxyz]*.
33062 [ISO C standards] (*_t): Do not allow.
33063 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33065 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33066 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33068 [ISO C standards]: Do not allow headers.
33069 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33070 is[abcdefghijklmnopqrstuvwxyz]*.
33071 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33072 to[abcdefghijklmnopqrstuvwxyz]*.
33073 [ISO C standards] (*_t): Do not allow.
33074 * conform/data/stdalign.h-data: New file.
33075 * conform/data/stdbool.h-data: Likewise.
33076 * conform/data/stdnoreturn.h-data: Likewise.
33078 2012-11-07 Roland McGrath <roland@hack.frob.com>
33081 * manual/filesys.texi (Directory Entries): Typo fix.
33082 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33084 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33086 * elf/elf.h (EM_AARCH64): New macro.
33087 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33088 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33089 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33090 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33091 (R_AARCH64_TLSDESC): Likewise.
33092 (NT_ARM_TLS): Likewise.
33093 (NT_ARM_HW_BREAK): Likewise.
33094 (NT_ARM_HW_WATCH): Likewise.
33096 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33099 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33100 (__ieee754_powl): Saturate nonzero exponents with absolute value
33101 below 0x1p-79 to +/- 0x1p-79.
33102 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33103 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33104 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33105 nonzero exponents with absolute value below 0x1p-32 to +/-
33107 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33108 (__ieee754_powl): Saturate nonzero exponents with absolute value
33109 below 0x1p-79 to +/- 0x1p-79.
33110 * math/libm-test.inc (pow_test): Add more tests.
33112 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33114 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33115 _dl_s390_cap_flags with kernel. Increase string length.
33116 (_dl_s390_platforms): Add z196 and zEC12.
33118 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33120 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33121 Change XOPEN21K to XOPEN2K.
33123 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33125 * string/memmove.c: Use memcpy when possible.
33127 2012-11-06 Andreas Jaeger <aj@suse.de>
33129 * po/eo.po: Update from translation team.
33131 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33134 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33135 exponent and small x and y exponents, scale x or y up. Increase
33136 by 2 the exponent used in scaling up.
33137 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33138 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33139 * math/libm-test.inc (fma_test): Add more tests.
33140 (fma_test_towardzero): Likewise.
33141 (fma_test_downward): Likewise.
33142 (fma_test_upward): Likewise.
33144 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33147 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33151 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33152 namespace for names of struct fields.
33153 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33155 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33156 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33158 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33161 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33163 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33165 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33169 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33172 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33175 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33176 definitely overflow as x * y not x * y + z.
33177 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33178 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33179 * math/libm-test.inc (fma_test): Add more tests.
33180 (fma_test_towardzero): Likewise.
33181 (fma_test_downward): Likewise.
33182 (fma_test_upward): Likewise.
33184 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33188 * include/stub-tag.h: Remove file.
33189 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33191 * manual/maint.texi (Porting): Don't reference it.
33192 * Makerules ($(objpfx)stubs): Likewise.
33193 * dirent/closedir.c: Don't include <stub-tag.h>.
33194 * dirent/dirfd.c: Likewise.
33195 * dirent/fdopendir.c: Likewise.
33196 * dirent/getdents.c: Likewise.
33197 * dirent/getdents64.c: Likewise.
33198 * dirent/opendir.c: Likewise.
33199 * dirent/readdir.c: Likewise.
33200 * dirent/readdir64.c: Likewise.
33201 * dirent/readdir64_r.c: Likewise.
33202 * dirent/readdir_r.c: Likewise.
33203 * dirent/rewinddir.c: Likewise.
33204 * dirent/seekdir.c: Likewise.
33205 * dirent/telldir.c: Likewise.
33206 * gmon/profil.c: Likewise.
33207 * grp/setgroups.c: Likewise.
33208 * inet/if_index.c: Likewise.
33209 * io/access.c: Likewise.
33210 * io/chdir.c: Likewise.
33211 * io/chmod.c: Likewise.
33212 * io/chown.c: Likewise.
33213 * io/close.c: Likewise.
33214 * io/dup.c: Likewise.
33215 * io/dup2.c: Likewise.
33216 * io/dup3.c: Likewise.
33217 * io/euidaccess.c: Likewise.
33218 * io/faccessat.c: Likewise.
33219 * io/fchdir.c: Likewise.
33220 * io/fchmod.c: Likewise.
33221 * io/fchmodat.c: Likewise.
33222 * io/fchown.c: Likewise.
33223 * io/fchownat.c: Likewise.
33224 * io/fcntl.c: Likewise.
33225 * io/flock.c: Likewise.
33226 * io/fstatfs.c: Likewise.
33227 * io/fstatfs64.c: Likewise.
33228 * io/fstatvfs.c: Likewise.
33229 * io/fstatvfs64.c: Likewise.
33230 * io/futimens.c: Likewise.
33231 * io/fxstat.c: Likewise.
33232 * io/fxstat64.c: Likewise.
33233 * io/fxstatat.c: Likewise.
33234 * io/fxstatat64.c: Likewise.
33235 * io/getcwd.c: Likewise.
33236 * io/isatty.c: Likewise.
33237 * io/lchmod.c: Likewise.
33238 * io/lchown.c: Likewise.
33239 * io/link.c: Likewise.
33240 * io/linkat.c: Likewise.
33241 * io/lseek.c: Likewise.
33242 * io/lseek64.c: Likewise.
33243 * io/lxstat64.c: Likewise.
33244 * io/mkdir.c: Likewise.
33245 * io/mkdirat.c: Likewise.
33246 * io/mkfifo.c: Likewise.
33247 * io/mkfifoat.c: Likewise.
33248 * io/open.c: Likewise.
33249 * io/open64.c: Likewise.
33250 * io/openat.c: Likewise.
33251 * io/openat64.c: Likewise.
33252 * io/pipe.c: Likewise.
33253 * io/pipe2.c: Likewise.
33254 * io/poll.c: Likewise.
33255 * io/posix_fadvise.c: Likewise.
33256 * io/posix_fadvise64.c: Likewise.
33257 * io/posix_fallocate.c: Likewise.
33258 * io/posix_fallocate64.c: Likewise.
33259 * io/read.c: Likewise.
33260 * io/readlink.c: Likewise.
33261 * io/readlinkat.c: Likewise.
33262 * io/rmdir.c: Likewise.
33263 * io/sendfile.c: Likewise.
33264 * io/sendfile64.c: Likewise.
33265 * io/statfs.c: Likewise.
33266 * io/statfs64.c: Likewise.
33267 * io/statvfs.c: Likewise.
33268 * io/statvfs64.c: Likewise.
33269 * io/symlink.c: Likewise.
33270 * io/symlinkat.c: Likewise.
33271 * io/ttyname.c: Likewise.
33272 * io/ttyname_r.c: Likewise.
33273 * io/umask.c: Likewise.
33274 * io/unlink.c: Likewise.
33275 * io/unlinkat.c: Likewise.
33276 * io/utime.c: Likewise.
33277 * io/utimensat.c: Likewise.
33278 * io/write.c: Likewise.
33279 * io/xmknod.c: Likewise.
33280 * io/xmknodat.c: Likewise.
33281 * io/xstat.c: Likewise.
33282 * io/xstat64.c: Likewise.
33283 * login/getpt.c: Likewise.
33284 * login/grantpt.c: Likewise.
33285 * login/unlockpt.c: Likewise.
33286 * math/e_acoshl.c: Likewise.
33287 * math/e_acosl.c: Likewise.
33288 * math/e_asinl.c: Likewise.
33289 * math/e_atan2l.c: Likewise.
33290 * math/e_atanhl.c: Likewise.
33291 * math/e_coshl.c: Likewise.
33292 * math/e_expl.c: Likewise.
33293 * math/e_fmodl.c: Likewise.
33294 * math/e_gammal_r.c: Likewise.
33295 * math/e_hypotl.c: Likewise.
33296 * math/e_j0l.c: Likewise.
33297 * math/e_j1l.c: Likewise.
33298 * math/e_jnl.c: Likewise.
33299 * math/e_lgammal_r.c: Likewise.
33300 * math/e_log10l.c: Likewise.
33301 * math/e_log2l.c: Likewise.
33302 * math/e_logl.c: Likewise.
33303 * math/e_powl.c: Likewise.
33304 * math/e_rem_pio2l.c: Likewise.
33305 * math/e_sinhl.c: Likewise.
33306 * math/e_sqrtl.c: Likewise.
33307 * math/fclrexcpt.c: Likewise.
33308 * math/fedisblxcpt.c: Likewise.
33309 * math/feenablxcpt.c: Likewise.
33310 * math/fegetenv.c: Likewise.
33311 * math/fegetexcept.c: Likewise.
33312 * math/fegetround.c: Likewise.
33313 * math/feholdexcpt.c: Likewise.
33314 * math/fesetenv.c: Likewise.
33315 * math/fesetround.c: Likewise.
33316 * math/feupdateenv.c: Likewise.
33317 * math/fgetexcptflg.c: Likewise.
33318 * math/fraiseexcpt.c: Likewise.
33319 * math/fsetexcptflg.c: Likewise.
33320 * math/ftestexcept.c: Likewise.
33321 * math/k_cosl.c: Likewise.
33322 * math/k_rem_pio2l.c: Likewise.
33323 * math/k_sinl.c: Likewise.
33324 * math/k_tanl.c: Likewise.
33325 * math/s_asinhl.c: Likewise.
33326 * math/s_atanl.c: Likewise.
33327 * math/s_cbrtl.c: Likewise.
33328 * math/s_erfl.c: Likewise.
33329 * math/s_expm1l.c: Likewise.
33330 * math/s_log1pl.c: Likewise.
33331 * math/s_tanhl.c: Likewise.
33332 * misc/acct.c: Likewise.
33333 * misc/brk.c: Likewise.
33334 * misc/chflags.c: Likewise.
33335 * misc/chroot.c: Likewise.
33336 * misc/fchflags.c: Likewise.
33337 * misc/fgetxattr.c: Likewise.
33338 * misc/flistxattr.c: Likewise.
33339 * misc/fremovexattr.c: Likewise.
33340 * misc/fsetxattr.c: Likewise.
33341 * misc/fsync.c: Likewise.
33342 * misc/ftruncate.c: Likewise.
33343 * misc/futimes.c: Likewise.
33344 * misc/futimesat.c: Likewise.
33345 * misc/getdomain.c: Likewise.
33346 * misc/getdtsz.c: Likewise.
33347 * misc/gethostid.c: Likewise.
33348 * misc/gethostname.c: Likewise.
33349 * misc/getloadavg.c: Likewise.
33350 * misc/getpagesize.c: Likewise.
33351 * misc/getsysstats.c: Likewise.
33352 * misc/getxattr.c: Likewise.
33353 * misc/gtty.c: Likewise.
33354 * misc/ioctl.c: Likewise.
33355 * misc/lgetxattr.c: Likewise.
33356 * misc/listxattr.c: Likewise.
33357 * misc/llistxattr.c: Likewise.
33358 * misc/lremovexattr.c: Likewise.
33359 * misc/lsetxattr.c: Likewise.
33360 * misc/lutimes.c: Likewise.
33361 * misc/madvise.c: Likewise.
33362 * misc/mincore.c: Likewise.
33363 * misc/mlock.c: Likewise.
33364 * misc/mlockall.c: Likewise.
33365 * misc/mmap.c: Likewise.
33366 * misc/mprotect.c: Likewise.
33367 * misc/msync.c: Likewise.
33368 * misc/munlock.c: Likewise.
33369 * misc/munlockall.c: Likewise.
33370 * misc/munmap.c: Likewise.
33371 * misc/preadv.c: Likewise.
33372 * misc/preadv64.c: Likewise.
33373 * misc/ptrace.c: Likewise.
33374 * misc/pwritev.c: Likewise.
33375 * misc/pwritev64.c: Likewise.
33376 * misc/readv.c: Likewise.
33377 * misc/reboot.c: Likewise.
33378 * misc/remap_file_pages.c: Likewise.
33379 * misc/removexattr.c: Likewise.
33380 * misc/revoke.c: Likewise.
33381 * misc/select.c: Likewise.
33382 * misc/setdomain.c: Likewise.
33383 * misc/setegid.c: Likewise.
33384 * misc/seteuid.c: Likewise.
33385 * misc/sethostid.c: Likewise.
33386 * misc/sethostname.c: Likewise.
33387 * misc/setregid.c: Likewise.
33388 * misc/setreuid.c: Likewise.
33389 * misc/setxattr.c: Likewise.
33390 * misc/sstk.c: Likewise.
33391 * misc/stty.c: Likewise.
33392 * misc/swapoff.c: Likewise.
33393 * misc/swapon.c: Likewise.
33394 * misc/sync.c: Likewise.
33395 * misc/syncfs.c: Likewise.
33396 * misc/syscall.c: Likewise.
33397 * misc/truncate.c: Likewise.
33398 * misc/ualarm.c: Likewise.
33399 * misc/usleep.c: Likewise.
33400 * misc/ustat.c: Likewise.
33401 * misc/utimes.c: Likewise.
33402 * misc/vhangup.c: Likewise.
33403 * misc/writev.c: Likewise.
33404 * posix/_exit.c: Likewise.
33405 * posix/alarm.c: Likewise.
33406 * posix/execve.c: Likewise.
33407 * posix/fexecve.c: Likewise.
33408 * posix/fork.c: Likewise.
33409 * posix/fpathconf.c: Likewise.
33410 * posix/getaddrinfo.c: Likewise.
33411 * posix/getegid.c: Likewise.
33412 * posix/geteuid.c: Likewise.
33413 * posix/getgid.c: Likewise.
33414 * posix/getgroups.c: Likewise.
33415 * posix/getlogin.c: Likewise.
33416 * posix/getlogin_r.c: Likewise.
33417 * posix/getpgid.c: Likewise.
33418 * posix/getpid.c: Likewise.
33419 * posix/getppid.c: Likewise.
33420 * posix/getresgid.c: Likewise.
33421 * posix/getresuid.c: Likewise.
33422 * posix/getsid.c: Likewise.
33423 * posix/getuid.c: Likewise.
33424 * posix/glob64.c: Likewise.
33425 * posix/nanosleep.c: Likewise.
33426 * posix/pathconf.c: Likewise.
33427 * posix/pause.c: Likewise.
33428 * posix/posix_madvise.c: Likewise.
33429 * posix/pread.c: Likewise.
33430 * posix/pread64.c: Likewise.
33431 * posix/pwrite.c: Likewise.
33432 * posix/pwrite64.c: Likewise.
33433 * posix/sched_getaffinity.c: Likewise.
33434 * posix/sched_getp.c: Likewise.
33435 * posix/sched_gets.c: Likewise.
33436 * posix/sched_primax.c: Likewise.
33437 * posix/sched_primin.c: Likewise.
33438 * posix/sched_rr_gi.c: Likewise.
33439 * posix/sched_setaffinity.c: Likewise.
33440 * posix/sched_setp.c: Likewise.
33441 * posix/sched_sets.c: Likewise.
33442 * posix/sched_yield.c: Likewise.
33443 * posix/setgid.c: Likewise.
33444 * posix/setlogin.c: Likewise.
33445 * posix/setpgid.c: Likewise.
33446 * posix/setresgid.c: Likewise.
33447 * posix/setresuid.c: Likewise.
33448 * posix/setsid.c: Likewise.
33449 * posix/setuid.c: Likewise.
33450 * posix/sleep.c: Likewise.
33451 * posix/spawni.c: Likewise.
33452 * posix/sysconf.c: Likewise.
33453 * posix/times.c: Likewise.
33454 * posix/wait.c: Likewise.
33455 * posix/wait3.c: Likewise.
33456 * posix/wait4.c: Likewise.
33457 * posix/waitpid.c: Likewise.
33458 * resolv/gai_sigqueue.c: Likewise.
33459 * resource/getpriority.c: Likewise.
33460 * resource/getrlimit.c: Likewise.
33461 * resource/getrusage.c: Likewise.
33462 * resource/nice.c: Likewise.
33463 * resource/setpriority.c: Likewise.
33464 * resource/setrlimit.c: Likewise.
33465 * resource/ulimit.c: Likewise.
33466 * rt/aio_cancel.c: Likewise.
33467 * rt/aio_fsync.c: Likewise.
33468 * rt/aio_read.c: Likewise.
33469 * rt/aio_sigqueue.c: Likewise.
33470 * rt/aio_suspend.c: Likewise.
33471 * rt/aio_write.c: Likewise.
33472 * rt/clock_getres.c: Likewise.
33473 * rt/clock_gettime.c: Likewise.
33474 * rt/clock_nanosleep.c: Likewise.
33475 * rt/clock_settime.c: Likewise.
33476 * rt/lio_listio.c: Likewise.
33477 * rt/mq_close.c: Likewise.
33478 * rt/mq_getattr.c: Likewise.
33479 * rt/mq_notify.c: Likewise.
33480 * rt/mq_open.c: Likewise.
33481 * rt/mq_receive.c: Likewise.
33482 * rt/mq_send.c: Likewise.
33483 * rt/mq_setattr.c: Likewise.
33484 * rt/mq_timedreceive.c: Likewise.
33485 * rt/mq_timedsend.c: Likewise.
33486 * rt/mq_unlink.c: Likewise.
33487 * rt/shm_open.c: Likewise.
33488 * rt/shm_unlink.c: Likewise.
33489 * rt/timer_create.c: Likewise.
33490 * rt/timer_delete.c: Likewise.
33491 * rt/timer_getoverr.c: Likewise.
33492 * rt/timer_gettime.c: Likewise.
33493 * rt/timer_settime.c: Likewise.
33494 * setjmp/__longjmp.c: Likewise.
33495 * setjmp/setjmp.c: Likewise.
33496 * signal/kill.c: Likewise.
33497 * signal/killpg.c: Likewise.
33498 * signal/raise.c: Likewise.
33499 * signal/sigaction.c: Likewise.
33500 * signal/sigaltstack.c: Likewise.
33501 * signal/sigblock.c: Likewise.
33502 * signal/sigignore.c: Likewise.
33503 * signal/sigintr.c: Likewise.
33504 * signal/signal.c: Likewise.
33505 * signal/sigpause.c: Likewise.
33506 * signal/sigpending.c: Likewise.
33507 * signal/sigqueue.c: Likewise.
33508 * signal/sigreturn.c: Likewise.
33509 * signal/sigset.c: Likewise.
33510 * signal/sigsetmask.c: Likewise.
33511 * signal/sigstack.c: Likewise.
33512 * signal/sigsuspend.c: Likewise.
33513 * signal/sigtimedwait.c: Likewise.
33514 * signal/sigvec.c: Likewise.
33515 * signal/sigwait.c: Likewise.
33516 * signal/sigwaitinfo.c: Likewise.
33517 * signal/sysv_signal.c: Likewise.
33518 * socket/accept.c: Likewise.
33519 * socket/accept4.c: Likewise.
33520 * socket/bind.c: Likewise.
33521 * socket/connect.c: Likewise.
33522 * socket/getpeername.c: Likewise.
33523 * socket/getsockname.c: Likewise.
33524 * socket/getsockopt.c: Likewise.
33525 * socket/isfdtype.c: Likewise.
33526 * socket/listen.c: Likewise.
33527 * socket/recv.c: Likewise.
33528 * socket/recvfrom.c: Likewise.
33529 * socket/recvmsg.c: Likewise.
33530 * socket/send.c: Likewise.
33531 * socket/sendmsg.c: Likewise.
33532 * socket/sendto.c: Likewise.
33533 * socket/setsockopt.c: Likewise.
33534 * socket/shutdown.c: Likewise.
33535 * socket/sockatmark.c: Likewise.
33536 * socket/socket.c: Likewise.
33537 * socket/socketpair.c: Likewise.
33538 * stdio-common/ctermid.c: Likewise.
33539 * stdio-common/cuserid.c: Likewise.
33540 * stdio-common/remove.c: Likewise.
33541 * stdio-common/rename.c: Likewise.
33542 * stdio-common/renameat.c: Likewise.
33543 * stdio-common/tempname.c: Likewise.
33544 * stdlib/getcontext.c: Likewise.
33545 * stdlib/makecontext.c: Likewise.
33546 * stdlib/setcontext.c: Likewise.
33547 * stdlib/swapcontext.c: Likewise.
33548 * stdlib/system.c: Likewise.
33549 * streams/fattach.c: Likewise.
33550 * streams/fdetach.c: Likewise.
33551 * streams/getmsg.c: Likewise.
33552 * streams/getpmsg.c: Likewise.
33553 * streams/putmsg.c: Likewise.
33554 * streams/putpmsg.c: Likewise.
33555 * sysdeps/unix/bsd/getpt.c: Likewise.
33556 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33557 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33558 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33561 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33562 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33563 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33564 * sysvipc/msgctl.c: Likewise.
33565 * sysvipc/msgget.c: Likewise.
33566 * sysvipc/msgrcv.c: Likewise.
33567 * sysvipc/msgsnd.c: Likewise.
33568 * sysvipc/semctl.c: Likewise.
33569 * sysvipc/semget.c: Likewise.
33570 * sysvipc/semop.c: Likewise.
33571 * sysvipc/semtimedop.c: Likewise.
33572 * sysvipc/shmat.c: Likewise.
33573 * sysvipc/shmctl.c: Likewise.
33574 * sysvipc/shmdt.c: Likewise.
33575 * sysvipc/shmget.c: Likewise.
33576 * termios/tcdrain.c: Likewise.
33577 * termios/tcflow.c: Likewise.
33578 * termios/tcflush.c: Likewise.
33579 * termios/tcgetattr.c: Likewise.
33580 * termios/tcgetpgrp.c: Likewise.
33581 * termios/tcsendbrk.c: Likewise.
33582 * termios/tcsetattr.c: Likewise.
33583 * termios/tcsetpgrp.c: Likewise.
33584 * time/adjtime.c: Likewise.
33585 * time/clock.c: Likewise.
33586 * time/getitimer.c: Likewise.
33587 * time/gettimeofday.c: Likewise.
33588 * time/setitimer.c: Likewise.
33589 * time/settimeofday.c: Likewise.
33590 * time/stime.c: Likewise.
33591 * time/time.c: Likewise.
33593 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
33595 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33598 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33600 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33602 2012-11-03 Joseph Myers <joseph@codesourcery.com>
33605 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33606 FE_TONEAREST before applying Dekker multiplication and Knuth
33607 addition. Clear inexact exceptions and check for exact zero
33608 results afterwards.
33609 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33610 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33611 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33612 * math/libm-test.inc (fma_test): Add more tests.
33613 (fma_test_towardzero): Likewise.
33614 (fma_test_downward): Likewise.
33615 (fma_test_upward): Likewise.
33616 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33618 (libc_fesetround): New macro.
33619 (libc_fesetroundf): Likewise.
33620 (libc_fesetroundl): Likewise.
33621 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33623 (libc_fesetround_387): Likewise.
33624 (libc_fesetroundf): New macro.
33625 (libc_fesetround): Likewise.
33626 (libc_fesetroundl): Likewise.
33627 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33629 (libc_fesetroundf): New macro.
33630 (libc_fesetround): Likewise.
33631 (libc_fesetroundl): Likewise.
33632 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33633 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33634 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33636 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33637 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33639 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33640 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33642 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33646 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33647 integer constant usable in #if and use that to give value to enum
33649 (FE_DIVBYZERO): Likewise.
33650 (FE_UNDERFLOW): Likewise.
33651 (FE_OVERFLOW): Likewise.
33652 (FE_INVALID): Likewise.
33653 (FE_INVALID_SNAN): Likewise.
33654 (FE_INVALID_ISI): Likewise.
33655 (FE_INVALID_IDI): Likewise.
33656 (FE_INVALID_ZDZ): Likewise.
33657 (FE_INVALID_IMZ): Likewise.
33658 (FE_INVALID_COMPARE): Likewise.
33659 (FE_INVALID_SOFTWARE): Likewise.
33660 (FE_INVALID_SQRT): Likewise.
33661 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33662 (FE_TONEAREST): Likewise.
33663 (FE_TOWARDZERO): Likewise.
33664 (FE_UPWARD): Likewise.
33665 (FE_DOWNWARD): Likewise.
33666 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33667 (FE_DIVBYZERO): Likewise.
33668 (FE_OVERFLOW): Likewise.
33669 (FE_UNDERFLOW): Likewise.
33670 (FE_INEXACT): Likewise.
33671 (FE_TONEAREST): Likewise.
33672 (FE_DOWNWARD): Likewise.
33673 (FE_UPWARD): Likewise.
33674 (FE_TOWARDZERO): Likewise.
33675 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33676 (FE_UNDERFLOW): Likewise.
33677 (FE_OVERFLOW): Likewise.
33678 (FE_DIVBYZERO): Likewise.
33679 (FE_INVALID): Likewise.
33680 (FE_TONEAREST): Likewise.
33681 (FE_TOWARDZERO): Likewise.
33682 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33683 (FE_OVERFLOW): Likewise.
33684 (FE_UNDERFLOW): Likewise.
33685 (FE_DIVBYZERO): Likewise.
33686 (FE_INEXACT): Likewise.
33687 (FE_TONEAREST): Likewise.
33688 (FE_TOWARDZERO): Likewise.
33689 (FE_UPWARD): Likewise.
33690 (FE_DOWNWARD): Likewise.
33691 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33692 (FE_DIVBYZERO): Likewise.
33693 (FE_OVERFLOW): Likewise.
33694 (FE_UNDERFLOW): Likewise.
33695 (FE_INEXACT): Likewise.
33696 (FE_TONEAREST): Likewise.
33697 (FE_DOWNWARD): Likewise.
33698 (FE_UPWARD): Likewise.
33699 (FE_TOWARDZERO): Likewise.
33701 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33703 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33705 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33707 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33708 commands. Quote $PWD.
33709 (blacklist_exports): Don't use remove_newlines. Replace "declare
33711 (remove_newlines): Remove.
33713 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33715 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33716 * stdlib/stdlib.h (atof): Moved to ...
33717 * include/bits/stdlib-float.h: Here. New file.
33718 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33719 * stdlib/bits/stdlib-float.h: New file.
33720 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33722 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33725 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33727 * conform/conformtest.pl (@headers): Add fenv.h.
33728 * conform/data/fenv.h-data: New file.
33729 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33730 include of <math/fenv.h>.
33732 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33733 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33734 && !UNIX98]. Enables tests for XOPEN2K8.
33735 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33736 POSIX2008]: Likewise.
33738 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33739 (struct rusage): Do not expect type or its members.
33742 * math/math.h (FP_NAN): Define macro to integer constant usable in
33743 #if and use that to give value to enum constant.
33744 (FP_INFINITE): Likewise.
33745 (FP_ZERO): Likewise.
33746 (FP_SUBNORMAL): Likewise.
33747 (FP_NORMAL): Likewise.
33749 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33751 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33752 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33755 2012-11-02 Roland McGrath <roland@hack.frob.com>
33757 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33758 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33759 autoconf-time if not.
33760 * configure.in: Remove AC_PREREQ.
33762 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33764 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33765 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33766 of the internal implementation.
33768 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33770 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33771 except include of <misc/sys/syslog.h>.
33773 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33776 function returns with a NULL context exit with zero.
33778 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33780 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33782 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33784 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33785 (run_program_cmd): This.
33786 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33787 (tst_langinfo): New variable. Use it.
33789 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33791 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33792 floating point opcodes.
33794 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33796 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33799 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33801 * sysdeps/mach/hurd/powerpc: Remove directory.
33802 * sysdeps/mach/powerpc: Likewise.
33804 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33806 * scripts/check-local-headers.sh: Ignore c++ headers.
33808 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33810 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33811 __libc_cleanup_region_start argument.
33813 2012-11-01 Joseph Myers <joseph@codesourcery.com>
33817 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33818 x * y using scaling, not as x * y + z.
33819 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33820 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33821 * math/libm-test.inc (fma_test): Add more tests.
33822 (fma_test_towardzero): Likewise.
33823 (fma_test_downward): Likewise.
33824 (fma_test_upward): Likewise.
33826 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33828 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33830 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33832 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33835 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33837 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33839 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33846 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33849 Fix the order of the list for glibc 2.17.
33850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33853 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33855 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33857 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33860 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33861 for low part of x being zero before using __atanl (y).
33862 * math/libm-test.inc (atan2_test): Add another test.
33864 * manual/install.texi (Configuring and compiling): Document
33865 general use of test-wrapper and test-wrapper-env.
33866 * INSTALL: Regenerated.
33868 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33869 (__fma): Do not extract and scale down low bits on after-rounding
33870 systems when result rounded to normal precision would have normal
33872 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33873 (__fmal): Do not extract and scale down low bits on after-rounding
33874 systems when result rounded to normal precision would have normal
33876 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33877 (__fmal): Do not extract and scale down low bits on after-rounding
33878 systems when result rounded to normal precision would have normal
33880 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33882 (fma_test): Add more tests.
33883 (fma_test_towardzero): Likewise.
33884 (fma_test_downward): Likewise.
33885 (fma_test_upward): Likewise.
33887 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
33889 * sysdeps/i386/tininess.h: Renamed to ...
33890 * sysdeps/x86/tininess.h: This.
33891 * sysdeps/x86_64/tininess.h: Removed.
33893 2012-10-30 Joseph Myers <joseph@codesourcery.com>
33895 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33896 input. Use $(build-program-cmd).
33897 ($(objpfx)tst-array1-static.out): Likewise.
33898 ($(objpfx)tst-array2.out): Likewise.
33899 ($(objpfx)tst-array3.out): Likewise.
33900 ($(objpfx)tst-array4.out): Likewise.
33901 ($(objpfx)tst-array5.out): Likewise.
33902 ($(objpfx)tst-array5-static.out): Likewise.
33904 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
33906 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33909 * nss/nsswitch.h (nss_interface_function): Provide new
33910 macro for use with NSS functions.
33911 * grp/initgroups.c: Use new macro.
33912 * nss/getXXbyYY.c: Likewise.
33913 * nss/getXXbyYY_r.c: Likewise.
33914 * nss/getXXent.c: Likewise.
33915 * nss/getXXent_r.c: Likewise.
33916 * sysdeps/posix/getaddrinfo.c: Likewise.
33918 2012-10-30 Andreas Jaeger <aj@suse.de>
33920 * po/ru.po: Update Russion translation from translation project.
33922 2012-10-30 Joseph Myers <joseph@codesourcery.com>
33926 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33927 result and shift together with sticky bit instead of replicating
33928 round-to-nearest rounding.
33929 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33930 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33931 * math/libm-test.inc (fma_test): Add more tests. Do not permit
33932 missing underflow exceptions.
33933 (fma_test_towardzero): Add more tests.
33934 (fma_test_downward): Likewise.
33935 (fma_test_upward): Likewise.
33938 * sysdeps/generic/tininess.h: New file.
33939 * sysdeps/i386/tininess.h: Likewise.
33940 * sysdeps/sh/tininess.h: Likewise.
33941 * sysdeps/x86_64/tininess.h: Likewise.
33942 * stdlib/tst-strtod-underflow.c: Likewise.
33943 * stdlib/tst-tininess.c: Likewise.
33944 * stdlib/strtod_l.c: Include <tininess.h>.
33945 (round_and_return): Do not set errno for exact underflow cases.
33946 Force an underflow exception when setting errno for underflow.
33947 Determine underflow based on rounding to normal precision if
33948 TININESS_AFTER_ROUNDING.
33949 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33950 ERANGE for exact underflow cases.
33951 * stdlib/Makefile (tests): Add tst-tininess and
33952 tst-strtod-underflow.
33953 ($(objpfx)tst-tininess): Use $(link-libm).
33954 ($(objpfx)tst-strtod-underflow): Likewise.
33956 2012-10-30 Andreas Jaeger <aj@suse.de>
33959 * elf/Makefile (tests): Remove conditional for have-initfini-array
33960 since this is now always required and the variable does not exist
33962 (tests-static): Likewise.
33963 (modules-names): Likewise.
33965 * po/eo.po: Add Esperanto translation from translation project.
33967 * elf/tst-array1.c (fini_array): Make writeable so that it can be
33968 merged with constructor/destructor.
33969 (init_array): Likewise.
33970 * elf/tst-array2dep.c (fini_array): Likewise.
33971 (init_array): Likewise.
33973 2012-10-29 Mike Frysinger <vapier@gentoo.org>
33975 * manual/message.texi: Delete @cartouche tags.
33977 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
33979 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33981 * sysdeps/mach/hurd/fsync.c: Likewise.
33983 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33984 [_POSIX_REALTIME_SIGNALS]: Change condition to
33985 [_POSIX_REALTIME_SIGNALS > 0].
33987 2012-10-27 Andreas Jaeger <aj@suse.de>
33989 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33990 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33991 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33992 [__WORDSIZE != 64]: Likewise.
33994 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
33996 * iconvdata/tst-table.sh: Remove ${SHELL}.
33997 * iconvdata/tst-tables.sh: Likewise.
33999 2012-10-25 David S. Miller <davem@davemloft.net>
34001 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34002 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34005 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34007 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34008 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34009 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34012 2012-10-25 Roland McGrath <roland@hack.frob.com>
34014 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34015 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34018 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34019 Jim Blandy <jimb@codesourcery.com>
34021 * scripts/cross-test-ssh.sh: New file.
34022 * manual/install.texi (Configuring and compiling): Document use of
34024 * INSTALL: Regenerated.
34026 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34028 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34031 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34033 * Makeconfig (run-program-prefix): Fix comment.
34035 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34036 Jim Blandy <jimb@codesourcery.com>
34038 * Makeconfig (test-wrapper): New variable,
34039 (test-wrapper-env): Likewise.
34040 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34041 (run-built-tests): Define to yes.
34042 (run-program-prefix): Use $(test-wrapper).
34043 (built-program-cmd): Likewise.
34044 * Rules (make-test-out): Use $(test-wrapper-env) and
34045 $(host-built-program-cmd).
34046 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34047 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34049 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34050 $(test-wrapper-env) to tst-rtld-load-self.sh.
34051 ($(objpfx)order2.out): Use $(test-wrapper).
34052 ($(objpfx)tst-initorder.out): Likewise.
34053 ($(objpfx)tst-initorder2.out): Likewise.
34054 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34055 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34056 (test_wrapper_env): New variable. Use it to run ld.so.
34057 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34058 Use it to run ld.so.
34059 (test_wrapper_env): Likewise.
34060 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34061 $(test-wrapper) to run-iconv-test.sh.
34062 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34063 (ICONV): Use $test_wrapper.
34064 * posix/Makefile ($(objpfx)globtest.out): Pass
34065 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34066 globtest.sh, not $(run-program-prefix).
34067 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34068 (test_wrapper): Likewise.
34069 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34070 set together with run_via_rtld_prefix.
34071 (run_program_prefix): Define in terms of test_wrapper and
34072 run_via_rtld_prefix.
34074 2012-10-24 Roland McGrath <roland@hack.frob.com>
34076 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34077 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34081 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34082 Declare __clock_getres, __clock_gettime, __clock_settime,
34083 __clock_nanosleep, and __clock_getcpuclockid.
34084 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34085 Remove librt_hidden_def (clock_gettime).
34086 * sysdeps/unix/clock_gettime.c: Likewise.
34087 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34088 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34089 * rt/clock_getres.c: Define __clock_getres as an alias.
34090 * sysdeps/posix/clock_getres.c: Likewise.
34091 * rt/clock_settime.c: Define __clock_settime as an alias.
34092 * sysdeps/unix/clock_settime.c: Likewise.
34093 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34094 * sysdeps/unix/clock_nanosleep.c: Likewise.
34095 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34096 * rt/clock-compat.c: New file.
34097 * rt/Makefile (librt-routines): Add clock-compat and move
34098 $(clock-routines) to ...
34099 (routines): ... here, new variable.
34100 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34101 Don't add get_clockfreq here.
34102 * rt/Versions (libc: GLIBC_2.17): New version set.
34103 Add clock_* symbols here.
34104 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34105 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34106 (GLIBC_2.17): Add clock_* symbols.
34107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34109 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34114 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34115 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34118 * NEWS: Mention the move.
34120 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34121 Use __open, __read, __close rather than their public counterparts.
34122 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34123 (__get_clockfreq_via_cpuinfo): Likewise.
34124 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34125 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34127 * config.h.in (HAVE_IFUNC): New #undef.
34128 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34130 * configure: Regenerated.
34132 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34134 * configure.in: Move READELF check to start of file.
34135 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34136 libc_cv_asm_gnu_indirect_function in the process.
34137 * configure: Regenerated.
34139 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34141 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34142 send the output to /dev/null.
34143 (libc_cv_cc_with_libunwind): Likewise.
34144 (libc_cv_as_noexecstack): Likewise.
34145 * configure: Regenerate.
34147 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34149 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34151 * posix/globtest.sh (TMPDIR): Do not set.
34152 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34153 (testout): Likewise.
34155 2012-10-24 Andreas Jaeger <aj@suse.de>
34157 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34158 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34159 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34160 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34161 posix_fadvise64, posix_fallocate64.
34163 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34164 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34165 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34167 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34169 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34171 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34172 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34173 <bits/fcntl-linux.h>.
34174 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34176 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34177 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34178 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34179 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34180 [__WORDSIZE != 64]: Likewise.
34182 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34184 * Makeconfig (run-built-tests): New variable.
34185 * Rules [$(cross-compiling) = yes]: Change condition to
34186 [$(run-built-tests) = no].
34187 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34188 to [$(run-built-tests) = yes].
34189 * elf/Makefile [$(cross-compiling) = no]: Likewise
34190 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34191 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34192 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34193 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34194 * io/Makefile [$(cross-compiling) = no]: Likewise.
34195 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34196 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34197 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34198 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34199 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34200 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34201 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34202 * string/Makefile [$(cross-compiling) = no]: Likewise.
34204 * posix/Makefile ($(objpfx)globtest.out): Pass
34205 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34206 $(rtld-installed-name).
34207 * posix/globtest.sh (elf_objpfx): Remove variable.
34208 (rtld_installed_name): Likewise.
34209 (library_path): Likewise.
34210 (run_program_prefix): New variable. Use for running globtest
34213 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34214 Joseph Myers <joseph@codesourcery.com>
34216 * Makeconfig (host-built-program-cmd): New variable.
34217 * elf/Makefile (tst-stackguard1-ARGS): Use
34218 $(host-built-program-cmd).
34219 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34220 (tst-spawn-ARGS): Likewise.
34221 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34223 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34224 Jim Blandy <jimb@codesourcery.com>
34226 * Makeconfig (run-via-rtld-prefix): New variable.
34227 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34228 (built-program-cmd): Likewise.
34230 2012-10-22 Andreas Jaeger <aj@suse.de>
34232 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34233 __O_RSYNC if it exists, otherwise to O_SYNC.
34235 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34236 Joseph Myers <joseph@codesourcery.com>
34238 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34240 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34242 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34245 2012-10-22 Andreas Jaeger <aj@suse.de>
34247 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34249 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34252 bits/fcntl-linux.h.
34254 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34255 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34257 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34259 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34262 2012-10-21 Jim Blandy <jimb@codesourcery.com>
34263 Joseph Myers <joseph@codesourcery.com>
34265 * config.make.in (NM): New variable.
34267 2012-10-21 Andreas Jaeger <aj@suse.de>
34269 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34270 definitions and declarations that are provided by
34271 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34273 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34276 * elf/Makefile (tests-static): Add tst-leaks1-static.
34277 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34278 ($(objpfx)tst-leaks1-static): New rule.
34279 ($(objpfx)tst-leaks1-static-mem): Likewise.
34280 (tst-leaks1-static-ENV): New macro.
34281 * elf/dl-open.c (dl_open_worker): Check the main application
34282 only if SHARED is defined.
34283 * elf/tst-leaks1-static.c: New file.
34285 2012-10-20 Andreas Jaeger <aj@suse.de>
34287 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34288 generic values for Linux.
34289 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34290 and declarations that are provided by <bits/fcntl-linux.h> and
34291 include <bits/fcntl-linux.h>.
34292 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34295 2012-10-20 Roland McGrath <roland@hack.frob.com>
34297 * io/fcntl.h: Move include of <bits/types.h> to the top and
34298 include it unconditionally.
34300 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34302 * wcsmbs/Makefile (tests-ifunc): New variable.
34303 (tests): Add $(tests-ifunc).
34304 * wcsmbs/test-wcschr-ifunc.c: New file.
34305 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34306 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34307 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34308 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34309 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34311 * string/Makefile (tests-ifunc): New variable.
34312 (tests): Add $(tests-ifunc).
34313 * string/test-memccpy.c (TEST_NAME): New macro.
34314 * string/test-memchr.c (TEST_NAME): Likewise.
34315 * string/test-memcmp.c (TEST_NAME): Likewise.
34316 * string/test-memcpy.c (TEST_NAME): Likewise.
34317 * string/test-memmem.c (TEST_NAME): Likewise.
34318 * string/test-memmove.c (TEST_NAME): Likewise.
34319 * string/test-memset.c (TEST_NAME): Likewise.
34320 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34321 * string/test-stpcpy.c (TEST_NAME): Likewise.
34322 * string/test-stpncpy.c (TEST_NAME): Likewise.
34323 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34324 * string/test-strcasestr.c (TEST_NAME): Likewise.
34325 * string/test-strcat.c (TEST_NAME): Likewise.
34326 * string/test-strchr.c (TEST_NAME): Likewise.
34327 * string/test-strcmp.c(TEST_NAME): Likewise.
34328 * string/test-strcpy.c (TEST_NAME): Likewise.
34329 * string/test-strcspn.c (TEST_NAME): Likewise.
34330 * string/test-strlen.c (TEST_NAME): Likewise.
34331 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34332 * string/test-strncmp.c (TEST_NAME): Likewise.
34333 * string/test-strncpy.c (TEST_NAME): Likewise.
34334 * string/test-strnlen.c (TEST_NAME): Likewise.
34335 * string/test-strpbrk.c (TEST_NAME): Likewise.
34336 * string/test-strrchr.c (TEST_NAME): Likewise.
34337 * string/test-strspn.c (TEST_NAME): Likewise.
34338 * string/test-strstr.c (TEST_NAME): Likewise.
34339 * string/test-bcopy-ifunc.c: New file.
34340 * string/test-bzero-ifunc.c: Likewise.
34341 * string/test-memccpy-ifunc.c: Likewise.
34342 * string/test-memchr-ifunc.c: Likewise.
34343 * string/test-memcmp-ifunc.c: Likewise.
34344 * string/test-memcpy-ifunc.c: Likewise.
34345 * string/test-memmem-ifunc.c: Likewise.
34346 * string/test-memmove-ifunc.c: Likewise.
34347 * string/test-mempcpy-ifunc.c: Likewise.
34348 * string/test-memset-ifunc.c: Likewise.
34349 * string/test-rawmemchr-ifunc.c: Likewise.
34350 * string/test-stpcpy-ifunc.c: Likewise.
34351 * string/test-stpncpy-ifunc.c: Likewise.
34352 * string/test-strcasecmp-ifunc.c: Likewise.
34353 * string/test-strcasestr-ifunc.c: Likewise.
34354 * string/test-strcat-ifunc.c: Likewise.
34355 * string/test-strchr-ifunc.c: Likewise.
34356 * string/test-strchrnul-ifunc.c: Likewise.
34357 * string/test-strcmp-ifunc.c: Likewise.
34358 * string/test-strcpy-ifunc.c: Likewise.
34359 * string/test-strcspn-ifunc.c: Likewise.
34360 * string/test-strlen-ifunc.c: Likewise.
34361 * string/test-strncasecmp-ifunc.c: Likewise.
34362 * string/test-strncat-ifunc.c: Likewise.
34363 * string/test-strncmp-ifunc.c: Likewise.
34364 * string/test-strncpy-ifunc.c: Likewise.
34365 * string/test-strnlen-ifunc.c: Likewise.
34366 * string/test-strpbrk-ifunc.c: Likewise.
34367 * string/test-strrchr-ifunc.c: Likewise.
34368 * string/test-strspn-ifunc.c: Likewise.
34369 * string/test-strstr-ifunc.c: Likewise.
34371 * debug/Makefile (tests-ifunc): New variable.
34372 (tests): Add $(tests-ifunc).
34373 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34374 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34375 * debug/test-stpcpy_chk-ifunc.c: New file.
34376 * debug/test-strcpy_chk-ifunc.c: Likewise.
34378 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34381 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34382 header is not read in.
34384 2012-10-19 Joseph Myers <joseph@codesourcery.com>
34386 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34387 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34388 directly. Pass built executable to script as
34389 $(built-program-cmd).
34390 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34391 $testprogram without using LD_LIBRARY_PATH and $ldso.
34393 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34394 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34395 $(rtld-installed-name).
34396 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34397 (rtld_installed_name): Likewise.
34398 (library_path): Likewise.
34399 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
34400 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34401 $(run-program-prefix) to tst-tables.sh.
34402 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
34403 it to run tst-table-from and tst-table-to.
34404 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34405 Pass it to tst-table.sh.
34406 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34407 $(run-program-prefix) to tst-gettext.sh.
34408 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34410 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34412 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
34413 to run tst-gettext.
34414 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
34415 to run tst-gettext2.
34416 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
34417 to run tst-translit.
34418 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34419 $(run-program-prefix) to tst-mtrace.sh.
34420 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
34422 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34423 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34424 $(rtld-installed-name).
34425 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34426 (rtld_installed_name): Likewise.
34427 (run_program_prefix): New variable. Use it to run wordexp-test.
34429 * Makeconfig (ARCH): Remove all definitions.
34430 (machine): Likewise.
34431 [ARCH]: Remove conditional code.
34432 [!objdir]: Give error.
34433 [!objdir] (objpfx): Remove.
34434 [!objdir] (common-objpfx): Likewise.
34435 [!objdir] (common-objdir): Likewise.
34436 * configure.in (config_makefile): Remove. Hardcode Makefile in
34437 AC_CONFIG_FILES call.
34438 * configure: Regenerated.
34441 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34443 (testout): Likewise.
34445 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34446 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34447 $(rtld-installed-name).
34448 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34449 (rtld_installed_name): Likwise.
34450 (runit): Remove function.
34451 (run_getconf): New variable, Use it for running getconf binary.
34453 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
34456 * string/test-memmem.c (check_result): New function.
34457 (do_one_test): Use it.
34458 (check1): New function.
34459 (test_main): Use it.
34461 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
34463 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34465 2012-10-18 Joseph Myers <joseph@codesourcery.com>
34467 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34468 (_G_LSEEK64): Likewise.
34469 (_G_MMAP64): Likewise.
34470 (_G_FSTAT64): Likewise.
34471 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34472 (_G_LSEEK64): Likewise.
34473 (_G_MMAP64): Likewise.
34474 (_G_FSTAT64): Likewise.
34475 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34476 unconditional. Call __mmap64 directly.
34477 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34478 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
34479 __lseek64 directly.
34480 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34481 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
34483 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34484 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
34485 __lseek64 directly.
34486 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34487 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
34488 __lseek64 directly.
34489 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34490 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
34491 __lseek64 directly.
34492 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34493 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
34494 __fxstat64 directly.
34495 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34496 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34498 (freopen64) [!_G_OPEN64]: Remove conditional code.
34499 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34501 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34502 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34504 (ftello64) [!_G_LSEEK64]: Remove conditional code.
34505 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34507 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34508 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34510 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34511 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34513 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34514 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34516 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34517 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34519 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34521 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34524 * manual/memory.texi (Malloc Tunable Parameters): Add note
34525 about free list pointers overwriting some perturb bytes.
34526 Wording suggested by Roland McGrath.
34528 2012-10-17 Joseph Myers <joseph@codesourcery.com>
34530 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34531 (lgamma_test): Likewise.
34532 (tgamma_test): Likewise.
34534 2012-10-16 Florian Weimer <fweimer@redhat.com>
34537 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34538 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34540 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
34542 * NEWS: Mention BZ #14716.
34543 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34544 when removing AVAILABLE1_USES_J macro.
34546 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
34548 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34549 (__bswap_64): __uint64_t for unsigned 64-bit int.
34551 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
34553 * include/string.h (memmem): Declare libc hidden alias.
34554 * string/memmem.c (memmem): Define libc hidden alias.
34555 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34556 __read, __close instead of open, read, close.
34558 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
34560 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34561 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34563 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34564 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34565 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34567 (__rawmemchr_sse2): Likewise.
34568 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34569 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34570 (__strchr_sse2): Likewise.
34571 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34572 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34573 (__strcasecmp_sse2): Likewise.
34574 (__strncasecmp_sse2): Likewise.
34575 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34576 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34577 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34578 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34579 (__strrchr_sse2): Likewise.
34580 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34582 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34583 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34584 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34585 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34586 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34587 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34588 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34589 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34590 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34591 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34592 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34593 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34594 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34595 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34596 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34597 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34598 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34599 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34600 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34601 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34602 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34603 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34604 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34605 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34606 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34607 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34608 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34609 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34610 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34611 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34613 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34615 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34616 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34617 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34618 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34620 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34622 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34623 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34624 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34625 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34627 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34628 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34629 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34630 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34631 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34632 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34633 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34634 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34635 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34636 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34637 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34638 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34639 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34640 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34641 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34642 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34643 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34644 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34645 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34646 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34647 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34648 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34649 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34650 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34651 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34652 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34653 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34654 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34655 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34656 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34657 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34658 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34659 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34660 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34661 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34662 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34663 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34664 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34665 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34666 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34667 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34669 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34670 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34671 * include/ifunc-impl-list.h: New file.
34672 * misc/ifunc-impl-list.c: Likewise.
34673 * misc/Makefile (routines): Add ifunc-impl-list.
34674 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34675 * string/test-string.h: Include <ifunc-impl-list.h>.
34676 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34677 TEST_NAME]: New variables.
34678 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34680 (test_init): Call __libc_ifunc_impl_list to initialize
34681 func_list if TEST_IFUNC and TEST_NAME are defined.
34683 * string/Makefile (strop-tests): Add bcopy and bzero.
34684 * string/test-bcopy.c: New file.
34685 * string/test-bzero.c: Likewise.
34686 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34688 * string/test-memset.c: Support bzero test if TEST_BZERO is
34690 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34692 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34694 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34697 2012-10-10 Joseph Myers <joseph@codesourcery.com>
34699 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34700 * configure: Regenerated.
34702 * Makeconfig (+link-static-before-libc): Don't include
34703 $(link-static-libc).
34705 * libio/libio.h (_IO_pos_t): Remove.
34707 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34709 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34712 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34714 * crypt/crypt-entry.c: Include fips-private.h.
34715 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34716 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34717 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34718 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34720 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34722 * crypt/crypt-private.h: Include stdbool.h.
34723 (_ufc_setup_salt_r): Return bool.
34724 * crypt/crypt-entry.c: Include errno.h.
34725 (__crypt_r): Return NULL with EINVAL for bad salt.
34726 * crypt/crypt_util.c (bad_for_salt): New.
34727 (_ufc_setup_salt_r): Check that salt is long enough and within
34728 the specified alphabet.
34729 * crypt/badsalttest.c: New file.
34730 * crypt/Makefile (tests): Add it.
34731 ($(objpfx)badsalttest): New.
34733 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34735 * NEWS: Add entry for BZ #14602.
34737 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34739 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34741 * math/libm-test.inc: Update comment listing what functions and
34743 (isgreater_test): New function.
34744 (isgreaterequal_test): Likewise.
34745 (isless_test): Likewise.
34746 (islessequal_test): Likewise.
34747 (islessgreater_test): Likewise.
34748 (isunordered_test): Likewise.
34749 (main): Call the new functions.
34751 2012-10-09 Roland McGrath <roland@hack.frob.com>
34753 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34754 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34755 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34756 * sysdeps/i386/configure: Regenerated.
34757 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34758 * sysdeps/mach/configure: Regenerated.
34759 * sysdeps/mach/hurd/configure: Regenerated.
34760 * sysdeps/powerpc/configure: Regenerated.
34761 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34762 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34763 * sysdeps/s390/s390-32/configure: Regenerated.
34764 * sysdeps/s390/s390-64/configure: Regenerated.
34765 * sysdeps/sh/configure: Regenerated.
34766 * sysdeps/sparc/configure: Regenerated.
34767 * sysdeps/unix/sysv/linux/configure: Regenerated.
34768 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34769 * sysdeps/x86_64/configure: Regenerated.
34771 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34772 defined. Don't check if MAP is NULL.
34774 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34776 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34777 (_G_stat64): Likewise.
34778 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34779 (_G_stat64): Likewise.
34780 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34781 instead of struct _G_stat64.
34782 * libio/fileops.c (mmap_remap_check): Likewise.
34783 (decide_maybe_mmap): Likewise.
34784 (_IO_new_file_seekoff): Likewise.
34785 (_IO_file_stat): Likewise.
34786 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34788 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34789 instead of struct _G_stat64.
34790 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34792 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34795 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34797 (CHECK_EOL): New macro.
34798 (two_way_short_needle): Check beginning of haystack for EOL. Use
34800 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34801 Replace with CHECK_EOL.
34802 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34803 Replace with CHECK_EOL.
34805 2012-10-08 Joseph Myers <joseph@codesourcery.com>
34807 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34809 * math/libm-test.inc: Update comment listing what functions and
34811 (finite_test): New function.
34812 (isinf_test): Likewise.
34813 (isnan_test): Likewise.
34814 (fpclassify_test): Test subnormal input.
34815 (isfinite_test): Likewise.
34816 (isnormal_test): Likewise.
34817 (main): Call the new functions.
34819 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34822 * Makerules (%.dynsym): Force C locale when running
34823 $(OBJDUMP) --dynamic-syms.
34825 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34827 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34830 2012-10-06 David S. Miller <davem@davemloft.net>
34832 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34833 upper 32-bits of the length value in %o2 since we use branch-on-register
34834 tests which consider the entire 64-bit register.
34836 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34838 * string/test-strstr.c (check2): Add a test for page boundary.
34840 2012-10-05 David S. Miller <davem@davemloft.net>
34842 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34843 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34845 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34847 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34848 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34849 and bzero when HWCAP_SPARC_CRYPTO is present.
34851 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34854 * string/test-strstr.c (check2): New function.
34855 (test_main): Call check2.
34857 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34859 * string/bug-strcasestr1.c (do_test): Moved to ...
34860 * string/test-strcasestr.c (check1): Here. New function.
34861 (do_one_test): Break out result checking code into ...
34862 (check_result): This. New function.
34863 (do_one_test): Call check_result.
34864 (test_main): Call check1.
34865 * string/bug-strchr1.c (do_test): Moved to ...
34866 * string/test-strchr.c (check1): Here. New function.
34867 (do_one_test): Break out result checking code into ...
34868 (check_result): This. New function.
34869 (do_one_test): Call check_result.
34870 (test_main): Call check1.
34871 * string/bug-strstr1.c (main): Moved to ...
34872 * string/test-strstr.c (check1): Here. New function.
34873 (do_one_test): Break out result checking code into ...
34874 (check_result): This. New function.
34875 (do_one_test): Call check_result.
34876 (test_main): Call check1.
34877 * string/bug-strcasestr1.c: Removed.
34878 * string/bug-strchr1.c: Likewise.
34879 * string/bug-strstr1.c: Likewise.
34881 * elf/Makefile (dl-routines): Add hwcaps.
34882 * elf/dl-support.c (_dl_important_hwcaps): Removed.
34883 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34884 (_dl_important_hwcaps): Moved to ...
34885 * elf/dl-hwcaps.c: Here. New file.
34886 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34889 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34890 if IS_IN_rtld isn't defined.
34892 * elf/dl-support.c (_dl_sysinfo_map): New.
34893 Include "get-dynamic-info.h" and "setup-vdso.h".
34894 (_dl_non_dynamic_init): Call setup_vdso.
34895 * elf/dynamic-link.h: Don't include <assert.h>.
34896 (elf_get_dynamic_info): Moved to ...
34897 * elf/get-dynamic-info.h: Here. New file.
34898 * elf/dynamic-link.h: Include "get-dynamic-info.h".
34899 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34900 * elf/setup-vdso.h: Here. New file.
34901 * elf/rtld.c: Include "setup-vdso.h".
34902 (dl_main): Call setup_vdso.
34904 2012-10-05 Joseph Myers <joseph@codesourcery.com>
34906 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34907 creal in comment listing functions tested. List finite, isinf,
34908 isnan, isless, islessequal, isgreater, isgreaterequal,
34909 islessgreater, isunordered, lgamma_r and pow10 as functions and
34910 macros not tested. Mention which functions not tested are aliases
34911 for other functions. Fix typo. Note that signs of NaNs are not
34914 * scripts/config.guess: Update from config.git.
34915 * scripts/config.sub: Likewise.
34917 2012-10-04 Roland McGrath <roland@hack.frob.com>
34919 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34920 * misc/madvise.c (madvise): Renamed to __madvise.
34921 Make madvise a weak alias.
34922 * include/sys/mman.h: Declare __madvise.
34923 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34924 * sysdeps/unix/syscalls.list
34925 (madvise): Make __madvise the strong name, and madvise a weak alias.
34926 * sysdeps/unix/sysv/linux/syscalls.list
34927 (madvise, mmap): Remove redundant entries.
34928 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34929 * malloc/malloc.c (mtrim): Likewise.
34930 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34932 2012-10-03 Roland McGrath <roland@hack.frob.com>
34934 * sysdeps/mach/hurd/dl-cache.c: File removed.
34935 * config.h.in (USE_LDCONFIG): New #undef.
34936 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34937 * configure: Regenerated.
34938 * elf/Makefile (dl-routines): Add dl-cache only under
34939 [$(use-ldconfig) = yes].
34940 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34941 cache on [USE_LDCONFIG].
34942 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34944 * elf/rtld.c (dl_main): Likewise.
34946 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
34948 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34949 _SC_LEVEL4_CACHE_LINESIZE.
34951 2012-10-03 Roland McGrath <roland@hack.frob.com>
34953 * sysdeps/unix/bsd/confstr.h: File removed.
34955 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
34957 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34960 2012-10-02 Roland McGrath <roland@hack.frob.com>
34962 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34963 Make 'mapoff' field ElfW(Off) rather than off_t.
34965 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
34967 * nscd/Makefile: Remove nscd-cflags and all its users.
34968 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34969 (CFLAGS-nonlib): Add compiler flags for nscd modules.
34972 * malloc.c (malloc_printerr): Clarify error message.
34974 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
34977 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34978 Set bit_FMA_Usable if FMA is supported.
34979 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34981 (bit_FMA4_Usable): Updated.
34982 (index_FMA_Usable): New macro.
34983 (CPUID_FMA): Likewise
34984 (HAS_FMA): Defined with bit_FMA_Usable.
34986 2012-10-01 Roland McGrath <roland@hack.frob.com>
34988 * bits/types.h (__swblk_t): Type removed.
34989 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34990 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34991 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34992 (__SWBLK_T_TYPE): Likewise.
34993 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34994 (__SWBLK_T_TYPE): Likewise.
34995 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34996 (__SWBLK_T_TYPE): Likewise.
34997 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34998 (__SWBLK_T_TYPE): Likewise.
35000 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35001 Honza Horak <hhorak@redhat.com>
35003 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35004 (xdr_mapname): Use YPMAXMAP as maxsize.
35005 (xdr_peername): Use YPMAXPEER as maxsize.
35006 (xdr_keydat): Use YPAXRECORD as maxsize.
35007 (xdr_valdat): Use YPMAXRECORD as maxsize.
35009 2012-10-01 Roland McGrath <roland@hack.frob.com>
35011 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35013 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35014 * csu/init-first.c: ... here.
35015 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35016 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35017 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35018 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35019 * sysdeps/i386/init-first.c: File removed.
35020 * sysdeps/sh/init-first.c: File removed.
35022 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35025 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35026 if x * y might underflow to zero and z is zero.
35027 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35028 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35029 * math/libm-test.inc (min_subnorm_value): New variable.
35030 (fma_test): Add more tests.
35031 (fma_test_towardzero): Likewise.
35032 (fma_test_downward): Likewise
35033 (fma_test_upward): Likewise.
35034 (initialize): Set min_subnorm_value.
35036 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35039 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35041 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35042 mode for addition resulting in exact zero.
35043 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35044 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35046 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35047 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35048 * math/libm-test.inc (fma_test): Add more tests.
35049 (fma_test_towardzero): New function.
35050 (fma_test_downward): Likewise.
35051 (fma_test_upward): Likewise.
35052 (main): Call the new functions.
35054 2012-09-28 David S. Miller <davem@davemloft.net>
35056 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35058 2012-09-28 Roland McGrath <roland@hack.frob.com>
35060 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35061 instead of SIGALRM.
35063 * sysdeps/gnu/_G_config.h: Moved to ...
35064 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35065 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35066 * sysdeps/generic/_G_config.h: ... here.
35068 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35070 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35072 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35073 Conditionalize target on [libnss_test1.so-version].
35075 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35077 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35078 (elfobjdir): Move out of conditionals.
35080 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35081 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35082 (__nss_lookup_function): Conditionalize label remove_from_tree on
35083 [!DO_STATIC_NSS || SHARED], matching its only use.
35085 2012-09-28 David S. Miller <davem@davemloft.net>
35087 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35088 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35090 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35092 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35093 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35094 when HWCAP_SPARC_CRYPTO is present.
35096 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35098 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35100 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35103 * stdio-common/vfprintf.c (process_string_arg): Revert
35106 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35108 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35110 * stdio-common/tst-sprintf.c: Include <locale.h>
35111 (main): Test sprintf's handling of incomplete multibyte
35114 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35116 * elf/dl-runtime.c (VERSYMIDX): Removed.
35117 * elf/dl-version.c (VERSYMIDX): Likewise.
35118 * elf/do-rel.h (VERSYMIDX): Likewise.
35119 (VALIDX): Likewise.
35120 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35121 * elf/rtld.c (VALIDX): Likewise.
35122 (ADDRIDX): Likewise.
35123 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35124 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35125 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35126 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35127 (VALIDX): Likewise.
35128 (ADDRIDX): Likewise.
35130 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35132 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35134 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35137 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35139 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35140 addresses are in the same scope as 192.0.2/24.
35141 * posix/gai.conf: Document new scope table defaults.
35143 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35146 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35147 for ftell. Compute offsets from write pointers instead.
35148 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35150 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35153 * libio/Makefile (tests): New test case tst-fseek.
35154 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35155 combination works in wide mode.
35156 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35157 state when the external buffer state changes.
35159 2012-09-27 David S. Miller <davem@davemloft.net>
35162 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35163 pass reloc->r_addend in as the 'high' argument to
35164 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35168 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35170 * rt/tst-aio2.c: Include <pthread.h>.
35171 * rt/tst-aio3.c: Likewise.
35173 2012-09-27 Steve Ellcey <sellcey@mips.com>
35175 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35177 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35179 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35180 contents on [SHARED].
35182 2012-09-26 Marek Polacek <polacek@redhat.com>
35186 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35187 for C++ and GCC <4.3 as well as for non GCC compilers.
35189 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35191 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35193 2012-09-25 Roland McGrath <roland@hack.frob.com>
35195 * Makefile.in (all, install): Declare with .PHONY.
35196 Reported by Michael Hope <michael.hope@linaro.org>.
35198 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35200 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35201 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35203 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35205 (sydep_routines): Add the new and the internal functions.
35206 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35207 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35209 (GLIBC_2.17): Add the new function.
35210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35211 (GLIBC_2.17): Likewise.
35212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35213 (GLIBC_2.17): Likewise.
35214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35215 (GLIBC_2.17): Likewise.
35216 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35218 2012-09-25 Alan Modra <amodra@gmail.com>
35220 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35221 Add release barrier before setting once_control to say
35222 initialisation is done. Add hints on lwarx. Use macro in
35224 (clear_once_control): Add release barrier.
35226 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35229 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35231 * math/s_clog10.c (__clog10): Likewise.
35232 * math/s_clog10f.c (__clog10f): Likewise.
35233 * math/s_clog10l.c (__clog10l): Likewise.
35234 * math/s_clogf.c (__clogf): Likewise.
35235 * math/s_clogl.c (__clogl): Likewise.
35236 * math/Makefile (libm-calls): Add x2y2m1.
35237 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35238 (__x2y2m1): Likewise.
35239 (__x2y2m1l): Likewise.
35240 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35241 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35242 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35243 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35244 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35245 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35246 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35247 * sysdeps/i386/fpu/libm-test-ulps: Update.
35248 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35251 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35252 int as type of variable DEPTH.
35253 (glob): Use size_t instead of int as type of variables NEWCOUNT
35256 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35258 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35259 Add s_sincosf-sse2.
35260 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35261 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35262 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35263 macros for using routine as __sincosf_ia32.
35264 Use macro for function declaration and weak_alias.
35265 * sysdeps/i386/fpu/libm-test-ulps: Update.
35267 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35268 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35270 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35271 subnormal argument.
35272 * math/s_cexpf.c (__cexpf): Likewise.
35273 * math/s_csinf.c (__csinf): Likewise.
35274 * math/s_csinhf.c (__csinhf): Likewise.
35275 * math/s_ctanf.c (__ctanf): Likewise.
35276 * math/s_ctanhf.c (__ctanhf): Likewise.
35277 * math/s_ccosh.c (__ccoshf): Likewise.
35278 * math/s_cexp.c (__cexpl): Likewise.
35279 * math/s_csin.c (__csin): Likewise.
35280 * math/s_csinh.c (__csinh): Likewise.
35281 * math/s_ctan.c (__ctan): Likewise.
35282 * math/s_ctanh.c (ctanh): Likewise.
35283 * math/s_ccoshl.c (__ccoshl): Likewise.
35284 * math/s_cexpl.c (__cexpl): Likewise.
35285 * math/s_csinl.c (__csinl): Likewise.
35286 * math/s_csinhl.c (__csinhl): Likewise.
35287 * math/s_ctanl.c (__ctanl): Likewise.
35288 * math/s_ctanhl.c (__ctanhl): Likewise.
35290 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35292 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35293 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35294 (_IO_off_t): Define to __off_t, not _G_off_t.
35295 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35296 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35297 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35298 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35299 type of __dummy and __dummy2 fields.
35300 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35301 (_G_ssize_t): Likewise.
35302 (_G_off_t): Likewise.
35303 (_G_pid_t): Likewise.
35304 (_G_uid_t): Likewise.
35305 (_G_wchar_t): Likewise.
35306 (_G_wint_t): Likewise.
35307 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35308 (_G_ssize_t): Likewise.
35309 (_G_off_t): Likewise.
35310 (_G_pid_t): Likewise.
35311 (_G_uid_t): Likewise.
35312 (_G_wchar_t): Likewise.
35313 (_G_wint_t): Likewise.
35314 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35315 (_G_ssize_t): Likewise.
35316 (_G_off_t): Likewise.
35317 (_G_pid_t): Likewise.
35318 (_G_uid_t): Likewise.
35319 (_G_wchar_t): Likewise.
35320 (_G_wint_t): Likewise.
35322 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35324 * malloc/arena.c: Include malloc-sysdep.h.
35325 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35326 is sufficient to shrink the heap or an unmap is needed.
35327 * sysdeps/generic/malloc-sysdep.h: New file. Define
35328 new function check_may_shrink_heap.
35329 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35330 new function check_may_shrink_heap.
35332 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35334 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35337 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35339 * catgets/test-gencat.sh: Add "set -e".
35340 * elf/tst-pathopt.sh: Likewise.
35341 * grp/tst_fgetgrent.sh: Likewise.
35342 * iconvdata/run-iconv-test.sh: Likewise.
35343 * intl/tst-gettext.sh: Likewise.
35344 * intl/tst-gettext2.sh: Likewise.
35345 * intl/tst-gettext4.sh: Likewise.
35346 * intl/tst-gettext6.sh: Likewise.
35347 * intl/tst-translit.sh: Likewise.
35348 * io/ftwtest-sh: Likewise.
35349 * libio/test-freopen.sh: Likewise.
35350 * malloc/tst-mtrace.sh: Likewise.
35351 * posix/globtest.sh: Likewise.
35352 * posix/tst-getconf.sh: Likewise.
35353 * posix/wordexp-tst.sh: Likewise.
35354 * stdio-common/tst-printf.sh: Likewise.
35355 * stdio-common/tst-unbputc.sh: Likewise.
35356 * stdlib/tst-fmtmsg.sh: Likewise.
35357 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35358 * catgets/Makefile: Do not specify -e option when running
35359 testsuite shell scripts.
35360 * elf/Makefile: Likewise.
35361 * grp/Makefile: Likewise.
35362 * iconvdata/Makefile: Likewise.
35363 * intl/Makefile: Likewise.
35364 * io/Makefile: Likewise.
35365 * libio/Makefile: Likewise.
35366 * malloc/Makefile: Likewise.
35367 * posix/Makefile: Likewise.
35368 * stdio-common/Makefile: Likewise.
35369 * stdlib/Makefile: Likewise.
35370 * sysdeps/x86_64/Makefile: Likewise.
35372 * io/ftwtest-sh: Add copyright header.
35373 * posix/globtest.sh: Likewise.
35374 * posix/tst-getconf.sh: Likewise.
35375 * posix/wordexp-tst.sh: Likewise.
35376 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35378 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35381 * Makeconfig (+link): Defined as $(+link-static) if
35382 $(build-shared) isn't yes.
35383 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35385 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35387 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35390 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35391 new chunk size with MALLOC_ALIGN_MASK.
35393 2012-09-24 Joseph Myers <joseph@codesourcery.com>
35396 * stdio-common/printf_fphex.c: Include <stdbool.h> and
35398 (__printf_fphex): Determine rounding using get_rounding_mode and
35400 * stdio-common/tst-printf-round.c (struct hex_test): New
35402 (hex_tests): New variable.
35403 (test_hex_in_one_mode): New function.
35404 (do_test): Also run tests for hex float output.
35406 2012-09-21 Joseph Myers <joseph@codesourcery.com>
35408 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35409 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35410 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35411 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35412 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35413 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35414 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35415 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35417 2012-09-20 Joseph Myers <joseph@codesourcery.com>
35419 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35420 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35421 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35422 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35424 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
35427 * elf/rtld.c (dl_main): Limit the check for self loading to normal
35429 * elf/tst-rtld-load-self.sh: New test.
35430 * elf/Makefile: Run it.
35432 2012-09-18 Joseph Myers <joseph@codesourcery.com>
35434 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35435 (tst-writev-ENV): Remove.
35436 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35438 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
35440 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35442 2012-09-17 Joseph Myers <joseph@codesourcery.com>
35444 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35446 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35448 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35449 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35450 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35453 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
35456 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35457 * config.make.in (have-cpp-asm-debuginfo): Removed.
35458 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35459 * configure: Regenerated.
35461 2012-09-14 Joseph Myers <joseph@codesourcery.com>
35464 * stdio-common/printf_fp.c: Include <stdbool.h> and
35466 (___printf_fp): Determine rounding using get_rounding_mode and
35468 * stdio-common/tst-printf-round.c: New file.
35469 * stdio-common/Makefile (tests): Add tst-printf-round.
35470 (link-libm): New variable.
35471 ($(objpfx)tst-printf-round): Depend in $(link-libm).
35473 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
35476 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35477 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35479 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35482 2012-09-13 Joseph Myers <joseph@codesourcery.com>
35484 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35485 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35486 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35487 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35489 2012-09-12 Joseph Myers <joseph@codesourcery.com>
35492 * include/rounding-mode.h: New file.
35493 * sysdeps/generic/get-rounding-mode.h: Likewise.
35494 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35495 * stdlib/strtod_l.c: Include <rounding-mode.h>.
35496 (MAX_VALUE): New macro.
35497 (MIN_VALUE): Likewise.
35498 (overflow_value): New function.
35499 (underflow_value): Likewise.
35500 (round_and_return): Use overflow_value and underflow_value to
35501 determine return values in overflow and underflow cases. Use
35502 round_away to determine rounding depending on rounding mode.
35503 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35504 determine return values in overflow and underflow cases.
35505 * stdlib/tst-strtod-round.c: Include <fenv.h>.
35506 (struct test_results): New structure.
35507 (struct test): Use struct test_results to store expected results
35508 for all rounding modes.
35509 (TEST): Include expected results for all rounding modes.
35510 (test_in_one_mode): New function.
35511 (do_test): Use test_in_one_mode to compute and check results.
35512 Check results for all rounding modes.
35513 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35516 2012-12-09 Allan McRae <allan@archlinux.org>
35518 * sysdeps/i386/fpu/libm-test-ulps: Update
35520 2012-09-11 Joseph Myers <joseph@codesourcery.com>
35522 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35523 (_G_int32_t): Likewise.
35524 (_G_uint16_t): Likewise.
35525 (_G_uint32_t): Likewise.
35526 (_G_HAVE_BOOL): Likewise.
35527 (_G_HAVE_ATEXIT): Likewise.
35528 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35529 (_G_HAVE_IO_FILE_OPEN): Likewise.
35530 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35531 (_G_int32_t): Likewise.
35532 (_G_uint16_t): Likewise.
35533 (_G_uint32_t): Likewise.
35534 (_G_HAVE_BOOL): Likewise.
35535 (_G_HAVE_ATEXIT): Likewise.
35536 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35537 (_G_HAVE_IO_FILE_OPEN): Likewise.
35538 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35539 (_G_int32_t): Likewise.
35540 (_G_uint16_t): Likewise.
35541 (_G_uint32_t): Likewise.
35542 (_G_HAVE_BOOL): Likewise.
35543 (_G_HAVE_ATEXIT): Likewise.
35544 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35545 (_G_HAVE_IO_FILE_OPEN): Likewise.
35547 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
35549 * csu/libc-tls.c: Update copyright years.
35551 2012-09-10 Joseph Myers <joseph@codesourcery.com>
35553 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35554 [!_G_USING_THUNKS]: Remove conditional code.
35555 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35556 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35558 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35559 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35560 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35561 (_G_VTABLE_LABEL_PREFIX): Likewise.
35562 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35563 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35564 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35565 (_G_VTABLE_LABEL_PREFIX): Likewise.
35566 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35567 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35568 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35569 (_G_VTABLE_LABEL_PREFIX): Likewise.
35570 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35572 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35574 * libio/Makefile: Include ../Makeconfig before tests.
35575 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35576 only if $(build-shared) is yes.
35578 * iconv/gconv_db.c: Update copyright years.
35580 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35582 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35583 unwind info if defined PIC. Fix special cases description.
35584 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35586 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35588 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35590 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35592 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35594 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35597 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35598 (LDLIBS-tst-chk4): This.
35599 (LDFLAGS-tst-chk5): Renamed to ...
35600 (LDLIBS-tst-chk5): This.
35601 (LDFLAGS-tst-chk6): Renamed to ...
35602 (LDLIBS-tst-chk6): This.
35603 (LDFLAGS-tst-lfschk4): Renamed to ...
35604 (LDLIBS-tst-lfschk4): This.
35605 (LDFLAGS-tst-lfschk5): Renamed to ...
35606 (LDLIBS-tst-lfschk5): This.
35607 (LDFLAGS-tst-lfschk6): Renamed to ...
35608 (LDLIBS-tst-lfschk6): This.
35610 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35611 on $(common-objpfx)soversions.mk.
35613 2012-09-07 Joseph Myers <joseph@codesourcery.com>
35616 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35619 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35621 * malloc/arena.c (arena_get_retry): New function that gets
35622 another arena for the caller to try its request on.
35623 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35624 current arena cannot fulfill the request.
35625 (__libc_memalign): Likewise.
35626 (__libc_memalign): Likewise.
35627 (__libc_pvalloc): Likewise.
35628 (__libc_calloc): Likewise.
35630 2012-09-05 John Tobey <john.tobey@gmail.com>
35633 * manual/arith.texi (Operations on Complex): Fix description
35634 of carg branch cut.
35636 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35639 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35643 * manual/memory.texi (Memory): Make order of menu items match
35646 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35648 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35649 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35650 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35652 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35654 * csu/libc-tls.c (static_dtv): Renamed to ...
35655 (_dl_static_dtv): This. Make it global.
35656 (_dl_initial_dtv): Removed.
35657 (__libc_setup_tls): Updated.
35658 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35659 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35662 2012-09-06 Petr Machata <pmachata@redhat.com>
35664 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35665 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35666 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35667 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35669 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35672 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35673 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35676 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35679 * Makeconfig (link-static-before-libc): Replace $(+prector)
35681 (link-static-after-libc): Replace $(+postctor) with
35683 (link-bounded): Replace $(+prector)/$(+postctor) with
35684 $(+prectorT)/$(+postctorT).
35685 (+prectorT): New macro.
35686 (+postctorT): Likewise.
35688 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35690 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35691 (round_str): Handle values above the maximum for IBM long double
35693 * stdlib/tst-strtod-round.c (tests): Regenerated.
35695 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35697 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35699 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35700 zarch_nohighgprs around the zarch optimized routines.
35701 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35702 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35703 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35706 2012-09-05 David S. Miller <davem@davemloft.net>
35708 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35710 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35711 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35712 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35713 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35716 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35718 * malloc/arena.c: Fold copyright years.
35719 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35721 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35723 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35725 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35727 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35729 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35731 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35732 change internal state upon failure.
35734 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35736 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35737 * malloc/memusage.c (mmap): Likewise.
35738 (mmap64, mremap): Likewise. Adjust name in comment.
35740 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35742 * libio/fileops.c: Fix typos in comments.
35743 * libio/oldfileops.c: Likewise.
35744 * libio/wfileops.c: Likewise.
35746 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35749 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35750 (tst-malloc-usable-ENV): Set environment for test case.
35751 * malloc/hooks.c (malloc_check_get_size): New function to get
35753 * malloc/malloc.c (musable): Use malloc_check_get_size.
35754 * malloc/tst-malloc-usable.c: New test case.
35756 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35758 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35760 2012-09-05 Allan McRae <allan@archlinux.org>
35763 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35764 determine header location.
35765 * configure: Regenerated.
35767 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35769 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35771 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35772 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35774 (test): Regenerate.
35776 2012-09-04 David S. Miller <davem@davemloft.net>
35778 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35779 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35780 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35782 2012-09-04 Florian Weimer <fweimer@redhat.com>
35784 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35787 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35789 2012-09-04 Joseph Myers <joseph@codesourcery.com>
35792 * libio/iogetdelim.c: Include <limits.h>.
35793 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35794 + len + 1 would overflow.
35796 2012-09-03 Andreas Jaeger <aj@suse.de>
35798 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35799 * sysdeps/i386/fpu/libm-test-ulps: Update.
35801 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35803 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35804 Add s_sinf-sse2, s_conf-sse2.
35806 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35807 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35808 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35809 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35811 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35812 for using routine as __sinf_ia32.
35813 Use macro for function declaration and weak_alias.
35814 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35815 for using routine as __cosf_ia32.
35816 Use macro for function declaration and weak_alias.
35818 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35819 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35821 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35822 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35823 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35825 * math/libm-test.inc (cos_test): Add more test cases.
35826 (sin_test): Likewise.
35827 (sincos_test): Likewise.
35829 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35831 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35832 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35834 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35836 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35839 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35840 first element of the GOT.
35841 (elf_machine_load_address): Return the difference between
35842 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35844 2012-09-01 Allan McRae <allan@archlinux.org>
35847 * configure.in (AWK): Require gawk version 3.0 or later.
35848 * configure: Regenerated.
35850 2012-09-01 Joseph Myers <joseph@codesourcery.com>
35852 * sysdeps/unix/sysv/linux/kernel-features.h
35853 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35854 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35855 [__NR_clock_getres]: Make code unconditional.
35856 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35857 (clock_getcpuclockid): Remove code left unreachable by removal of
35859 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35860 code unconditional.
35861 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35862 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35863 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35864 Make code unconditional.
35865 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35866 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35867 * sysdeps/unix/sysv/linux/clock_settime.c
35868 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35870 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35871 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35873 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
35876 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35877 scripts/test-installation.pl.
35879 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35880 and $ld_so_version if it is set.
35882 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
35885 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35886 failure if reading from procfs failed.
35887 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35889 2012-08-27 Joseph Myers <joseph@codesourcery.com>
35891 * sysdeps/unix/sysv/linux/kernel-features.h
35892 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35893 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35894 Remove conditional code.
35895 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35896 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35897 Remove conditional code.
35898 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35899 * sysdeps/unix/sysv/linux/i386/fxstat.c
35900 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35901 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35902 * sysdeps/unix/sysv/linux/i386/fxstatat.c
35903 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35904 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35905 * sysdeps/unix/sysv/linux/i386/lxstat.c
35906 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35907 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35908 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35909 Remove conditional code.
35910 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35911 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35912 Remove conditional code.
35913 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35914 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35915 <kernel-features.h>.
35916 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35918 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35919 Remove conditional code.
35920 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35921 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35922 Remove conditional.
35924 2012-08-27 Mike Frysinger <vapier@gentoo.org>
35927 * NEWS: Add fixed bug number.
35929 2012-08-27 Joseph Myers <joseph@codesourcery.com>
35932 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35933 underflowing exponent in case of negative sign.
35934 * stdlib/tst-strtod-round-data: Add more tests.
35935 * stdlib/tst-strtod-round.c (tests): Regenerated.
35938 * stdlib/strtod_l.c (NDIG): Remove.
35939 (HEXNDIG): Likewise.
35940 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35941 smallest representable value.
35942 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35943 lie within an exact representation of 1/2 ulp of the result.
35944 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35946 (TENS_P9_IDX): Define unconditionally.
35947 (TENS_P9_SIZE): Likewise.
35948 (TENS_P10_IDX): Likewise.
35949 (TENS_P10_SIZE): Likewise.
35950 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35951 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35952 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35953 entries for 10^2^13 and 10^2^14.
35954 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35955 (TENS_P13_IDX): Define.
35956 (TENS_P13_SIZE): Likewise.
35957 (TENS_P14_IDX): Likewise.
35958 (TENS_P14_SIZE): Likewise.
35959 (_fpioconst_pow10): Change array size to
35960 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
35962 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35963 1024]: Add entries for 10^2^13 and 10^2^14.
35964 [LAST_POW10 > _LAST_POW10]: Remove #error.
35965 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35966 (_fpioconst_pow10): Change array size to
35967 FPIOCONST_POW10_ARRAY_SIZE.
35968 * stdlib/gen-fpioconst.c: New file.
35969 * stdlib/gen-tst-strtod-round.c: Likewise.
35970 * stdlib/tst-strtod-round-data: Likewise.
35971 * stdlib/tst-strtod-round.c: Likewise.
35972 * stdlib/Makefile (tests): Add tst-strtod-round.
35975 * stdlib/strtod_l.c: Include <stdint.h>.
35976 (NDEBUG): Do not define.
35977 (round_and_return): Change EXPONENT parameter to type intmax_t.
35978 Rearrange calculations to avoid internal overflow possibilities.
35979 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35980 Rearrange calculations to avoid internal overflow possibilities.
35981 Assert that number fits inside MPNSIZE limbs.
35982 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35983 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
35984 calculations and add assertions to avoid internal overflow
35985 possibilities. Add casts to avoid signed/unsigned operations.
35986 * stdlib/tst-strtod-overflow.c: New file.
35987 * stdlib/Makefile (tests): Add tst-strtod-overflow.
35989 2012-08-25 Marek Polacek <polacek@redhat.com>
35991 * time/time.h: Fix some typos in comments.
35993 2012-08-23 Roland McGrath <roland@hack.frob.com>
35995 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35996 * posix/tst-rfc3484-2.c: Likewise.
35997 * posix/tst-rfc3484-3.c: Likewise.
35999 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36001 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36002 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36004 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36006 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36007 #include of fxstatat64.c.
36009 2012-08-22 Roland McGrath <roland@hack.frob.com>
36011 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36012 * shadow/getspent_r.c: Likewise.
36013 * shadow/getspnam.c: Likewise.
36014 * shadow/getspnam_r.c: Likewise.
36015 * gshadow/getsgent.c: Likewise.
36016 * gshadow/getsgent_r.c: Likewise.
36017 * gshadow/getsgnam.c: Likewise.
36018 * gshadow/getsgnam_r.c: Likewise.
36019 * inet/getnetbyad.c: Likewise.
36020 * inet/getnetbyad_r.c: Likewise.
36021 * inet/getnetbynm.c: Likewise.
36022 * inet/getnetbynm_r.c: Likewise.
36023 * inet/getnetent.c: Likewise.
36024 * inet/getnetent_r.c: Likewise.
36025 * inet/getproto.c: Likewise.
36026 * inet/getproto_r.c: Likewise.
36027 * inet/getprtent.c: Likewise.
36028 * inet/getprtent_r.c: Likewise.
36029 * inet/getprtname.c: Likewise.
36030 * inet/getprtname_r.c: Likewise.
36031 * inet/getrpcbyname.c: Likewise.
36032 * inet/getrpcbyname_r.c: Likewise.
36033 * inet/getrpcbynumber.c: Likewise.
36034 * inet/getrpcbynumber_r.c: Likewise.
36035 * inet/getrpcent.c: Likewise.
36036 * inet/getrpcent_r.c: Likewise.
36037 * inet/getaliasent.c: Likewise.
36038 * inet/getaliasent_r.c: Likewise.
36039 * inet/getaliasname.c: Likewise.
36040 * inet/getaliasname_r.c: Likewise.
36041 * nscd/getgrgid_r.c: Likewise.
36042 * nscd/getgrnam_r.c: Likewise.
36043 * nscd/gethstbyad_r.c: Likewise.
36044 * nscd/gethstbynm3_r.c: Likewise.
36045 * nscd/getpwnam_r.c: Likewise.
36046 * nscd/getpwuid_r.c: Likewise.
36047 * nscd/getsrvbynm_r.c: Likewise.
36048 * nscd/getsrvbypt_r.c: Likewise.
36049 * nscd/gai.c: Likewise.
36051 * configure.in (build_nscd): New substituted variable, set
36052 by --disable-build-nscd and defaults to $use_nscd.
36053 * configure: Regenerated.
36054 * config.make.in (build-nscd): New substituted variable.
36055 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36056 Change conditional to require [$(build-nscd) = yes] as well.
36057 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36060 * configure.in (use_nscd): New substituted variable, set by
36061 --disable-nscd. If enabled, define USE_NSCD.
36062 * configure: Regenerated.
36063 * config.h.in: Add USE_NSCD.
36064 * config.make.in (use-nscd): New substituted variable.
36065 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36066 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36067 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36068 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36069 (CFLAGS-getgrnam_r.c): Likewise.
36070 (CFLAGS-initgroups.c): Likewise.
36071 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36072 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36074 * inet/getnetgrent_r.c
36075 (nscd_setnetgrent): New function, broken out of ...
36076 (setnetgrent): ... here. Call it.
36077 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36078 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36079 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36080 * nscd/Makefile (routines, aux): Move definitions after include of
36081 Makeconfig. Conditionalize on [$(use-nscd) != no].
36082 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36083 Conditionalize on [USE_NSCD].
36084 (is_nscd, nscd_init_cb): Likewise.
36085 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36086 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36087 * nss/nss_db/db-init.c: Likewise.
36088 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36090 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36091 (make_request): Use it.
36092 (cache_valid_p): New function.
36093 (__check_pf): Use it.
36094 * NEWS: Add item for --disable-nscd.
36096 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36098 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36099 to support sed >= 4.2.1-20-ga9bf076.
36100 * configure: Regenerated.
36102 2012-08-22 Roland McGrath <roland@hack.frob.com>
36104 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36105 Conditionalize whole body on [IREL].
36107 2012-08-22 Jeff Law <law@redhat.com>
36110 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36111 if the family is PF_UNSPEC.
36113 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36115 * Makerules (lib-version): Rename from V.
36116 (install-lib-nosubdir): Change V to lib-version.
36118 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36121 * powerpc32/power6/wcschr.c: New file.
36122 * powerpc32/power6/wcscpy.c: New file.
36123 * powerpc32/power6/wcsrchr.c: New file.
36124 * powerpc64/power6/wcschr.c: New file.
36125 * powerpc64/power6/wcscpy.c: New file.
36126 * powerpc64/power6/wcsrchr.c: New file.
36128 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36130 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36131 (two_way_short_needle): Use it.
36132 * string/strstr.c (AVAILABLE1_USES_J): Define.
36133 * string/strcasestr.c: Likewise.
36135 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36137 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36140 * NEWS: Add an entry.
36141 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36142 define their defaults.
36143 (two_way_short_needle): Detect end-of-string on-the-fly.
36144 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36145 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36146 * string/bug-strcasestr1.c: New test.
36147 * string/Makefile: Run it.
36149 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36152 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36153 the first character.
36155 2012-08-21 Roland McGrath <roland@hack.frob.com>
36157 * csu/elf-init.c (__libc_csu_irel): Function removed.
36158 * csu/libc-start.c (apply_irel): New function.
36159 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36161 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36163 * sysdeps/unix/sysv/linux/kernel-features.h
36164 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36165 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36166 <kernel-features.h>.
36167 [__NR_fadvise64_64]: Make code unconditional.
36168 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36169 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36170 !__NR_fadvise64_64)]: Likewise.
36171 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36172 !__NR_fadvise64_64))]: Likewise.
36173 [__NR_fadvise64]: Make code unconditional.
36174 [!__NR_fadvise64]: Remove conditional code.
36175 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36176 <kernel-features.h>.
36177 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36179 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36182 not include <kernel-features.h>.
36183 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36185 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36187 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36188 include <kernel-features.h>.
36189 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36191 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36194 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36196 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36197 slight instruction rearrangements per scrollpipe analysis.
36198 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36200 2012-08-20 Roland McGrath <roland@hack.frob.com>
36202 * manual/syslog.texi (syslog; vsyslog, closelog):
36203 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36204 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36206 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36207 DSOCAPS to match condition on defining it.
36209 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36211 * sysdeps/unix/sysv/linux/kernel-features.h
36212 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36214 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36215 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36217 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36218 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36220 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36221 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36223 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36224 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36226 * sysdeps/unix/sysv/linux/kernel-features.h
36227 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36228 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36230 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36231 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36232 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36233 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36234 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36235 Make code unconditional.
36236 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36237 (__mmap64) [!__NR_mmap2]: Likewise.
36238 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36239 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36240 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36241 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36242 [__NR_mmap2]: Make code unconditional.
36243 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36244 (__mmap64) [!__NR_mmap2]: Likewise.
36246 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36248 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36250 2012-08-18 Andreas Jaeger <aj@suse.de>
36252 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36254 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36256 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36257 * include/unistd.h (__have_sock_cloexec): Likewise.
36258 (__have_pipe2): Likewise.
36259 (__have_dup3): Likewise.
36261 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36264 * include/unistd.h (__have_pipe2): Change define into an extern int.
36265 (__have_dup3): Likewise.
36266 * socket/have_sock_cloexec.c: Include fcntl.h.
36267 (__have_pipe2): New variable.
36268 (__have_dup3): Likewise.
36270 2012-08-17 Mike Frysinger <vapier@gentoo.org>
36272 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36274 2012-08-17 Marek Polacek <polacek@redhat.com>
36276 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36277 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36279 2012-08-17 Roland McGrath <roland@hack.frob.com>
36281 * configure.in: Add AC_SUBST for sysheaders.
36282 * configure: Regenerated.
36283 * config.make.in (sysheaders): New substituted variable.
36285 * sysdeps/unix/mkfifo.c: Moved ...
36286 * sysdeps/posix/mkfifo.c: ... here.
36287 * sysdeps/unix/mkfifoat.c: Moved ...
36288 * sysdeps/posix/mkfifoat.c: ... here.
36290 * sysdeps/unix/utime.c: Moved ...
36291 * sysdeps/posix/utime.c: ... here.
36293 * sysdeps/unix/time.c: Moved ...
36294 * sysdeps/posix/time.c: ... here.
36295 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36296 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36298 * sysdeps/unix/nice.c: Moved ...
36299 * sysdeps/posix/nice.c: ... here.
36301 * sysdeps/unix/alarm.c: Moved ...
36302 * sysdeps/posix/alarm.c: ... here.
36304 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36306 2012-08-17 Jeff Law <law@redhat.com>
36308 * intl/Makefile (codeset_mo): New variable.
36309 ($(codeset_mo)): New target.
36310 (tst-codeset.out): Depend on that. Remove explicit rule.
36311 (tst-gettext3.out, tst-gettext5.out): Likewise.
36312 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36313 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36314 * intl/tst-codeset.sh: Remove.
36315 * intl/tst-gettext3.sh: Likewise.
36316 * intl/tst-gettext5.sh: Likewise.
36318 2012-08-17 Roland McGrath <roland@hack.frob.com>
36320 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36321 * sysdeps/unix/syscalls.list: ... here.
36323 * sysdeps/posix/getaddrinfo.c
36324 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36325 (gaiconf_init, gaiconf_reload): Use them.
36326 [!_STATBUF_ST_NSEC]
36327 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36328 Define using time_t rather than struct timespec.
36330 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36331 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36333 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36335 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36336 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36339 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36340 __libc_cleanup_push argument.
36342 * bits/param.h: New file.
36343 * misc/sys/param.h: New file.
36344 * include/sys/param.h: New file.
36345 * misc/Makefile (headers): Add bits/param.h.
36346 * sysdeps/generic/sys/param.h: File removed.
36347 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36348 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36349 * sysdeps/mach/hurd/bits/param.h: New file.
36350 * sysdeps/mach/hurd/sys/param.h: File removed.
36352 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36355 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36357 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36358 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36361 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36362 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36363 rather than -D_IO_MTSAFE_IO conditionally.
36364 * stdio-common/Makefile (CPPFLAGS): Likewise.
36365 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36366 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36367 Use $(libio-mtsafe).
36368 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36369 of -D_IO_MTSAFE_IO.
36370 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36371 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36372 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36373 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36374 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36375 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36376 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36377 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36378 (CFLAGS-fread_u_chk.c): Likewise.
36379 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36380 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36381 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36382 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36383 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36384 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36385 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36386 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36387 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36389 * libio/Makefile: Test [$(libc-reentrant) = yes]
36390 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36393 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36394 * sysdeps/pthread/configure: File removed.
36395 * sysdeps/pthread/Makeconfig: New file.
36396 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36397 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36399 2012-08-16 Gary Benson <gbenson@redhat.com>
36401 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36402 unmapping the first object in a namespace.
36404 2012-08-16 Roland McGrath <roland@hack.frob.com>
36406 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36407 (__internal_setnetgrent): ... this. Add internal_function to
36408 definition. Add libc_hidden_def.
36409 (setnetgrent): Update caller.
36410 (internal_endnetgrent): Renamed to ...
36411 (__internal_endnetgrent): ... this. Add internal_function to
36412 definition. Add libc_hidden_def.
36413 (endnetgrent): Update caller.
36414 (internal_getnetgrent_r): Renamed to ...
36415 (__internal_getnetgrent_r): ... this. Add internal_function to
36416 definition. Add libc_hidden_def.
36417 (__getnetgrent_r): Update caller.
36418 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
36420 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36422 * stdlib/longlong.h: Update from GCC.
36424 2012-08-16 Roland McGrath <roland@hack.frob.com>
36426 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36427 on _QL, which is set by umul_ppmm but never used.
36428 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36429 variables, which are set by GMP macros but never used.
36430 * stdio-common/_itowa.c (_itowa): Likewise.
36431 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36432 * stdlib/mod_1.c (mpn_mod_1): Likewise.
36434 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
36436 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36437 struct La_sh_regs is not constant.
36438 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36439 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36440 and struct La_sparc64_regs are not constant.
36442 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36444 * sysdeps/unix/sysv/linux/kernel-features.h
36445 (__ASSUME_POSIX_TIMERS): Remove.
36446 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36447 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36448 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36449 Make code unconditional.
36450 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36451 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36452 Make code unconditional.
36453 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36454 * sysdeps/unix/sysv/linux/clock_nanosleep.c
36455 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36456 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36457 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36458 Make code unconditional.
36459 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36460 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36461 (__libc_missing_posix_timers): Remove.
36463 2012-08-15 Roland McGrath <roland@hack.frob.com>
36465 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36466 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36468 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36470 * elf/dl-sym.c: Include <stdlib.h>.
36472 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36473 constants, which avoids warnings in 32-bit builds.
36475 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36476 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36478 * misc/lseek.c: File moved to ...
36479 * io/lseek.c: ... here.
36481 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36483 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36484 shifting LEN more than 31 bits at once.
36486 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36489 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36490 segmentation fault for a case of two empty input strings.
36491 * string/test-strncasecmp.c (check1): Renamed to...
36492 (bz12205): ...this.
36493 (bz14195): Add new testcase for two empty input strings and N > 0.
36494 (test_main): Call new testcase, adapt for renamed function.
36496 2012-08-15 Andreas Jaeger <aj@suse.de>
36499 * crypt/md5test2.c: New test, based on test supplied by Serge
36500 Belyshev <belyshev@depni.sinp.msu.ru>.
36501 * crypt/Makefile (xtests): Add md5test-giant..
36502 * crypt/Makefile ($(objpfx)md5test-giant): Add.
36504 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
36507 * crypt/md5.c (md5_process_block): Don't assume the buffer
36508 length is less than 2**32.
36509 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36510 length is less than 2**64.
36512 2012-08-15 Roland McGrath <roland@hack.frob.com>
36514 * string/str-two-way.h: Include <sys/param.h>.
36515 (MAX): Macro removed.
36517 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36518 Move #define and #undef of memmove to just before and after
36519 including <string.h>.
36521 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36522 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36523 and after including <string.h>. Move declarations of
36524 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36525 to before #include "string/memmove.c".
36527 * include/dirent.h: Declare __getdirentries.
36529 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36530 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36532 2012-08-14 Mike Frysinger <vapier@gentoo.org>
36534 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36535 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36536 * sysdeps/i386/configure: Regenerated.
36537 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36538 STABS_CURRENT_FILE, and STABS_FUN.
36539 (END): Remove call to STABS_FUN_END.
36540 (STABS_CURRENT_FILE1): Delete.
36541 (STABS_CURRENT_FILE): Likewise.
36542 (STABS_FUN): Likewise.
36543 (STABS_FUN_END): Likewise.
36544 (STABS_FUN2): Likewise.
36545 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36546 * sysdeps/x86_64/configure: Regenerated.
36548 2012-08-14 Roland McGrath <roland@hack.frob.com>
36550 * elf/dl-open.c: Include <atomic.h>.
36551 * elf/dl-lookup.c: Likewise.
36553 2012-08-14 Joseph Myers <joseph@codesourcery.com>
36555 * sysdeps/unix/sysv/linux/kernel-features.h
36556 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36557 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36559 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36561 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36562 condition on __ASSUME_CLONE_THREAD_FLAGS.
36564 2012-08-14 Andreas Jaeger <aj@suse.de>
36566 * sysdeps/i386/fpu/libm-test-ulps: Update.
36568 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36570 * include/atomic.h (atomic_exchange_and_add): Split into ...
36571 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36574 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36576 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36578 2012-08-13 Jeff Law <law@redhat.com>
36580 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36581 null byte in the output string.
36583 2012-08-10 Joseph Myers <joseph@codesourcery.com>
36585 * sysdeps/unix/sysv/linux/kernel-features.h
36586 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36587 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36588 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36589 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36590 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36591 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36592 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36594 2012-08-09 Jeff Law <law@redhat.com>
36597 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36598 When avoid_arena is set, don't retry in the that arena. Pick the
36599 next one, whatever it might be.
36600 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36601 (arena_lock): Pass in new parameter to arena_get2.
36602 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36604 (__libc_malloc): Unify retrying after main arena failure with
36605 __libc_memalign version.
36606 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36608 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36611 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36612 to __redirect_strstr.
36613 (__strstr_sse42): Use typeof __redirect_strstr.
36614 (__strstr_ia32): Likewise.
36615 (__libc_strstr): New prototype.
36616 (strstr): Renamed to ...
36617 (__libc_strstr): This.
36618 (strstr): New strong alias of __libc_strstr.
36619 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36620 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36623 (__libc_time): New prototype.
36624 (time_ifunc): Replace time with __libc_time.
36625 (time): New strong alias and hidden definition of __libc_time.
36626 (__GI_time): Remove strong alias.
36627 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36628 Include <stddef.h>.
36629 (memmove): Redefined to __redirect_memmove.
36630 (__memmove_sse2): Use typeof __redirect_memmove.
36631 (__memmove_ssse3): Likewise.
36632 (__memmove_ssse3_back): Likewise.
36633 (__libc_memmove): New prototype.
36634 (memmove): Renamed to ...
36635 (__libc_memmove): This.
36636 (memmove): New strong alias of __libc_memmove.
36638 2012-08-08 Mark Salter <msalter@redhat.com>
36641 (R_MN10300_TLS_GD): Define.
36642 (R_MN10300_TLS_LD): Likewise.
36643 (R_MN10300_TLS_LDO): Likewise.
36644 (R_MN10300_TLS_GOTIE): Likewise.
36645 (R_MN10300_TLS_IE): Likewise.
36646 (R_MN10300_TLS_LE): Likewise.
36647 (R_MN10300_TLS_DTPMOD): Likewise.
36648 (R_MN10300_TLS_DTPOFF): Likewise.
36649 (R_MN10300_TLS_TPOFF): Likewise.
36650 (R_MN10300_SYM_DIFF): Likewise.
36651 (R_MN10300_ALIGN): Likewise.
36652 (R_MN10300_NUM): Update.
36654 2012-08-08 Joseph Myers <joseph@codesourcery.com>
36656 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36659 2012-08-08 Roland McGrath <roland@hack.frob.com>
36661 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36663 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36664 sysdeps/unix -> sysdeps/posix move.
36665 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36667 2012-08-07 Allan McRae <allan@archlinux.org>
36670 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36671 (SUNOS_CPP): Likewise.
36672 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36674 (open_input): Call CPP using execvp.
36676 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36678 * sysdeps/unix/sysv/linux/kernel-features.h
36679 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36680 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36681 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36682 (__ASSUME_WAITID_SYSCALL): Likewise.
36683 * sysdeps/unix/sysv/linux/dl-execstack.c
36684 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36685 code unconditional.
36686 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36688 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36689 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36690 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36692 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36694 [__ASSUME_WAITID_SYSCALL]: Likewise.
36695 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36697 2012-08-07 Roland McGrath <roland@hack.frob.com>
36699 * sysdeps/unix/closedir.c: Renamed to ...
36700 * sysdeps/posix/closedir.c: ... here.
36701 * sysdeps/unix/dirfd.c: Renamed to ...
36702 * sysdeps/posix/dirfd.c: ... here.
36703 * sysdeps/unix/dirstream.h: Renamed to ...
36704 * sysdeps/posix/dirstream.h: ... here.
36705 * sysdeps/unix/fdopendir.c: Renamed to ...
36706 * sysdeps/posix/fdopendir.c: ... here.
36707 * sysdeps/unix/opendir.c: Renamed to ...
36708 * sysdeps/posix/opendir.c: ... here.
36709 * sysdeps/unix/readdir.c: Renamed to ...
36710 * sysdeps/posix/readdir.c: ... here.
36711 * sysdeps/unix/readdir_r.c: Renamed to ...
36712 * sysdeps/posix/readdir_r.c: ... here.
36713 * sysdeps/unix/rewinddir.c: Renamed to ...
36714 * sysdeps/posix/rewinddir.c: ... here.
36715 * sysdeps/unix/seekdir.c: Renamed to ...
36716 * sysdeps/posix/seekdir.c: ... here.
36717 * sysdeps/unix/telldir.c: Renamed to ...
36718 * sysdeps/posix/telldir.c: ... here.
36719 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36720 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36721 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36722 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36724 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36725 * bits/fcntl.h: ... here.
36727 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36729 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36730 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36731 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36732 (struct flock): Move l_start, l_len to the beginning.
36733 Use __pid_t for l_pid.
36734 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36735 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36736 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36737 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36738 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36739 [__USE_LARGEFILE64] (struct flock64): New type.
36740 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36742 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36743 * bits/dirent.h: ... here.
36745 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36746 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36748 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36750 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36751 Change from 2.6.0 to 2.6.16.
36752 * sysdeps/unix/sysv/linux/configure: Regenerated.
36753 * sysdeps/unix/sysv/linux/kernel-features.h
36754 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36755 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36757 (__ASSUME_UTIMES): Likewise.
36758 (__ASSUME_CLONE_STOPPED): Remove.
36759 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36760 architectures, not kernel version.
36761 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36762 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36763 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36764 (__ASSUME_WAITID_SYSCALL): Likewise.
36765 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36766 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36767 * README: State 2.6.16 as minimum Linux kernel version. Do not
36768 refer to older versions.
36770 2012-08-06 Roland McGrath <roland@hack.frob.com>
36772 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36773 Define alphasort64 as an alias.
36774 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36775 Define versionsort64 as an alias.
36776 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36777 Define scandir64 as an alias.
36778 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36779 Define scandirat64 as an alias.
36780 * dirent/alphasort64.c (alphasort64):
36781 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36782 * dirent/versionsort64.c: Likewise.
36783 * dirent/scandir64.c: Likewise.
36784 * dirent/scandirat64.c: Likewise.
36785 * sysdeps/wordsize-64/alphasort.c: File removed.
36786 * sysdeps/wordsize-64/alphasort64.c: File removed.
36787 * sysdeps/wordsize-64/scandir.c: File removed.
36788 * sysdeps/wordsize-64/scandir64.c: File removed.
36789 * sysdeps/wordsize-64/scandirat.c: File removed.
36790 * sysdeps/wordsize-64/scandirat64.c: File removed.
36791 * sysdeps/wordsize-64/versionsort.c: File removed.
36792 * sysdeps/wordsize-64/versionsort64.c: File removed.
36793 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36794 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36795 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36796 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36797 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36798 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36799 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36800 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36802 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36803 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36804 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36805 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36806 [defined __arch64__ || defined __sparcv9]
36807 (__INO_T_MATCHES_INO64_T): New macro.
36808 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36809 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36810 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36811 * sysdeps/unix/sysv/linux/bits/dirent.h
36812 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36813 (_DIRENT_MATCHES_DIRENT64): New macro.
36815 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36816 Define lockf64 as an alias.
36817 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36818 Define fseeko64 as an alias.
36819 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36820 Define ftello64 as an alias.
36821 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36822 Define _IO_fgetpos64 and fgetpos64 as aliases.
36823 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36824 Define _IO_fsetpos64 and fsetpos64 as aliases.
36825 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36826 Conditionalize body on this.
36827 * libio/fseeko64.c: Likewise.
36828 * libio/ftello64.c: Likewise.
36829 * libio/iofgetpos64.c: Likewise.
36830 * libio/iofsetpos64.c: Likewise.
36831 * sysdeps/wordsize-64/lockf.c: File removed.
36832 * sysdeps/wordsize-64/lockf64.c: File removed.
36833 * sysdeps/wordsize-64/fseeko.c: File removed.
36834 * sysdeps/wordsize-64/fseeko64.c: File removed.
36835 * sysdeps/wordsize-64/ftello.c: File removed.
36836 * sysdeps/wordsize-64/ftello64.c: File removed.
36837 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36838 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36839 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36840 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36841 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36842 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36843 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36844 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36845 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36846 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36847 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36848 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36849 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36850 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36852 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36854 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36855 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36856 [defined __arch64__ || defined __sparcv9]
36857 (__OFF_T_MATCHES_OFF64_T): New macro.
36858 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36859 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36861 (__OFF_T_MATCHES_OFF64_T): New macro.
36863 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36865 * stdlib/secure-getenv.c (__secure_getenv): Replace
36866 GLIBC_2_16 with GLIBC_2_17.
36868 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36870 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36871 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36873 2012-08-03 David S. Miller <davem@davemloft.net>
36875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
36877 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36879 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36881 (__ASSUME_CORRECT_SI_PID): Likewise.
36882 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36883 (__ASSUME_TMPFS_NAME): Likewise.
36884 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36885 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36886 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36887 (HAVE_AUX_SECURE): Make definition unconditional.
36888 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36889 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36891 2012-08-03 Roland McGrath <roland@hack.frob.com>
36893 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36894 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36895 * sysdeps/mach/hurd/eloop-threshold.h: New file.
36896 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36897 __eloop_threshold instead of SYMLOOP_MAX.
36899 * sysdeps/generic/eloop-threshold.h: New file.
36900 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36902 * elf/chroot_canon.c (chroot_canon): Likewise.
36904 2012-08-03 Joseph Myers <joseph@codesourcery.com>
36907 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36908 Change to 2.6.0 everywhere.
36909 * sysdeps/unix/sysv/linux/configure: Regenerated.
36910 * sysdeps/unix/sysv/linux/kernel-features.h
36911 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36912 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36914 (__ASSUME_POSIX_TIMERS): Define unconditionally.
36915 (__ASSUME_FUTEX_REQUEUE): Remove.
36916 (__ASSUME_STATFS64): Define unconditionally.
36917 (__ASSUME_AT_SECURE): Likewise.
36918 (__ASSUME_CORRECT_SI_PID): Likewise.
36919 (__ASSUME_TGKILL): Define without depending on kernel version for
36921 (__ASSUME_UTIMES): Likewise.
36922 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36924 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36925 (__ASSUME_TMPFS_NAME): Likewise.
36926 * README: Update reference to Linux kernel versions.
36928 2012-08-02 Marek Polacek <polacek@redhat.com>
36931 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
36932 libc_cv_asm_type_prefix with %.
36933 * configure: Regenerated.
36934 * include/libc-symbols.h: Remove comment about
36935 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36936 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36937 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36938 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36939 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36940 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36941 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36942 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36943 * elf/tst-unique2mod1.c: Likewise.
36944 * elf/tst-unique1mod2.c: Likewise.
36945 * elf/tst-unique1mod1.c: Likewise.
36946 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36947 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36948 Replace ASM_TYPE_DIRECTIVE with .type.
36949 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36950 * sysdeps/i386/sysdep.h: Likewise.
36951 * sysdeps/x86_64/sysdep.h: Likewise.
36952 * sysdeps/sh/sysdep.h: Likewise.
36953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36954 Do not define ASM_TYPE_DIRECTIVE.
36955 * sysdeps/powerpc/sysdep.h: Likewise.
36956 * sysdeps/powerpc/powerpc32/sysdep.h:
36957 Replace ASM_TYPE_DIRECTIVE with .type.
36958 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36959 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36960 * sysdeps/i386/fpu/e_powf.S: Likewise.
36961 * sysdeps/i386/fpu/e_expl.S: Likewise.
36962 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36963 * sysdeps/i386/fpu/e_acosh.S: Likewise.
36964 * sysdeps/i386/fpu/e_pow.S: Likewise.
36965 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36966 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36967 * sysdeps/i386/fpu/s_expm1.S: Likewise.
36968 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36969 * sysdeps/i386/fpu/e_log2.S: Likewise.
36970 * sysdeps/i386/fpu/e_log2l.S: Likewise.
36971 * sysdeps/i386/fpu/e_scalb.S: Likewise.
36972 * sysdeps/i386/fpu/e_powl.S: Likewise.
36973 * sysdeps/i386/fpu/e_log10f.S: Likewise.
36974 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36975 * sysdeps/i386/fpu/e_logl.S: Likewise.
36976 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36977 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36978 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36979 * sysdeps/i386/fpu/e_log2f.S: Likewise.
36980 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36981 * sysdeps/i386/fpu/e_log.S: Likewise.
36982 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36983 * sysdeps/i386/fpu/e_logf.S: Likewise.
36984 * sysdeps/i386/fpu/e_log10l.S: Likewise.
36985 * sysdeps/i386/fpu/e_atanh.S: Likewise.
36986 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36987 * sysdeps/i386/fpu/e_log10.S: Likewise.
36988 * sysdeps/i386/fpu/s_frexp.S: Likewise.
36989 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36990 * sysdeps/i386/fpu/s_asinh.S: Likewise.
36991 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36992 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36993 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36994 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36995 * sysdeps/i386/i686/strtok.S: Likewise.
36996 * sysdeps/i386/i386-mcount.S: Likewise.
36997 * sysdeps/i386/strtok.S: Likewise.
36998 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36999 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37000 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37001 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37002 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37003 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37004 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37005 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37006 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37007 * sysdeps/x86_64/_mcount.S: Likewise.
37008 * sysdeps/x86_64/strtok.S: Likewise.
37009 * sysdeps/sh/_mcount.S: Likewise.
37011 2012-08-01 Roland McGrath <roland@hack.frob.com>
37013 * libio/iofopen.c: Include <fcntl.h>.
37014 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37015 (_IO_fopen64, fopen64): Define as aliases.
37016 * libio/iofopen64.c: Include <fcntl.h>.
37017 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37018 Conditionalize body on this.
37019 * sysdeps/wordsize-64/iofopen.c: File removed.
37020 * sysdeps/wordsize-64/iofopen64.c: File removed.
37022 2012-08-01 Marek Polacek <polacek@redhat.com>
37024 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37025 Use dlfcn directly instead of a variable.
37026 (binfmt-subdir): Do not define.
37029 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37031 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37032 Remove all definitions.
37033 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37034 <kernel-features.h>.
37035 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37036 (miss_F_GETOWN_EX): Remove all definitions.
37037 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37039 [!__ASSUME_FCNTL64]: Remove conditional code.
37040 [__ASSUME_FCNTL64]: Make code unconditional.
37041 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37042 <kernel-features.h>.
37043 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37044 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37045 (lockf64) [__NR_fcntl64]: Make code unconditional.
37046 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37048 * sysdeps/unix/sysv/linux/kernel-features.h
37049 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37050 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37051 Make code unconditional.
37052 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37053 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37055 [__NR_vfork]: Make code unconditional.
37056 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37057 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37059 [__NR_vfork]: Make code unconditional.
37060 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37061 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37063 2012-08-01 Roland McGrath <roland@hack.frob.com>
37065 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37066 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37068 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37069 Define mkstemp64 as an alias.
37070 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37071 Define mkstemps64 as an alias.
37072 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37073 Define mkostemp64 as an alias.
37074 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37075 Define mkostemps64 as an alias.
37076 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37077 Conditionalize body on this.
37078 * misc/mkostemp64.c: Likewise.
37079 * misc/mkostemps64.c: Likewise.
37080 * misc/mkstemps64.c: Likewise.
37081 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37082 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37083 * sysdeps/wordsize-64/mkostemp.c: File removed.
37084 * sysdeps/wordsize-64/mkstemp.c: File removed.
37085 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37086 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37087 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37088 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37091 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37092 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37093 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37094 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37096 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37097 compat_symbol macros from <shlib-compat.h> rather than the underlying
37098 default_symbol_version and symbol_version macros, so that DEFAULT
37099 lines in shlib-versions are respected.
37100 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37102 2012-08-01 Florian Weimer <fweimer@redhat.com>
37104 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37105 Declare with warn_unused_result.
37106 (setgid, setregid, setegid, setresgid): Likewise.
37107 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37109 * WUR-REPORT: Remove set*id functions.
37111 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37113 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37115 2012-07-31 Roland McGrath <roland@hack.frob.com>
37118 * include/sys/socket.h (__libc_accept, __libc_accept4):
37119 Add attribute_hidden.
37120 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37122 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37124 * inet/getnetgrent_r.c (setup): Likewise.
37126 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37128 2012-07-31 David S. Miller <davem@davemloft.net>
37130 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37132 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37135 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37136 value between 1.0 and 2.0 and smaller part has absolute value less
37138 * math/s_clog10.c (__clog10): Likewise.
37139 * math/s_clog10f.c (__clog10f): Likewise.
37140 * math/s_clog10l.c (__clog10l): Likewise.
37141 * math/s_clogf.c (__clogf): Likewise.
37142 * math/s_clogl.c (__clogl): Likewise.
37143 * math/libm-test.inc (clog_test): Add more tests.
37144 (clog10_test): Likewise.
37145 * sysdeps/i386/fpu/libm-test-ulps: Update.
37146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37148 2012-07-31 Florian Weimer <fweimer@redhat.com>
37150 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37151 Exit with zero in case no suitable GID is found, and write a
37152 message to standard error.
37154 2012-07-30 Roland McGrath <roland@hack.frob.com>
37156 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37158 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37159 (MAXPATHLEN): Removed.
37160 (NOGROUP, NODEV): New macros.
37161 (setbit, clrbit, isset, isclr): New macros.
37162 (howmany, roundup, powerof2): New macros.
37163 (DEV_BSIZE): New macro.
37165 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37166 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37168 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37169 definition on [!__NO_LONG_DOUBLE_MATH].
37171 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37172 PTR_MANGLE and PTR_DEMANGLE.
37174 * socket/accept4.c (accept4): Rename to __libc_accept4.
37175 Define accept4 as a weak alias.
37177 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37178 on [_DIRENT_HAVE_D_TYPE].
37179 * io/ftw.c (ftw_dir): Likewise.
37181 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37183 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37185 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37186 Use the BSD numbers rather than the arbitrary ones we had.
37187 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37188 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37189 (SIGXCPU, SIGXFSZ): New macros.
37192 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37193 initializer on [_LIBC_REENTRANT].
37195 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37196 definitions inside [_POSIX_MAPPED_FILES].
37198 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37200 * dirent/opendir.c: Include <fcntl.h>.
37202 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37203 (__libc_getspecific): Likewise.
37204 (__libc_key_create): Likewise.
37206 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37207 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37208 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37209 (tmpfile64): Define as alias.
37210 * sysdeps/wordsize-64/tmpfile.c: File removed.
37211 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37212 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37213 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37215 * stdio-common/vfscanf.c: Include <stdbool.h>.
37216 * nss/makedb.c: Likewise.
37217 * stdio-common/_i18n_number.h: Likewise.
37218 * argp/argp-help.c: Likewise.
37219 * posix/wordexp.c: Likewise.
37220 * sysdeps/posix/spawni.c: Likewise.
37221 * nss/nss_files/files-initgroups.c: Likewise.
37222 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37223 * nss/nss_files/files-initgroups.c: Likewise.
37224 * nss/nss_db/db-netgrp.c: Likewise.
37225 * nss/nss_db/db-initgroups.c: Likewise.
37226 * io/fchmodat.c: Include <sys/stat.h>.
37228 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37229 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37231 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37234 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37235 Add multiple inclusion protection.
37237 2012-07-27 David S. Miller <davem@davemloft.net>
37239 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37241 2012-07-27 Gary Benson <gbenson@redhat.com>
37244 * elf/rtld.c: Include <stap-probe.h>.
37245 (dl_main): Added static probes "init_start" and "init_complete".
37246 * elf/dl-load.c: Include <stap-probe.h>.
37247 (lose): Take new parameter "nsid".
37248 Added static probe "map_failed".
37249 (_dl_map_object_from_fd): Pass namespace id to lose.
37250 Added static probe "map_start".
37251 (open_verify): Pass namespace id to lose.
37252 * elf/dl-open.c: Include <stap-probe.h>.
37253 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37254 and "reloc_complete".
37255 * elf/dl-close.c: Include <stap-probe.h>.
37256 (_dl_close_worker): Added static probes "unmap_start" and
37258 * elf/rtld-debugger-interface.txt: New file documenting the above.
37260 2012-07-26 Roland McGrath <roland@hack.frob.com>
37262 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37263 rather than a string variable.
37264 * sunrpc/rpc_main.c (h_output): Likewise.
37265 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37267 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37269 * inet/check_native.c: New file.
37271 2012-07-26 Joseph Myers <joseph@codesourcery.com>
37274 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37275 if larger part has absolute value 1.0.
37276 * math/s_clog10.c (__clog10): Likewise.
37277 * math/s_clog10f.c (__clog10f): Likewise.
37278 * math/s_clog10l.c (__clog10l): Likewise.
37279 * math/s_clogf.c (__clogf): Likewise.
37280 * math/s_clogl.c (__clogl): Likewise.
37281 * math/libm-test.inc (clog_test): Add more tests.
37282 (clog10_test): Likewise.
37283 * sysdeps/i386/fpu/libm-test-ulps: Update.
37284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37286 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37287 (pltexit): Likewise.
37288 (La_regs): Likewise.
37289 (La_retval): Likewise.
37290 (int_retval): Likewise.
37291 Update #error for removed macros to refer only to definitions in
37293 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37295 (pltexit): Likewise.
37296 (La_regs): Likewise.
37297 (La_retval): Likewise.
37298 (int_retval): Likewise.
37299 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37301 (pltexit): Likewise.
37302 (La_regs): Likewise.
37303 (La_retval): Likewise.
37304 (int_retval): Likewise.
37305 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37307 (pltexit): Likewise.
37308 (La_regs): Likewise.
37309 (La_retval): Likewise.
37310 (int_retval): Likewise.
37311 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37313 (pltexit): Likewise.
37314 (La_regs): Likewise.
37315 (La_retval): Likewise.
37316 (int_retval): Likewise.
37317 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37319 (pltexit): Likewise.
37320 (La_regs): Likewise.
37321 (La_retval): Likewise.
37322 (int_retval): Likewise.
37323 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37325 (pltexit): Likewise.
37326 (La_regs): Likewise.
37327 (La_retval): Likewise.
37328 (int_retval): Likewise.
37329 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37330 macro definitions in tst-audit.h.
37331 * sysdeps/i386/tst-audit.h: New file.
37332 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37333 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37334 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37335 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37336 * sysdeps/sh/tst-audit.h: Likewise.
37337 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37338 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37339 * sysdeps/x86_64/tst-audit.h: Likewise.
37341 2012-07-26 Andreas Jaeger <aj@suse.de>
37343 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37346 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37347 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37348 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37350 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37351 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37352 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37354 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37357 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37359 (si_call_addr, si_syscall, si_arch): Define new macro.
37360 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37362 (si_call_addr, si_syscall, si_arch): Define new marcro.
37363 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37365 (si_call_addr, si_syscall, si_arch): Define new macro.
37366 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37368 (si_call_addr, si_syscall, si_arch): Define new macro.
37370 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37373 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37374 Change to 2.4.21 where previously 2.4.1.
37375 * sysdeps/unix/sysv/linux/configure: Regenerated.
37376 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37377 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37378 Linux kernel version.
37379 (__ASSUME_STD_AUXV): Remove.
37380 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37382 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37383 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37384 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37385 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37386 (__ASSUME_NETLINK_SUPPORT): Likewise.
37387 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37388 (__no_netlink_support): Remove conditional definition.
37389 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37391 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37392 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37393 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37394 (if_nameindex_ioctl): Remove.
37395 (if_nameindex_netlink): Do not handle __no_netlink_support.
37396 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37398 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37399 Remove conditional code.
37400 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37402 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37404 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37405 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37406 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37408 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37409 [!__ASSUME_STD_AUXV]: Remove conditional code.
37410 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37411 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37412 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37414 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37415 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37417 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37419 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37420 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37422 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37423 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37424 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37427 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37430 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37431 code unconditional.
37432 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37434 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37436 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37439 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37441 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37444 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37445 code unconditional.
37446 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37448 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37450 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37452 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37453 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37454 code unconditional.
37455 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37457 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37459 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37462 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
37464 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37465 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37466 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37467 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37468 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37469 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37470 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37471 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37472 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37473 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37474 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37475 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37476 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37477 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37478 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37479 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37480 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37481 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37482 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37483 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37484 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37485 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37486 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37488 2012-07-25 Florian Weimer <fweimer@redhat.com>
37490 * Versions.def: Add GLIBC_2.17.
37491 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37492 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37493 Introduce __libc_secure_getenv.
37494 * stdlib/Versions (2.17): Add secure_getenv
37495 (GLIBC_PRIVATE): Add __libc_secure_getenv.
37496 * stdlib/secure-getenv.c: Rename __secure_getenv to
37497 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37498 symbol __secure_getenv for GLIBC_2.0.
37499 * stdlib/tst-secure-getenv.c: New.
37500 * stdlib/Makefile (tests): Add testcase.
37501 * manual/startup.texi (Environment Access): Document
37503 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37504 __libc_secure_getenv.
37505 * inet/ruserpass.c (ruserpass): Likewise.
37506 * malloc/mtrace.c (mtrace): Likewise.
37507 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37508 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37509 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37510 * sysdeps/posix/tempname.c: Likewise. Evaluate
37511 HAVE_SECURE_GETENV.
37512 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37513 __secure_getenv to __libc_secure_getenv.
37514 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37515 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37519 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37520 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37521 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37522 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37523 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37524 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37527 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37529 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37530 (struct La_i86_retval): Likewise.
37531 (struct La_x86_64_regs): Likewise.
37532 (struct La_x86_64_retval): Likewise.
37533 (struct La_x32_regs): Likewise.
37534 (struct La_x32_retval): Likewise.
37535 (struct La_ppc32_regs): Likewise.
37536 (struct La_ppc32_retval): Likewise.
37537 (struct La_ppc64_regs): Likewise.
37538 (struct La_ppc64_retval): Likewise.
37539 (struct La_sh_regs): Likewise.
37540 (struct La_sh_retval): Likewise.
37541 (struct La_s390_32_regs): Likewise.
37542 (struct La_s390_32_retval): Likewise.
37543 (struct La_s390_64_regs): Likewise.
37544 (struct La_s390_64_retval): Likewise.
37545 (struct La_sparc32_regs): Likewise.
37546 (struct La_sparc32_retval): Likewise.
37547 (struct La_sparc64_regs): Likewise.
37548 (struct La_sparc64_retval): Likewise.
37549 (struct audit_ifaces): Remove architecture-specific pltenter and
37551 * sysdeps/i386/ldsodefs.h: New file.
37552 * sysdeps/powerpc/ldsodefs.h: Likewise.
37553 * sysdeps/s390/ldsodefs.h: Likewise.
37554 * sysdeps/sh/ldsodefs.h: Likewise.
37555 * sysdeps/sparc/ldsodefs.h: Likewise.
37556 * sysdeps/x86_64/ldsodefs.h: Likewise.
37558 2012-07-25 Marek Polacek <polacek@redhat.com>
37561 * math/libm-test.inc (yn_test): Add another test.
37562 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37563 to ERANGE when the result is +-Inf.
37564 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37565 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37566 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37567 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37569 2012-07-24 Joseph Myers <joseph@codesourcery.com>
37571 * conform/data/time.h-data (NULL): Use macro-constant. Require
37573 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37575 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37577 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37579 * configure.in <sysdeps resolving>: Correct printing
37581 * configure: Regenerate.
37583 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37585 * math/w_ilogb.c: Include <limits.h>.
37586 * math/w_ilogbl.c: Likewise.
37588 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37590 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37591 va_copy. Document allowing for unavailable va_copy only as
37592 pre-C99 compatibility.
37593 * manual/string.texi (Copying and Concatenation): Use va_copy
37594 instead of __va_copy in concat example.
37596 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37598 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37599 (__sendto): Use create_address_port. Initialize APORT and deallocate
37602 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37603 with O_NOLINK passed to __file_name_lookup.
37605 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37606 with O_NOLINK passed to __file_name_lookup.
37608 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37609 negative N or less than NGIDS.
37611 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37612 type to string_t. Set ERANGE as errno and return it if NAME is not big
37613 enough. Use memcpy instead of strncpy.
37615 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37617 * elf/Makefile (check-data): Remove.
37618 (localplt.data): New vpath directive.
37619 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37620 instead of $(check-data).
37621 * scripts/data/localplt-generic.data: Move to ...
37622 * sysdeps/generic/localplt.data: ... here.
37623 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37624 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37625 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37628 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37631 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37632 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37634 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37635 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37637 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37638 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37640 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37641 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37644 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37646 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37647 PPC32 and PPC64 files.
37648 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37649 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37651 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37653 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37654 __makecontext_ret to ...
37655 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37656 ... here and call exit if uc_link is NULL. New file.
37657 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37658 __makecontext_ret.S.
37659 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37660 __makecontext_ret to ...
37661 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37662 ... here and call exit if uc_link is NULL. New file.
37663 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37664 __makecontext_ret.S.
37666 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37668 * elf/elf.h (R_390_IRELATIVE): New definition.
37669 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37670 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37671 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37672 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37673 (elf_machine_lazy_rel): Likewise.
37674 * sysdeps/s390/dl-irel.h: New file.
37675 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37676 * sysdeps/s390/s390-64/memset.S: New asm code.
37677 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37678 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37679 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37680 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37681 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37682 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37683 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37684 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37685 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37686 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37687 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37688 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37689 * sysdeps/s390/s390-32/memset.S: New asm code.
37690 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37692 2012-07-17 Marek Polacek <polacek@redhat.com>
37695 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37696 * sysdeps/s390/s390-64/configure.in: Likewise.
37697 * sysdeps/sparc/configure.in: Likewise.
37698 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37699 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37700 * sysdeps/i386/configure.in: Likewise.
37701 * sysdeps/x86_64/configure.in: Likewise.
37702 * sysdeps/sh/configure.in: Likewise.
37703 * sysdeps/s390/s390-32/configure: Regenerated.
37704 * sysdeps/s390/s390-64/configure: Likewise.
37705 * sysdeps/x86_64/configure: Likewise.
37706 * sysdeps/sh/configure: Likewise.
37707 * sysdeps/powerpc/powerpc64/configure: Likewise.
37708 * sysdeps/powerpc/powerpc32/configure: Likewise.
37709 * sysdeps/sparc/configure: Likwise.
37710 * sysdeps/i386/configure: Likewise.
37712 * elf/dl-open.c: Comment fixes.
37714 2012-07-17 Joseph Myers <joseph@codesourcery.com>
37716 * Makefile [CXX] (check-data): Remove.
37717 [CXX] (c++-types.data): New vpath directive.
37718 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37719 vpath. Do not allow for C++ type data being missing.
37720 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37721 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37722 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37723 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37724 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37725 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37726 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37729 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37732 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37733 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37735 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37736 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37738 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37739 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37741 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37742 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37744 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37745 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37747 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37748 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37750 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37751 definitions to architecture-specific files.
37752 (TLS_IE): Likewise.
37753 (TLS_LD): Likewise.
37754 (TLS_GD): Likewise.
37755 * sysdeps/i386/tls-macros.h: New file.
37756 * sysdeps/powerpc/tls-macros.h: Likewise.
37757 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37758 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37759 * sysdeps/sh/tls-macros.h: Likewise.
37760 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37761 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37762 * sysdeps/x86_64/tls-macros.h: Likewise.
37764 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37766 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37767 zero value for regular exit case.
37769 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37770 (__start_context): Preserve zero value for regular exit case.
37772 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37773 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37775 * manual/setjmp.texi (setcontext): Clarify normal process
37776 termination when uc_link is the null pointer.
37777 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37780 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37782 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37783 preprocessor. Test for each exception mask separately.
37785 2012-07-16 Andreas Jaeger <aj@suse.de>
37787 * po/ru.po: Update from translation team.
37789 2012-07-15 Joseph Myers <joseph@codesourcery.com>
37791 * conform/data/string.h-data (NULL): Use macro-constant. Require
37793 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37794 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37795 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37796 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37797 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37799 2012-07-13 Andreas Jaeger <aj@suse.de>
37801 * po/fr.po: Update from translation team.
37803 2012-07-12 Marek Polacek <polacek@redhat.com>
37806 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37807 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37810 2012-07-12 Joseph Myers <joseph@codesourcery.com>
37813 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37814 Change to 2.4.1 where previously 2.4.0.
37815 * sysdeps/unix/sysv/linux/configure: Regenerated.
37816 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37817 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37819 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37820 (__ASSUME_AT_CLKTCK): Remove.
37821 (__ASSUME_AT_PAGESIZE): Likewise.
37822 (__ASSUME_AT_XID): Likewise.
37823 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37824 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37825 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37827 (HAVE_AUX_PAGESIZE): Likewise.
37828 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37829 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37830 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37832 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37835 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37836 the temporary buffer used to invoke __gethostbyname2_r,
37837 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37838 host_data / struct gaih_addrtuple.
37839 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37840 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37841 header file nss/nsswitch.h.
37842 * nss/nsswitch.h (global scope): Add definition of implementation
37843 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37844 resolv/nss_dns/dns-host.c).
37846 2012-07-11 Andreas Jaeger <aj@suse.de>
37848 * po/fr.po: Update from translation team.
37850 * po/sv.po: Update from translation team
37851 * po/fr.po: Another update from translation team.
37853 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37855 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37856 for subnormals or multiply small sinh result by itself.
37857 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37858 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37860 2012-07-11 David S. Miller <davem@davemloft.net>
37862 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37864 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37867 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37868 (INTERNAL_MARK): Shift it here.
37870 2012-07-10 Marek Polacek <polacek@redhat.com>
37873 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37874 libc_cv_asm_global_directive with .globl.
37875 * configure: Regenerated.
37876 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37878 * sysdeps/i386/configure: Regenerated.
37879 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37881 * sysdeps/x86_64/configure: Regenerated.
37882 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37883 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37884 * elf/tst-unique2mod2.c: Likewise.
37885 * elf/tst-unique2mod1.c: Likewise.
37886 * elf/tst-unique1mod2.c: Likewise.
37887 * elf/tst-unique1mod1.c: Likewise.
37888 * sysdeps/s390/s390-32/sysdep.h: Likewise.
37889 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37890 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37891 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37892 * sysdeps/mach/sysdep.h: Likewise.
37893 * sysdeps/i386/sysdep.h: Likewise.
37894 * sysdeps/i386/i386-mcount.S: Likewise.
37895 * sysdeps/x86_64/_mcount.S: Likewise.
37896 * sysdeps/x86_64/sysdep.h: Likewise.
37897 * sysdeps/sh/_mcount.S: Likewise.
37898 * sysdeps/sh/sysdep.h: Likewise.
37899 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37900 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37901 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37902 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37903 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37904 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37905 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37906 * locale/localeinfo.h: Likewise.
37907 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37908 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37910 2012-07-09 Roland McGrath <roland@hack.frob.com>
37913 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37915 * manual/message.texi (The Uniforum approach): Likewise.
37916 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37917 (glibc iconv Implementation): Likewise.
37919 2012-07-09 Joseph Myers <joseph@codesourcery.com>
37922 * math/s_clog.c (__clog): Avoid scaling a value down where that
37923 could result in underflow.
37924 * math/s_clog10.c (__clog10): Likewise.
37925 * math/s_clog10f.c (__clog10f): Likewise.
37926 * math/s_clog10l.c (__clog10l): Likewise.
37927 * math/s_clogf.c (__clogf): Likewise.
37928 * math/s_clogl.c (__clogl): Likewise.
37929 * math/libm-test.inc (clog_test): Add more tests.
37930 (clog10_test): Likewise.
37931 * sysdeps/i386/fpu/libm-test-ulps: Update.
37932 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37934 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
37937 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37938 by 7 not 8 to examine high bit of fractional part.
37941 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37942 for call to __mcount_internal.
37943 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37944 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37945 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37947 2012-07-06 Joseph Myers <joseph@codesourcery.com>
37950 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37951 approximation for values within 0x1p-13f of an odd multiple of
37953 * math/libm-test.inc (tan_test): Do not allow spurious underflow
37954 exception. Add more tests.
37955 * sysdeps/i386/fpu/libm-test-ulps: Update.
37958 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37959 inputs and return -1 for them. Do not check for +Inf in case not
37960 reachable for +Inf.
37961 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37962 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37963 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37964 and return -1 for them. Do not check for +Inf in case not
37965 reachable for +Inf.
37966 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37968 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37969 and return -1 for them. Do not check for +Inf in case not
37970 reachable for +Inf.
37971 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
37972 spurious underflow.
37973 * sysdeps/i386/fpu/libm-test-ulps: Update.
37974 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37976 2012-07-06 Mike Frysinger <vapier@gentoo.org>
37978 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37980 2012-07-05 Joseph Myers <joseph@codesourcery.com>
37984 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37985 could result in spurious underflow. Scale down values above
37986 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37987 * math/s_csqrtf.c (__csqrtf): Likewise.
37988 * math/s_csqrtl.c (__csqrtl): Likewise.
37989 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
37990 spurious underflow.
37991 * sysdeps/i386/fpu/libm-test-ulps: Update.
37992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37994 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
37996 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37998 * catgets/xopen-msg.awk: New file.
37999 * catgets/xopen-msg.sed: Removed.
38001 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38003 * intl/po2test.awk: New file.
38004 * intl/po2test.sed: Removed.
38006 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38009 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38010 or multiply small sinh result by itself.
38011 * math/s_ctanf.c (__ctanf): Likewise.
38012 * math/s_ctanh.c (__ctanh): Likewise.
38013 * math/s_ctanhf.c (__ctanhf): Likewise.
38014 * math/s_ctanhl.c (__ctanhl): Likewise.
38015 * math/s_ctanl.c (__ctanl): Likewise.
38016 * math/libm-test.inc (ctan_test_tonearest): New function.
38017 (ctan_test_towardzero): Likewise.
38018 (ctan_test_downward): Likewise.
38019 (ctan_test_upward): Likewise.
38020 (ctanh_test_tonearest): Likewise.
38021 (ctanh_test_towardzero): Likewise.
38022 (ctanh_test_downward): Likewise.
38023 (ctanh_test_upward): Likewise.
38024 (main): Call these new functions.
38025 * sysdeps/i386/fpu/libm-test-ulps: Update.
38026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38028 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38030 * .gitignore: Delete /ports entry.
38032 2012-07-03 Andreas Jaeger <aj@suse.de>
38034 * po/bg.po: Update from translation team.
38035 * po/cs.po: Likewise.
38036 * po/de.po: Likewise.
38037 * po/hr.po: Likewise.
38038 * po/nl.pl: Likewise.
38039 * po/pl.po: Likewise.
38040 * po/vi.po: Likewise.
38042 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38044 * Makeconfig [!+link] (+link-before-libc): New variable.
38045 [!+link] (+link-after-libc): Likewise.
38046 [!+link] (+link-tests): Likewise.
38047 [!+link] (+link): Define in terms of $(+link-before-libc) and
38048 $(+link-after-libc).
38049 [!+link-static] (+link-static-before-libc): New variable.
38050 [!+link-static] (+link-static-after-libc): Likewise.
38051 [!+link-static] (+link-static-tests): Likewise.
38052 [!+link-static] (+link-static): Define in terms of
38053 $(+link-static-before-libc) and $(+link-static-after-libc).
38054 [build-shared] (link-libc-before-gnulib): New variable.
38055 [build-shared] (link-libc-tests): Likewise.
38056 [build-shared] (link-libc): Define in terms of
38057 $(link-libc-before-gnulib).
38058 [!build-shared] (link-libc-tests): New variable.
38059 (link-libc-static-tests): New variable.
38060 [!gnulib] (gnulib-arch): New variable.
38061 [!gnulib] (gnulib-tests): Likewise.
38062 [!gnulib] (static-gnulib-arch): Likewise.
38063 [!gnulib] (static-gnulib-tests): Likewise.
38064 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38065 Define with "=" instead of ":=".
38066 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38067 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38068 * Rules (binaries-all-notests): New variable.
38069 (binaries-all-tests): Likewise.
38070 (binaries-static-notests): Likewise.
38071 (binaries-static-tests): Likewise.
38072 (binaries-all): Define using $(binaries-all-notests) and
38073 $(binaries-all-tests).
38074 (binaries-static): Define using $(binaries-static-notests) and
38075 $(binaries-static-tests).
38076 (binaries-shared-tests): New variable.
38077 (binaries-shared-notests): Likewise.
38078 (binaries-shared): Remove variable.
38079 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38080 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38081 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38082 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38083 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38084 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38085 * elf/Makefile (sln-modules): New variable.
38086 (extra-objs): Add $(sln-modules:=.o).
38087 (ldconfig-modules): Add static-stubs.
38088 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38089 * elf/static-stubs.c: New file.
38092 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38093 by 7 not 8 to examine high bit of fractional part. Use volatile
38094 variables when splitting into final array of floats if
38095 __FLT_EVAL_METHOD__ != 0.
38096 * math/libm-test.inc (cos_test): Add another test.
38097 (sin_test): Likewise.
38098 * sysdeps/i386/fpu/libm-test-ulps: Update.
38101 * math/libm-test.inc (cosh_test): Add more tests.
38103 * version.h (RELEASE): Set to "development".
38104 (VERSION): Set to "2.16.90".
38106 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38108 * NEWS: Update copyright. Remove last-updated date.
38109 Mention math library bug fixes and timezone data changes.
38110 * README: Mention GNU/Hurd, x32, and HPPA support status.
38112 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38114 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38116 2012-06-27 Andreas Jaeger <aj@suse.de>
38118 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38120 2012-06-25 Andreas Jaeger <aj@suse.de>
38122 * sysdeps/s390/fpu/libm-test-ulps: Update.
38124 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38125 Thomas Schwinge <thomas@codesourcery.com>
38127 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38128 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38129 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38132 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38134 * sysdeps/mach/start.c: Remove file.
38135 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38136 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38137 * sysdeps/sh/init-first.c: Likewise.
38139 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38140 registers for frame unwinding purposes, add CFI directives.
38141 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38142 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38143 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38146 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38147 __fortify_fail returning.
38148 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38150 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38151 sysdeps/sh/____longjmp_chk.S.
38152 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38153 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38154 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38155 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38157 * sysdeps/sh/abort-instr.h: New file.
38158 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38159 process in case exit returns.
38161 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38162 initialize the GOT register before use.
38164 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38165 calculation of ARGC > 4.
38167 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38168 meaningful names to some local labels.
38170 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38171 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38173 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38174 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38175 (__arch_compare_and_exchange_val_16_acq): Likewise.
38176 (__arch_compare_and_exchange_val_32_acq): Likewise.
38177 (atomic_exchange_and_add): Fix gUSA sequence.
38178 (atomic_add): Likewise.
38179 (atomic_add_negative): Likewise.
38180 (atomic_add_zero): Likewise.
38181 (atomic_bit_test_set): Likewise.
38183 2012-06-22 Andreas Schwab <schwab@redhat.com>
38186 * include/link.h (struct link_map): Add l_free_initfini.
38187 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38189 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38190 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38191 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38194 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38196 * configure.in: Use AC_LANG_SOURCE.
38197 * configure: Regenerate.
38199 2012-06-22 Roland McGrath <roland@hack.frob.com>
38201 * configure.in (libc_cv_localstatedir): New substituted variable.
38202 * configure: Regenerated.
38203 * config.make.in (localstatedir): New variable, substituted from
38204 libc_cv_localstatedir.
38205 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38206 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38207 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38208 * sysdeps/gnu/configure: Regenerated.
38210 2012-06-21 Jeff Law <law@redhat.com>
38213 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38214 free. Simplify list management for _LIBC case.
38216 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38219 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38220 Clear sign bit of 64-bit integer value before comparing against
38223 * sysdeps/mach/configure: Regenerated.
38225 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38228 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38230 2012-06-21 Jeff Law <law@redhat.com>
38233 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38234 uint16_t for elements in the "seen" array to avoid char overflows.
38235 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38236 * elf/dl-open.c (dl_open_worker): Likewise.
38238 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38240 * scripts/list-sources.sh: Scan PORTS for translations.
38241 * po/libc.pot: Regenerated.
38243 2012-06-21 Andreas Jaeger <aj@suse.de>
38246 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38248 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38249 * bits/byteswap-16.h (__bswap_16): Likewise.
38250 * bits/byteswap.h (__bswap_constant_16): Likewise.
38252 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38255 * sysdeps/i386/fpu_control.h: Removed.
38256 * sysdeps/x86_64/fpu_control.h: Moved to ...
38257 * sysdeps/x86/fpu_control.h: Here.
38259 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38260 (_FPU_SETCW): Likewise.
38262 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38265 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38266 * sysdeps/x86/fpu/bits/mathinline.h: This.
38267 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38271 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38272 functions if __x86_64__ is defined.
38274 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38276 * string/endian.h: Add !__ASSEMBLER__ condition for including
38277 conversion interfaces.
38279 2012-06-15 Joseph Myers <joseph@codesourcery.com>
38282 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38283 of ABS(x) in calculating zero to negative powers other than odd
38285 * math/libm-test.inc (pow_test): Add more tests.
38287 2012-06-15 Andreas Jaeger <aj@suse.de>
38289 * manual/contrib.texi (Contributors): Update entry of Liubov
38290 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38293 2012-06-15 Cyril Hrubis <metan@ucw.cz>
38295 * string/string.h: Add __wur to GNU version of strerror_r.
38297 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38300 * string/Makefile (tests): Add tst-strtok_r.
38301 * string/tst-strtok_r.c: New file.
38302 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38303 RAX_LP/RDX_LP on SAVE_PTR.
38305 2012-06-14 Roland McGrath <roland@hack.frob.com>
38307 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38309 2012-06-14 Joseph Myers <joseph@codesourcery.com>
38311 * libm_test.inc (csqrt_test): Allow more spurious underflow
38313 (j0_test): Likewise.
38314 (j1_test): Likewise.
38315 (y0_test): Likewise.
38316 (y1_test): Likewise.
38318 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38320 * po/Makefile (libc.pot): Use UTF-8 charset.
38322 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38325 Suppress sign-conversion warning from FD_SET.
38326 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38327 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38328 not unsigned long int.
38329 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38331 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38335 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38336 __extern_always_inline instead of __extern_inline.
38337 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38338 (__signbit): Likewise.
38339 (__signbitl): Support C++ namespace.
38340 (lrintf): New inline function.
38342 (llrintf): Likewise.
38343 (llrint): Likewise.
38353 (floorf): Likewise.
38354 (nearbyint): Likewise.
38355 (nearbyintf): Likewise.
38357 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38359 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38360 non-default versions.
38362 2012-06-11 Roland McGrath <roland@hack.frob.com>
38365 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38367 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38369 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38370 (FE_UPWARD, FE_DOWNWARD): Don't define.
38371 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38372 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38374 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38376 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38377 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38379 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38381 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38382 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38383 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38384 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38386 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38389 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38390 * sysdeps/i386/fpu/Implies: New file.
38391 * sysdeps/x86_64/fpu/Implies: Likewise.
38392 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38393 * sysdeps/x86/fpu/bits/fenv.h: This.
38395 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38398 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38401 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38402 character 0xffff that matches the last element of the
38405 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38407 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38410 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38412 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38413 values higher than 25.6283.
38415 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38417 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38418 subnormal exponent extraction and add some __builtin_expect.
38419 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38420 Fix for subnormal mantissa calculation.
38422 2012-06-04 Mike Frysinger <vapier@gentoo.org>
38424 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38425 cpu2 is -1 and errno is not ENOSYS.
38427 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
38430 * sysdeps/i386/i486/bits/string.h: Renamed to ...
38431 * sysdeps/x86/bits/string.h: This.
38432 * sysdeps/x86_64/bits/string.h: Removed.
38434 * sysdeps/i386/i486/bits/string.h: Define inline functions only
38435 if not compiling for x86-64, but compiling for >= i486.
38437 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38438 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38440 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38441 New macro from Linux kernel 3.4.0.
38442 (FP_XSTATE_MAGIC2): Likewise.
38443 (FP_XSTATE_MAGIC2_SIZE): Likewise.
38444 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38445 (struct _fpx_sw_bytes): New struct.
38446 (struct _xsave_hdr): Likewise.
38447 (struct _ymmh_state): Likewise.
38448 (struct _xstate): Likewise.
38450 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38451 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38452 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38453 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38454 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38455 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38457 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38458 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38459 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38460 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38461 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38462 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38464 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38467 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38468 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38469 (sysdep_headers): Include sys/platform/ppc.h.
38470 * sysdeps/powerpc/test-gettimebase.c: Test for
38471 __ppc_get_timebase() to catch future ISA opcode/insn changes.
38472 * manual/Makefile (appendices): Include platform.texi.
38473 * manual/contrib.texi (Contributors): Update @node pointers.
38474 * manual/maint.texi (Maintenance): Likewise.
38475 (Platform): New node.
38476 * manual/platform.texi: New file. Document the new features.
38478 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38479 Jakub Jelinek <jakub@redhat.com>
38482 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38483 where __builtin_expect is unavailable.
38485 2012-06-03 David S. Miller <davem@davemloft.net>
38487 * stdlib/longlong.h: Updated from GCC.
38489 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
38492 * sysdeps/powerpc/powerpc32/mcount.c: New file.
38493 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38496 (GLIBC_2.16): Likewise.
38498 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38500 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38502 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38505 (default-abi): New variable.
38506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38507 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38509 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38511 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38513 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38516 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38517 definition. Document in comment.
38519 2012-06-01 David S. Miller <davem@davemloft.net>
38521 * stdlib/longlong.h: Updated from GCC.
38523 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38526 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38527 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38528 sys/debugreg.h sys/io.h here.
38529 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38530 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38532 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38533 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38534 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38535 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38536 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38537 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38539 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38540 Define only if __x86_64__ is defined.
38542 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38545 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38546 Use int64_t for variable i.
38547 * math/libm-test.inc (fmod_test): Add more tests.
38549 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38550 z computation is not scheduled after fetestexcept.
38551 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38552 Use math_force_eval instead of asm to ensure calculation scheduled
38553 before exception test.
38554 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38555 Ensure a1 + u.d computation is not scheduled after fetestexcept.
38557 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
38559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38560 computation is not scheduled after fetestexcept.
38562 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38565 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38566 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38568 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38570 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38571 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38573 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38576 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38578 (__WCHAR_MIN): Support __WORDSIZE == 64.
38579 (__WCHAR_MAX): Likewise.
38581 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38582 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38585 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38586 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38589 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38590 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38592 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38593 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38595 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38596 Defined to 1 if __x86_64__ isn't defined.
38597 (_STAT_VER_LINUX_OLD): New.
38598 (st_atime): Remove duplicate.
38599 (st_mtime): Likewise.
38600 (st_ctime): Likewise.
38602 2012-05-31 David S. Miller <davem@davemloft.net>
38604 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38607 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38609 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38613 * elf/dl-reloc.c: Include <_itoa.h>.
38614 (_dl_reloc_bad_type): Remove use of INTUSE.
38615 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38616 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38617 * stdio-common/psiginfo.c (psiginfo): Likewise.
38618 * stdio-common/psignal.c (psignal): Likewise.
38619 * string/strsignal.c (strsignal): Likewise.
38620 * include/signal.h (_sys_siglist): Declare hidden proto.
38621 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38622 INTVARDEF with libc_hidden_data_def.
38623 * stdio-common/itoa-udigits.c: Likewise.
38624 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38625 (_itoa_lower_digits_internal): Remove declaration.
38626 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38627 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38628 (_sys_sigabbrev_internal): Remove aliases.
38629 (_sys_siglist): Define hidden alias.
38631 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38633 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38636 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38639 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38640 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38642 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38643 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38644 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38645 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38646 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38647 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38649 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38650 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38651 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38653 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38661 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38662 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38663 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38665 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38666 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38667 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38668 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38669 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38670 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38672 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38673 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38675 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38676 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38678 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38679 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38680 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38682 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38683 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38685 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38687 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38688 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38689 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38691 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38693 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38695 2012-05-31 Joseph Myers <joseph@codesourcery.com>
38697 * math/math.h (M_El): Use two more decimal places.
38698 (M_LOG2El): Likewise.
38699 (M_LOG10El): Likewise.
38700 (M_LN2l): Likewise.
38701 (M_LN10l): Likewise.
38703 (M_PI_2l): Likewise.
38704 (M_PI_4l): Likewise.
38705 (M_1_PIl): Likewise.
38706 (M_2_PIl): Likewise.
38707 (M_2_SQRTPIl): Likewise.
38708 (M_SQRT2l): Likewise.
38709 (M_SQRT1_2l): Likewise.
38711 2012-05-31 David S. Miller <davem@davemloft.net>
38713 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38714 values between float registers.
38715 * sysdeps/sparc/sparc64/memset.S: Likewise.
38716 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38718 2012-05-31 Mike Frysinger <vapier@gentoo.org>
38720 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38721 -D_FORTIFY_SOURCE=1.
38722 (CPPFLAGS-tst-longjmp_chk.c): Define.
38723 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38724 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38725 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38726 CFLAGS-tst-wchar-h.c.
38728 2012-05-31 Marek Polacek <polacek@redhat.com>
38731 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38732 __endmntent_internal): Remove declaration.
38733 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38734 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38735 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38737 2012-05-30 David S. Miller <davem@davemloft.net>
38739 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38740 (___Q_simulate_exceptions): Use real FP ops rather than writing
38742 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38745 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38748 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38749 * sysdeps/x86/bits/xtitypes.h: This.
38751 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38752 * sysdeps/x86/bits/wordsize.h: This.
38754 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38755 * sysdeps/x86/bits/huge_vall.h: This.
38757 * sysdeps/i386/bits/select.h: Removed.
38758 * sysdeps/x86_64/bits/select.h: Renamed to ...
38759 * sysdeps/x86/bits/select.h: This.
38761 * sysdeps/i386/bits/setjmp.h: Removed.
38762 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38763 * sysdeps/x86/bits/setjmp.h: This.
38765 * sysdeps/i386/bits/mathdef.h: Removed.
38766 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38767 * sysdeps/x86/bits/mathdef.h: This.
38769 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38772 * include/sys/socket.h (__connect_internal)
38773 (__libc_sa_len_internal): Remove declaration.
38774 (__connect, __libc_sa_len): Declare hidden_proto.
38775 (SA_LEN): Remove use of INTUSE.
38776 * socket/connect.c: Add libc_hidden_def.
38777 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38778 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38779 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38781 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38782 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38783 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38784 of adding _internal alias.
38786 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38789 * sysdeps/i386/bits/link.h: Removed.
38790 * sysdeps/i386/bits/linkmap.h: Likewise.
38791 * sysdeps/x86_64/bits/link.h: Renamed to ...
38792 * sysdeps/x86/bits/link.h: This.
38793 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38794 * sysdeps/x86/bits/linkmap.h: This.
38796 * sysdeps/i386/bits/endian.h: Removed.
38797 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38798 * sysdeps/x86/bits/endian.h: This.
38800 * sysdeps/i386/bits/byteswap.h: Removed.
38801 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38802 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38803 * sysdeps/x86/bits/byteswap.h: This.
38804 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38805 * sysdeps/x86/bits/byteswap-16.h: This.
38806 * sysdeps/i386/Implies: Add x86.
38807 * sysdeps/x86_64/Implies: Likewise.
38809 2012-05-30 David S. Miller <davem@davemloft.net>
38811 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38812 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38813 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38814 (FP_TRAPPING_EXCEPTIONS): Define.
38815 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38816 (FP_TRAPPING_EXCEPTIONS): Define.
38817 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38818 subnormals only when inexact has been signalled or underflow
38819 exceptions are enabled.
38820 (_FP_PACK_CANONICAL): Likewise.
38822 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38825 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38826 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38828 2012-05-30 Richard Henderson <rth@twiddle.net>
38830 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38831 with #ifndef NOT_IN_libc.
38833 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38834 marked to avoid plt entry.
38836 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38839 * Makeconfig (default-abi): New macro.
38840 (abi-includes): Likewise.
38841 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38842 $(abi-$(default-abi)-lib-soname) for soname if defined.
38843 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38845 * Makefile (installed-stubs): Likewise.
38846 * include/stubs-biarch.h: Removed.
38847 * scripts/lib-names.awk: Only handle one library at a time.
38848 * scripts/soversions.awk: Remove WORDSIZE support.
38849 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38851 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38853 (syscall-list-default-condition): Likewise.
38854 (syscall-list-default-condition): Likewise.
38855 (syscall-list-includes): Likewise.
38856 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38857 syscall-list-* with abi-*. Handle undefined abi-variants.
38858 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38859 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38860 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38861 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38862 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38863 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38865 (syscall-list-32-options): Likewise.
38866 (syscall-list-32-condition): Likewise.
38867 (syscall-list-64-options): Likewise.
38868 (syscall-list-64-condition): Likewise.
38869 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38871 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38874 (abi-64-ld-soname): New macro.
38875 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38876 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38879 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38880 * sysdeps/x86_64/x32/shlib-versions: Likewise.
38882 2012-05-30 Joseph Myers <joseph@codesourcery.com>
38884 * sysdeps/unix/sysv/linux/kernel-features.h
38885 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38886 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38887 include <kernel-features.h>.
38888 [!__NR_ftruncate64]: Remove conditional code.
38889 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38890 [__NR_ftruncate64]: Make code unconditional.
38891 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38892 * sysdeps/unix/sysv/linux/truncate64.c: Do not
38893 include <kernel-features.h>.
38894 [!__NR_ftruncate64]: Remove conditional code.
38895 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38896 [__NR_ftruncate64]: Make code unconditional.
38897 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38898 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38899 include <kernel-features.h>.
38900 [!__NR_ftruncate64]: Remove conditional code.
38901 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38902 [__NR_ftruncate64]: Make code unconditional.
38903 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38905 include <kernel-features.h>.
38906 [!__NR_ftruncate64]: Remove conditional code.
38907 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38908 [__NR_ftruncate64]: Make code unconditional.
38909 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38911 * configure.in (libc_cv_fpie): Weaken to a compile test using
38912 LIBC_TRY_CC_OPTION.
38913 * configure: Regenerated.
38915 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38918 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38920 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38922 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38923 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38924 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38925 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38926 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38927 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38930 2012-05-27 David S. Miller <davem@davemloft.net>
38932 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38934 (__Q_simulate_exceptions): Return void. Change to simulate
38935 exceptions by writing into the %fsr.
38936 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38937 (__Qp_handle_exceptions): Likewise.
38939 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38940 __Qp_handle_exceptions.
38941 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38942 __Qp_handle_exceptions.
38943 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38944 as unused and give dummy FP_RND_NEAREST initializer.
38945 (FP_INHIBIT_RESULTS): Define.
38946 (___Q_simulate_exceptions): Update declaration.
38947 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38949 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38950 as unused and give dummy FP_RND_NEAREST initializer.
38951 (__Qp_handle_exceptions): Update declaration.
38952 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38955 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
38957 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38958 the temporary FPU control word.
38959 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38960 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38961 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38962 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38963 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38964 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38965 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38966 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38967 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38968 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38969 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38971 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38973 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38976 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
38978 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38979 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38980 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38981 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38983 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38984 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38987 2012-05-27 Ulrich Drepper <drepper@gmail.com>
38989 * po/h.po: Update from translation team.
38991 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
38993 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38995 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38996 handling of denormals.
38997 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38998 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38999 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39000 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39001 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39002 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39003 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39006 2012-05-26 Marek Polacek <polacek@redhat.com>
39009 * math/libm-test.inc (fma_test): Don't always expect underflow
39012 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39015 * elf/tst-execstack.c: Include stackinfo.h.
39016 (do_test): Adjust test case to ensure that pthread_getattr_np
39017 behaviour remains the same after marking stack executable.
39019 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39021 * sysdeps/unix/sysv/linux/kernel-features.h
39022 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39023 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39025 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39026 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39027 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39029 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39030 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39032 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39034 * configure.in: Define the default includes to being none.
39035 * configure: Regenerated.
39037 2012-05-25 Roland McGrath <roland@hack.frob.com>
39039 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39040 * sysdeps/x86_64/setjmp.S: Likewise.
39041 * sysdeps/i386/bsd-setjmp.S: Likewise.
39042 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39043 * sysdeps/i386/setjmp.S: Likewise.
39044 * sysdeps/i386/__longjmp.S: Likewise.
39045 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39046 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39048 * include/stap-probe.h: New file.
39049 * configure.in: Handle --enable-systemtap.
39050 * configure: Regenerated.
39051 * config.h.in (USE_STAP_PROBE): New #undef.
39052 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39053 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39054 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39056 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39059 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39060 to 2.4.0 where earlier.
39061 * sysdeps/unix/sysv/linux/configure: Regenerated.
39062 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39063 <kernel-features.h>.
39064 [__ASSUME_32BITUIDS]: Make code unconditional.
39065 [!__ASSUME_32BITUIDS]: Remove conditional code.
39066 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39067 <kernel-features.h>.
39068 [__ASSUME_32BITUIDS]: Make code unconditional.
39069 [!__ASSUME_32BITUIDS]: Remove conditional code.
39070 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39071 [__ASSUME_32BITUIDS]: Make code unconditional.
39072 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39073 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.c: Do not include
39078 <kernel-features.h>.
39079 [__ASSUME_32BITUIDS]: Make code unconditional.
39080 [!__ASSUME_32BITUIDS]: Remove conditional code.
39081 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39082 <kernel-features.h>.
39083 [__ASSUME_32BITUIDS]: Make code unconditional.
39084 [!__ASSUME_32BITUIDS]: Remove conditional code.
39085 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39086 <kernel-features.h>.
39087 [__ASSUME_32BITUIDS]: Make code unconditional.
39088 [!__ASSUME_32BITUIDS]: Remove conditional code.
39089 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39090 <kernel-features.h>.
39091 [__ASSUME_32BITUIDS]: Make code unconditional.
39092 [!__ASSUME_32BITUIDS]: Remove conditional code.
39093 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39094 <kernel-features.h>.
39095 [__ASSUME_32BITUIDS]: Make code unconditional.
39096 [!__ASSUME_32BITUIDS]: Remove conditional code.
39097 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39098 <kernel-features.h>.
39099 [__ASSUME_32BITUIDS]: Make code unconditional.
39100 [!__ASSUME_32BITUIDS]: Remove conditional code.
39101 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39102 <kernel-features.h>.
39103 [__ASSUME_32BITUIDS]: Make code unconditional.
39104 [!__ASSUME_32BITUIDS]: Remove conditional code.
39105 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39106 <kernel-features.h>.
39107 [__ASSUME_32BITUIDS]: Make code unconditional.
39108 [!__ASSUME_32BITUIDS]: Remove conditional code.
39109 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39110 <kernel-features.h>.
39111 [__ASSUME_32BITUIDS]: Make code unconditional.
39112 [!__ASSUME_32BITUIDS]: Remove conditional code.
39113 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39114 <kernel-features.h>.
39115 [__NR_setresgid] (__setresgid): Do not declare.
39116 [__ASSUME_32BITUIDS]: Make code unconditional.
39117 [!__ASSUME_32BITUIDS]: Remove conditional code.
39118 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39119 <kernel-features.h>.
39120 [__NR_setresuid] (__setresuid): Do not declare.
39121 [__ASSUME_32BITUIDS]: Make code unconditional.
39122 [!__ASSUME_32BITUIDS]: Remove conditional code.
39123 * sysdeps/unix/sysv/linux/i386/setfsgid.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/i386/setfsuid.c: Do not include
39128 <kernel-features.h>.
39129 [__ASSUME_32BITUIDS]: Make code unconditional.
39130 [!__ASSUME_32BITUIDS]: Remove conditional code.
39131 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39132 <kernel-features.h>.
39133 [__ASSUME_32BITUIDS]: Make code unconditional.
39134 [!__ASSUME_32BITUIDS]: Remove conditional code.
39135 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39136 <kernel-features.h>.
39137 [__ASSUME_32BITUIDS]: Make code unconditional.
39138 [!__ASSUME_32BITUIDS]: Remove conditional code.
39139 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39140 <kernel-features.h>.
39141 [__ASSUME_32BITUIDS]: Make code unconditional.
39142 [!__ASSUME_32BITUIDS]: Remove conditional code.
39143 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39144 <kernel-features.h>.
39145 [__ASSUME_32BITUIDS]: Make code unconditional.
39146 [!__ASSUME_32BITUIDS]: Remove conditional code.
39147 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39148 <kernel-features.h>.
39149 [__ASSUME_32BITUIDS]: Make code unconditional.
39150 [!__ASSUME_32BITUIDS]: Remove conditional code.
39151 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39152 <kernel-features.h>.
39153 [__ASSUME_32BITUIDS]: Make code unconditional.
39154 [!__ASSUME_32BITUIDS]: Remove conditional code.
39155 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39156 <kernel-features.h>.
39157 [__ASSUME_32BITUIDS]: Make code unconditional.
39158 [!__ASSUME_32BITUIDS]: Remove conditional code.
39159 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39160 <kernel-features.h>.
39161 [__ASSUME_32BITUIDS]: Make code unconditional.
39162 [!__ASSUME_32BITUIDS]: Remove conditional code.
39163 * sysdeps/unix/sysv/linux/kernel-features.h
39164 (__ASSUME_SETRESUID_SYSCALL): Remove.
39165 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39166 (__ASSUME_32BITUIDS): Likewise.
39167 (__ASSUME_LDT_WORKS): Likewise.
39168 (__ASSUME_O_DIRECTORY): Likewise.
39169 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39170 architecture but not kernel version.
39171 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39172 (__ASSUME_MMAP2_SYSCALL): Likewise.
39173 (__ASSUME_STAT64_SYSCALL): Likewise.
39174 (__ASSUME_IPC64): Likewise.
39175 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39176 <kernel-features.h>.
39177 [__ASSUME_32BITUIDS]: Make code unconditional.
39178 [!__ASSUME_32BITUIDS]: Remove conditional code.
39179 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39180 <kernel-features.h>.
39181 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39182 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39183 132096]: Remove conditional code.
39184 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39185 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39186 <kernel-features.h>.
39187 [__ASSUME_32BITUIDS]: Make code unconditional.
39188 [!__ASSUME_32BITUIDS]: Remove conditional code.
39189 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39190 <kernel-features.h>.
39191 [__ASSUME_32BITUIDS]: Make code unconditional.
39192 [!__ASSUME_32BITUIDS]: Remove conditional code.
39193 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39194 <kernel-features.h>.
39195 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39197 (__setresgid): Do not declare.
39198 [__ASSUME_32BITUIDS]: Make code unconditional.
39199 [!__ASSUME_32BITUIDS]: Remove conditional code.
39200 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39201 <kernel-features.h>.
39202 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39204 (__setresuid): Do not declare.
39205 [__ASSUME_32BITUIDS]: Make code unconditional.
39206 [!__ASSUME_32BITUIDS]: Remove conditional code.
39207 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39208 <kernel-features.h>.
39209 [__ASSUME_32BITUIDS]: Make code unconditional.
39210 [!__ASSUME_32BITUIDS]: Remove conditional code.
39211 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39212 <kernel-features.h>.
39213 [__ASSUME_32BITUIDS]: Make code unconditional.
39214 [!__ASSUME_32BITUIDS]: Remove conditional code.
39216 2012-05-25 Richard Henderson <rth@twiddle.net>
39218 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39219 dl_hwcap to ifunc resolver.
39220 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39222 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39223 dl_hwcap to ifunc resolver.
39224 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39226 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39229 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39230 for |x| <= 2**-26, not 2**-57.
39231 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39234 2012-05-24 Jeff Law <law@redhat.com>
39236 * stdio-common/Makefile (tests): Add bug25.
39237 * stdio-common/bug25.c: New test.
39239 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39242 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39243 multiple of MALLOC_ALIGNMENT in size.
39244 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39246 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39248 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39250 (FILENAME_MAX): Use macro-int-constant.
39251 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39252 (_IOFBF): Use macro-int-constant.
39253 (_IOLBF): Likewise.
39254 (_IONBF): Likewise.
39255 (SEEK_CUR): Likewise.
39256 (SEEK_END): Likewise.
39257 (SEEK_SET): Likewise.
39258 (TMP_MAX): Likewise.
39259 (EOF): Use macro-int-constant. Require < 0.
39260 (NULL): Use macro-constant. Require == 0.
39261 (stdin): Require type to be FILE *.
39262 (stdout): Likewise.
39263 (stderr): Likewise.
39264 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39265 macro-int-constant.
39266 (EXIT_SUCCESS): Likewise.
39267 (NULL): Use macro-constant. Require == 0.
39268 (RAND_MAX): Use macro-int-constant.
39269 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39270 [C99-based standards] (strtof): Require function.
39271 [C99-based standards] (strtold): Likewise.
39272 [C99-based standards] (strtoll): Likewise.
39273 [C99-based standards] (strtoull): Likewise.
39274 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39275 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39276 [ISO || ISO99 || ISO11] (math.h): Likewise.
39277 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39278 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39279 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39281 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39284 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39285 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39286 * intl/dgettext.c (DCGETTEXT): Likewise.
39287 * intl/gettext.c (DCGETTEXT): Likewise.
39288 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39289 * posix/regex_internal.h (gettext): Likewise.
39290 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39291 Remove declaration.
39292 * include/argz.h (__argz_count_internal)
39293 (__argz_stringify_internal): Remove declaration.
39294 (__argz_count, __argz_stringify): Declare hidden proto.
39295 * intl/dcgettext.c: Remove use of INTDEF.
39296 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39297 * string/argz-stringify.c: Likewise.
39298 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39299 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39300 Declare hidden proto.
39301 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39302 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39303 Declare hidden proto.
39304 * include/stdio.h (__asprintf_internal): Don't declare.
39305 (__asprintf): Don't define as macro. Declare hidden proto.
39306 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39307 (__fsetlocking): Declare hidden proto.
39308 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39309 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39311 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39312 (_IO_setlinebuf): Remove use of INTUSE.
39313 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39314 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39315 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39316 Remove declaration.
39317 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39318 (_IO_do_flush): Remove use of INTUSE.
39319 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39320 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39321 (_IO_adjust_column, _IO_least_wmarker)
39322 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39323 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39324 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39325 (_IO_default_doallocate, _IO_wdefault_doallocate)
39326 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39327 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39328 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39329 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39330 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39331 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39332 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39333 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39334 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39335 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39336 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39337 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39338 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39340 (_IO_flush_all_internal, _IO_adjust_column_internal)
39341 (_IO_default_uflow_internal, _IO_default_finish_internal)
39342 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39343 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39344 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39345 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39346 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39347 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39348 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39349 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39350 (_IO_file_close_internal, _IO_file_close_it_internal)
39351 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39352 (_IO_file_init_internal, _IO_file_attach_internal)
39353 (_IO_file_fopen_internal, _IO_file_read_internal)
39354 (_IO_file_sync_internal, _IO_file_seek_internal)
39355 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39356 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39357 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39358 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39359 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39360 (_IO_list_all_internal, _IO_link_in_internal)
39361 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39362 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39363 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39364 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39365 (_IO_do_write_internal, _IO_padn_internal)
39366 (_IO_getline_info_internal, _IO_getline_internal)
39367 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39368 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39369 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39370 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39371 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39372 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39373 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39374 with libc_hidden_ver, remove use of INTUSE.
39375 * libio/genops.c: Likewise.
39376 * libio/freopen.c: Likewise.
39377 * libio/freopen64.c: Likewise.
39378 * libio/iofclose.c: Likewise.
39379 * libio/iofdopen.c: Likewise.
39380 * libio/iofflush.c: Likewise.
39381 * libio/iofflush_u.c: Likewise.
39382 * libio/iofgets.c: Likewise.
39383 * libio/iofgets_u.c: Likewise.
39384 * libio/iofopen.c: Likewise.
39385 * libio/iofopncook.c: Likewise.
39386 * libio/iofread.c: Likewise.
39387 * libio/iofread_u.c: Likewise.
39388 * libio/ioftell.c: Likewise.
39389 * libio/iofwrite.c: Likewise.
39390 * libio/iogetline.c: Likewise.
39391 * libio/iogets.c: Likewise.
39392 * libio/iogetwline.c: Likewise.
39393 * libio/iopadn.c: Likewise.
39394 * libio/iopopen.c: Likewise.
39395 * libio/ioseekoff.c: Likewise.
39396 * libio/ioseekpos.c: Likewise.
39397 * libio/iosetbuffer.c: Likewise.
39398 * libio/iosetvbuf.c: Likewise.
39399 * libio/ioungetc.c: Likewise.
39400 * libio/ioungetwc.c: Likewise.
39401 * libio/iovdprintf.c: Likewise.
39402 * libio/iovsprintf.c: Likewise.
39403 * libio/iovsscanf.c: Likewise.
39404 * libio/memstream.c: Likewise.
39405 * libio/obprintf.c: Likewise.
39406 * libio/oldfileops.c: Likewise.
39407 * libio/oldiofclose.c: Likewise.
39408 * libio/oldiofdopen.c: Likewise.
39409 * libio/oldiofopen.c: Likewise.
39410 * libio/oldiopopen.c: Likewise.
39411 * libio/oldstdfiles.c: Likewise.
39412 * libio/putc.c: Likewise.
39413 * libio/setbuf.c: Likewise.
39414 * libio/setlinebuf.c: Likewise.
39415 * libio/stdfiles.c: Likewise.
39416 * libio/strops.c: Likewise.
39417 * libio/vasprintf.c: Likewise.
39418 * libio/vscanf.c: Likewise.
39419 * libio/vsnprintf.c: Likewise.
39420 * libio/vswprintf.c: Likewise.
39421 * libio/wfiledoalloc.c: Likewise.
39422 * libio/wfileops.c: Likewise.
39423 * libio/wgenops.c: Likewise.
39424 * libio/wmemstream.c: Likewise.
39425 * libio/wstrops.c: Likewise.
39426 * libio/__fpurge.c: Likewise.
39427 * libio/__fsetlocking.c: Likewise.
39428 * assert/assert.c: Likewise.
39429 * debug/fgets_chk.c: Likewise.
39430 * debug/fgets_u_chk.c: Likewise.
39431 * debug/fread_chk.c: Likewise.
39432 * debug/fread_u_chk.c: Likewise.
39433 * debug/gets_chk.c: Likewise.
39434 * debug/obprintf_chk.c: Likewise.
39435 * debug/vasprintf_chk.c: Likewise.
39436 * debug/vdprintf_chk.c: Likewise.
39437 * debug/vsnprintf_chk.c: Likewise.
39438 * debug/vsprintf_chk.c: Likewise.
39439 * malloc/mtrace.c: Likewise.
39440 * misc/error.c: Likewise.
39441 * misc/syslog.c: Likewise.
39442 * stdio-common/asprintf.c: Likewise.
39443 * stdio-common/fxprintf.c: Likewise.
39444 * stdio-common/getw.c: Likewise.
39445 * stdio-common/isoc99_fscanf.c: Likewise.
39446 * stdio-common/isoc99_scanf.c: Likewise.
39447 * stdio-common/isoc99_vfscanf.c: Likewise.
39448 * stdio-common/isoc99_vscanf.c: Likewise.
39449 * stdio-common/isoc99_vsscanf.c: Likewise.
39450 * stdio-common/printf-prs.c: Likewise.
39451 * stdio-common/printf_fp.c: Likewise.
39452 * stdio-common/printf_fphex.c: Likewise.
39453 * stdio-common/printf_size.c: Likewise.
39454 * stdio-common/putw.c: Likewise.
39455 * stdio-common/scanf.c: Likewise.
39456 * stdio-common/sprintf.c: Likewise.
39457 * stdio-common/tmpfile.c: Likewise.
39458 * stdio-common/vfprintf.c: Likewise.
39459 * stdio-common/vfscanf.c: Likewise.
39460 * stdlib/strfmon_l.c: Likewise.
39461 * sunrpc/openchild.c: Likewise.
39462 * sunrpc/xdr_stdio.c: Likewise.
39463 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39464 * sysdeps/mach/hurd/tmpfile.c: Likewise.
39466 2012-05-24 Roland McGrath <roland@hack.frob.com>
39468 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39470 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39471 in the third column, to generate for the shared library an IFUNC
39472 that uses _dl_vdso_vsym.
39473 * Makerules (COMPILE.c, compile-stdin.c): New variables.
39474 * Makeconfig (object-suffixes-noshared): New variable.
39476 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39477 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39478 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39479 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39482 * include/sys/time.h (__gettimeofday): Remove macro.
39483 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39484 * time/gettimeofday.c (__gettimeofday): Remove #undef.
39486 (__gettimeofday): Add libc_hidden_def.
39487 (gettimeofday): Add libc_hidden_weak.
39488 * sysdeps/mach/gettimeofday.c: Likewise.
39489 * sysdeps/posix/gettimeofday.c: Likewise.
39490 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39491 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39492 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39493 (__gettimeofday_internal): Remove strong_alias.
39494 (__gettimeofday): Add libc_hidden_def.
39495 (gettimeofday): Add libc_hidden_weak.
39496 * sysdeps/unix/syscalls.list (gettimeofday):
39497 Remove __gettimeofday_internal alias.
39499 2012-05-24 Daniel Jacobowitz <drow@false.org>
39500 H.J. Lu <hongjiu.lu@intel.com>
39503 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39504 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39505 (largebin_index_32_big): New.
39506 (largebin_index): Use it for 16-byte alignment.
39507 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
39508 correction with front_misalign.
39510 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39512 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39513 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39515 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39517 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39519 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39521 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39523 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39538 * scripts/data/c++-types-x32-linux-gnu.data: New file.
39539 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39541 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39545 * math/libm-test.inc (exp_test): Add test from bug 14036.
39546 (pow_test): Add test from bug 10846.
39548 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39550 (special_function): Do not include flags in test name.
39551 (parse_args): Likewise.
39552 * sysdeps/i386/fpu/libm-test-ulps: Update.
39553 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39554 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39555 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39556 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39558 * math/gen-libm-test.pl (%beautify): Add entries for underflow
39560 * math/libm-test.inc ("Philosophy"): Update comment about
39562 (UNDERFLOW_EXCEPTION): New macro.
39563 (UNDERFLOW_EXCEPTION_OK): Likewise.
39564 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39565 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39566 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39567 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39568 (INVALID_EXCEPTION_OK): Update value.
39569 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39570 (OVERFLOW_EXCEPTION_OK): Likewise.
39571 (IGNORE_ZERO_INF_SIGN): Likewise.
39572 (test_exceptions): Handle underflow exceptions.
39573 (acos_test): Update for underflow exception expectations.
39574 (cexp_test): Likewise.
39575 (clog_test): Likewise.
39576 (clog10_test): Likewise.
39577 (csqrt_test): Likewise.
39578 (ctan_test): Likewise.
39579 (ctanh_test): Likewise.
39580 (exp_test): Likewise.
39581 (exp10_test): Likewise.
39582 (exp2_test): Likewise.
39583 (expm1_test): Likewise.
39584 (fma_test): Likewise.
39585 (j0_test): Likewise.
39586 (jn_test): Likewise.
39587 (nexttoward_test): Likewise.
39588 (pow_test): Likewise.
39589 (scalbn_test): Likewise.
39590 (scalbln_test): Likewise.
39591 (tan_test): Likewise.
39592 (y1_test): Likewise.
39593 * sysdeps/i386/fpu/libm-test-ulps: Update.
39594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39596 2012-05-23 David S. Miller <davem@davemloft.net>
39598 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39599 (__libc_sigaction): Remove unused local variables.
39601 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39603 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39605 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39607 mktime: avoid signed integer overflow
39608 * time/mktime.c (__mktime_internal): Do not mishandle the case
39609 where diff == INT_MIN.
39611 mktime: simplify computation of average
39612 * time/mktime.c (ranged_convert): Use new time_t_avg function
39613 instead of rolling our own (probably-slower) code.
39615 mktime: do not assume signed right shift propagates sign bit
39616 * time/mktime.c (isdst_differ): New static function.
39617 (__mktime_internal): No need to normalize tm_isdst now.
39618 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39621 mktime: merge another wrapv change from gnulib
39622 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39623 from some compilers.
39625 mktime: remove incorrect attempt at unusual arithmetics
39626 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39627 The code didn't really work on such machines anyway.
39628 (TYPE_MINIMUM): Assume two's complement.
39629 (twos_complement_arithmetic): Verify that long_int and time_t
39630 are two's complement (or unsigned, in the latter case).
39632 mktime: check signed shifts on long_int and time_t, too
39633 * time/mktime.c (SHR): Check that shifts work as desired
39634 on the types long_int and time_t too, as SHR is used on
39637 mktime: do not assume 'long' is wide enough
39638 * time/mktime.c (verify): Move decl up.
39639 (long_int): New type.
39640 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39641 to remove assumption in the code that 'long' is wide enough to
39642 store year values. This assumption is not true on x32 and on
39643 some non-glibc platforms.
39645 mktime: merge wrapv change from gnulib
39646 * time/mktime.c (WRAPV): New macro.
39647 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39648 (guess_time_tm, __mktime_internal): Do not assume that signed
39649 integer overflow wraps around; modern compilers generate code
39650 where this assumption is no longer valid.
39652 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39654 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39655 Replace "jmp L(pseudo_end)" with "ret".
39656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39659 2012-05-23 Andreas Jaeger <aj@suse.de>
39661 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39662 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39664 2012-05-23 Andreas Jaeger <aj@suse.de>
39665 Maximilian Attems <max@stro.at>
39667 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39670 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39672 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39673 code so that pseudo_end is just ret and the stack pointer is
39674 correct also for static library in error case.
39676 2012-05-23 Joseph Myers <joseph@codesourcery.com>
39678 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39679 move to syscalls.list.
39680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39685 * manual/install.texi (Running make install): Do not mention Linux
39686 kernel version for which pt_chown is not needed.
39687 (Linux): Do not mention problems with nscd with 2.0 kernels.
39688 * INSTALL: Regenerated.
39690 2012-05-23 Andreas Jaeger <aj@suse.de>
39692 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39693 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39695 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39696 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39697 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39698 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39699 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39700 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39701 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39702 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39703 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39704 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39705 * sysdeps/unix/sysv/linux/bits/in.h
39706 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39708 2012-05-22 Roland McGrath <roland@hack.frob.com>
39710 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39711 (PREPARE_VERSION): Just use assert instead, it will be elided
39712 under [NDEBUG] anyway.
39714 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39716 * sysdeps/unix/sysv/linux/Makefile: Include
39717 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39718 (sysdep_routines): Remove sysctl.
39719 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39720 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39721 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39722 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39723 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39725 2012-05-22 Andreas Jaeger <aj@suse.de>
39727 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39728 that pseudo_end is just ret and the stack pointer is correct also
39729 for static library in error case.
39731 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39734 * nss/nsswitch.c (defconfig_entries): New variable.
39735 (__nss_database_lookup): Don't leak defconfig entries.
39736 (nss_parse_service_list): Don't leak on error paths.
39737 (free_database_entries): New function.
39738 (free_defconfig): New function.
39739 (free_mem): Move common code to free_database_entries.
39741 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39743 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39745 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39747 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39748 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39749 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39751 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39752 (INTERNAL_SYSCALL_TYPES): Likewise.
39753 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39754 (LOAD_REGS_TYPES_[1-6]): Likewise.
39755 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39756 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39758 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39760 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39761 copysignl for GLIBC_2_0.
39762 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39763 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39764 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39765 logbl for GLIBC_2_0.
39766 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39767 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39769 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39771 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39772 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39774 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39777 * time/mktime.c: Update copyright years.
39779 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39781 mktime: merge comment-quoting-style change from gnulib
39782 * time/mktime.c: Quote 'like this' in comments.
39783 The GNU coding standards suggest that we no longer quote `like this',
39784 as "`" and "'" are typically rendered asymmetrically nowadays.
39785 The typical gnulib style is to quote 'like this' when quoting
39786 code, and "like this" when quoting English.
39788 * time/mktime.c (compile-command): Add "-I.".
39790 mktime: merge mktime-internal.h change from gnulib
39791 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39793 mktime: merge time_r change from gnulib
39794 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39796 mktime: merge DEBUG change from gnulib
39797 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39798 case system <time.h> has a #define.
39800 mktime: merge <sys/types.h> change from gnulib
39801 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39802 since <time.t> is now guaranteed to define time_t.
39804 mktime: merge HAVE_CONFIG_H change from gnulib
39805 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39807 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39809 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39812 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39814 (struct rusage): Use anonymous union to pad each field to
39817 2012-05-21 David S. Miller <davem@davemloft.net>
39819 * Makefules (o-iterator): Remove .s cases.
39820 (compile-command.s): Delete.
39821 (COMPILE.s): Delete.
39822 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39824 2012-05-21 Joseph Myers <joseph@codesourcery.com>
39826 * configure.in (libc_cv_predef_stack_protector): Only consider
39827 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39828 * configure: Regenerated.
39830 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39832 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39833 New macro. Use R*LP on int and pointer.
39834 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39835 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39836 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39837 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39839 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39840 [__WORDSIZE_TIME64_COMPAT32] instead of
39841 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39842 (struct utmp): Likewise.
39843 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39844 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39846 (__WORDSIZE_TIME64_COMPAT32): This.
39847 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39848 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39849 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39850 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39851 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39852 (__WORDSIZE_TIME64_COMPAT32): New macro.
39854 2012-05-21 Andreas Jaeger <aj@suse.de>
39856 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39857 only if [SHARED]. Add prototype for __wcschr_ia32.
39859 2012-05-21 Roland McGrath <roland@hack.frob.com>
39861 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39862 of %rbp unmolested in the jmp_buf while mangling the low bits.
39863 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39864 unmolested high bits of %rbp while demangling the low bits.
39865 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39867 2012-05-21 Andreas Jaeger <aj@suse.de>
39869 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39870 * sunrpc/svc_simple.c: Use it for registerrpc.
39871 * sunrpc/xcrypt.c: Use it for passwd2des.
39873 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39875 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39877 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39878 Don't define if [__SYSCALL_WORDSIZE != 32].
39879 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39882 2012-05-21 Bruno Haible <bruno@clisp.org>
39883 Andreas Jaeger <aj@suse.de>
39885 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39886 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39887 inptr and inend for must_buffer_ch.
39888 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39889 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39890 * stdio-common/Makefile (tests): Remove bug15.
39891 (bug15-ENV): Remove macro.
39892 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39895 2012-05-19 Andreas Jaeger <aj@suse.de>
39896 Roland McGrath <roland@hack.frob.com>
39898 * manual/contrib.texi: Completely rewritten. It contains now an
39899 alphabetical list of contributors and their contributions.
39901 2012-05-21 Richard Henderson <rth@twiddle.net>
39903 * misc/getauxval.c (__getauxval): Use unsigned long int.
39904 * misc/sys/auxv.h: Include <sys/cdefs.h>.
39905 (getauxval): Use unsigned long int.
39907 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39909 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39911 2012-05-21 Roland McGrath <roland@hack.frob.com>
39913 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39914 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39915 __alignof__ (long double).
39917 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39919 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39921 2012-05-20 Richard Henderson <rth@twiddle.net>
39923 * misc/getauxval.c: New file.
39924 * misc/sys/auxv.h: New file.
39925 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39926 (routines): Add getauxval.
39927 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39928 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39929 * elf/dl-sysdep.c (_dl_auxv): Remove.
39930 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39931 * elf/dl-support.c (_dl_auxv): New variable.
39932 (_dl_aux_init): Initialize it.
39933 * manual/startup.texi (Auxiliary Vector): New node.
39934 * sysdeps/generic/bits/hwcap.h: New file.
39935 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39936 * sysdeps/powerpc/sysdep.h: ... here. Include it.
39937 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39938 * sysdeps/sparc/sysdep.h: ... here. Include it.
39939 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39940 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39944 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39945 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39946 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39947 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39948 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39949 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39950 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39952 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39956 2012-05-19 David S. Miller <davem@davemloft.net>
39958 * sysdeps/sparc/fpu/libm-test-ulps: Update.
39960 2012-05-19 Joseph Myers <joseph@codesourcery.com>
39963 * math/s_ccosh.c: Include <float.h>
39964 (__ccosh): Avoid internal overflow calculating sinh and cosh
39965 values before multiplying by sin and cos values.
39966 * math/s_ccoshf.c: Likewise.
39967 * math/s_ccoshl.c: Likewise.
39968 * math/s_csin.c: Likewise.
39969 * math/s_csinf.c: Likewise.
39970 * math/s_csinl.c: Likewise.
39971 * math/s_csinh.c: Likewise.
39972 * math/s_csinhf.c: Likewise.
39973 * math/s_csinhl.c: Likewise.
39974 * math/libm-test.inc (ccos_test): Add more tests.
39975 (ccosh_test): Likewise.
39976 (csin_test): Likewise.
39977 (csinh_test): Likewise.
39978 * sysdeps/i386/fpu/libm-test-ulps: Update.
39979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39981 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
39983 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39984 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39986 * sysdeps/x86_64/x32/_itoa.h: Add comment.
39988 2012-05-19 Joseph Myers <joseph@codesourcery.com>
39990 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39991 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39992 * sysdeps/powerpc/soft-fp/Versions: Likewise.
39993 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39994 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39995 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39996 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39997 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39998 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39999 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40000 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40001 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40002 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40003 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40004 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40005 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40006 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40007 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40008 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40009 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40010 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40011 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40012 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40013 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40014 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40015 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40016 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40017 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40018 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40019 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40020 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40022 2012-05-18 Andreas Jaeger <aj@suse.de>
40024 * csu/.gitignore: Delete.
40026 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40028 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40029 (timex): Use __syscall_slong_t.
40031 2012-05-18 Andreas Jaeger <aj@suse.de>
40032 Carlos O'Donell <carlos_odonell@mentor.com>
40034 * manual/install.texi (Configuring and compiling): Update
40035 description about files modified in the source directory.
40036 * INSTALL: Regenerated.
40038 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40040 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40041 value. Use "or" to set return value to -1.
40042 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40043 negate return value.
40045 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40047 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40048 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40049 failure if the compiler has Graphite support disabled.
40050 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40052 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40053 (CFLAGS-memmove.c): Likewise.
40054 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40057 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40059 * sysdeps/x86_64/x32/_itoa.h: New file.
40061 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40062 getdents system call only if kernel and user dirents have the
40063 same d_ino and d_off.
40065 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40066 LLONG_MAX != LONG_MAX.
40067 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40068 (_fitoa_word): Likewise.
40070 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40072 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40073 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40074 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40076 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40077 include <bits/wordsize.h>. Check __x86_64__ instead of
40079 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40080 if __x86_64__ is defined. Use anonymous union on fpstate.
40082 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40085 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40087 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40088 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40089 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40090 Refer to _rtld_local_ro instead of _rtld_global_ro.
40091 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40093 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40095 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40097 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40098 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40099 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40101 * sysdeps/powerpc/powerpc32/dl-machine.c
40102 (__elf_machine_runtime_setup) [PROF]: Don't reference
40105 2012-05-18 Andreas Jaeger <aj@suse.de>
40107 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40108 function only available for GCCs before 3.4 since GCC 3.4
40109 introduced a builtin.
40111 (llrintf): Likewise.
40112 (llrint): Likewise.
40119 (nearbyint): Likewise.
40120 (nearbyintf): Likewise.
40124 (floorf): Likewise.
40126 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40128 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40129 on both fields and cast pointer to __syscall_ulong_t.
40131 * bits/types.h (__fsword_t): New type.
40132 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40133 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40134 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40135 (__FSWORD_T_TYPE): Likewise.
40136 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40137 (__FSWORD_T_TYPE): Likewise.
40138 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40139 (__FSWORD_T_TYPE): Likewise.
40140 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40141 (__FSWORD_T_TYPE): Likewise.
40142 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40143 __SWORD_TYPE with __fsword_t.
40144 (statfs64): Likewise.
40146 2012-05-17 David S. Miller <davem@davemloft.net>
40148 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40150 2012-05-17 Andreas Jaeger <aj@suse.de>
40152 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40155 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40157 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40159 2012-05-17 Andreas Jaeger <aj@suse.de>
40161 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40164 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40166 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40168 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40170 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40171 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40173 2012-05-17 Andreas Jaeger <aj@suse.de>
40174 Carlos O'Donell <carlos_odonell@mentor.com>
40177 * sysdeps/x86_64/multiarch/init-arch.h
40178 (bit_YMM_Usable): Rename to...
40179 (bit_AVX_Usable): ... this.
40180 (bit_FMA4_Usable): New macro.
40181 (bit_XMM_state): New macro.
40182 (bit_YMM_state): New macro.
40183 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40184 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40185 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40186 (CPUID_OSXSAVE): New macro.
40187 (CPUID_AVX): New macro.
40188 (CPUID_FMA4): New macro.
40189 (index_YMM_Usable): Rename to...
40190 (index_AVX_Usable): ... this.
40191 (HAS_AVX): Use HAS_ARCH_FEATURE.
40192 (HAS_FMA4): Likewise.
40193 (HAS_YMM_USABLE): Remove.
40194 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40195 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40197 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40198 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40199 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40200 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40201 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40203 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40205 * math/libm-test.c: Support platforms without multiple rounding modes.
40206 * math/bug-nextafter.c: Support platforms without FP exceptions.
40207 * math/bug-nexttoward.c: Likewise.
40208 * math/test-fenv.c: Likewise.
40209 * math/test-misc.c: Likewise.
40210 * stdlib/bug-getcontext.c: Likewise.
40212 2012-05-17 Andreas Jaeger <aj@suse.de>
40214 * manual/examples/search.c (critter_cmp): Change signature to
40216 * manual/string.texi (Collation Functions): Likewise.
40218 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40220 * bits/types.h: Fold copyright years.
40221 * bits/typesizes.h: Likewise.
40222 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40223 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40224 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40225 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40226 * time/time.h: Likewise.
40228 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40231 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40232 in instead of returning them. Return void.
40233 (__libc_mallinfo): Accumulate over all arenas.
40234 (__malloc_stats): Adjust for change in int_mallinfo interface.
40236 2012-05-16 Roland McGrath <roland@hack.frob.com>
40239 * configure.in (NM): Add AC_CHECK_TOOL for it.
40240 (libc_extra_cflags): New substituted variable.
40241 Check for -fstack-protector being used implicitly.
40242 * configure: Regenerated.
40243 * config.make.in (config-extra-cflags): New variable,
40244 gets @libc_extra_cflags@.
40245 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40248 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40249 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40250 * configure: Regenerated.
40251 * config.make.in (CPPUNDEFS): New substituted variable.
40252 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40253 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40254 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40256 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40258 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40259 (mq_attr): Use __syscall_slong_t.
40261 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40263 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40264 Check __x86_64__ instead of __WORDSIZE.
40265 (_STAT_VER_LINUX): Likewise.
40266 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40267 __syscall_ulong_t and __syscall_slong_t.
40268 (stat64): Likewise.
40270 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40272 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40274 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40276 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40278 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40280 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40283 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40284 include <bits/wordsize.h>. Check __x86_64__ instead of
40286 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40288 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40290 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40291 include <bits/wordsize.h>. Check __x86_64__ instead of
40293 (user_regs_struct): Use "__extension__ unsigned long long"
40294 instead of "unsigned long" if __x86_64__ is defined.
40295 (user): Likewise. Pad after pointer field if __ILP32__ is
40298 2012-05-16 Joseph Myers <joseph@codesourcery.com>
40300 * configure.in (makeinfo): Require version 4.5 or later. Allow
40302 * configure: Regenerated.
40303 * manual/install.texi (texinfo): Increase version requirement to
40305 * INSTALL: Regenerated.
40307 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40309 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40311 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40313 * sysdeps/x86_64/x32/ffs.c: New file.
40315 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40317 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40318 defined. Use __syscall_ulong_t.
40319 (shminfo): Use __syscall_ulong_t.
40320 (shm_info): Likewise.
40322 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40325 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40327 (msgqnum_t): Use __syscall_ulong_t.
40328 (msglen_t): Likewise.
40329 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40332 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40333 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40335 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40337 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40338 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40340 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40343 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40344 include <bits/wordsize.h>. Check __x86_64__ instead of
40347 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40348 "unsigned long long int" if __x86_64__ is defined.
40349 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40351 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40352 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40353 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40355 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40357 (GET_PC): Cast to uintptr_t first.
40358 (GET_FRAME): Likewise.
40359 (GET_STACK): Likewise.
40361 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40362 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40363 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40364 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40365 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40366 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40367 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40368 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40369 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40370 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40371 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40372 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40373 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40374 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40375 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40376 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40377 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40378 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40379 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40380 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40381 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40382 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40383 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40384 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40385 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40386 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40387 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40388 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40389 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40391 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40393 * Makerules (+depfiles): Also collect depfiles from .oS in
40395 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40396 .oS, $(libnldbl-routines)).
40398 * Makerules (native-compile-mkdep-flags): Define.
40399 * sunrpc/Makefile (extra-objs): Add $(addprefix
40400 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40401 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40402 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
40403 calling $(make-target-directory).
40405 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40407 * bits/types.h (__snseconds_t): Removed.
40408 * time/time.h (struct timespec): Replace __snseconds_t with
40410 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40411 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40413 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40414 (__SNSECONDS_T_TYPE): Likewise.
40415 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40416 (__SNSECONDS_T_TYPE): Likewise.
40417 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40418 (__SNSECONDS_T_TYPE): Likewise.
40420 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40422 * sysdeps/mach/hurd/bits/typesizes.h
40423 (__SYSCALL_SLONG_TYPE): New macro.
40424 (__SYSCALL_ULONG_TYPE): Likewise.
40426 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40428 * bits/types.h (__syscall_slong_t): New type.
40429 (__syscall_ulong_t): Likewise.
40431 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40432 (__SYSCALL_ULONG_TYPE): Likewise.
40433 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40434 (__SYSCALL_SLONG_TYPE): Likewise.
40435 (__SYSCALL_ULONG_TYPE): Likewise.
40436 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40437 (__SYSCALL_SLONG_TYPE): Likewise.
40438 (__SYSCALL_ULONG_TYPE): Likewise.
40439 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40440 (__SYSCALL_SLONG_TYPE): Likewise.
40441 (__SYSCALL_ULONG_TYPE): Likewise.
40443 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40445 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40446 Add sigaltstack-offsets.sym.
40447 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40448 <sigaltstack-offsets.h>.
40449 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
40450 longjmp_msg pointer.
40451 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
40452 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40454 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40456 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40458 * elf/stackguard-macros.h: Remove file.
40459 * sysdeps/generic/stackguard-macros.h: New file.
40460 * sysdeps/i386/stackguard-macros.h: Likewise.
40461 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40462 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40463 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40464 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40465 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40466 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40467 * sysdeps/x86_64/stackguard-macros.h: Likewise.
40468 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40469 <elf/stackguard-macros.h>.
40472 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40473 __aligned__ in attribute.
40474 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40475 (gregset_t): Likewise.
40477 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40479 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40480 * sysdeps/x86_64/64/Implies-after: Here. New file.
40481 * sysdeps/x86_64/x32/Implies-after: New file.
40483 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40485 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40486 and access return value for _dl_profile_fixup. Use R10_LP to
40489 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40491 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40493 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40495 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40496 * sysdeps/x86_64/x32/sysdep.h: New file.
40498 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40500 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40501 * sysdeps/x86_64/setjmp.S: Likewise.
40503 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40505 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40506 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40507 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40508 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40509 remove unused global constant.
40511 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
40513 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40514 include of <not-cancel.h>.
40516 2012-05-15 Roland McGrath <roland@hack.frob.com>
40518 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40520 2012-05-15 Jeff Law <law@redhat.com>
40521 Andreas Jaeger <aj@suse.de>
40524 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40526 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40527 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40528 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40529 code changing __hst_map_handle.map.
40531 2012-05-15 Roland McGrath <roland@hack.frob.com>
40533 * configure.in (sysnames): Look for Implies-before and Implies-after
40535 * configure: Regenerated.
40537 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40539 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40540 8-byte data alignment with LP_SIZE alignment.
40542 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40544 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40547 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40549 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40551 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40553 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40554 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40555 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40557 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40559 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40561 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40562 (stackinfo_sub_sp): Likewise.
40564 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40566 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40569 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40571 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40574 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40576 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40579 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40581 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40583 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40585 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40586 into R11_LP and load __x86_64_shared_cache_size_half into
40589 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40591 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40594 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40596 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40598 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40600 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40602 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40603 powerpc32/power7/fpu/s_logb.c via #include.
40604 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40605 powerpc32/power7/fpu/s_logbf.c via #include.
40606 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40607 powerpc32/power7/fpu/s_logbl.c via #include.
40609 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40611 * README.libm: Remove file.
40613 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40615 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40616 count for x32. Use R*_LP and omit operand-size suffix.
40618 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40620 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40621 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40622 * sysdeps/x86_64/x32/shlib-versions: New file.
40624 2012-05-14 Roland McGrath <roland@hack.frob.com>
40626 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40627 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40628 Use _dl_fatal_printf instead.
40630 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40632 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40633 set if not set by the user. Do not allow for being unset.
40634 * sysdeps/unix/sysv/linux/configure: Regenerated.
40636 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40638 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40639 the `q' suffix from lea and replace .quad with ASM_ADDR.
40641 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40643 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40644 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40646 (PTR_DEMANGLE): Likewise.
40648 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40650 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40652 (ASM_ADDR): Likewise.
40653 (RAX_LP): Likewise.
40654 (RBP_LP): Likewise.
40655 (RBX_LP): Likewise.
40656 (RCX_LP): Likewise.
40657 (RDI_LP): Likewise.
40658 (RSI_LP): Likewise.
40659 (RSP_LP): Likewise.
40662 (R10_LP): Likewise.
40663 (R10_LP): Likewise.
40664 (R11_LP): Likewise.
40665 (R12_LP): Likewise.
40666 (R13_LP): Likewise.
40667 (R14_LP): Likewise.
40668 (R15_LP): Likewise.
40670 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40672 * sysdeps/x86_64/x32/dl-machine.h: New file.
40674 2012-05-14 Andreas Jaeger <aj@suse.de>
40676 * manual/Makefile (subdir): Remove export of subdir.
40677 (all): Remove target.
40678 (.PHONY): Remove all from list.
40679 (mkinstalldirs): Remove.
40680 (.PHONY): Remove installdirs from list.
40681 ($(inst_infodir)/libc.info): Use make-target-directory.
40682 (installdirs): Remove.
40683 (subdir_%): Remove.
40684 (glibc-targets): Remove.
40687 ($(objpfx)stubs ../po/manual.pot): Remove.
40688 ($(objpfx)stamp%): Remove.
40689 (make-target-directory): Remove.
40690 (subdir_install): Remove.
40691 (routines): Remove.
40698 * manual/.gitignore: Remove, it's not needed anymore.
40699 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40701 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40703 (texis): Renamed to $(objpfx)texis.
40704 (texis-path): New, contains path to generated files.
40705 (chapters.%): Use texis-path for complete path, add extra argument
40707 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40708 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40709 (summary,texi, stamp-summary): Use complete path of
40710 files. Generate files in build dir.
40711 (dir-add.texi): Build in build dir.
40712 (libm-err.texi,stamp-libm-err): Likewise.
40713 (version.texi, stamp-version): Likewise.
40714 (.%c.texi): Likewise.
40715 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40716 (mostlyclean): Remove target.
40717 (realclean): Remove target.
40718 (generated): Add new variable with contents from mostlyclean and
40719 realclean, remove entries duplicated in common-mostlyclean, add
40720 stamp-libm-err and stamp-version.
40721 (generated-dirs): Add libc directory.
40722 ($(inst_infodir)/libc.info): Install files from build dir.
40724 * manual/install.texi (Configuring and compiling): Adjust since
40725 the info files are not part of the tar ball anymore.
40727 2012-05-14 Andreas Jaeger <aj@suse.de>
40729 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40732 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40735 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40736 to 2.2.0 where earlier.
40737 * sysdeps/unix/sysv/linux/configure: Regenerated.
40738 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40739 Remove conditional code.
40740 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40741 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40742 Remove conditional code.
40743 [!__NR_lchown]: Likewise.
40744 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40745 [__NR_lchown]: Likewise.
40746 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40747 comment referencing __ASSUME_LCHOWN_SYSCALL.
40748 * sysdeps/unix/sysv/linux/i386/sigaction.c
40749 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40750 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40751 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40752 Remove conditional code.
40753 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40754 (__protocol_available): Remove #if 0 code.
40755 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40757 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40758 * sysdeps/unix/sysv/linux/kernel-features.h
40759 (__ASSUME_GETCWD_SYSCALL): Don't define.
40760 (__ASSUME_REALTIME_SIGNALS): Likewise.
40761 (__ASSUME_PREAD_SYSCALL): Likewise.
40762 (__ASSUME_PWRITE_SYSCALL): Likewise.
40763 (__ASSUME_POLL_SYSCALL): Likewise.
40764 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40765 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40767 (__ASSUME_SIOCGIFNAME): Don't define.
40768 (__ASSUME_MSG_NOSIGNAL): Likewise.
40769 (__ASSUME_SENDFILE): Define unconditionally.
40770 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40771 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40773 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40774 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40775 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40776 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40777 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40778 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40779 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40781 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40782 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40784 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40785 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40787 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40788 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40789 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40790 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40791 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40793 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40794 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40796 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40797 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40798 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40799 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40800 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40802 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40803 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40804 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40805 Remove conditional code.
40806 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40807 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40808 Remove conditional code.
40809 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40810 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40811 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40812 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40813 Remove conditional code.
40814 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40815 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40816 Remove conditional code.
40817 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40818 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40819 Remove conditional code.
40820 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40821 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40822 Remove conditional code.
40823 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40824 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40825 Remove conditional code.
40826 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40827 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40828 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40829 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40830 * sysdeps/unix/sysv/linux/sigaction.c
40831 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40832 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40833 * sysdeps/unix/sysv/linux/sigpending.c
40834 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40835 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40836 * sysdeps/unix/sysv/linux/sigprocmask.c
40837 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40838 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40839 * sysdeps/unix/sysv/linux/sigsuspend.c
40840 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40841 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40842 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40843 (__libc_missing_rt_sigs): Remove.
40844 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40845 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40846 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40847 Remove conditional code.
40848 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40849 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40851 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40852 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40853 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40854 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40856 2012-05-14 Andreas Jaeger <aj@suse.de>
40858 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40859 it's not used in glibc.
40860 (__coshm1): Likewise.
40861 (__acosh1p): Likewise.
40864 * manual/string.texi (Copying and Concatenation): Add missing
40865 variable in concat example.
40866 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40868 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40871 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40872 __builtin_clzl with __builtin_clzll.
40874 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40877 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40880 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
40882 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40883 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40884 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40885 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40887 2012-05-14 Mike Frysinger <vapier@gentoo.org>
40889 * NEWS: Update ia64 info.
40891 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
40893 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40896 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
40898 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40899 * sysdeps/unix/syscalls.list (dup3): Likewise.
40900 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40901 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40903 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40905 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40906 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40908 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
40910 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40912 (TLS_IE): Use mov/add instead of movq/addq to load thread
40914 (TLS_GD_PREFIX): New.
40917 2012-05-11 David S. Miller <davem@davemloft.net>
40919 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40920 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40921 (_FPU_SETCW): Likewise.
40923 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40925 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40926 is 32-byte aligned.
40928 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
40931 * iconvdata/gb18030.c: Update tables.
40932 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
40933 characters specially.
40934 (BODY for TO_LOOP): Add encoding of missing ranges.
40936 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
40939 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40940 * sysdeps/mach/hurd/dup3.c: Likewise.
40941 * sysdeps/mach/hurd/readlinkat.c: Likewise.
40942 * sysdeps/powerpc/memmove.c:: Likewise.
40944 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40946 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40947 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40949 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
40951 * elf/elf.h (R_X86_64_RELATIVE64): New.
40952 (R_X86_64_NUM): Updated.
40953 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40954 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
40955 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40956 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40957 tst-quad1pie tst-quad2pie
40958 (modules-names): Add tst-quadmod1 tst-quadmod2.
40959 ($(objpfx)tst-quad1): New dependency.
40960 ($(objpfx)tst-quad2): Likewise.
40961 ($(objpfx)tst-quad1pie): Likewise.
40962 ($(objpfx)tst-quad2pie): Likewise.
40963 * sysdeps/x86_64/tst-quad1.c: New file.
40964 * sysdeps/x86_64/tst-quad1pie.c: New file.
40965 * sysdeps/x86_64/tst-quad2.c: Likewise.
40966 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40967 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40968 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40969 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40970 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40972 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
40974 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40975 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40976 * streams/stropts.h (t_scalar_t): Define type.
40978 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40979 (_PATH_PRESERVE): Set to "/var/lib".
40980 (_PATH_RWHODIR): Set to "/var/spool/rwho".
40982 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40985 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40986 if __dir_mkfile succeeded.
40988 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40989 checking for _hurd_dtablesize. Unlock it right after having
40990 finished _hurd_dtable allocation.
40992 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
40994 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40995 * sysdeps/mach/hurd/configure: Regenerated.
40996 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40997 special-casing to...
40998 * sysdeps/gnu/configure.in: ... this new file.
40999 * sysdeps/unix/sysv/linux/configure: Regenerated.
41000 * sysdeps/gnu/configure: New generated file.
41002 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41003 for Linux: use nsec instead of usec, as well as:
41004 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41005 members of type struct timespec.
41006 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41008 (struct stat64): Likewise.
41009 (_STATBUF_ST_NSEC): New macro.
41010 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41012 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41013 __strtoul_internal rather than strtoul.
41015 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41017 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41020 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41022 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41023 which preserves existing values.
41024 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41026 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41028 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41029 TIMEOUT values. Return EINVAL for NFDS values either negative or
41030 greater than FD_SETSIZE.
41032 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41034 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41035 allocated, call __vm_protect to finish enabling the existing space, and
41036 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41037 allocate the remainder.
41039 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41041 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41042 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41044 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41046 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41047 sysdeps/mach/hurd/readlink.c.
41049 * posix/tst-sysconf.c (posix_options): Only use
41050 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41051 _POSIX_SYNCHRONIZED_IO when they are defined
41052 * sysdeps/mach/hurd/bits/posix_opt.h:
41053 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41054 (_XOPEN_REALTIME): Undefine macro.
41055 (_XOPEN_REALTIME_THREADS): Undefine macro.
41056 (_XOPEN_SHM): Undefine macro.
41057 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41059 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41061 (_POSIX_ASYNC_IO): Undefine macro.
41062 (_POSIX_PRIORITIZED_IO): Undefine macro.
41063 (_POSIX_SPIN_LOCKS): Define macro to -1.
41065 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41066 SA_NODEFER, SA_RESETHAND.
41067 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41068 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41071 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41073 * elf/Makefile (pldd-modules): Define unconditionally.
41075 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41077 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41079 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41081 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41082 Return ENOENT when name is empty.
41083 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41085 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41087 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41089 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41091 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41093 Fix mlock in all cases except non-readable pages.
41094 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41095 instead of VM_PROT_ALL as parameter to __vm_wire function.
41097 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41098 (__mkdir): When path is `/', just fail with EEXIST.
41099 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41101 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41103 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41104 <sys/uio.h> (for writev).
41105 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41106 and <sys/param.h> (for MIN).
41108 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41110 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41111 REQUESTED_TIME. Properly set the remaining time and return EINTR
41114 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41116 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41117 Depend on against $(link-rpcuserlibs).
41119 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41121 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41122 (__libc_stack_end): Do not use attribute_relro.
41123 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41124 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41125 to libthread-provided value.
41126 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41129 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41132 * bits/libc-lock.h (__libc_once_get): New macro.
41133 * sysdeps/mach/bits/libc-lock.h: Likewise.
41134 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41135 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41136 instead of using implementation details.
41138 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41139 * libio/freopen.c: Likewise.
41140 * libio/freopen64.c: Likewise.
41141 * misc/syslog.c: Likewise.
41142 * nscd/connections.c: Likewise.
41143 * nscd/netgroupcache.c: Likewise.
41144 * sysdeps/posix/getcwd.c: Likewise.
41146 2012-05-10 Roland McGrath <roland@hack.frob.com>
41148 * math/w_ilogbf.c: Add #include <limits.h>.
41150 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41152 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41153 path instead of returning without unlocking.
41155 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41156 immediate-write ioctls.
41157 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41159 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41161 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41162 __builtin_frame_address instead of making assumptions about the
41163 location of the return address relative to DATA. Force early load of
41164 the return address.
41165 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41166 __builtin_frame_address.
41169 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41170 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41171 implement dup3 and do some further code clean-ups.
41172 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41173 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41175 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41177 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41179 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41180 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41181 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41182 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41183 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41186 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41187 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41188 when handler == SIG_ERR, not when handler != SIG_ERR.
41190 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41192 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41193 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41196 accept4 for GNU Hurd.
41197 * include/sys/socket.h (__libc_accept4): New prototype.
41198 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41199 to implement __libc_accept4.
41200 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41202 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41204 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41205 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41206 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41207 signal-defines.sym.
41209 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41211 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41213 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41215 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41216 assertion on O_CLOEXEC flag.
41217 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41218 * hurd/intern-fd.c: Likewise.
41219 * hurd/port2fd.c: Likewise.
41221 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41224 * bits/in.h (IPV6_PKTINFO): Define new macro.
41225 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41227 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41232 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41233 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41234 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41235 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41236 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41237 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41238 * math/libm-test.inc (logb_test) : Additional logb tests.
41240 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41241 Andreas Jaeger <aj@suse.de>
41243 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41244 * configure: Regenerated.
41245 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41246 * config.make.in (link-obsolete-rpc): New substituted variable.
41247 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41248 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41249 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41250 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41251 so that libc.a contains the symbols.
41252 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41253 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41254 * sunrpc/auth_none.c: Likewise.
41255 * sunrpc/auth_unix.c: Likewise.
41256 * sunrpc/authdes_prot.c: Likewise.
41257 * sunrpc/authuxprot.c: Likewise.
41258 * sunrpc/clnt_gen.c: Likewise.
41259 * sunrpc/clnt_perr.c: Likewise.
41260 * sunrpc/clnt_raw.c: Likewise.
41261 * sunrpc/clnt_simp.c: Likewise.
41262 * sunrpc/clnt_tcp.c: Likewise.
41263 * sunrpc/clnt_udp.c: Likewise.
41264 * sunrpc/clnt_unix.c: Likewise.
41265 * sunrpc/des_crypt.c: Likewise.
41266 * sunrpc/des_soft.c: Likewise.
41267 * sunrpc/get_myaddr.c: Likewise.
41268 * sunrpc/key_call.c: Likewise.
41269 * sunrpc/key_prot.c: Likewise.
41270 * sunrpc/netname.c: Likewise.
41271 * sunrpc/pm_getmaps.c: Likewise.
41272 * sunrpc/pm_getport.c: Likewise.
41273 * sunrpc/pmap_clnt.c: Likewise.
41274 * sunrpc/pmap_prot.c: Likewise.
41275 * sunrpc/pmap_prot2.c: Likewise.
41276 * sunrpc/pmap_rmt.c: Likewise.
41277 * sunrpc/publickey.c: Likewise.
41278 * sunrpc/rpc_cmsg.c: Likewise.
41279 * sunrpc/rpc_common.c: Likewise.
41280 * sunrpc/rpc_dtable.c: Likewise.
41281 * sunrpc/rpc_prot.c: Likewise.
41282 * sunrpc/rpc_thread.c: Likewise.
41283 * sunrpc/rtime.c: Likewise.
41284 * sunrpc/svc.c: Likewise.
41285 * sunrpc/svc_auth.c: Likewise.
41286 * sunrpc/svc_raw.c: Likewise.
41287 * sunrpc/svc_run.c: Likewise.
41288 * sunrpc/svc_tcp.c: Likewise.
41289 * sunrpc/svc_udp.c: Likewise.
41290 * sunrpc/svc_unix.c: Likewise.
41291 * sunrpc/svcauth_des.c: Likewise.
41292 * sunrpc/xcrypt.c: Likewise.
41293 * sunrpc/xdr.c: Likewise.
41294 * sunrpc/xdr_array.c: Likewise.
41295 * sunrpc/xdr_float.c: Likewise.
41296 * sunrpc/xdr_intXX_t.c: Likewise.
41297 * sunrpc/xdr_mem.c: Likewise.
41298 * sunrpc/xdr_rec.c: Likewise.
41299 * sunrpc/xdr_ref.c: Likewise.
41300 * sunrpc/xdr_sizeof.c: Likewise.
41301 * sunrpc/xdr_stdio.c: Likewise.
41303 2012-05-10 Roland McGrath <roland@hack.frob.com>
41305 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41306 change. Update copyright years.
41308 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41310 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41312 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41313 Joseph Myers <joseph@codesourcery.com>
41314 Paul Pluzhnikov <ppluzhnikov@google.com>
41317 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41319 [cross-compiling] (extra-libs): Likewise.
41320 [cross-compiling] (extra-libs-others): Likewise.
41321 [cross-compiling] (librpcsvc-routines): Likewise.
41322 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41323 [cross-compiling] (omit-deps): Likewise.
41324 (sunrpc-CPPFLAGS): New variable.
41325 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41326 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41327 (cross-rpcgen-objs): New variable.
41328 (extra-objs): Append $(cross-rpcgen-objs).
41329 ($(cross-rpcgen-objs)): New rule.
41330 ($(objpfx)cross-rpcgen): Likewise.
41331 (rpcgen-cmd): Define to use $(built-program-file). Expand
41333 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41334 ($(objpfx)x%.stmp): Likewise.
41335 * sunrpc/proto.h [IS_IN_build] (_): Define.
41336 [IS_IN_build] (_libc_intl_domainname): Likewise.
41338 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41340 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41341 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41342 and R_X86_64_TPOFF64.
41344 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41346 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41347 sysdeps/unix/sysv/syscalls.list.
41350 * sysdeps/unix/sysv/syscalls.list: Remove file.
41352 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41355 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41356 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41357 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41358 (__LC_IDENTIFICATION): Make these macros useful in #if
41359 expressions, as required by C99.
41361 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41363 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41364 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41367 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41369 * stdlib/longlong.h: Updated from GCC.
41371 2012-05-09 Andreas Jaeger <aj@suse.de>
41373 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41374 default is first entry.
41375 (run_mode): Set type.
41376 (main): Remove informal message about syslog.
41377 (options): Fix typo.
41380 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41383 (llrintf): Likewise.
41384 (llrint): Likewise.
41387 (nearbyint): Likewise.
41388 (nearbyintf): Likewise.
41390 2012-05-09 Andreas Jaeger <aj@suse.de>
41391 Pedro Alves <palves@redhat.com>
41393 * nscd/nscd.c (run_mode): Use enum.
41394 (main): Cleanup coding style issue.
41396 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
41397 Andreas Jaeger <aj@suse.de>
41399 * nscd/nscd.c (go_background): Replaced with...
41400 (run_mode): ... this.
41401 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41402 (options): Add -F --foreground.
41403 (main): Implement it.
41404 (parse_opt): Parse it.
41406 2012-05-09 Andreas Jaeger <aj@suse.de>
41409 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41410 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41411 -Wconversion warning.
41412 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41415 2012-05-09 Joseph Myers <joseph@codesourcery.com>
41417 * conform/data/locale.h-data (NULL): Use macro-constant. Require
41419 (LC_ALL): Use macro-int-constant.
41420 (LC_COLLATE): Likewise.
41421 (LC_CTYPE): Likewise.
41422 (LC_MESSAGES): Likewise.
41423 (LC_MONETARY): Likewise.
41424 (LC_NUMERIC): Likewise.
41425 (LC_TIME): Likewise.
41426 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41427 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41428 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41429 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41431 [C99-based standards] (float_t): Expect type.
41432 [C99-based standards] (double_t): Expect type.
41433 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
41435 [C99-based standards] (HUGE_VALL): Likewise.
41436 [C99-based standards] (INFINITY): Likewise.
41437 [C99-based standards] (NAN): Likewise.
41438 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41439 [C99-based standards] (FP_NAN): Likewise.
41440 [C99-based standards] (FP_NORMAL): Likewise.
41441 [C99-based standards] (FP_SUBNORMAL): Likewise.
41442 [C99-based standards] (FP_ZERO): Likewise.
41443 [C99-based standards] (FP_FAST_FMA): Use
41444 optional-macro-int-constant. Specify type. Require == 1.
41445 [C99-based standards] (FP_FAST_FMAF): Likewise.
41446 [C99-based standards] (FP_FAST_FMAL): Likewise.
41447 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41448 [C99-based standards] (FP_ILOGBNAN): Likewise.
41449 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41451 [C99-based standards] (MATH_ERREXCEPT): Likewise.
41452 [C99-based standards] (math_errhandling): Specify type.
41453 [ISO99 || ISO11] (signgam): Do not allow.
41454 [non-C99-based standards] (copysignf): Do not allow.
41455 [non-C99-based standards] (exp2f): Likewise.
41456 [non-C99-based standards] (log2f): Likewise.
41457 [non-C99-based standards] (modff): Allow.
41458 [non-C99-based standards] (erff): Do not allow.
41459 [non-C99-based standards] (erfcf): Likewise.
41460 [non-C99-based standards] (gammaf): Likewise.
41461 [non-C99-based standards] (hypotf): Likewise.
41462 [non-C99-based standards] (j0f): Likewise.
41463 [non-C99-based standards] (j1f): Likewise.
41464 [non-C99-based standards] (jnf): Likewise.
41465 [non-C99-based standards] (lgammaf): Likewise.
41466 [non-C99-based standards] (tgammaf): Likewise.
41467 [non-C99-based standards] (y0f): Likewise.
41468 [non-C99-based standards] (y1f): Likewise.
41469 [non-C99-based standards] (ynf): Likewise.
41470 [non-C99-based standards] (isnanf): Likewise.
41471 [non-C99-based standards] (acoshf): Likewise.
41472 [non-C99-based standards] (asinhf): Likewise.
41473 [non-C99-based standards] (atanhf): Likewise.
41474 [non-C99-based standards] (cbrtf): Likewise.
41475 [non-C99-based standards] (expm1f): Likewise.
41476 [non-C99-based standards] (ilogbf): Likewise.
41477 [non-C99-based standards] (log1pf): Likewise.
41478 [non-C99-based standards] (logbf): Likewise.
41479 [non-C99-based standards] (nextafterf): Likewise.
41480 [non-C99-based standards] (remainderf): Likewise.
41481 [non-C99-based standards] (rintf): Likewise.
41482 [non-C99-based standards] (scalbf): Likewise.
41483 [non-C99-based standards] (copysignl): Likewise.
41484 [non-C99-based standards] (exp2l): Likewise.
41485 [non-C99-based standards] (log2l): Likewise.
41486 [non-C99-based standards] (modfl): Allow.
41487 [non-C99-based standards] (erfl): Do not allow.
41488 [non-C99-based standards] (erfcl): Likewise.
41489 [non-C99-based standards] (gammal): Likewise.
41490 [non-C99-based standards] (hypotl): Likewise.
41491 [non-C99-based standards] (j0l): Likewise.
41492 [non-C99-based standards] (j1l): Likewise.
41493 [non-C99-based standards] (jnl): Likewise.
41494 [non-C99-based standards] (lgammal): Likewise.
41495 [non-C99-based standards] (tgammal): Likewise.
41496 [non-C99-based standards] (y0l): Likewise.
41497 [non-C99-based standards] (y1l): Likewise.
41498 [non-C99-based standards] (ynl): Likewise.
41499 [non-C99-based standards] (isnanl): Likewise.
41500 [non-C99-based standards] (acoshl): Likewise.
41501 [non-C99-based standards] (asinhl): Likewise.
41502 [non-C99-based standards] (atanhl): Likewise.
41503 [non-C99-based standards] (cbrtl): Likewise.
41504 [non-C99-based standards] (expm1l): Likewise.
41505 [non-C99-based standards] (ilogbl): Likewise.
41506 [non-C99-based standards] (log1pl): Likewise.
41507 [non-C99-based standards] (logbl): Likewise.
41508 [non-C99-based standards] (nextafterl): Likewise.
41509 [non-C99-based standards] (remainderl): Likewise.
41510 [non-C99-based standards] (rintl): Likewise.
41511 [non-C99-based standards] (scalbl): Likewise.
41512 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41513 [non-C99-based standards] (FP_*): Do not allow.
41514 [C99-based standards] (FP_*): Change to
41515 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41516 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41518 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41519 (SIG_ERR): Likewise.
41520 [X/Open-based standards] (SIG_HOLD): Likewise.
41521 (SIG_IGN): Likewise.
41522 (SIGABRT): Use macro-int-constant. Specify type. Require
41524 (SIGFPE): Likewise.
41525 (SIGILL): Likewise.
41526 (SIGINT): Likewise.
41527 (SIGSEGV): Likewise.
41528 (SIGTER): Likewise.
41529 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41530 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41531 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41532 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41533 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41534 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41535 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41536 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41537 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41538 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41539 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41540 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41541 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41542 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41543 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41544 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41545 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41546 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41547 [X/Open-based standards] (SIGTRAP): Likewise.
41548 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41549 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41550 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41551 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41552 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41555 2012-05-08 Ian Wienand <ianw@vmware.com>
41558 * time/tzset.c (__tzset_parse_tz): Update default rules for
41559 daylight time changes in the Energy Policy Act of 2005.
41561 2012-05-09 Andreas Jaeger <aj@suse.de>
41564 * elf/ldconfig.c (parse_conf): Change string to make clear that
41565 ldconfig only issued a warning if ld.so.conf does not exist.
41567 2012-05-08 David S. Miller <davem@davemloft.net>
41569 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41570 movxtod instead of popping the value on the stack.
41572 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41574 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41576 * config.h.in: Add HAVE_ARM_PCS_VFP.
41578 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
41581 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41582 checking but the checks are disabled for any reason.
41584 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41586 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41587 and ELF64_R_TYPE with ELFW(R_TYPE).
41589 2012-05-08 Joseph Myers <joseph@codesourcery.com>
41591 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41592 (ulimit): Likewise.
41594 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41595 (settimeofday): Likewise.
41597 2012-05-08 Mike Frysinger <vapier@gentoo.org>
41599 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41600 a struct th_u2 inside the union, and move tu_block/tu_code into
41601 a new th_u3 union of tu_block/tu_code inside of that. Move
41602 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41603 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41604 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41605 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41606 (th_stuff): Change to th_u1.tu_stuff.
41608 (th_msg): Change to th_u1.th_u2.tu_data.
41610 2012-05-07 David S. Miller <davem@davemloft.net>
41612 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41615 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41616 (SETUP_PIC_REG): Use it.
41617 (SETUP_PIC_REG_LEAF): Use it.
41619 2012-05-07 Joseph Myers <joseph@codesourcery.com>
41623 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41625 (EXPL_FINITE): Likewise.
41626 (FLDLOG): Likewise.
41627 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41628 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41630 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41632 (EXPL_FINITE): Likewise.
41633 (FLDLOG): Likewise.
41634 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41635 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41637 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41638 test of -max_value argument for long double.
41639 * sysdeps/i386/fpu/libm-test-ulps: Update.
41640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41642 2012-05-06 David S. Miller <davem@davemloft.net>
41644 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41645 quad soft-float symbols whose references which are compiler
41647 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41649 2012-05-06 Joseph Myers <joseph@codesourcery.com>
41653 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41655 (EXPL_FINITE): Likewise.
41656 (FLDLOG): Likewise.
41659 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41660 Adjust comments for base varying.
41661 (__expl_finite): Change alias to EXPL_FINITE.
41662 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41664 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41665 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41666 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41667 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41668 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41670 (EXPL_FINITE): Likewise.
41671 (FLDLOG): Likewise.
41674 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41675 Adjust comments for base varying.
41676 (__expl_finite): Change alias to EXPL_FINITE.
41677 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41679 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41682 * math/libm-test.inc (check_float_internal): Correct ulp
41683 calculation for subnormal expected results.
41685 2012-05-06 Andreas Jaeger <aj@suse.de>
41687 * Makeconfig (+math-flags): New, set to -frounding-math.
41688 (+cflags): Add +math-flags so that all of glibc gets compiled with
41691 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41693 2012-05-05 Joseph Myers <joseph@codesourcery.com>
41695 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41701 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41702 (__ieee754_expl): Allow for and saturate large arguments.
41703 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41704 (u_threshold): Likewise.
41705 (__exp): Call __ieee754_exp before checking for overflow and
41707 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41708 (u_threshold): Likewise.
41709 (__expf): Call __ieee754_expf before checking for overflow and
41711 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41712 (u_threshold): Likewise.
41713 (__expl): Call __ieee754_expl before checking for overflow and
41715 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41716 (__ieee754_expl): Allow for and saturate large arguments.
41717 * math/libm-test.inc (exp_test): Add another test. Do not allow
41718 missing overflow exception on overflow.
41719 (expm1_test): Do not allow missing overflow exception on overflow.
41721 * sysdeps/i386/fpu/e_expl.c: Move to ...
41722 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41723 rather than using inline asm.
41724 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41725 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41726 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41728 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41731 (signal): Likewise.
41735 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41737 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41738 sysdeps/unix/common/syscalls.list.
41739 (fchmod): Likewise.
41740 (fchown): Likewise.
41741 (ftruncate): Likewise.
41742 (getrusage): Likewise.
41743 (gettimeofday): Likewise.
41744 (setpgid): Likewise.
41745 (setregid): Likewise.
41746 (setreuid): Likewise.
41747 (sigaction): Likewise.
41748 (truncate): Likewise.
41749 (vhangup): Likewise.
41750 * sysdeps/unix/common/syscalls.list: Remove file.
41751 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41752 * sysdeps/unix/sysv/linux/Implies: Likewise.
41754 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41756 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41757 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41758 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41760 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41762 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41764 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41765 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41768 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41770 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41771 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41773 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41774 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41776 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41777 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41779 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41780 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41782 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41784 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41786 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41788 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41790 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41791 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41793 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41795 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41797 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41799 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41801 * sysdeps/unix/common/bits/dirent.h: Remove file.
41802 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41804 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41805 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41806 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41807 * sysdeps/unix/bsd/isatty.c: Likewise.
41808 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41809 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41810 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41812 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41816 long double comparison inaccuracies.
41817 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41818 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41820 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41822 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41823 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41825 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41828 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41829 nonzero digits before rounding a hex value.
41830 * stdlib/tst-strtod.c (tests): Add another test.
41832 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41834 * sysdeps/s390/fpu/libm-test-ulps: Update.
41836 2012-05-03 Andreas Jaeger <aj@suse.de>
41838 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41839 does not get optimized out.
41840 (malloc_opt_barrier): New.
41842 2012-05-03 Andreas Jaeger <aj@suse.de>
41843 Roland McGrath <roland@hack.frob.com>
41845 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41846 intermediate file deletion.
41847 (generated): Add .symlist files.
41849 2012-05-03 Joseph Myers <joseph@codesourcery.com>
41852 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41853 Redirect under this condition.
41854 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41855 [__USE_GNU] (__dprintf_chk): Not under this condition.
41856 [__USE_GNU] (__vdprintf_chk): Likewise.
41857 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41858 under this condition.
41859 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41860 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41861 [__USE_XOPEN2K8] (vdprintf): Likewise.
41862 [__USE_GNU] (__dprintf_chk): Not under this condition.
41863 [__USE_GNU] (__vdprintf_chk): Likewise.
41864 [__USE_GNU] (dprintf): Likewise.
41865 [__USE_GNU] (vdprintf): Likewise.
41867 2012-05-03 Roland McGrath <roland@hack.frob.com>
41869 * elf/Makefile (common-generated): Set this instead of generated for
41870 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41871 $(all-built-dso)-derived lists.
41873 2012-05-03 Andreas Jaeger <aj@suse.de>
41875 * sysdeps/i386/fpu/libm-test-ulps: Update.
41878 * FAQ.in: Likewise.
41879 * scripts/gen-FAQ.pl: Likewise.
41880 * manual/install.texi (Installation): Point to online location of
41882 * Makefile (files-for-dist): Remove FAQ.
41885 2012-05-02 Allan McRae <allan@archlinux.org>
41887 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41888 (LDFLAGS-reldepmod5.so): Likewise.
41889 (LDFLAGS-reldep6mod1.so): Likewise.
41890 (LDFLAGS-reldep6mod4.so): Likewise.
41891 (LDFLAGS-reldep8mod3.so): Likewise.
41892 (LDFLAGS-unload4mod1.so): Likewise.
41893 (LDFLAGS-unload4mod2.so): Likewise.
41894 (LDFLAGS-tst-initorder): Likewise.
41895 (LDFLAGS-tst-initordera2.so): Likewise.
41896 (LDFLAGS-tst-initordera3.so): Likewise.
41897 (LDFLAGS-tst-initordera4.so): Likewise.
41898 (LDFLAGS-tst-initorderb2.so): Likewise.
41899 (LDFLAGS-noload): Likewise.
41900 (LDFLAGS-next): Likewise.
41901 (LDFLAGS-order2mod1.so): Likewise.
41902 (LDFLAGS-order2mod2.so): Likewise.
41903 (LDFLAGS-tst-initorder2): Likewise.
41904 (LDFLAGS-tst-initorder2a.so): Likewise.
41905 (LDFLAGS-tst-initorder2b.so): Likewise.
41906 (LDFLAGS-tst-initorder2c.so): Likewise.
41907 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41909 2012-05-02 David S. Miller <davem@davemloft.net>
41911 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41913 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
41916 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41918 2012-05-02 Andreas Jaeger <aj@suse.de>
41920 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41921 since we manipulate rounding mode.
41922 (CPPFLAGS-test-idouble.c): Likewise.
41923 (CPPFLAGS-test-ifloat.c): Likewise.
41924 (CFLAGS-test-ldouble.c): Likewise.
41925 (CFLAGS-test-double.c): Likewise.
41926 (CFLAGS-test-float.c): Likewise.
41927 (CFLAGS-test-misc.c): Likewise.
41928 (CFLAGS-test-test-fenv.c): Likewise.
41930 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41934 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41935 comparisons to determine direction to adjust input.
41937 2012-05-01 Roland McGrath <roland@hack.frob.com>
41939 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41940 output to the target.
41942 * scripts/localplt.awk: New file.
41943 * elf/Makefile ($(objpfx)check-localplt): Target removed.
41944 (check-localplt-CFLAGS): Variable removed.
41945 ($(all-built-dso:=.jmprel)): New static pattern rule.
41946 (generated): Add those targets.
41947 (localplt-built-dso): New variable.
41948 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41950 * elf/check-localplt.c: File removed.
41952 * scripts/check-execstack.awk: New file.
41953 * elf/Makefile ($(objpfx)check-execstack): Target removed.
41954 (check-execstack-CFLAGS): Variable removed.
41955 ($(objpfx)check-execstack.h): Target removed.
41956 ($(objpfx)execstack-default): New target.
41957 (generated): Add that instead of check-execstack.h.
41958 ($(all-built-dso:=.phdr)): New static pattern rule.
41959 (generated): Add those targets.
41960 * elf/check-execstack.c: File removed.
41962 * scripts/check-textrel.awk: New file.
41963 * elf/Makefile ($(objpfx)check-textrel): Target removed.
41964 (check-textrel-CFLAGS): Variable removed.
41965 (all-built-dso): Use := to define.o
41966 ($(all-built-dso:=.dyn)): New static pattern rule.
41967 (generated): Add those targets.
41968 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41969 * config.make.in (READELF): New substituted variable.
41970 * elf/check-textrel.c: File removed.
41972 2012-05-01 Joseph Myers <joseph@codesourcery.com>
41974 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41976 * conform/data/ctype.h-data [C99-based standards] (isblank):
41978 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41979 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41980 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41981 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41982 Specify type. Require positive value.
41983 (EILSEQ): Likewise.
41984 (ERANGE): Likewise.
41985 [ISO || POSIX] (EILSEQ): Do not expect.
41986 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41987 Specify type. Require positive value.
41988 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41989 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41990 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41991 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41992 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41993 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41994 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41995 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41996 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41997 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41998 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41999 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42000 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42001 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42002 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42003 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42004 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42005 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42006 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42007 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42008 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42009 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42010 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42011 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42012 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42013 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42014 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42015 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42016 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42017 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42018 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42019 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42020 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42021 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42022 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42023 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42024 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42025 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42026 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42027 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42028 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42029 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42030 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42031 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42032 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42033 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42034 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42035 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42036 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42037 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42038 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42039 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42040 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42041 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42042 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42043 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42044 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42045 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42046 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42047 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42048 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42049 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42050 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42051 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42052 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42053 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42054 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42055 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42056 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42057 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42058 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42059 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42060 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42061 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42062 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42063 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42064 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42066 (FLT_ROUNDS): Expect as macro, not constant.
42067 (FLT_MANT_DIG): Use macro-int-constant.
42068 (DBL_MANT_DIG): Likewise.
42069 (LDBL_MANT_DIG): Likewise.
42070 (FLT_DIG): Likewise.
42071 (DBL_DIG): Likewise.
42072 (LDBL_DIG): Likewise.
42073 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42074 (DBL_MIN_EXP): Likewise.
42075 (LDBL_MIN_EXP): Likewise.
42076 (FLT_MAX_EXP): Use macro-int-constant.
42077 (DBL_MAX_EXP): Likewise.
42078 (LDBL_MAX_EXP): Likewise.
42079 (FLT_MAX_10_EXP): Likewise.
42080 (DBL_MAX_10_EXP): Likewise.
42081 (LDBL_MAX_10_EXP): Likewise.
42082 (FLT_MAX): Use macro-constant.
42083 (DBL_MAX): Likewise.
42084 (LDBL_MAX): Likewise.
42085 (FLT_EPSILON): Use macro-constant. Give upper bound.
42086 (DBL_EPSILON): Likewise.
42087 (LDBL_EPSILON): Likewise.
42088 (FLT_MIN): Likewise.
42089 (DBL_MIN): Likewise.
42090 (LDBL_MIN): Likewise.
42091 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42092 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42093 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42094 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42095 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42096 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42097 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42098 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42099 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42100 [ISO11] (FLT_TRUE_MIN): Likewise.
42101 [ISO11] (LDBL_TRUE_MIN): Likewise.
42102 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42103 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42104 (SCHAR_MIN): Use macro-int-constant. Specify type.
42105 (SCHAR_MAX): Likewise.
42106 (UCHAR_MAX): Likewise.
42107 (CHAR_MIN): Likewise.
42108 (CHAR_MAX): Likewise.
42109 (MB_LEN_MAX): Use macro-int-constant.
42110 (SHRT_MIN): Use macro-int-constant. Specify type.
42111 (SHRT_MAX): Likewise.
42112 (USHRT_MAX): Likewise.
42113 (INT_MAX): Likewise.
42114 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42116 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42118 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42120 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42121 bound negative. Suffix upper bound with "L".
42122 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42124 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42126 [C99-based standards] (LLONG_MAX): Likewise.
42127 [C99-based standards] (ULLONG_MAX): Likewise.
42128 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42130 [ISO11] (max_align_t): Require type.
42131 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42133 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42134 from $CFLAGS, without defining away __attribute__ calls.
42135 (checknamespace): Use $CFLAGS_namespace.
42137 * conform/conformtest.pl (@keywords): Only include C99 keywords
42138 for standards based on C99 or C11.
42140 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42142 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42145 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42146 usability of symbols in #if.
42148 * conform/conformtest.pl: If macro or constant types start
42149 "promoted:", expect the symbol to be of the following type
42150 promoted by the integer promotions.
42152 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42153 in one place. Also handle "macro-constant".
42155 * conform/conformtest.pl: Only accept expected macro values with
42156 "==". Parse all "macro" lines in one place.
42157 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42159 * conform/conformtest.pl: Handle braced types on "constant" lines
42160 instead of handling "typed-constant".
42161 * conform/data/signal.h-data: Use "constant" instead of
42164 * conform/conformtest.pl: Handle "optional-" at start of lines in
42165 one place rather than duplicating several cases. Handle each
42166 format of "macro" line with initial "optional-".
42168 * conform/conformtest.pl: Only accept expected constant or
42169 optional-constant values with "==". Parse all "constant" lines in
42170 one place. Parse all "optional-constant" lines in one place.
42171 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42172 * conform/data/fmtmsg.h-data: Likewise.
42173 * conform/data/netinet/in.h-data: Likewise.
42174 * conform/data/tar.h-data: Likewise.
42175 * conform/data/limits.h-data: Use "==" form on "constant" and
42176 "optional-constant" lines.
42178 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42179 Use -std=c99 for XOPEN2K.
42180 (@knownproblems): Remove.
42181 (newtoken): Don't check %isknown.
42183 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42184 Do not expect macro.
42185 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42186 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42187 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42188 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42189 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42190 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42191 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42192 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42193 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42194 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42195 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42196 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42197 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42198 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42199 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42200 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42201 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42202 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42203 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42204 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42205 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42206 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42207 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42208 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42209 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42210 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42211 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42212 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42213 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42214 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42215 [XPG3] (acosh): Likewise.
42216 [XPG3] (asinh): Likewise.
42217 [XPG3] (atanh): Likewise.
42218 [XPG3] (cbrt): Likewise.
42219 [XPG3] (expm1): Likewise.
42220 [XPG3] (ilogb): Likewise.
42221 [XPG3] (log1p): Likewise.
42222 [XPG3] (logb): Likewise.
42223 [XPG3] (nextafter): Likewise.
42224 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42225 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42226 [XPG3] (remainder): Likewise.
42227 [XPG3] (rint): Likewise.
42228 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42229 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42230 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42231 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42232 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42233 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42234 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42235 [UNIX98 || XOPEN2K] (scalb): Expect.
42236 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42237 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42238 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42239 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42240 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42241 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42242 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42243 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42244 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42245 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42246 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42247 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42248 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42249 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42250 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42251 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42252 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42253 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42254 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42255 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42256 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42257 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42258 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42259 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42260 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42261 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42262 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42263 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42264 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42265 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42266 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42267 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42268 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42269 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42270 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42271 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42272 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42273 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42274 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42275 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42276 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42277 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42278 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42279 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42280 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42281 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42282 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42283 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42284 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42285 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42286 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42287 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42288 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42289 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42290 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42291 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42292 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42293 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42294 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42295 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42296 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42297 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42298 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42299 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42300 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42301 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42302 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42303 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42304 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42305 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42306 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42307 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42308 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42309 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42310 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42311 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42312 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42313 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42314 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42315 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42316 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42317 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42318 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42319 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42320 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42321 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42322 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42323 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42324 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42325 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42326 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42327 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42328 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42329 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42330 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42331 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42332 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42333 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42334 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42335 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42336 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42337 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42338 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42339 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42340 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42341 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42342 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42343 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42344 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42345 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42346 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42347 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42348 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42349 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42350 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42351 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42352 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42353 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42354 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42355 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42356 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42357 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42358 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42359 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42360 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42361 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42362 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42363 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42364 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42365 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42366 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42367 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42368 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42369 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42370 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42371 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42372 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42374 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42375 _XOPEN_SOURCE_EXTENDED for XPG4.
42377 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42379 * Makeconfig (localtime): Remove variable.
42380 (inst_localtime-file): Likewise.
42382 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42390 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42394 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42396 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42398 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42400 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42403 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42407 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42408 comparisons to determine direction to adjust input.
42409 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42410 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42411 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42413 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42415 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42417 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42418 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42420 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42422 * math/libm-test.inc (nexttoward_test): Add more tests.
42424 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42427 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42428 in version GLIBC_2.1, not GLIBC_2.0.
42429 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42432 2012-04-30 Joseph Myers <joseph@codesourcery.com>
42435 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42437 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42438 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42439 * math/libm-test.inc (acos_test): Add more tests.
42440 (asin_test): Likewise.
42441 * sysdeps/i386/fpu/libm-test-ulps: Update.
42442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42445 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42447 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42448 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42449 * math/libm-test.inc (acos_test_tonearest): New function.
42450 (acos_test_towardzero): Likewise.
42451 (acos_test_downward): Likewise.
42452 (acos_test_upward): Likewise.
42453 (asin_test_tonearest): Likewise.
42454 (asin_test_towardzero): Likewise.
42455 (asin_test_downward): Likewise.
42456 (asin_test_upward): Likewise.
42457 (main): Call the new functions.
42458 * sysdeps/i386/fpu/libm-test-ulps: Update.
42459 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42463 * math/e_exp10.c: Include <float.h>.
42464 (__ieee754_exp10): Handle underflow here rather than multiplying
42465 large negative argument by M_LN10.
42466 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42468 * math/e_exp10l.c: Include <float.h>.
42469 (__ieee754_exp10l): Handle underflow here rather than multiplying
42470 large negative argument by M_LN10l.
42471 * math/libm-test.inc (exp10_test): Add another test. Do not allow
42472 spurious overflow exception on underflow.
42474 2012-04-29 Marek Polacek <polacek@redhat.com>
42476 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42477 (__fortify_function): New macro.
42478 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42479 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42480 __extern_always_inline.
42481 * libio/bits/stdio2.h: Likewise.
42482 * libio/bits/stdio.h: Likewise.
42483 * string/string.h: Likewise.
42484 * string/bits/string3.h: Likewise.
42485 * include/stdio.h: Likewise.
42486 * stdlib/bits/stdlib.h: Likewise.
42487 * stdlib/stdlib.h: Likewise.
42488 * rt/bits/mqueue2.h: Likewise.
42489 * rt/mqueue.h: Likewise.
42490 * posix/bits/unistd.h: Likewise.
42491 * posix/unistd.h: Likewise.
42492 * io/bits/poll2.h: Likewise.
42493 * io/bits/fcntl2.h: Likewise.
42494 * io/fcntl.h: Likewise.
42495 * io/sys/poll.h: Likewise.
42496 * misc/bits/syslog.h: Likewise.
42497 * misc/bits/syslog-ldbl.h: Likewise.
42498 * misc/sys/syslog.h: Likewise.
42499 * socket/bits/socket2.h: Likewise.
42500 * socket/sys/socket.h: Likewise.
42501 * debug/tst-chk1.c: Likewise.
42502 * wcsmbs/bits/wchar2.h: Likewise.
42503 * wcsmbs/bits/wchar-ldbl.h: Likewise.
42504 * wcsmbs/wchar.h: Likewise.
42506 2012-04-29 Andreas Jaeger <aj@suse.de>
42508 * Makerules (tests): Remove enable-check-abi protection.
42509 (check-abi-warn): Remove.
42510 (check-abi-%): Remove check-abi-warn usage.
42512 * configure.in: Remove check-abi configure option.
42513 * configure: Regenerated.
42514 * config.make.in (enable-check-abi): Remove.
42516 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
42519 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42520 double functions to double *_finite functions.
42523 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42524 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42526 * stdio-common/Makefile (tests): Add tst-sprintf3.
42527 * stdio-common/tst-sprintf3.c: New file.
42529 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42530 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42532 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42534 * conform/conformtest.pl: Remove duplicate typed-constant
42537 2012-04-28 David S. Miller <davem@davemloft.net>
42539 * Makerules (%.abilist): Add vpath on sysdep_dirs.
42540 (check-abi-%): Remove AWK script prerequisite and explicit
42542 (check-abi): Rewrite to just diff the symlist with the abilist.
42543 (config-tls, config-abi-config): Delete, no longer used.
42544 (update-abi-%): Remove AWK script and explicit abilist directory.
42545 (update-abi): Rewrite to simply compare and conditionally copy the
42546 symlist and the sysdep abilist file. Remove update-abi-config
42548 * abilist/ld.abilist: Remove.
42549 * abilist/libBrokenLocale.abilist: Remove.
42550 * abilist/libanl.abilist: Remove.
42551 * abilist/libcrypt.abilist: Remove.
42552 * abilist/libdl.abilist: Remove.
42553 * abilist/librt.abilist: Remove.
42554 * abilist/libthread_db.abilist: Remove.
42555 * abilist/libutil.abilist: Remove.
42556 * scripts/extract-abilist.awk: Remove.
42557 * scripts/merge-abilist.awk: Remove.
42558 * sysdeps/generic/libcidn.abilist: New file.
42559 * sysdeps/generic/libnss_compat.abilist: New file.
42560 * sysdeps/generic/libnss_db.abilist: New file.
42561 * sysdeps/generic/libnss_dns.abilist: New file.
42562 * sysdeps/generic/libnss_files.abilist: New file.
42563 * sysdeps/generic/libnss_hesiod.abilist: New file.
42564 * sysdeps/generic/libnss_nis.abilist: New file.
42565 * sysdeps/generic/libnss_nisplus.abilist: New file.
42566 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42567 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42568 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42570 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42571 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42572 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42573 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42574 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42575 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42576 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42577 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42578 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42580 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42581 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42582 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42583 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42585 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42586 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42587 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42588 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42589 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42590 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42592 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42593 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42594 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42596 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42597 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42599 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42601 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42603 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42605 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42607 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42609 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42611 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42613 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42615 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42617 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42619 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42621 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42623 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42625 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42645 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42647 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42649 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42650 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42652 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42654 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42656 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42658 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42660 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42662 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42664 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42666 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42668 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42670 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42672 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42674 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42675 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42677 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42679 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42681 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42683 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42685 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42687 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42689 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42691 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42693 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42695 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42697 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42699 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42700 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42701 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42703 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42704 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42705 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42706 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42707 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42708 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42709 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42710 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42711 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42712 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42713 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42714 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42718 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42720 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42724 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42728 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42730 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42732 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42734 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42736 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42738 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42739 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42741 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42743 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42745 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42747 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42749 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42751 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42753 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42755 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42757 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42759 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42761 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42764 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42766 * conform/conformtest.pl: Fix typo in handling typed-constant from
42769 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42771 * README: Cut down references to pre-2.6 Linux kernels and
42772 Linuxthreads. Update lists of configurations in libc and ports
42773 and sort alphabetically. Say "or newer" with Linux kernel version
42776 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42778 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42781 * math/libm-test.inc (logb_test_downward): New test to expose
42782 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42785 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42788 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42790 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42791 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42793 2012-04-26 Joseph Myers <joseph@codesourcery.com>
42795 * sysdeps/unix/i386/brk.S: Remove file.
42796 * sysdeps/unix/i386/dl-brk.S: Likewise.
42797 * sysdeps/unix/i386/pipe.S: Likewise.
42798 * sysdeps/unix/i386/sigreturn.S: Likewise.
42799 * sysdeps/unix/i386/syscall.S: Likewise.
42800 * sysdeps/unix/i386/vfork.S: Likewise.
42801 * sysdeps/unix/i386/wait.S: Likewise.
42803 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42804 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42806 * configure.in (arm*-none*): Do not allow without
42807 --enable-hacker-mode.
42808 (netbsd*): Remove case setting base_os.
42809 (386bsd*): Likewise.
42810 (freebsd*): Likewise.
42813 (sunos*): Likewise.
42814 (ultrix*): Likewise.
42815 (newsos*): Likewise.
42816 (dynix*): Likewise.
42822 (minix*): Likewise.
42823 (irix4*): Likewise.
42824 (irix6*): Likewise.
42825 (solaris[2-9]*): Likewise.
42827 * configure: Regenerated.
42829 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42832 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42833 overflow or cancellation in calculating denominator.
42834 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42835 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42836 down expression to avoid unexpected rounding in newer GCCs.
42837 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42839 2012-04-26 David S. Miller <davem@davemloft.net>
42841 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42842 long-double compat symbols.
42843 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42844 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42847 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42848 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42849 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42850 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42851 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42852 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42853 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42854 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42857 2012-04-25 David S. Miller <davem@davemloft.net>
42859 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42860 HWCAP_* values only after the memory barriers have been defined.
42861 (atomic_full_barrier): Define.
42862 (atomic_read_barrier): Define.
42863 (atomic_write_barrier): Define.
42865 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42867 * shlib-versions: Add libgcc_s version information.
42868 * sysdeps/generic/libgcc_s.h: Remove.
42869 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42871 * sysdeps/gnu/unwind-resume.c: Likewise.
42872 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42874 2012-04-25 David S. Miller <davem@davemloft.net>
42876 * sysdeps/unix/sparc/brk.S: Delete.
42877 * sysdeps/unix/sparc/dl-brk.S: Delete.
42878 * sysdeps/unix/sparc/pipe.S: Delete.
42879 * sysdeps/unix/sparc/sysdep.S: Delete.
42880 * sysdeps/unix/sparc/sysdep.h: Delete.
42881 * sysdeps/unix/sparc/vfork.S: Delete.
42882 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42883 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42884 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42885 (ret_ERRVAL, r0, r1, MOVE): Define.
42886 (JUMPTARGET): Remove.
42887 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42888 sysdeps/unix/sparc/sysdep.h
42889 (ENTRY, END): Remove.
42890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42892 2012-04-25 Joseph Myers <joseph@codesourcery.com>
42894 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42895 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42898 * timezone/README: Update upstream location and email address for
42900 * timezone/zdump.c: Update from tzcode 2012b.
42901 * timezone/zic.c: Likewise.
42903 * configure.in (libc_cv_as_needed): Remove test.
42904 * configure: Regenerated.
42905 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42906 conditional definition.
42907 [$(have-as-needed) != yes] (no-as-needed): Likewise.
42908 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42909 * config.make.in (have-as-needed): Remove variable.
42911 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
42912 Paul Pluzhnikov <ppluzhnikov@google.com>
42914 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42917 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
42919 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42920 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42921 * sysdeps/sh/strlen.S: Likewise.
42923 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42925 * sysdeps/unix/fork.S: Remove file.
42926 * sysdeps/unix/i386/fork.S: Likewise.
42927 * sysdeps/unix/sparc/fork.S: Likewise.
42929 * sysdeps/unix/system.c: Remove file.
42930 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42932 * sysdeps/unix/getegid.S: Remove file.
42933 * sysdeps/unix/geteuid.S: Likewise.
42935 2012-04-24 Roland McGrath <roland@hack.frob.com>
42937 * scripts/check-localplt.awk: New file.
42938 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42940 * scripts/data/localplt-generic.data: Add a comment.
42942 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42943 NODE when __dir_mkfile failed.
42944 * sysdeps/mach/hurd/symlinkat.c: Likewise.
42945 Reported by Ludovic Courtès <ludo@gnu.org>.
42947 2012-04-24 Andreas Jaeger <aj@suse.de>
42949 * Makerules (common-clean): Also remove gen-as-const-headers
42952 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42954 * Makerules (native-compile): Do not change working directory for
42955 build. Use $(OUTPUT_OPTION) in command.
42956 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42958 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42961 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42962 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42963 * math/libm-test.inc (floor_test): Add more tests.
42964 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42966 2012-04-24 Joseph Myers <joseph@codesourcery.com>
42968 * sysdeps/unix/getdents.c: Remove file.
42969 * sysdeps/unix/sysv/getdents.c: Likewise.
42970 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42972 * sysdeps/unix/syscalls.list (madvise): Add syscall from
42973 sysdeps/unix/mman/syscalls.list.
42975 (mprotect): Likewise.
42977 (munmap): Likewise.
42978 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42979 * sysdeps/unix/mman/syscalls.list: Remove.
42980 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42982 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42983 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42984 * configure: Regenerated.
42985 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42986 $(libgcc_s_suffix).
42987 * config.make.in (libgcc_s_suffix): Remove variable.
42989 2012-04-23 Joseph Myers <joseph@codesourcery.com>
42991 * sysdeps/unix/sysv/gethostname.c: Move to ...
42992 * sysdeps/posix/gethostname.c: ... here.
42994 * sysdeps/unix/execve.S: Remove file.
42996 * sysdeps/unix/_exit.S: Remove file.
42998 2012-04-23 Andreas Jaeger <aj@suse.de>
43001 * manual/Makefile: Remove make dist support, there's no
43002 need for a stand-alone documentation tar ball.
43003 (TEXI2DVI): Define always, it's not in Makeconfig.
43006 (edition): Removed.
43007 (glibc-doc-$(edition).tar): Removed
43011 (ETAGS): Remove, it's in Makeconfig.
43012 (move-if-change): Remove, it's in Makeconfig.
43014 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43017 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43018 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43019 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43020 (strtod_l, strtof_l, strtold_l): Remove __wur.
43021 It is not necessarily an error to ignore strtol's return value.
43022 One can reliably look at the stored endptr to decide whether
43023 the number had valid syntax.
43025 2012-04-21 Andreas Jaeger <aj@suse.de>
43028 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43030 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43032 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43033 * sysdeps/unix/sysv/Versions: Remove file.
43035 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43038 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43040 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43043 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43044 version from __vm86.
43046 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43048 * sysdeps/unix/common/lxstat.c: Remove file.
43049 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43051 * sysdeps/unix/sysv/Makefile: Remove file.
43053 * sysdeps/unix/sysv/direct.h: Remove file.
43055 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43056 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43057 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43058 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43059 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43060 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43061 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43063 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43065 * sysdeps/unix/xmknod.c: Remove file.
43066 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43068 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43070 * sysdeps/unix/sysv/i386/time.S: Remove file.
43072 * sysdeps/unix/fxstat.c: Remove file.
43073 * sysdeps/unix/xstat.c: Likewise.
43074 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43076 * sysdeps/unix/sysv/sigaction.c: Remove file.
43078 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43079 (sysdep_headers): Remove variable.
43080 [termio.h not in sysdep_headers] (generated): Likewise.
43081 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43082 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43083 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43084 * sysdeps/unix/sysv/tcflow.c: Likewise.
43085 * sysdeps/unix/sysv/tcflush.c: Likewise.
43086 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43087 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43088 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43089 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43090 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43092 * sysdeps/unix/siglist.c: Remove file.
43094 * sysdeps/unix/getppid.S: Remove file.
43096 * sysdeps/unix/mkdir.c: Remove file.
43097 * sysdeps/unix/rmdir.c: Likewise.
43099 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43101 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43103 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43104 errlist-compat value.
43106 2012-04-18 David S. Miller <davem@davemloft.net>
43108 * sysdeps/generic/memcopy.h (reg_char): Delete.
43109 * debug/strcat_chk.c: Use char, not reg_char.
43110 * debug/strcpy_chk.c: Likewise.
43111 * debug/strncat_chk.c: Likewise.
43112 * debug/strncpy_chk.c: Likewise.
43113 * string/memchr.c: Likewise.
43114 * string/memrchr.c: Likewise.
43115 * string/rawmemchr.c: Likewise.
43116 * string/strcat.c: Likewise.
43117 * string/strchr.c: Likewise.
43118 * string/strchrnul.c: Likewise.
43119 * string/strcmp.c: Likewise.
43120 * string/strcpy.c: Likewise.
43121 * string/strncat.c: Likewise.
43122 * string/strncmp.c: Likewise.
43123 * string/strncpy.c: Likewise.
43125 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43127 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43128 __builtin_memcopy is called when src and dest ranges are known to not
43131 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43133 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43134 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43135 fwd_align_merge macro call.
43136 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43137 bwd_align_merge macro call.
43138 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43140 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43142 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43143 bwd_align_merge macros.
43144 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43145 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43146 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43148 2012-04-18 David S. Miller <davem@davemloft.net>
43150 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43152 2012-04-18 Andreas Jaeger <aj@suse.de>
43155 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43156 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43157 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43159 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43160 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43161 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43163 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43164 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43165 Adjust for changed ldbl-128 files.
43167 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43168 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43169 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43171 2012-04-17 David S. Miller <davem@davemloft.net>
43173 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43175 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43177 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43178 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43179 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43180 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43181 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43182 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43184 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43187 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43188 * math/libm-test.inc: Add ilogb errno and exception tests.
43189 * math/w_ilogb.c: New file: ilogb wrapper.
43190 * math/w_ilogbf.c: New file: ilogbf wrapper.
43191 * math/w_ilogbl.c: New file: ilogbl wrapper.
43192 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43193 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43194 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43195 exception being thrown with 0.0 as argument.
43196 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43197 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43198 exception being thrown with 0.0 as argument.
43199 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43200 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43201 exception being thrown with 0.0 as argument.
43202 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43203 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43204 exception being thrown with 0.0 as argument.
43205 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43206 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43207 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43208 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43209 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43210 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43211 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43212 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43213 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43215 2012-04-17 Petr Baudis <pasky@ucw.cz>
43217 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43220 2012-04-16 Marek Polacek <polacek@redhat.com>
43222 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43224 2012-04-16 Marek Polacek <polacek@redhat.com>
43226 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43227 operands of fdivp instruction.
43229 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43231 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43232 * elf/tst-auditmod3b.c: Likewise.
43233 * elf/tst-auditmod4b.c: Likewise.
43234 * elf/tst-auditmod5b.c: Likewise.
43235 * elf/tst-auditmod6b.c: Likewise.
43236 * elf/tst-auditmod6c.c: Likewise.
43237 * elf/tst-auditmod7b.c: Likewise.
43238 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43239 * sysdeps/x86_64/preconfigure.in: Likewise.
43240 * sysdeps/x86_64/preconfigure: Regenerated.
43242 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43244 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43247 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
43249 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43250 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43252 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43255 * locale/iso-639.def: Fix gl language name. Spotted by
43258 2012-04-12 Roland McGrath <roland@hack.frob.com>
43261 * libio/libio.h (__io_write_fn): Update comment.
43263 2012-04-12 Petr Baudis <pasky@ucw.cz>
43266 * stdio.texi (Hook Functions): The user provided writer function
43267 is not allowed to return -1.
43269 2012-04-11 David S. Miller <davem@davemloft.net>
43271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43273 2012-04-11 Mike Frysinger <vapier@gentoo.org>
43275 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43276 Add a leading slash to rtkaio.
43278 2012-04-11 Jim Meyering <meyering@redhat.com>
43281 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43282 It is not necessarily an error to ignore fwrite's return
43283 value. One can reliably use ferror to test for errors after
43286 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43288 * bits/types.h (__snseconds_t): New type.
43289 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43291 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43292 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43293 (__SNSECONDS_T_TYPE): Likewise.
43294 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43295 (__SNSECONDS_T_TYPE): Likewise.
43296 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43297 (__SNSECONDS_T_TYPE): Likewise.
43299 2012-04-10 Andreas Jaeger <aj@suse.de>
43302 * manual/time.texi (Processor Time): Return type of times is
43303 elapsed real time since an arbitrary point in the past.
43304 (CPU Time): Move CLK_TCK from here...
43305 (Processor Time): ...to here. Correct description.
43306 * manual/conf.texi (Constants for Sysconf): Correct description of
43309 2012-04-10 David S. Miller <davem@davemloft.net>
43312 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43313 where the is a gap between DT_REL(A) and DT_JMPREL.
43315 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43317 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43318 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43319 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43321 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43323 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43324 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43325 (dl_main): Handle --inhibit-cache.
43326 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43328 * elf/dl-load.c (_dl_map_object): Use it.
43329 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43331 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43334 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43335 (__ieee754_powl): Saturate large exponents rather than testing for
43336 overflow of y*log2(x).
43337 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43338 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43342 * math/s_ctan.c: Include <float.h>.
43343 (__ctan): Avoid internal overflow or cancellation in calculating
43345 * math/s_ctanf.c: Likewise.
43346 * math/s_ctanl.c: Likewise.
43347 * math/s_ctanh.c: Likewise.
43348 * math/s_ctanhf.c: Likewise.
43349 * math/s_ctanhl.c: Likewise.
43350 * math/libm-test.inc (ctan_test): Add more tests.
43351 (ctanh_test): Likewise.
43352 * sysdeps/i386/fpu/libm-test-ulps: Update.
43353 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43355 2012-04-09 Andreas Jaeger <aj@suse.de>
43358 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43359 is an optional BSD extension.
43362 * manual/stdio.texi (Opening Streams): Document additional fopen
43365 2012-04-09 Roland McGrath <roland@hack.frob.com>
43367 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43368 %eax without telling the compiler.
43370 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43373 * manual/install.texi: Use sourceware.org.
43375 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43378 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43379 (__ieee754_pow): Generate overflow and underflow using huge*huge
43380 and tiny*tiny rather than just returning constant infinity or zero
43381 for large exponents.
43382 * math/libm-test.inc (pow_test): Require overflow exceptions for
43383 applicable cases of large exponents.
43386 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43387 (__ieee754_pow): Use iterative multiplication algorithm only for
43388 integer exponents with absolute value below 1024. Check for odd
43389 integer exponents when using algorithm for real exponents.
43390 * math/libm-test.inc (pow_test): Add more tests.
43391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43393 2012-04-08 Joseph Myers <joseph@codesourcery.com>
43396 * math/libm-test.inc (exp_test): Do not allow overflow exception
43399 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
43402 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43403 instead of __kernel_standard_f.
43405 2012-04-08 Mike Frysinger <vapier@gentoo.org>
43407 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43408 * sysdeps/x86_64/memset_chk.S: Likewise.
43410 2012-04-08 Andreas Jaeger <aj@suse.de>
43413 * manual/startup.texi (Environment Access): Describe return value
43414 for putenv and setenv.
43417 * manual/filesys.texi (Directory Entries): Add description for
43421 * manual/filesys.texi (Directory Entries): Clarify that it's file
43422 system not operating system in the description of DT_UNKNOWN.
43425 * manual/syslog.texi (closelog): Fix reference, it's openlog.
43427 2012-04-08 Stephen Compall <s11@member.fsf.org>
43430 * manual/llio.texi (Opening and Closing Files): Add cross
43431 reference to explain mode argument.
43433 2012-04-07 Mike Frysinger <vapier@gentoo.org>
43435 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43436 * sysdeps/x86_64/memset_chk.S: Likewise.
43438 2012-04-07 David S. Miller <davem@davemloft.net>
43440 * elf/elf.h (R_SPARC_WDISP10): Define.
43441 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43443 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43444 R_SPARC_SIZE64 and R_SPARC_H34.
43446 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
43448 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43449 conditions and remove no longer applicable assertion.
43451 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43453 * bits/byteswap.h: Include <features.h>.
43454 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43455 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43457 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43459 * bits/byteswap.h (__bswap_16): Removed.
43460 Include <bits/byteswap-16.h> to get __bswap_16.
43461 * sysdeps/i386/bits/byteswap.h: Likewise.
43462 * sysdeps/s390/bits/byteswap.h: Likewise.
43463 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43464 * bits/byteswap-16.h: New file.
43465 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43466 * sysdeps/s390/bits/byteswap-16.h: Likewise.
43467 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43468 * string/Makefile (headers): Add bits/byteswap-16.h.
43470 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43473 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43475 * nss/Makefile (tests-static, tests): Add tst-nss-static.
43476 * nss/tst-nss-static.c: New.
43478 2012-04-06 Robert Millan <rmh@gnu.org>
43481 * manual/llio.texi (File Position Primitive): lseek
43482 refers to WHENCE when it really means OFFSET.
43484 2012-04-06 Andreas Jaeger <aj@suse.de>
43486 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43487 strncmp declarations.
43489 * abilist/libc.abilist: Add __poll and __ppoll.
43491 2012-04-05 David S. Miller <davem@davemloft.net>
43493 * scripts/check-local-headers.sh: Accept a host triplet in the
43494 path matched by the exclude regexp.
43496 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43498 * sysdeps/powerpc/powerpc32/dl-machine.h
43499 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43500 * sysdeps/s390/s390-32/dl-machine.h
43501 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43502 * sysdeps/sparc/sparc32/dl-machine.h
43503 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43504 * sysdeps/sparc/sparc64/dl-machine.h
43505 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43507 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43509 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43510 undefined symbol errors.
43512 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43515 2012-04-05 Michael Matz <matz@suse.de>
43518 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43520 2012-04-05 Andreas Jaeger <aj@suse.de>
43523 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43526 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43528 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43529 which ROUND is no valid rounding mode.
43531 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43533 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43535 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43537 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43539 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43540 an exception using FPU order intentionally.
43542 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43544 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43545 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43546 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43547 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43549 2012-04-05 Simon Josefsson <simon@josefsson.org>
43552 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43553 EINVAL when BUFLEN is too smal.
43555 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
43558 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43559 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43561 2012-04-03 Andreas Jaeger <aj@suse.de>
43564 * manual/setjmp.texi (System V contexts): Fix sentence.
43567 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43568 New macro for this case.
43569 [!__GNUC__] (__bswap_64): New inline function for this case.
43570 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43571 * bits/byteswap.h: Likewise.
43572 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43573 ull, guard with __GLIBC_HAVE_LONG_LONG.
43575 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43576 __GLIBC_HAVE_LONG_LONG.
43578 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43579 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43581 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43584 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43585 inptr and inend, rather than using last_ch.
43587 2012-04-02 David S. Miller <davem@davemloft.net>
43589 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43590 * stdio-common/printf-parse.h (read_int): Change return type to
43591 'int', return -1 on INT_MAX overflow.
43592 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43593 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43594 overflows INT_MAX. Check for overflow of in-format-string precision
43595 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43596 SIZE_MAX not INT_MAX for integer overflow test.
43597 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43598 skip the construct in the format string but do not record anything.
43599 * stdio-common/bug22.c: Adjust to test both width/prevision
43600 INT_MAX overflow as well as total length INT_MAX overflow. Check
43601 explicitly for proper errno values.
43603 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43605 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43607 * string/test-strcmp.c [! WIDE]: Likewise.
43608 * time/tst-mktime2.c: Likewise for INT_MAX.
43609 * string/test-string.h: #include <sys/param.h> for MIN.
43611 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43612 * sysdeps/i386/init-first.c (init): Likewise.
43613 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43614 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43615 * sysdeps/sh/init-first.c (init): Likewise.
43617 2012-04-01 Ulrich Drepper <drepper@gmail.com>
43619 * po/ru.po: Update from translation team.
43620 * po/vi.po: Likewise.
43622 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43624 * resolv/nss_dns/dns-host.c: Merge copyright years.
43626 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43628 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43629 Optimize memcpy with prefetch if
43630 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43631 src, dst pointers have unequal 16 byte alignments.
43633 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43636 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43637 from a CNAME entry and return the minimum ttl for the query.
43638 (gaih_getanswer_slice): Likewise.
43640 2012-03-30 Jeff Law <law@redhat.com>
43642 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43644 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43645 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43647 * resolv/nss_dns/dns-host.c: Update copyright year.
43649 2012-03-30 Ulrich Drepper <drepper@gmail.com>
43651 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43652 requests to save a system call. Fix check that all bytes are sent.
43654 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43655 comments for sendmmsg.
43657 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43660 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43661 with only 1 character between 0x0041 and 0x01b0.
43662 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43663 * wcsmbs/tst-mbsnrtowcs.c: New file.
43665 2012-03-29 David S. Miller <davem@davemloft.net>
43667 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43668 small copies by hand.
43670 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43673 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43674 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43677 2012-03-28 David S. Miller <davem@davemloft.net>
43679 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43680 that branches into memcpy.
43681 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43682 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43683 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43684 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43685 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43687 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43688 implementation too.
43689 * sysdeps/sparc/mempcpy.S: New file.
43691 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43692 the IFUNC routine in the libc case.
43693 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43695 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43696 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43697 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43698 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43699 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43700 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43701 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43702 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43704 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43705 loop to 256 bytes instead of 64 bytes and fix test signedness.
43707 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43708 * sysdeps/sparc/sparc32/Makefile: rather than here...
43709 * sysdeps/sparc/sparc64/Makefile: and here.
43711 2012-03-28 Ulrich Drepper <drepper@gmail.com>
43713 * malloc/mallocbug.c: Avoid warnings about unused variables.
43715 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43718 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43719 in the right place. Discard and retry query if response is
43720 larger than input buffer size.
43722 2012-03-28 Joseph Myers <joseph@codesourcery.com>
43727 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43728 x for large integer exponent.
43729 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43730 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43731 sign of result as needed afterwards.
43732 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43733 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43734 result for underflowing pow the same as for overflow.
43735 (__kernel_standard_l): Handle powl overflow and underflow here
43736 rather than calling __kernel_standard.
43737 * math/libm-test.inc (pow_test): Add more tests.
43752 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43753 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43754 (__kernel_standard_l): New function.
43755 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43757 * math/w_acosl.c (__acosl): Likewise.
43758 * math/w_asinl.c (__asinl): Likewise.
43759 * math/w_atan2l.c (__atan2l): Likewise.
43760 * math/w_atanhl.c (__atanhl): Likewise.
43761 * math/w_coshl.c (__coshl): Likewise.
43762 * math/w_exp10l.c (__exp10l): Likewise.
43763 * math/w_exp2l.c (__exp2l): Likewise.
43764 * math/w_fmodl.c (__fmodl): Likewise.
43765 * math/w_hypotl.c (__hypotl): Likewise.
43766 * math/w_j0l.c (__j0l, __y0l): Likewise.
43767 * math/w_j1l.c (__j1l, __y1l): Likewise.
43768 * math/w_jnl.c (__jnl, __ynl): Likewise.
43769 * math/w_lgammal.c (__lgammal): Likewise.
43770 * math/w_log10l.c (__log10l): Likewise.
43771 * math/w_log2l.c (__log2l): Likewise.
43772 * math/w_logl.c (__logl): Likewise.
43773 * math/w_powl.c (__powl): Likewise.
43774 * math/w_remainderl.c (__remainderl): Likewise.
43775 * math/w_scalbl.c (sysv_scalbl): Likewise.
43776 * math/w_sinhl.c (__sinhl): Likewise.
43777 * math/w_sqrtl.c (__sqrtl): Likewise.
43778 * math/w_tgammal.c (__tgammal): Likewise.
43779 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43780 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43781 * math/libm-test.inc (acos_test): Add more tests.
43782 (acosh_test): Likewise.
43783 (asin_test): Likewise.
43784 (atanh_test): Likewise.
43785 (exp_test): Likewise.
43786 (exp10_test): Likewise.
43787 (exp2_test): Likewise.
43788 (expm1_test): Likewise.
43789 (lgamma_test): Likewise.
43790 (log_test): Likewise.
43791 (log10_test): Likewise.
43792 (log1p_test): Likewise.
43793 (log2_test): Likewise.
43794 (pow_test): Do not allow some spurious overflow exceptions.
43795 (sqrt_test): Add more tests.
43796 (tgamma_test): Likewise.
43797 (y0_test): Likewise.
43798 (y1_test): Likewise.
43799 (yn_test): Likewise.
43801 2012-03-27 Anton Blanchard <anton@samba.org>
43803 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43805 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43806 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43807 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43809 2012-03-27 David S. Miller <davem@davemloft.net>
43811 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43813 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43814 have-as-vis3 check.
43816 2012-03-27 Andreas Jaeger <aj@suse.de>
43818 * sysdeps/x86_64/elf/configure.in: Moved to ...
43819 * sysdeps/x86_64/configure.in: ... here.
43820 * sysdeps/x86_64/elf/start.S: Moved to ...
43821 * sysdeps/x86_64/start.S: ... here.
43822 * sysdeps/x86_64/elf/configure: Delete.
43824 * sysdeps/x86_64/configure.in: Merge contents from
43825 sysdeps/i386/configure.in (without i686 check).
43827 * sysdeps/i386/elf/Versions: Merge into ...
43828 * sysdeps/i386/Versions: ... this.
43829 * sysdeps/i386/elf/Versions: Delete file.
43830 * sysdeps/i386/elf/start.S: Moved to ...
43831 * sysdeps/i386/start.S: ...here.
43832 * sysdeps/i386/elf/configure.in: Merge into...
43833 * sysdeps/i386/configure.in: ...here.
43834 * sysdeps/i386/elf/configure.in: Delete file.
43835 * sysdeps/i386/elf/configure: Delete file.
43837 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43838 * debug/backtracesyms.c: ... here.
43839 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43840 * debug/backtracesymsfd.c: ... here.
43841 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43842 * sysdeps/generic/ifunc-sel.h: ... here.
43844 * sysdeps/unix/i386/start.c: Delete file.
43845 * sysdeps/unix/sparc/start.c: Delete file.
43846 * sysdeps/unix/start.c: Delete file.
43848 * sysdeps/sh/elf/configure.in: Moved to ...
43849 * sysdeps/sh/configure.in: ... here.
43850 * sysdeps/sh/elf/start.S: Moved to ...
43851 * sysdeps/sh/start.S: ... here.
43852 * sysdeps/sh/elf/configure: Delete file.
43854 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43855 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43856 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43857 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43858 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43859 * sysdeps/powerpc/powerpc64/start.S: here.
43860 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43861 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43862 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43863 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43864 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43866 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43867 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43868 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43869 * sysdeps/powerpc/powerpc32/start.S: ... here.
43870 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43871 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43872 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43874 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43875 * sysdeps/powerpc/ifunc-sel.h: ... here.
43876 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43877 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43879 * sysdeps/sparc/elf/configure.in: Moved to ...
43880 * sysdeps/sparc/configure.in: ... here.
43881 * sysdeps/sparc/elf/configure: Delete file.
43882 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43883 * sysdeps/sparc/sparc32/start.S: ... here.
43884 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43885 * sysdeps/sparc/sparc64/start.S: ... here.
43886 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43887 * sysdeps/sparc/sparc32/Makefile: ... this.
43888 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43889 * sysdeps/sparc/sparc64/Makefile: ... this.
43891 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43892 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43893 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43894 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43895 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43896 * sysdeps/s390/s390-32/setjmp.S: ... here.
43897 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43898 * sysdeps/s390/s390-32/configure.in: ... here.
43899 * sysdeps/s390/s390-32/elf/configure: Delete file.
43900 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43901 * sysdeps/s390/s390-32/start.S: ... here.
43903 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43904 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43905 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43906 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43907 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43908 * sysdeps/s390/s390-64/setjmp.S: ... here.
43909 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43910 * sysdeps/s390/s390-64/configure.in: ... here
43911 * sysdeps/s390/s390-64/elf/configure: Delete file.
43912 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43913 * sysdeps/s390/s390-64/start.S: ... here.
43914 * sysdeps/s390/s390-64/elf/configure: Delete.
43916 * configure.in: Remove support for elf directories in sysdeps.
43918 * configure: Regenerated.
43919 * sysdeps/i386/configure: Regenerated.
43920 * sysdeps/powerpc/powerpc32/configure: Regenerated.
43921 * sysdeps/powerpc/powerpc64/configure: Regenerated.
43922 * sysdeps/s390/s390-32/configure: Regenerated.
43923 * sysdeps/s390/s390-64/configure: Regenerated.
43924 * sysdeps/sh/configure: Regenerated.
43925 * sysdeps/sparc/configure: Regenerated.
43926 * sysdeps/x86_64/configure: Regenerated.
43928 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
43930 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43932 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43933 denormal result into account.
43935 2012-03-25 Roland McGrath <roland@hack.frob.com>
43937 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43938 Reported by Allan McRae <allan@archlinux.org>.
43940 2012-03-23 Jeff Law <law@redhat.com>
43942 * nss/getnssent.c (__nss_getent): Fix typo.
43944 2012-03-23 David S. Miller <davem@davemloft.net>
43946 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43948 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
43950 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43951 to pad to uint64_t for each field.
43952 (dl_tls_index): Replace unsigned long with uint64_t.
43954 2012-03-23 Daniel Jacobowitz <dmj@google.com>
43955 Paul Pluzhnikov <ppluzhnikov@google.com>
43958 * grp/Makefile (otherlibs): Don't set it.
43959 * inet/Makefile (otherlibs): Likewise.
43960 * login/Makefile (otherlibs): Likewise.
43961 * nscd/Makefile (otherlibs): Likewise.
43962 * posix/Makefile (otherlibs): Likewise.
43963 * pwd/Makefile (otherlibs): Likewise.
43964 * rt/Makefile (otherlibs): Likewise.
43965 * sunrpc/Makefile (otherlibs): Likewise.
43966 * nss/Makefile (otherlibs): Likewise.
43967 Add libnss_files to routines and static-only-routines.
43968 ($(objpfx)getent): Remove rule.
43969 * resolv/Makefile: Add libnss_dns and libresolv to routines and
43970 static-only-routines.
43972 2012-03-22 Joseph Myers <joseph@codesourcery.com>
43975 * math/s_cexp.c: Include <float.h>.
43976 (__cexp): Handle exp result overflowing not necessarily
43977 overflowing both real and imaginary parts of result.
43978 * math/s_cexpf.c: Likewise.
43979 * math/s_cexpl.c: Likewise.
43980 * math/libm-test.inc (cexp_test): Add more tests.
43981 * sysdeps/i386/fpu/libm-test-ulps: Update.
43982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43984 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43986 * include/link.h (ELFW): New macro.
43987 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43988 Replace ELF64_R_TYPE with ELFW(R_TYPE).
43990 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43992 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43995 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
43997 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43999 (struct La_x32_retval): Likewise.
44001 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44003 * sysdeps/x86_64/preconfigure.in: New file.
44004 * sysdeps/x86_64/preconfigure: New generated file.
44006 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44009 * math/e_exp2l.c: Include <float.h>.
44010 (__ieee754_exp2l): Handle overflow and underflow cases
44011 separately. Only pass fractional part of argument to
44013 * math/libm-test.inc (exp2_test): Add more tests.
44015 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44016 negating x to take absolute value.
44017 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44019 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44020 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44022 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44023 computing low part if x was negated.
44024 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44026 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44028 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44029 la_x32_gnu_pltexit.
44030 (pltexit): Cast int_retval to ptrdiff_t.
44031 * elf/tst-auditmod3b.c: Likewise.
44032 * elf/tst-auditmod4b.c: Likewise.
44033 * elf/tst-auditmod5b.c: Likewise.
44034 * elf/tst-auditmod6b.c: Likewise.
44035 * elf/tst-auditmod6c.c: Likewise.
44036 * elf/tst-auditmod7b.c: Likewise.
44038 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44039 and x32_gnu_pltexit.
44041 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44042 __ELF_NATIVE_CLASS.
44043 (La_x32_regs): New macro.
44044 (La_x32_retval): Likewise.
44045 (la_x32_gnu_pltenter): New function prototype.
44046 (la_x32_gnu_pltexit): Likewise.
44048 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44050 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44053 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44055 * configure.in (libc_cv_cc_nofma): Check for option to disable
44056 generation of FMA instructions.
44057 * configure: Regenerate.
44058 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44059 * sysdeps/ieee754/dbl-64/Makefile: New file.
44060 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44061 Remove brandred-fma4.
44062 (CFLAGS-brandred-fma4.c): Remove.
44063 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44064 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44066 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44069 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44071 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44072 LLONG_MAX != LONG_MAX.
44073 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44074 (_fitoa_word): Likewise.
44075 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44076 LLONG_MAX != LONG_MAX.
44077 * stdio-common/_itowa.h: Include <_itoa.h>.
44078 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44079 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44080 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44081 only if not defined.
44082 (_ITOA_WORD_TYPE): Likewise.
44083 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44084 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44086 2012-03-21 David S. Miller <davem@davemloft.net>
44088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44090 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44092 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44093 of x86_64 when setting libc_cv_slibdir, libdir and
44095 * sysdeps/unix/sysv/linux/configure: Regenerated.
44097 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44099 * manual/lang.texi (Old Varargs): Remove section.
44100 (How Variadic): Update menu.
44101 (va_start): Do not mention varargs.h.
44103 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44104 Joseph Myers <joseph@codesourcery.com>
44106 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44108 * configure: Regenerated.
44110 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44112 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44113 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44116 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44119 * Makefile (files-for-dist): Remove NOTES.
44120 (NOTES): Remove rule.
44121 * README: Don't refer to NOTES.
44122 * manual/creature.texi: Don't include macros.texi.
44123 * manual/intro.texi (creature.texi): Remove comment referring to
44126 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44127 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44128 * configure: Regenerated.
44129 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44130 LIBC_TRY_CC_OPTION.
44131 (libc_cv_as_i686): Likewise.
44132 (libc_cv_cc_avx): Likewise.
44133 (libc_cv_cc_sse2avx): Likewise.
44134 (libc_cv_cc_fma4): Likewise.
44135 (libc_cv_cc_novzeroupper): Likewise.
44136 * sysdeps/i386/configure: Regenerated.
44139 * sysdeps/i386/fpu/s_cexp.S: Remove.
44140 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44141 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44142 * math/libm-test.inc (cexp_test): Add more tests.
44143 * sysdeps/i386/fpu/libm-test-ulps: Update.
44144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44146 2012-03-21 Allan McRae <allan@archlinux.org>
44148 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44150 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44153 * math/w_exp2.c: Do not include <float.h>.
44154 (o_threshold, u_threshold): Remove.
44155 (__exp2): Calculate result before checking finiteness and calling
44157 * math/w_exp2f.c: Likewise.
44158 * math/w_exp2l.c: Likewise.
44159 * math/libm-test.inc (exp2_test): Require overflow exception for
44163 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44164 range of signed 64-bit integers before using fistpll. Remove
44165 checks for whether integers fit in mantissa bits.
44166 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44167 the range of signed 32-bit integers before using fistpl. Remove
44168 checks for whether integers fit in mantissa bits.
44169 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44170 (__ieee754_powl): Test for y outside the range of signed 64-bit
44171 integers before using fistpll. Reduce 64-bit values to 63-bit
44173 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44174 divide-by-zero is raised for zero to large negative powers.
44175 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44176 (__ieee754_powl): Test for y outside the range of signed 64-bit
44177 integers before using fistpll. Reduce 64-bit values to 63-bit
44179 * math/libm-test.inc (pow_test): Add more tests.
44181 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44183 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44184 <stdio-common/_itoa.h>.
44185 * debug/segfault.c: Likewise.
44186 * elf/dl-cache.c: Likewise.
44187 * elf/dl-minimal.c: Likewise.
44188 * elf/dl-misc.c: Likewise.
44189 * elf/dl-sysdep.c: Likewise.
44190 * elf/dl-version.c: Likewise.
44191 * elf/rtld.c: Likewise.
44192 * hurd/hurdsock.c: Likewise.
44193 * hurd/lookup-retry.c: Likewise.
44194 * malloc/malloc.c: Likewise.
44195 * malloc/mtrace.c: Likewise.
44196 * nscd/nscd_getgr_r.c: Likewise.
44197 * nscd/nscd_getpw_r.c: Likewise.
44198 * nscd/nscd_getserv_r.c: Likewise.
44199 * posix/getopt_init.c: Likewise.
44200 * posix/wordexp.c: Likewise.
44201 * stdio-common/_itoa.c: Likewise.
44202 * stdio-common/printf_fphex.c: Likewise.
44203 * stdio-common/vfprintf.c: Likewise.
44204 * string/_strerror.c: Likewise.
44205 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44206 * sysdeps/i386/i686/hp-timing.h: Likewise.
44207 * sysdeps/mach/_strerror.c: Likewise.
44208 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44209 * sysdeps/mach/hurd/sethostid.c: Likewise.
44210 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44211 * sysdeps/mach/xpg-strerror.c: Likewise.
44212 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44213 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44214 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44215 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44216 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44217 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44218 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44219 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44220 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44221 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44222 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44223 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44224 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44225 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44226 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44227 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44228 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44229 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44230 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44231 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44232 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44234 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44236 * stdio-common/_itoa.h: Moved to ...
44237 * sysdeps/generic/_itoa.h: Here.
44239 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44241 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44242 instead of "_itoa.h" and "_itowa.h".
44243 * stdio-common/vfprintf.: Likewise.
44245 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44247 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44249 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44250 (__signbit): Likwise.
44251 (llrintf): Likwise.
44254 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44256 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44259 2012-03-20 Joseph Myers <joseph@codesourcery.com>
44261 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44262 OVERFLOW_EXCEPTION_OK.
44263 * math/libm-test.inc ("Philosophy"): Update comment about
44265 (OVERFLOW_EXCEPTION): Define.
44266 (OVERFLOW_EXCEPTION_OK): Likewise.
44267 (INVALID_EXCEPTION_OK): Renumber.
44268 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44269 (IGNORE_ZERO_INF_SIGN): Likewise.
44270 (test_exceptions): Handle FE_OVERFLOW.
44271 (exp10_test): Expect overflow exceptions.
44272 (exp2_test): Likewise.
44273 (expm1_test): Likewise.
44274 (nextafter_test): Likewise.
44275 (pow_test): Likewise.
44276 (scalbn_test): Likewise.
44277 (scalbln_test): Likewise.
44279 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44281 * sysdeps/x86_64/bits/atomic.h
44282 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44284 (atomic_exchange_acq): Likewise.
44285 (__arch_exchange_and_add_body): Likewise.
44286 (__arch_add_body): Likewise.
44287 (atomic_add_negative): Likewise.
44288 (atomic_add_zero): Likewise.
44290 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44292 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44293 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44295 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44297 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44298 Check __x86_64__ instead of __WORDSIZE.
44300 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44302 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44304 2012-03-19 David S. Miller <davem@davemloft.net>
44306 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44308 * sysdeps/sparc/fpu/fenv_private.h: New file.
44309 * sysdeps/sparc/fpu/math_private.h: Use it.
44310 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44312 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44313 (libc_feholdexcept_setroundl): Remove.
44314 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44316 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44317 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44319 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44321 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44322 int64_t instead of long int.
44323 (INSERT_WORDS64): Likwise.
44325 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44327 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44328 _Unwind_GetCFA return to _Unwind_Ptr first.
44330 2012-03-19 Joseph Myers <joseph@codesourcery.com>
44333 * math/s_clog.c: Include <float.h>.
44334 (__clog): Scale large or subnormal inputs.
44335 * math/s_clogf.c: Likewise.
44336 * math/s_clogl.c: Likewise.
44337 * math/s_clog10.c: Include <float.h>.
44338 (M_LOG10_2): Define.
44339 (__clog10): Scale large or subnormal inputs.
44340 * math/s_clog10f.c: Likewise.
44341 * math/s_clog10l.c: Likewise.
44342 * math/libm-test.inc (clog_test): Add more tests.
44343 (clog10_test): Likewise.
44344 * sysdeps/i386/fpu/libm-test-ulps: Update.
44345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44348 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44350 * math/libm-test.inc (atan2_test): Add another test.
44352 * Makerules (common-objdir-compile): Remove.
44353 * sysdeps/unix/Makefile (config-generated): Do not add
44354 $(unix-generated) to variable.
44355 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44356 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44358 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44360 [generic bits/local_lim.h] (before-compile): Do not append to
44362 [generic bits/local_lim.h] (common-generated): Likewise.
44363 [generic sys/param.h] (before-compile): Do not append to variable.
44364 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44365 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44366 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44367 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44369 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44370 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44371 [generic sys/param.h] ($(addprefix
44372 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44373 [generic sys/param.h] (common-generated): Do not append to
44375 [generic sys/param.h] (sysdep_headers): Likewise.
44376 [generic bits/errno.h] (before-compile): Do not append to
44378 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44380 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44381 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44382 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44383 [generic bits/errno.h] (common-generated): Do not append to
44385 [generic bits/ioctls.h] (before-compile): Do not append to
44387 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44389 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44390 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44391 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44393 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44394 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44395 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44396 [generic bits/ioctls.h] (common-generated): Do not append to
44398 [generic sys/syscall.h] (syscall.h): Remove variable.
44399 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44401 [generic sys/syscall.h] (before-compile): Do not append to
44403 [generic sys/syscall.h] (common-generated): Likewise.
44404 * sysdeps/unix/errnos-tmpl.c: Remove file.
44405 * sysdeps/unix/errnos.awk: Likewise.
44406 * sysdeps/unix/ioctls-tmpl.c: Likewise.
44407 * sysdeps/unix/ioctls.awk: Likewise.
44408 * sysdeps/unix/mk-local_lim.c: Likewise.
44409 * sysdeps/unix/snarf-ioctls: Likewise.
44411 2012-03-19 Richard Henderson <rth@twiddle.net>
44413 * sysdeps/i386/fpu/fenv_private.h: New file.
44414 * sysdeps/i386/fpu/math_private.h: Use it.
44415 (math_opt_barrier, math_force_eval): Remove.
44416 (libc_feholdexcept_setround_53bit): Remove.
44417 (libc_feupdateenv_53bit): Remove.
44418 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44419 (math_opt_barrier, math_force_eval): Remove.
44420 (libc_feholdexcept): Remove.
44421 (libc_feholdexcept_setround): Remove.
44422 (libc_fetestexcept, libc_fesetenv): Remove.
44423 (libc_feupdateenv_test): Remove.
44424 (libc_feupdateenv, libc_feholdsetround): Remove.
44425 (libc_feresetround): Remove.
44427 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44428 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44430 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44431 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44432 (libc_feupdateenv_testl): New.
44433 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44434 (libc_feupdateenv_testf): New.
44435 (libc_feupdateenv): Use libc_feupdateenv_test.
44436 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44437 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44439 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44440 (libc_feholdsetroundf, libc_feholdsetroundl): New.
44441 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44442 (libc_feresetround_noex): New.
44443 (libc_feresetround_noexf): New.
44444 (libc_feresetround_noexl): New.
44445 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44446 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44447 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44448 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44450 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44451 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44453 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44454 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44455 SET_RESTORE_ROUND_NOEX.
44456 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44457 SET_RESTORE_ROUND_NOEXF.
44458 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44459 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44460 (libc_feholdsetroundf): New.
44461 (libc_feresetround, libc_feresetroundf): New.
44463 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44464 (libc_feholdexcept_setround_53bit): Convert from macro to function.
44465 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
44467 * sysdeps/generic/math_private.h: Include <fenv.h>.
44468 (default_libc_feholdexcept): New.
44469 (default_libc_feholdexcept_setround): New.
44470 (default_libc_fesetenv, default_libc_feupdateenv): New.
44471 (libc_feholdexcept): Only define if undefined.
44472 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44473 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44474 (libc_feholdexcept_setroundl): Likewise.
44475 (libc_feholdexcept_setround_53bit): Likewise.
44476 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44477 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44478 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44479 (libc_feupdateenv_53bit): Likewise.
44480 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44481 (libc_feholdexcept): Convert from macro to inline function.
44482 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44483 (libc_fesetenv, libc_feupdateenv): Likewise.
44485 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44486 not previously defined.
44487 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44488 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44489 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44490 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44491 * sysdeps/ieee754/flt-32/math_private.h: New file.
44492 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44493 math_private.h below SET_FLOAT_WORD.
44494 (__isnan, __isinf_ns, __finite): Remove.
44495 (__isnanf, __isinf_nsf, __finitef): Remove.
44497 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
44499 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44501 2012-03-17 David S. Miller <davem@davemloft.net>
44504 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44507 2012-03-16 David S. Miller <davem@davemloft.net>
44509 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44513 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44515 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44516 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44517 sysdep_routines when subdir is sysvipc.
44518 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44519 __getshmlba helper.
44521 * sysdeps/sparc/fpu/libm-test/ulps: Update.
44523 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44525 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44528 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44530 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44531 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44532 (__lround): Renamed to ...
44533 (__llround): This. Replace long int with long long int.
44534 Define lround functions as aliases of llround functions.
44535 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44537 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44539 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44540 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
44541 adresses to uintptr_t. Replace "long int" and "unsigned long
44542 int" with "greg_t" on va_arg.
44544 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44546 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44547 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44549 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44550 Move e_machine check before EI_CLASS check. Handle x32
44551 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44552 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44553 SKIP_EM_IA_64 and include
44554 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44556 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44557 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44558 (add_system_dir): New macro.
44560 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44561 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44563 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44574 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44576 * math/w_j0f.c (j0f): Likewise.
44578 * math/w_j0l.c (__j0l): Likewise.
44580 * math/w_j1.c (j1): Likewise.
44582 * math/w_j1f.c (j1f): Likewise.
44584 * math/w_j1l.c (__j1l): Likewise.
44586 * math/w_jn.c (jn): Likewise.
44588 * math/w_jnf.c (jnf): Likewise.
44590 * math/w_jnl.c (__jnl): Likewise.
44592 * math/libm-test.inc (j0_test): Add more tests.
44593 (j1_test): Likewise.
44594 (jn_test): Likewise. Add trailing semicolon to existing test.
44595 (y0_test): Likewise.
44596 (y1_test): Likewise.
44597 * sysdeps/i386/fpu/libm-test-ulps: Update.
44598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44602 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44603 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44604 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44605 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44606 (__tanl): Set errno for infinite argument.
44607 * sysdeps/i386/fpu/mptan.c: Remove.
44608 * sysdeps/i386/fpu/s_tan.S: Likewise.
44609 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44610 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44611 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44612 * math/libm-test.inc (tan_test): Add more tests and enable more
44613 tests for double and long double.
44614 * sysdeps/i386/fpu/libm-test-ulps: Update.
44615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44617 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44619 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44620 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44622 2012-03-16 Roland McGrath <roland@hack.frob.com>
44624 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44625 * configure.in: Use it for both main tree and add-ons.
44626 * configure: Regenerated.
44628 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44630 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44632 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44634 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44638 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44639 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44640 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44641 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44642 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44644 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44645 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44646 != 0 for prec == 2.
44647 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44648 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44649 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44650 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44651 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44652 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44653 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44654 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44655 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44656 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44657 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44658 * math/libm-test.inc (cos_test): Add more tests and enable more
44659 tests for long double.
44660 (sin_test): Likewise.
44661 (sincos_test): Likewise.
44662 * sysdeps/i386/fpu/libm-test-ulps: Update.
44663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44665 2012-03-16 David S. Miller <davem@davemloft.net>
44667 * sysdeps/sparc/fpu/math_private.h: New file.
44669 2012-03-15 David S. Miller <davem@davemloft.net>
44671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44674 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44676 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44677 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44678 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44679 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44680 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44681 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44685 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44686 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44688 * sysdeps/sparc/sparc-ifunc.h: New file.
44689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44715 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44716 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44717 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44719 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44720 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44721 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44722 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44723 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44724 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44725 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44726 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44727 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44728 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44729 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44730 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44731 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44732 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44734 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44736 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44738 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44740 2012-03-15 Andreas Jaeger <aj@suse.de>
44743 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44744 ieee754/flt-32 implementation for sin, cos and sincos.
44745 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44746 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44747 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44748 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44749 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44750 ieee754/flt-32 implementation for tan.
44752 * math/libm-test.inc (cos_test): Enable some large input tests for
44754 (sin_test): Likewise.
44755 (sincos_test): Likewise.
44756 (tan_test): Add tests for large input.
44758 * sysdeps/i386/fpu/libm-test-ulps: Update.
44760 2012-03-15 Andreas Jaeger <aj@suse.de>
44763 * math/libm-test.inc (cos_test): Add more test cases.
44764 (sin_test): Likewise.
44765 (sincos_test): Likewise.
44767 2012-03-15 Andreas Jaeger <aj@suse.de>
44770 * math/libm-test.inc (cos_test): Add a test case for large input
44772 (sin_test): Likewise.
44773 (sincos_test): Likewise.
44775 2012-03-15 Andreas Jaeger <aj@suse.de>
44776 Joseph Myers <joseph@codesourcery.com>
44779 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44780 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44781 * sysdeps/i386/fpu/branred.c: Likewise.
44782 * sysdeps/i386/fpu/dosincos.c: Likewise.
44783 * sysdeps/i386/fpu/mpa.c: Likewise.
44784 * sysdeps/i386/fpu/s_cos.S: Likewise.
44785 * sysdeps/i386/fpu/s_sin.S: Likewise.
44786 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44787 * sysdeps/i386/fpu/sincos32.c: Likewise.
44789 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44791 (libc_feupdateenv_53bit): Define.
44792 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44794 (libc_feupdateenv_53bit): Define.
44796 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44797 53 bit (without extend i386 double precision).
44799 * math/libm-test.inc (sincos_test): Add tests for large input.
44803 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44805 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44807 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44809 2012-03-15 David S. Miller <davem@davemloft.net>
44811 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44812 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44813 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44814 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44815 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44816 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44817 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44818 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44819 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44820 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44821 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44822 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44823 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44824 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44825 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44837 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44838 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44839 fmin/fmax sysdep routines.
44840 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44842 2012-03-14 David S. Miller <davem@davemloft.net>
44844 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44845 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44846 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44847 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44848 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44849 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44850 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44851 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44852 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44853 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44854 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44855 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44856 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44857 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44858 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44859 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44860 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44861 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44862 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44863 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44864 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44865 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44866 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44867 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44868 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44869 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44870 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44871 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44872 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44889 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44891 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44913 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44916 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44919 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44921 * sysdeps/sparc/configure.in: New file.
44922 * sysdeps/sparc/configure: Generate.
44923 * configure.in (libc_cv_sparc_as_vis3): Substitute.
44924 * configure: Regenerate.
44925 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44926 * config.make.in (have-as-vis3): New.
44927 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44928 available use -Av9d instead of -Av9a.
44929 * sysdeps/sparc/sparc64/Makefile: Likewise.
44930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44939 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44940 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44941 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44942 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44943 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44945 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44946 fzeros/fnegs to load 0x80000000 into a float register instead of
44948 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44950 2012-03-14 Joseph Myers <joseph@codesourcery.com>
44952 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44954 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44955 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44956 ($(inst_includedir)/bits/syscall.h): Remove rule.
44957 ($(objpfx)bits/syscall.d): Include instead of
44958 $(objpfx)syscall-list.d.
44959 (generated): Change syscall-list.h and syscall-list.d to
44960 bits/syscall.h and bits/syscall.d.
44962 2012-03-14 Roland McGrath <roland@hack.frob.com>
44965 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44967 2012-03-14 Joseph Myers <joseph@codesourcery.com>
44970 * math/s_csqrt.c: Include <float.h>.
44971 (__csqrt): Scale large or subnormal inputs.
44972 * math/s_csqrtf.c: Likewise.
44973 * math/s_csqrtl.c: Likewise.
44974 * math/libm-test.inc (csqrt_test): Add more tests.
44975 * sysdeps/i386/fpu/libm-test-ulps: Update.
44976 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44979 * math/libm-test.inc (hypot_test): Add more tests.
44981 2012-03-13 David S. Miller <davem@davemloft.net>
44984 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44985 double-precision for the calculation instead of scaling.
44987 2012-03-13 Joseph Myers <joseph@codesourcery.com>
44989 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44990 manipulate bits before adding and subtracting TWO52[sx].
44991 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44992 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44994 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44996 2012-03-13 David S. Miller <davem@davemloft.net>
44998 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44999 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45001 rtld-global-offsets.h
45002 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45004 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45007 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45009 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45010 'err' in the ifdef scope in which it is actually used.
45012 * nss/nss_db/db-init.c: Include string.h
45014 2012-03-12 David S. Miller <davem@davemloft.net>
45016 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45017 masking out of the most significant byte of random value used.
45018 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45019 Fix coding style in previous change.
45021 * sysdeps/unix/sysv/linux/kernel-features.h
45022 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45023 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45025 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45028 2012-03-11 David S. Miller <davem@davemloft.net>
45030 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45031 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45032 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45033 for 'resultvar' otherwise things get truncated on 64-bit.
45035 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45036 Fix masking out of the most significant byte of random value used.
45038 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45040 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45042 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45044 2012-03-09 David S. Miller <davem@davemloft.net>
45046 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45047 variables with appropriate CPP guards.
45048 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45049 from the frame pointer, not the stack pointer. Correct layout
45050 comments. Fix test on resulting framesize and the management of
45051 the outregs buffer for pltexit. Preserve floating point return
45052 values across _dl_call_pltexit call.
45053 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45054 framesize and the management of the outregs buffer for pltexit.
45055 Preserve floating point return values across _dl_call_pltexit
45057 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45058 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45059 (la_sparc64_gnu_pltexit): New functions.
45060 (print_exit): Fix format string for return register value.
45062 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45064 * sunrpc/Makefile (others): Add rpcgen.
45065 ($(objpfx)rpcgen): Remove special build rule and dependency on
45067 * sunrpc/rpcgen.c: New file.
45069 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45072 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45073 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45074 * sysdeps/i386/crti.S: Likewise.
45075 * sysdeps/i386/crtn.S: Likewise.
45076 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45077 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45078 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45079 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45080 * sysdeps/sh/crti.S: Likewise.
45081 * sysdeps/sh/crtn.S: Likewise.
45082 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45085 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45087 * locale/programs/locfile-kw.gperf: Likewise.
45088 * locale/programs/charmap-kw.h: Regenerated.
45089 * locale/programs/locfile-kw.h: Likewise.
45092 * intl/plural.y: Replace FSF snail mail address with URL.
45093 * intl/plural.c: Regenerated.
45095 2012-03-09 Richard Henderson <rth@twiddle.net>
45097 * include/math_private.h: Remove file.
45098 * math/math_private.h: Move file ...
45099 * sysdeps/generic/math_private.h: ... here.
45101 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45102 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45103 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45105 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45106 and <math_private.h>.
45107 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45108 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45109 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45110 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45111 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45112 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45113 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45114 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45115 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45116 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45117 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45118 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45119 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45120 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45121 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45122 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45123 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45124 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45125 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45126 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45127 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45128 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45129 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45130 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45131 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45132 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45133 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45134 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45135 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45136 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45137 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45138 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45139 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45140 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45141 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45142 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45143 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45144 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45145 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45146 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45147 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45148 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45149 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45150 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45151 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45152 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45153 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45154 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45155 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45156 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45157 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45158 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45159 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45160 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45161 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45162 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45163 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45164 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45165 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45166 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45167 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45168 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45169 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45170 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45171 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45172 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45173 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45174 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45175 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45176 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45177 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45178 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45179 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45180 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45181 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45182 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45183 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45184 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45185 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45186 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45187 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45188 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45189 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45190 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45191 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45192 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45193 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45194 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45195 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45196 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45197 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45198 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45199 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45200 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45201 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45202 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45203 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45204 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45205 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45206 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45207 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45208 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45209 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45210 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45211 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45212 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45213 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45214 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45215 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45216 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45217 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45218 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45219 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45220 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45221 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45222 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45223 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45224 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45225 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45226 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45227 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45228 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45229 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45230 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45231 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45232 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45233 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45234 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45235 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45236 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45237 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45238 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45239 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45240 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45241 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45242 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45243 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45244 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45245 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45246 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45247 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45248 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45249 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45250 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45251 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45252 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45253 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45254 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45255 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45256 * sysdeps/ieee754/k_standard.c: Likewise.
45257 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45258 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45259 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45260 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45261 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45262 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45263 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45264 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45265 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45266 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45267 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45268 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45269 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45270 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45271 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45272 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45273 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45274 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45275 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45276 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45277 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45278 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45279 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45280 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45281 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45282 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45283 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45284 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45285 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45286 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45287 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45288 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45289 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45290 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45291 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45292 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45293 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45294 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45295 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45296 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45297 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45298 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45299 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45300 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45301 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45302 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45303 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45304 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45305 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45306 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45307 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45308 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45309 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45310 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45311 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45312 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45313 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45314 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45315 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45316 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45317 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45318 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45319 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45320 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45321 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45322 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45323 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45324 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45325 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45326 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45327 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45328 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45329 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45330 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45331 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45332 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45333 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45334 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45335 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45336 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45337 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45338 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45339 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45340 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45341 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45342 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45343 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45344 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45345 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45346 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45347 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45348 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45349 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45350 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45351 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45352 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45353 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45354 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45355 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45356 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45357 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45358 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45359 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45360 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45361 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45362 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45363 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45364 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45365 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45366 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45367 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45368 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45369 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45370 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45371 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45372 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45373 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45374 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45375 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45376 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45377 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45378 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45379 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45380 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45381 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45382 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45383 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45384 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45385 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45386 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45387 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45388 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45389 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45390 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45391 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45392 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45393 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45394 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45395 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45396 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45397 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45398 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45399 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45400 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45401 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45402 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45403 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45404 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45405 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45406 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45407 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45408 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45409 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45410 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45411 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45412 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45413 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45414 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45415 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45416 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45417 * sysdeps/ieee754/s_lib_version.c: Likewise.
45418 * sysdeps/ieee754/s_matherr.c: Likewise.
45419 * sysdeps/ieee754/s_signgam.c: Likewise.
45420 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45421 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45422 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45423 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45424 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45425 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45426 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45427 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45428 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45429 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45430 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45431 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45432 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45433 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45434 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45435 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45436 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45437 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45438 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45439 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45440 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45442 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45444 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45445 * sunrpc/rpc_main.c: Likewise.
45446 * sunrpc/rpc_svcout.c: Likewise.
45448 2012-03-09 David S. Miller <davem@davemloft.net>
45450 * include/math_private.h: New file.
45452 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45454 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45455 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45456 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45457 from <bits/socket_type.h>.
45458 (enum __socket_type): Don't define here.
45459 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45460 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45461 bits/socket_type.h.
45464 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45465 checking __USE_GNU.
45467 * Makerules ($(inst_includedir)/%.h): New rule.
45468 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45469 (install-others): Remove variable setting.
45470 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45472 2012-03-08 Richard Henderson <rth@twiddle.net>
45474 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45475 from macro to inline function; merge with the
45476 !__LIBC_INTERNAL_MATH_INLINES version.
45477 (__ieee754_sqrtf): Likewise.
45479 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45480 to inline function.
45481 (__rintf, __floor, __floorf): Likewise.
45483 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45484 macro to inline function.
45485 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45487 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45488 not <math/math_private.h>.
45490 2012-03-08 David S. Miller <davem@davemloft.net>
45492 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45494 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45496 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
45498 * resolv/gai_misc.c (handle_requests): Fix struct timespec
45500 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45501 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45503 2012-03-08 Ulrich Drepper <drepper@gmail.com>
45505 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
45506 be defined individually, they must be defined as a block. Define
45507 S for printing a string instead of hidint the different by using a
45508 macro for adding the 'l'.
45509 * stdio-common/tst-fphex-wide.c: Adjust.
45511 2012-03-07 Marek Polacek <polacek@redhat.com>
45513 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45515 2012-03-08 Marek Polacek <polacek@redhat.com>
45518 * stdio-common/Makefile (tests): Add tst-fphex-wide.
45519 * stdio-common/tst-fphex.c: Define a few macros to make the
45520 test reusable. Use them.
45521 * stdio-common/tst-fphex-wide.c: New file.
45523 2012-03-08 Joseph Myers <joseph@codesourcery.com>
45526 * manual/macros.texi (gnusystems): New macro.
45527 (nongnusystems): Likewise.
45528 (gnulinuxhurdsystems): Likewise.
45529 (gnuhurdsystems): Likewise..
45530 (gnulinuxsystems): Likewise.
45531 * manual/charset.texi: Use new macros or @theglibc{} to refer to
45532 variants of the GNU system, not "GNU system".
45533 * manual/conf.texi: Likewise.
45534 * manual/errno.texi: Likewise. Update example of errno macro
45536 * manual/filesys.texi: Likewise.
45537 (getumask): Document as specific to GNU/Hurd.
45538 * manual/install.texi: Likewise. Reword some references to
45540 * manual/intro.texi: Likewise.
45541 * manual/io.texi: Likewise.
45542 (File Name Portability): Detail which constraints are inapplicable
45543 to all GNU systems and which are only inapplicable to GNU/Hurd.
45544 * manual/job.texi: Likewise.
45545 * manual/llio.texi: Likewise.
45546 (O_NOCTTY): Document as present on GNU/Linux.
45547 * manual/maint.texi: Likewise.
45548 * manual/memory.texi: Likewise.
45549 * manual/pattern.texi: Likewise.
45550 * manual/pipe.texi: Likewise.
45551 * manual/process.texi: Likewise.
45552 * manual/resource.texi: Likewise.
45553 (RUSAGE_CHILDREN): Remove statement about specifying a particular
45555 * manual/setjmp.texi: Likewise.
45556 * manual/signal.texi: Likewise.
45557 * manual/startup.texi: Likewise.
45558 * manual/stdio.texi: Likewise.
45559 * manual/terminal.texi: Likewise.
45560 (ONLCR): Document as POSIX.
45561 (OXTABS): Document availability on GNU/Linux as XTABS.
45562 (ONOEOT): Document availability separately from other bits.
45563 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45564 * manual/time.texi: Likewise.
45565 * manual/users.texi: Likewise.
45566 * INSTALL: Regenerated.
45567 * sysdeps/gnu/errlist.c: Regenerated.
45569 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45570 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45571 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45573 * configure: Regenerated.
45575 2012-03-07 Joseph Myers <joseph@codesourcery.com>
45577 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45578 default includes instead of AC_HEADER_CHECK.
45579 * sysdeps/i386/configure: Regenerated.
45582 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45583 * math/s_cacoshf.c (__cacoshf): Likewise.
45584 * math/s_cacoshl.c (__cacoshl): Likewise.
45585 * math/s_casinh.c (__casinh): Set signs of result from argument.
45586 * math/s_casinhf.c (__casinhf): Likewise.
45587 * math/s_casinhl.c (__casinhl): Likewise.
45588 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45589 (casinh_test): Add more tests.
45590 * sysdeps/i386/fpu/libm-test-ulps: Update.
45591 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45593 2012-03-07 Ulrich Drepper <drepper@gmail.com>
45595 * po/zh_TW.po: Update from translation team.
45597 * login/Makefile (distribute): Remove variable.
45598 * catgets/Makefile: Likewise.
45599 * mach/Makefile: Likewise.
45600 * malloc/Makefile: Likewise.
45601 * misc/Makefile: Likewise.
45602 * iconv/Makefile: Likewise.
45603 * nscd/Makefile: Likewise.
45604 * hurd/Makefile: Likewise.
45605 * manual/Makefile: Likewise.
45606 * locale/Makefile: Likewise.
45607 * intl/Makefile: Likewise.
45608 * conform/Makefile: Likewise.
45609 * nss/Makefile: Likewise.
45610 * time/Makefile: Likewise.
45611 * soft-fp/Makefile: Likewise.
45612 * dirent/Makefile: Likewise.
45613 * gmon/Makefile: Likewise.
45614 * po/Makefile: Likewise.
45615 * rt/Makefile: Likewise.
45616 * socket/Makefile: Likewise.
45617 * math/Makefile: Likewise.
45618 * signal/Makefile: Likewise.
45619 * debug/Makefile: Likewise.
45620 * elf/Makefile: Likewise.
45621 * timezone/Makefile: Likewise.
45622 * stdlib/Makefile: Likewise.
45623 * iconvdata/Makefile: Likewise.
45624 * sunrpc/Makefile: Likewise.
45625 * io/Makefile: Likewise.
45626 * argp/Makefile: Likewise.
45627 * inet/Makefile: Likewise.
45628 * hesiod/Makefile: Likewise.
45629 * grp/Makefile: Likewise.
45630 * csu/Makefile: Likewise.
45631 * wctype/Makefile: Likewise.
45632 * crypt/Makefile: Likewise.
45633 * libio/Makefile: Likewise.
45634 * string/Makefile: Likewise.
45635 * nis/Makefile: Likewise.
45636 * resolv/Makefile: Likewise.
45637 * stdio-common/Makefile: Likewise.
45638 * wcsmbs/Makefile: Likewise.
45639 * dlfcn/Makefile: Likewise.
45640 * posix/Makefile: Likewise.
45643 * timezone/Makefile: Don't install timezone files, just the programs
45646 2012-03-06 Ulrich Drepper <drepper@gmail.com>
45648 * nss/databases.def: Add missing gshadow entry.
45650 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45652 2012-03-06 Marek Polacek <polacek@redhat.com>
45655 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45656 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45657 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45658 * stdio-common/tst-long-dbl-fphex.c: New file.
45660 2012-03-06 David S. Miller <davem@davemloft.net>
45662 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45663 (set_obp_int): New function.
45664 (get_obp_int): New function.
45665 (__get_clockfreq_via_dev_openprom): Likewise.
45666 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45667 Avoid unused variable warnings on 'val' and use builtin_expect.
45668 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45670 (INLINE_CLONE_SYSCALL): Likewise.
45672 2012-03-05 David S. Miller <davem@davemloft.net>
45674 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45676 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45678 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45680 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45681 only for |x| >= 40.
45682 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45684 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
45686 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45687 Replace gettimeofday with __vdso_gettimeofday.
45689 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45690 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45691 __vdso_clock_gettime and __vdso_getcpu.
45693 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45694 time with __vdso_time.
45696 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45698 * manual/lang.texi (size_t): Note types to which size_t may be
45699 equivalent with the GNU C Library, but do not describe when
45700 differences between them are significant.
45702 2012-03-05 Andreas Jaeger <aj@suse.de>
45704 * sysdeps/i386/fpu/libm-test-ulps: Update.
45706 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45709 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45710 (__ieee754_pow): Save and restore rounding mode and use
45711 round-to-nearest for main computations.
45712 * math/libm-test.inc (pow_test_tonearest): New function.
45713 (pow_test_towardzero): Likewise.
45714 (pow_test_downward): Likewise.
45715 (pow_test_upward): Likewise.
45716 (main): Call the new functions.
45717 * sysdeps/i386/fpu/libm-test-ulps: Update.
45718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45721 * math/libm-test.inc (cosh_test_tonearest): New function.
45722 (cosh_test_towardzero): Likewise.
45723 (cosh_test_downward): Likewise.
45724 (cosh_test_upward): Likewise.
45725 (sinh_test_tonearest): Likewise.
45726 (sinh_test_towardzero): Likewise.
45727 (sinh_test_downward): Likewise.
45728 (sinh_test_upward): Likewise.
45729 (main): Call the new functions.
45730 * sysdeps/i386/fpu/libm-test-ulps: Update.
45731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45733 2012-03-05 Tom de Vries <tom@codesourcery.com>
45735 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45736 default stack guard is set in last bytes.
45737 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45739 2012-03-05 Kees Cook <keescook@chromium.org>
45741 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45744 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45745 possibly allocate from heap instead of stack.
45746 * stdio-common/bug-vfprintf-nargs.c: New file.
45747 * stdio-common/Makefile (tests): Add nargs overflow test.
45749 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45751 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45753 2012-03-03 Marek Polacek <polacek@redhat.com>
45755 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45756 * math/math_private.h: Likewise.
45757 * stdlib/tst-strtod.c: Likewise.
45758 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45759 * sysdeps/x86_64/bits/atomic.h: Likewise.
45761 2012-03-02 David S. Miller <davem@davemloft.net>
45763 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45764 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45765 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45766 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45767 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45768 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45769 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45770 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45772 2012-03-02 Roland McGrath <roland@hack.frob.com>
45775 * manual/examples/README: New file, says the example source files
45776 can be used under GPL>=2.
45777 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45778 line containing just "*/".
45779 * manual/examples/add.c: Add copyright header (GPL>=2).
45780 * manual/examples/argp-ex1.c: Likewise.
45781 * manual/examples/argp-ex2.c: Likewise.
45782 * manual/examples/argp-ex3.c: Likewise.
45783 * manual/examples/argp-ex4.c: Likewise.
45784 * manual/examples/atexit.c: Likewise.
45785 * manual/examples/db.c: Likewise.
45786 * manual/examples/dir.c: Likewise.
45787 * manual/examples/dir2.c: Likewise.
45788 * manual/examples/execinfo.c: Likewise.
45789 * manual/examples/filecli.c: Likewise.
45790 * manual/examples/filesrv.c: Likewise.
45791 * manual/examples/fmtmsgexpl.c: Likewise.
45792 * manual/examples/genpass.c: Likewise.
45793 * manual/examples/inetcli.c: Likewise.
45794 * manual/examples/inetsrv.c: Likewise.
45795 * manual/examples/isockad.c: Likewise.
45796 * manual/examples/longopt.c: Likewise.
45797 * manual/examples/memopen.c: Likewise.
45798 * manual/examples/memstrm.c: Likewise.
45799 * manual/examples/mkfsock.c: Likewise.
45800 * manual/examples/mkisock.c: Likewise.
45801 * manual/examples/mygetpass.c: Likewise.
45802 * manual/examples/pipe.c: Likewise.
45803 * manual/examples/popen.c: Likewise.
45804 * manual/examples/rprintf.c: Likewise.
45805 * manual/examples/search.c: Likewise.
45806 * manual/examples/select.c: Likewise.
45807 * manual/examples/setjmp.c: Likewise.
45808 * manual/examples/sigh1.c: Likewise.
45809 * manual/examples/sigusr.c: Likewise.
45810 * manual/examples/stpcpy.c: Likewise.
45811 * manual/examples/strdupa.c: Likewise.
45812 * manual/examples/strftim.c: Likewise.
45813 * manual/examples/strncat.c: Likewise.
45814 * manual/examples/subopt.c: Likewise.
45815 * manual/examples/swapcontext.c: Likewise.
45816 * manual/examples/termios.c: Likewise.
45817 * manual/examples/testopt.c: Likewise.
45818 * manual/examples/testpass.c: Likewise.
45819 * manual/examples/timeval_subtract.c: Likewise.
45822 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45824 * manual/timeval_subtract.c.texi: ... here, new file.
45826 2012-03-02 David S. Miller <davem@davemloft.net>
45828 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45830 2012-03-02 Joseph Myers <joseph@codesourcery.com>
45833 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45834 (__sin): Save and restore rounding mode and use round-to-nearest
45835 for all computations.
45836 (__cos): Save and restore rounding mode and use round-to-nearest
45837 for all computations.
45838 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45840 (tan): Save and restore rounding mode and use round-to-nearest for
45842 * math/libm-test.inc (cos_test_tonearest): New function.
45843 (cos_test_towardzero): Likewise.
45844 (cos_test_downward): Likewise.
45845 (cos_test_upward): Likewise.
45846 (sin_test_tonearest): Likewise.
45847 (sin_test_towardzero): Likewise.
45848 (sin_test_downward): Likewise.
45849 (sin_test_upward): Likewise.
45850 (tan_test_tonearest): Likewise.
45851 (tan_test_towardzero): Likewise.
45852 (tan_test_downward): Likewise.
45853 (tan_test_upward): Likewise.
45854 (main): Call the new functions.
45855 * sysdeps/i386/fpu/libm-test-ulps: Update.
45856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45859 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45860 small n, then large n, before computing and testing k+n.
45861 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45862 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45864 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45866 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45867 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45868 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45869 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45870 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45871 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45872 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45873 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45874 * math/libm-test.inc (scalbn_test): Add more tests.
45875 (scalbln_test): Likewise.
45877 * manual/filesys.texi (mode_t): Describe constraints on size and
45878 signedness, not exact equivalence to a particular type.
45880 (ino64_t): Likewise.
45882 (nlink_t): Likewise.
45883 (blkcnt_t): Likewise.
45884 (blkcnt64_t): Likewise.
45885 * manual/llio.texi (off_t): Likewise.
45888 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45889 (__ieee754_exp): Save and restore rounding mode and use
45890 round-to-nearest for all computations.
45891 * math/libm-test.inc (exp_test_tonearest): New function.
45892 (exp_test_towardzero): Likewise.
45893 (exp_test_downward): Likewise.
45894 (exp_test_upward): Likewise.
45895 (main): Call the new functions.
45896 * sysdeps/i386/fpu/libm-test-ulps: Update.
45897 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45899 2012-03-01 Chris Demetriou <cgd@google.com>
45901 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45902 have predictable order.
45904 2012-03-01 David S. Miller <davem@davemloft.net>
45906 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45908 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45909 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45910 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45911 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45913 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45914 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45915 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45916 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45917 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45918 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45919 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45920 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45921 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45923 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45925 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45926 * sysdeps/sparc/fpu/libm-test-ulps: to here.
45927 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45929 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45930 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45931 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45932 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45933 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45934 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45935 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45936 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45937 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45938 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45939 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45940 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45941 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45942 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45943 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45944 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45945 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45946 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45947 * sysdeps/sparc/elf/configure: Regenerated.
45949 2012-03-01 Joseph Myers <joseph@codesourcery.com>
45951 * configure.in (AS, LD): Require binutils 2.20 or later.
45952 * configure: Regenerated.
45953 * manual/install.texi (Tools for Compilation): Give binutils 2.20
45954 as required minimum version.
45955 * INSTALL: Regenerated.
45959 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45960 before squaring exponent.
45961 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45962 bottom long double and 27 bits of top long double before squaring
45964 * math/libm-test.inc (erfc_test): Add more tests.
45965 * sysdeps/i386/fpu/libm-test-ulps: Update.
45966 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45967 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45969 2012-03-01 Kai Tietz <ktietz@redhat.com>
45971 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45972 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45973 containing bit-fields.
45974 * soft-fp/extended.h (_FP_UNION_E): Likewise.
45975 * soft-fp/single.h (_FP_UNION_S): Likewise.
45976 * soft-fp/double.h (_FP_UNION_D): Likewise.
45978 2012-02-29 Joseph Myers <joseph@codesourcery.com>
45981 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45982 not include ../strcmp.S.
45983 [USE_AS_STRNCASECMP_L]: Likewise.
45984 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45985 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45986 * sysdeps/i386/i686/multiarch/strncase_l-c.c
45987 (__strncasecmp_l_ia32): Define as alias to
45988 __strncasecmp_l_nonascii.
45991 * math/libm-test.inc (expm1_test): Add test for bug 5794.
45992 * sysdeps/i386/fpu/libm-test-ulps: Update.
45993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45995 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45996 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45998 2012-02-29 Jeff Law <law@redhat.com>
46000 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46001 out of bounds read.
46003 2012-02-29 Marek Polacek <polacek@redhat.com>
46006 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46007 * elf/Makefile: Add rules to run tst-unused-dep.out.
46009 2012-02-28 David S. Miller <davem@davemloft.net>
46011 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46012 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46013 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46014 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46015 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46016 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46018 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46020 * math/libm-test.inc (llround_test): Move one test from
46021 lround_test. Use TEST_f_L in moved test.
46022 (lround_test): Move misplaced test to llround_test. Add testcase
46025 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46027 * sysdeps/x86_64/fpu/e_expf.S: New file.
46028 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46030 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46033 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46034 of remain_len that may cause incomplete multi-byte character and
46036 * posix/bug-regex33.c: New file.
46037 * posix/Makefile (tests): Add bug-regex33.
46039 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46041 * manual/macros.texi: New file.
46042 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46043 * manual/libc.texinfo: Include macros.texi.
46044 * manual/creatute.texi: Likewise.
46045 * manual/install.texi: Likewise.
46046 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46047 @glibcadj{} in references to the GNU C Library.
46048 * manual/charset.texi: Likewise.
46049 * manual/conf.texi: Likewise.
46050 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46051 when not using those macros.
46052 * manual/creature.texi: Likewise.
46053 * manual/crypt.texi: Likewise.
46054 * manual/errno.texi: Likewise.
46055 * manual/filesys.texi: Likewise.
46056 * manual/header.texi: Likewise.
46057 * manual/install.texi: Likewise.
46058 * manual/intro.texi: Likewise.
46059 * manual/io.texi: Likewise.
46060 * manual/job.texi: Likewise.
46061 * manual/lang.texi: Likewise.
46062 * manual/libc.texiinfo: Likewise.
46063 * manual/llio.texi: Likewise.
46064 * manual/locale.texi: Likewise.
46065 * manual/maint.texi: Likewise.
46066 * manual/math.texi: Likewise.
46067 * manual/memory.texi: Likewise.
46068 * manual/message.texi: Likewise.
46069 * manual/nss.texi: Likewise.
46070 * manual/pattern.texi: Likewise.
46071 * manual/process.texi: Likewise.
46072 * manual/resource.texi: Likewise.
46073 * manual/search.texi: Likewise.
46074 * manual/setjmp.texi: Likewise.
46075 * manual/signal.texi: Likewise.
46076 * manual/socket.texi: Likewise.
46077 * manual/startup.texi: Likewise.
46078 * manual/stdio.texi: Likewise.
46079 * manual/string.texi: Likewise.
46080 * manual/sysinfo.texi: Likewise.
46081 * manual/syslog.texi: Likewise.
46082 * manual/terminal.texi: Likewise.
46083 * manual/time.texi: Likewise.
46084 * manual/users.texi: Likewise.
46085 * INSTALL: Regenerated.
46086 * NOTES: Regenerated.
46087 * sysdeps/gnu/errlist.c: Regenerated.
46089 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46091 * include/dirent.h: Include <dirstream.h> before
46094 2012-02-28 David S. Miller <davem@davemloft.net>
46096 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46097 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46098 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46099 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46101 2012-02-27 David S. Miller <davem@davemloft.net>
46103 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46104 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46105 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46106 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46109 frame pointer instead of stack pointer relative arg slot.
46110 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46111 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46112 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46114 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46117 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46119 2012-02-27 David S. Miller <davem@davemloft.net>
46121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46123 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46125 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46126 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46127 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46128 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46130 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46132 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46133 later. Allow versions 5-9.
46134 * configure: Regenerated.
46135 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46136 required minimum version and 4.6 as recommended version. Do not
46137 mention bugs in GCC 2.7 and 2.8.
46138 * INSTALL: Regenerated.
46140 2012-02-27 David S. Miller <davem@davemloft.net>
46142 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46143 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46144 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46146 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46147 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46148 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46149 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46151 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46152 manipulate bits before adding and subtracting TWO112[sx].
46153 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46155 2012-02-27 Roland McGrath <roland@hack.frob.com>
46158 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46159 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46160 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46161 being in POSIX, because they are in 1003.1-2008.
46163 * rt/tst-aio.c: Include <fcntl.h>.
46164 * rt/tst-aio7.c: Likewise.
46165 * rt/tst-aio64.c: Likewise.
46167 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46169 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46171 * manual/install.texi (--with-headers): Describe headers as
46172 interface headers, not private headers.
46173 (Specific advice for GNU/Linux systems): Describe use of headers
46174 from "make headers_install", not private headers from older
46176 * INSTALL: Regenerated.
46177 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46179 * sysdeps/unix/sysv/linux/configure: Regenerated.
46181 * manual/llio.texi (fclean): Remove documentation.
46183 * manual/Makefile (libc-texi-generated): New variable. Include
46185 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46186 $(libc-texi-generated), not duplicated list of files.
46187 (version.texi, stamp-version): New rules.
46188 (realclean): Remove $(libc-texi-generated), not individual files
46189 from that list. Do not remove dir-add.texinfo.
46190 * manual/libc.texinfo: Comment out uses of edition numbers and
46191 references to printed manual. Remove last-updated dates.
46192 (EDITION): Comment out.
46194 (VERSION, UPDATED): Remove.
46195 (version.texi): Include.
46197 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46199 * sysdeps/posix/spawni.c: Include <signal.h>.
46200 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46201 * sysdeps/pthread/aio_fsync.c: Likewise.
46203 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46205 * conform/Makefile (tests): Run only when not cross-compiling and
46206 when fast-check is not defined.
46208 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46209 * conform/data/limits.h-data: Fixes for POSIX2008.
46210 * conform/run-conformtest.sh: Run all tests.
46211 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46213 * include/bits/dlfcn.h: Likewise.
46214 * include/langinfo.h: Likewise.
46215 * include/monetary.h: Likewise.
46216 * include/sys/poll.h: Likewise.
46218 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46220 * posix/spawn.h: Define __need_sigset_t.
46221 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46222 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46223 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46224 to get sigevent_t only.
46225 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46226 only for __USE_GNU.
46227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46228 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46229 process_vm_writev only for __USE_GNU.
46230 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46232 * conform/Makefile: For now ignore errors from run-conformtest.
46233 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46234 POSIX to avoid namespace pollution. Don't prepend headers.
46235 * conform/data/aio.h-data: Fixes for POSIX testing.
46236 * conform/data/fcntl.h-data: Likewise.
46237 * conform/data/glob.h-data: Likewise.
46238 * conform/data/grp.h-data: Likewise.
46239 * conform/data/pthread.h-data: Likewise.
46240 * conform/data/pwd.h-data: Likewise.
46241 * conform/data/signal.h-data: Likewise.
46242 * conform/data/spawn.h-data: Likewise.
46243 * conform/data/stdio.h-data: Likewise.
46244 * conform/data/stdlib.h-data: Likewise.
46245 * conform/data/stropts.h-data: Likewise.
46246 * conform/data/sys/mman.h-data: Likewise.
46247 * conform/data/sys/stat.h-data: Likewise.
46248 * conform/data/sys/types.h-data: Likewise.
46249 * conform/data/sys/wait.h-data: Likewise.
46250 * conform/data/time.h-data: Likewise.
46251 * conform/data/unistd.h-data: Likewise.
46252 * conform/data/utime.h-data: Likewise.
46254 * io/sys/stat.h: fchmod was always in POSIX.
46255 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46256 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46257 * rt/aio.h: Define __need_timespec before including <time.h>.
46258 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46259 struct. Add forward declaration of pthread_attr_t and use it in
46261 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46262 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46263 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46264 always remove CLK_TCK definition.
46266 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46268 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46270 2012-02-25 Ulrich Drepper <drepper@gmail.com>
46272 * conform/run-conformtest.sh: New file.
46273 * conform/Makefile: Run run-conformtest for tests.
46274 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46277 * conform/data/uchar.h-data: New file.
46278 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46279 * conform/data/arpa/inet.h-data: Likewise.
46280 * conform/data/assert.h-data: Likewise.
46281 * conform/data/complex.h-data: Likewise.
46282 * conform/data/cpio.h-data: Likewise.
46283 * conform/data/ctype.h-data: Likewise.
46284 * conform/data/dirent.h-data: Likewise.
46285 * conform/data/dlfcn.h-data: Likewise.
46286 * conform/data/errno.h-data: Likewise.
46287 * conform/data/fcntl.h-data: Likewise.
46288 * conform/data/float.h-data: Likewise.
46289 * conform/data/fmtmsg.h-data: Likewise.
46290 * conform/data/fnmatch.h-data: Likewise.
46291 * conform/data/ftw.h-data: Likewise.
46292 * conform/data/glob.h-data: Likewise.
46293 * conform/data/grp.h-data: Likewise.
46294 * conform/data/iconv.h-data: Likewise.
46295 * conform/data/inttypes.h-data: Likewise.
46296 * conform/data/langinfo.h-data: Likewise.
46297 * conform/data/libgen.h-data: Likewise.
46298 * conform/data/limits.h-data: Likewise.
46299 * conform/data/locale.h-data: Likewise.
46300 * conform/data/math.h-data: Likewise.
46301 * conform/data/monetary.h-data: Likewise.
46302 * conform/data/mqueue.h-data: Likewise.
46303 * conform/data/ndbm.h-data: Likewise.
46304 * conform/data/net/if.h-data: Likewise.
46305 * conform/data/netdb.h-data: Likewise.
46306 * conform/data/netinet/in.h-data: Likewise.
46307 * conform/data/nl_types.h-data: Likewise.
46308 * conform/data/poll.h-data: Likewise.
46309 * conform/data/pthread.h-data: Likewise.
46310 * conform/data/pwd.h-data: Likewise.
46311 * conform/data/regex.h-data: Likewise.
46312 * conform/data/sched.h-data: Likewise.
46313 * conform/data/search.h-data: Likewise.
46314 * conform/data/semaphore.h-data: Likewise.
46315 * conform/data/setjmp.h-data: Likewise.
46316 * conform/data/signal.h-data: Likewise.
46317 * conform/data/spawn.h-data: Likewise.
46318 * conform/data/stdarg.h-data: Likewise.
46319 * conform/data/stdio.h-data: Likewise.
46320 * conform/data/stdlib.h-data: Likewise.
46321 * conform/data/string.h-data: Likewise.
46322 * conform/data/strings.h-data: Likewise.
46323 * conform/data/stropts.h-data: Likewise.
46324 * conform/data/sys/ipc.h-data: Likewise.
46325 * conform/data/sys/mman.h-data: Likewise.
46326 * conform/data/sys/msg.h-data: Likewise.
46327 * conform/data/sys/resource.h-data: Likewise.
46328 * conform/data/sys/select.h-data: Likewise.
46329 * conform/data/sys/sem.h-data: Likewise.
46330 * conform/data/sys/shm.h-data: Likewise.
46331 * conform/data/sys/socket.h-data: Likewise.
46332 * conform/data/sys/stat.h-data: Likewise.
46333 * conform/data/sys/statvfs.h-data: Likewise.
46334 * conform/data/sys/time.h-data: Likewise.
46335 * conform/data/sys/timeb.h-data: Likewise.
46336 * conform/data/sys/times.h-data: Likewise.
46337 * conform/data/sys/types.h-data: Likewise.
46338 * conform/data/sys/uio.h-data: Likewise.
46339 * conform/data/sys/un.h-data: Likewise.
46340 * conform/data/sys/utsname.h-data: Likewise.
46341 * conform/data/sys/wait.h-data: Likewise.
46342 * conform/data/syslog.h-data: Likewise.
46343 * conform/data/tar.h-data: Likewise.
46344 * conform/data/termios.h-data: Likewise.
46345 * conform/data/utime.h-data: Likewise.
46346 * conform/data/utmpx.h-data: Likewise.
46347 * conform/data/varargs.h-data: Likewise.
46348 * conform/data/wchar.h-data: Likewise.
46349 * conform/data/wctype.h-data: Likewise.
46350 * conform/data/wordexp.h-data: Likewise.
46352 * include/stropts.h: New file.
46353 * include/uchar.h: New file.
46354 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46355 * include/assert.h: Likewise.
46356 * include/ctype.h: Likewise.
46357 * include/dirent.h: Likewise.
46358 * include/dlfcn.h: Likewise.
46359 * include/fcntl.h: Likewise.
46360 * include/fnmatch.h: Likewise.
46361 * include/glob.h: Likewise.
46362 * include/grp.h: Likewise.
46363 * include/libio.h: Likewise.
46364 * include/locale.h: Likewise.
46365 * include/math.h: Likewise.
46366 * include/net/if.h: Likewise.
46367 * include/netdb.h: Likewise.
46368 * include/netinet/in.h: Likewise.
46369 * include/pthread.h: Likewise.
46370 * include/pwd.h: Likewise.
46371 * include/regex.h: Likewise.
46372 * include/sched.h: Likewise.
46373 * include/search.h: Likewise.
46374 * include/setjmp.h: Likewise.
46375 * include/signal.h: Likewise.
46376 * include/stdio.h: Likewise.
46377 * include/stdlib.h: Likewise.
46378 * include/string.h: Likewise.
46379 * include/sys/cdefs.h: Likewise.
46380 * include/sys/mman.h: Likewise.
46381 * include/sys/msg.h: Likewise.
46382 * include/sys/resource.h: Likewise.
46383 * include/sys/select.h: Likewise.
46384 * include/sys/socket.h: Likewise.
46385 * include/sys/stat.h: Likewise.
46386 * include/sys/statvfs.h: Likewise.
46387 * include/sys/time.h: Likewise.
46388 * include/sys/times.h: Likewise.
46389 * include/sys/uio.h: Likewise.
46390 * include/sys/utsname.h: Likewise.
46391 * include/sys/wait.h: Likewise.
46392 * include/termios.h: Likewise.
46393 * include/time.h: Likewise.
46394 * include/ulimit.h: Likewise.
46395 * include/unistd.h: Likewise.
46396 * include/utime.h: Likewise.
46397 * include/wchar.h: Likewise.
46398 * include/wctype.h: Likewise.
46399 * include/wordexp.h: Likewise.
46401 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46403 * time/time.h: TIME_UTC must be a macro.
46404 Make timespec_get available for ISO C11 only as well.
46406 2012-02-24 Ulrich Drepper <drepper@gmail.com>
46408 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46409 Reported by Peng Haitao <penght@cn.fujitsu.com>.
46411 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46413 * configure.in: Use -o not -a in test for unsupported multi-arch.
46415 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46417 * manual/texinfo.tex: Update to version 2012-01-19.16.
46419 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46421 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46423 2012-02-24 Roland McGrath <roland@hack.frob.com>
46426 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46427 * manual/fdl-1.3.texi: New file.
46428 * manual/fdl-1.1.texi: File removed.
46431 * manual/libc.texinfo (FDL_VERSION): New @set.
46432 Use it for mention of FDL in cover text.
46433 (Documentation License): Use it in @include file name.
46435 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46436 Roland McGrath <roland@hack.frob.com>
46439 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46440 (not LONG_LONG_MAX and LONG_LONG_MIN.
46441 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46442 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
46444 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46446 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46450 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46451 manipulate bits before adding and subtracting TWO23[sx].
46452 * math/libm-test.inc (nearbyint_test): Add more tests.
46454 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46457 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46458 bits before adding and subtracting TWO23[sx].
46459 * math/libm-test.inc (rint_test): Add more tests.
46460 (rint_test_tonearest): Likewise.
46461 (rint_test_towardzero): Likewise.
46462 (rint_test_downward): Likewise.
46463 (rint_test_upward: Likewise.
46465 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46468 * include/stdc-predef.h: New file. Extracted from features.h.
46469 * include/features.h: Include stdc-predef.h.
46470 * Makefile (headers): Add stdc-predef.h.
46471 * CONFORMANCE (Compiler limitations): Update.
46473 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46475 * manual/libc.texinfo (VERSION, UPDATED): Revert.
46477 2012-02-21 David S. Miller <davem@davemloft.net>
46479 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46480 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46482 2012-02-20 David S. Miller <davem@davemloft.net>
46484 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46485 using a normal save/restore sequence, rather than allocating a
46486 dummy stack frame just to store a frame pointer and restore.
46487 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46489 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46491 * manual/install.texi: Fix stray word in line-wrapped comment.
46493 2012-02-20 David S. Miller <davem@davemloft.net>
46495 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46496 both binutils and gcc support GOTDATA.
46498 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46499 "rd %pc" in the PIC register setup sequences.
46501 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46502 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46503 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46504 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46505 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46506 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46507 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46508 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46509 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46510 (SYSCALL_ERROR_HANDLER): Likewise.
46511 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46512 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46513 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46514 (SYSCALL_ERROR_HANDLER): Likewise.
46516 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46517 (HAVE_GCC_GOTDATA): New.
46518 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46519 relocation support in both binutils and gcc.
46520 * sysdeps/sparc/elf/configure: Regenerate.
46522 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46523 * sysdeps/sparc/sparc32/elf/configure: Delete.
46524 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46525 * sysdeps/sparc/sparc64/elf/configure: Delete.
46526 * sysdeps/sparc/elf/configure.in: New file.
46527 * sysdeps/sparc/elf/configure: Generate.
46529 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46530 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46531 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46532 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46533 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46535 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46537 * manual/install.texi: Do not mention specific glibc version
46539 * manual/libc.texinfo (VERSION, UPDATED): Update.
46540 (@copying): Use @copyright{} and range of years.
46542 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46545 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46546 [crti.S not in sysdirs] (generated): Do not append.
46547 [crti.S not in sysdirs] (omit-deps): Likewise.
46548 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46549 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46550 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46551 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46552 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46554 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46555 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46556 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46557 * csu/defs.awk: Remove file.
46558 * sysdeps/generic/initfini.c: Likewise.
46559 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46561 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46564 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46566 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46567 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46568 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46569 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46571 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46573 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46574 (__EPOLL_PACKED): Define to empty if not defined by
46576 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46577 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46580 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46582 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46583 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46584 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46585 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46587 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46588 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46591 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46593 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46595 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46596 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46597 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46600 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46602 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46603 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46605 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46607 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46608 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46610 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46612 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46615 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46617 * math/w_acos.c: Use non-signaling floating-point comparisons.
46618 * math/w_acosf.c: Likewise.
46619 * math/w_acosh.c: Likewise.
46620 * math/w_acoshf.c: Likewise.
46621 * math/w_acoshl.c: Likewise.
46622 * math/w_acosl.c: Likewise.
46623 * math/w_asin.c: Likewise.
46624 * math/w_asinf.c: Likewise.
46625 * math/w_asinl.c: Likewise.
46626 * math/w_atanh.c: Likewise.
46627 * math/w_atanhf.c: Likewise.
46628 * math/w_atanhl.c: Likewise.
46629 * math/w_exp2.c: Likewise.
46630 * math/w_exp2f.c: Likewise.
46631 * math/w_exp2l.c: Likewise.
46632 * math/w_j0.c: Likewise.
46633 * math/w_j0f.c: Likewise.
46634 * math/w_j0l.c: Likewise.
46635 * math/w_j1.c: Likewise.
46636 * math/w_j1f.c: Likewise.
46637 * math/w_j1l.c: Likewise.
46638 * math/w_jn.c: Likewise.
46639 * math/w_jnf.c: Likewise.
46640 * math/w_log.c: Likewise.
46641 * math/w_log10.c: Likewise.
46642 * math/w_log10f.c: Likewise.
46643 * math/w_log10l.c: Likewise.
46644 * math/w_log2.c: Likewise.
46645 * math/w_log2f.c: Likewise.
46646 * math/w_log2l.c: Likewise.
46647 * math/w_logf.c: Likewise.
46648 * math/w_logl.c: Likewise.
46649 * math/w_sqrt.c: Likewise.
46650 * math/w_sqrtf.c: Likewise.
46651 * math/w_sqrtl.c: Likewise.
46652 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46653 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46654 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46655 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46656 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46658 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46661 * manual/string.texi (strnlen): Use correct parameter name in
46662 equivalent expression.
46664 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46667 * manual/users.texi (seteuid): Consistently use neweuid for
46670 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46673 * manual/nss.texi (Services in the NSS configuration): Correct
46674 list of services in example configuration file.
46676 2012-02-19 Nick Bowler <nbowler@draconx.ca>
46679 * manual/arith.texi: Remove statements about negative zero
46680 behaving identically to zero.
46682 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46685 * manual/install.texi: Do not document upgrading from libc5.
46687 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46690 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46692 2012-02-18 David S. Miller <davem@davemloft.net>
46694 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46695 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46696 %o7 across the call.
46697 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46699 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46700 SETUP_PIC_REG_LEAF.
46701 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46702 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46703 * sysdeps/sparc/crtn.S: Likewise.
46705 2012-02-17 Ulrich Drepper <drepper@gmail.com>
46707 * aout/Makefile: Remove.
46709 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46712 * manual/examples/argp-ex1.c (main): Format definition in GNU
46714 * manual/examples/argp-ex2.c (main): Likewise.
46715 * manual/examples/argp-ex3.c (main): Likewise.
46716 * manual/examples/argp-ex4.c (main): Likewise.
46717 * manual/examples/longopt.c (main): Use new-style prototype
46719 * manual/examples/strncat.c (main): Specify return type and use
46720 (void) for arguments.
46721 * manual/examples/subopt.c (main): Use char **argv argument.
46723 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46726 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46729 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46732 * manual/string.texi (strchr): Change when strchrnul is
46735 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46738 * manual/locale.texi (setlocale): Document LOCPATH.
46740 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46743 * manual/process.texi (execle): Move @dots{} before last argument.
46745 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
46748 * manual/charset.texi (Generic Charset Conversion): Fix typo
46749 (LC_TYPE -> LC_CTYPE).
46751 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46754 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46755 (scalbnf): Likewise.
46756 (scalbnl): Likewise.
46757 (scalbln): Likewise.
46758 (scalblnf): Likewise.
46759 (scalblnl): Likewise.
46760 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46761 (vwarnx): Likewise.
46764 * manual/filesys.texi (telldir): Use braces around return type.
46765 * manual/llio.texi (mmap): Add space after comma.
46766 (mmap64): Likewise.
46767 * manual/math.texi (jn): Use @var{} on parameter names.
46773 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46775 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46777 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46778 (sched_get_priority_max): Likewise.
46779 * manual/signal.texi (sigvec): Add space after comma.
46780 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46782 (if_indextoname): Likewise.
46783 (if_freenameindex): Likewise.
46784 (sendto): Use ',' instead of '.' in prototype.
46785 * manual/startup.texi (syscall): Use @dots{} instead of literal
46787 * manual/stdio.texi (__fpending): Separate initial words of
46788 paragraph from @deftypefun line.
46789 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46791 (vsyslog): Use @var{} on parameter names.
46792 * manual/terminal.texi (stty): Use @var{} on parameter names.
46793 * manual/users.texi (getutmp): Use @var{} on parameter names.
46794 (getutmpx): Likewise.
46796 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46799 * manual/stdio.texi (fopen): Fix typos in description of
46802 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46805 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46806 get clock_id definition.
46808 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
46811 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46812 (madvise): Cast every argument to void on its own.
46814 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46817 * manual/startup.texi (Exit Status): Fix typo.
46819 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46822 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46823 * manual/examples/argp-ex2.c: Likewise.
46824 * manual/examples/argp-ex3.c: Likewise.
46826 2012-02-16 Richard Henderson <rth@redhat.com>
46828 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46829 * sysdeps/s390/s390-32/initfini.c: Remove.
46830 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46831 * sysdeps/s390/s390-64/initfini.c: Remove.
46833 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46835 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46836 compiler output for sysdeps/generic/initfini.c.
46837 * sysdeps/sh/elf/initfini.c: Remove file.
46839 2012-02-16 David S. Miller <davem@davemloft.net>
46842 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46844 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46845 * sysdeps/sparc/crti.S: New file.
46846 * sysdeps/sparc/crtn.S: New file.
46847 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46848 * sysdeps/sparc/sparc64/Makefile: Likewise.
46850 2012-02-15 Mike Frysinger <vapier@gentoo.org>
46853 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46855 2012-02-15 Roland McGrath <roland@hack.frob.com>
46858 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46860 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46861 (write, read, close): Likewise.
46862 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46864 2012-02-15 Joseph Myers <joseph@codesourcery.com>
46866 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46867 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46868 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46869 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46871 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46872 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46875 2012-02-14 Marek Polacek <polacek@redhat.com>
46877 * sysdeps/x86_64/crti.S: New file.
46878 * sysdeps/x86_64/crtn.S: New file.
46879 * sysdeps/x86_64/elf/initfini.c: Remove file.
46881 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46883 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46884 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46885 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46886 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46888 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46889 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46892 2012-02-13 Joseph Myers <joseph@codesourcery.com>
46894 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46895 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46896 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46897 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46899 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46900 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46903 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
46905 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46906 __feraiseexcept instead of feraiseexcept.
46908 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46909 nanosleep invocations.
46910 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46911 strings, and add error checking for a nanosleep invocations.
46913 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
46915 Replace FSF snail mail address with URLs, as per GNU coding standards.
46916 Most of the snail mail addresses were wrong anyway, and omitting
46917 them makes the source code easier to maintain. Almost all of the
46918 changes are to license notices and to locale LC_IDENTIFICATION
46919 addresses, except for this one:
46920 * manual/libc.texinfo: In "Published by", give the FSF's URL,
46921 not its snail mail address.
46923 2012-02-09 Richard Henderson <rth@twiddle.net>
46925 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46926 of kernel-features.h.
46928 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46930 2012-02-08 Marek Polacek <polacek@redhat.com>
46932 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46933 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46934 * sysdeps/gnu/_G_config.h: Likewise.
46935 * sysdeps/generic/_G_config.h: Likewise.
46937 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
46939 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46943 * sysdeps/powerpc/powerpc32/crti.S: New file.
46944 * sysdeps/powerpc/powerpc32/crtn.S: New file.
46945 * sysdeps/powerpc/powerpc64/crti.S: New file.
46946 * sysdeps/powerpc/powerpc64/crtn.S: New file.
46948 * Makeconfig (have-initfini): Don't set.
46949 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46950 * configure.in (nopic_initfini): Don't substitute.
46951 * config.h.in (HAVE_INITFINI): Don't #undef.
46952 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46953 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46955 2012-02-08 Joseph Myers <joseph@codesourcery.com>
46957 Support crti.S and crtn.S provided directly by architectures.
46958 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46959 [crti.S in sysdirs] (omit-deps): Likewise.
46960 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46961 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46962 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46963 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46964 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46965 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46966 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46967 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46968 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46969 compiler output for sysdeps/generic/initfini.c.
46970 * sysdeps/i386/elf/Makefile: Remove file.
46971 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46973 2012-02-07 Marek Polacek <polacek@redhat.com>
46975 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46976 * sysdeps/gnu/_G_config.h: Likewise.
46977 * sysdeps/mach/hurd/_G_config.h: Likewise.
46979 2012-02-07 Marek Polacek <polacek@redhat.com>
46981 * math/Makefile (tests): Add tst-CMPLX2.
46982 * math/tst-CMPLX2.c: New file.
46984 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
46986 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46988 * math/libm-test.inc (jn_test): Add missing L suffix.
46990 2012-02-06 Marek Polacek <polacek@redhat.com>
46992 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46993 * sysdeps/i386/fpu/e_powf.S: Likewise.
46994 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46995 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46996 * sysdeps/i386/fpu/e_acosh.S: Likewise.
46997 * sysdeps/i386/fpu/e_pow.S: Likewise.
46998 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46999 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47000 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47001 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47002 * sysdeps/i386/fpu/e_log2.S: Likewise.
47003 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47004 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47005 * sysdeps/i386/fpu/e_powl.S: Likewise.
47006 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47007 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47008 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47009 * sysdeps/i386/fpu/e_logl.S: Likewise.
47010 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47011 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47012 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47013 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47014 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47015 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47016 * sysdeps/i386/fpu/e_log.S: Likewise.
47017 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47018 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47019 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47020 * sysdeps/i386/fpu/e_logf.S: Likewise.
47021 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47022 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47023 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47024 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47025 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47026 * sysdeps/i386/fpu/e_log10.S: Likewise.
47027 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47028 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47029 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47030 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47031 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47032 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47033 * sysdeps/i386/asm-syntax.h: Likewise.
47034 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47035 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47036 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47037 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47038 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47039 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47040 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47041 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47042 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47043 * sysdeps/powerpc/sysdep.h: Likewise.
47044 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47045 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47047 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47050 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47052 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47054 * sysdeps/i386/sysdep.h: Include <features.h>.
47055 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47058 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47060 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47062 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47065 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47067 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47068 (SETUP_PIC_REG): Use GET_PC_THUNK.
47069 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47072 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47074 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47075 for non-PIC compilation.
47076 (SETUP_PIC_REG): Add .p2align directive.
47077 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47078 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47079 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47080 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47081 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47082 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47083 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47084 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47085 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47086 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47087 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47088 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47089 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47090 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47091 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47092 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47093 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47094 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47095 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47096 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47097 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47098 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47099 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47100 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47101 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47102 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47103 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47104 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47105 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47106 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47107 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47108 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47109 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47110 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47111 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47112 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47113 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47114 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47115 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47116 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47117 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47119 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47121 * math/tst-CMPLX.c: Include <stdio.h>.
47123 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47125 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47127 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47128 * sysdeps/sparc/bits/mathdef.h: Likewise.
47130 2012-01-31 Marek Polacek <polacek@redhat.com>
47132 * libio/libio.h: Don't define _PARAMS.
47133 * locale/programs/config.h: Don't define PARAMS.
47134 * stdlib/strtol_l.c: Likewise.
47135 (__strtol_l): Remove PARAMS from the prototype.
47137 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47139 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47140 names. Just use the correct names. Remove unnecessary wrapper
47142 * malloc/arena.c: Likewise.
47143 * malloc/hooks.c: Likewise.
47145 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47146 ARENA_TEST says not to. Simplify test for creation of a new arena.
47147 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47149 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47151 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47153 (update_get_addr): New function.
47154 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47155 GET_ADDR_MODULE parameter.
47157 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47159 * crypt/cert.c: Remove __STDC__ conditionals.
47160 * crypt/crypt-entry.c: Likewise.
47161 * crypt/crypt_util.c: Likewise.
47162 * libio/filedoalloc.c: Likewise.
47163 * libio/fileops.c: Likewise.
47164 * libio/genops.c: Likewise.
47165 * libio/iofclose.c: Likewise.
47166 * libio/iofdopen.c: Likewise.
47167 * libio/iofopen.c: Likewise.
47168 * libio/iofopen64.c: Likewise.
47169 * libio/iogetdelim.c: Likewise.
47170 * libio/iopopen.c: Likewise.
47171 * libio/obprintf.c: Likewise.
47172 * libio/oldfileops.c: Likewise.
47173 * libio/oldiofclose.c: Likewise.
47174 * libio/oldiofdopen.c: Likewise.
47175 * libio/oldiofopen.c: Likewise.
47176 * libio/oldiopopen.c: Likewise.
47177 * libio/wfiledoalloc.c: Likewise.
47178 * libio/wgenops.c: Likewise.
47179 * locale/programs/xmalloc.c: Likewise.
47180 * misc/syslog.c: Likewise.
47181 * stdio-common/xbug.c: Likewise.
47182 * string/memchr.c: Likewise.
47183 * string/memcmp.c: Likewise.
47184 * string/memrchr.c: Likewise.
47185 * string/rawmemchr.c: Likewise.
47186 * sysdeps/posix/getcwd.c: Likewise.
47187 * time/strftime_l.c: Likewise.
47189 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47191 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47192 * config.make.in (config-cflags-sse2avx): Define.
47193 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47196 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47198 * scripts/config.guess: Update from upstream config git repository.
47199 * scripts/config.sub: Likewise.
47201 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47203 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47205 (R_TILEPRO_*, R_TILEGX_*): New macros.
47207 * scripts/firstversions.awk: Fix bug in version range handling.
47209 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47211 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47213 * include/sys/epoll.h: New file.
47214 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47217 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47219 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47220 Avoid unnecessary __WORDSIZE == 64 test.
47221 (fmaxf): Use VEX format if possible.
47226 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47227 * math/math_private.h: Remove libc_fegetround* and
47229 * sysdeps/i386/configure.in: Check for -msse2avx.
47230 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47231 also if SSE2AVX is defined.
47232 Remove libc_fegetround* and libc_fesetround*.
47233 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47234 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47235 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47237 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47238 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47239 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47240 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47241 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47243 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47245 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47247 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47249 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47251 2012-01-27 Ulrich Drepper <drepper@gmail.com>
47254 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47256 * Makeconfig (libm): Define.
47257 * elf/Makefile: Add rules to build and run tst-relsort1.
47258 * elf/tst-relsort1.c: New file.
47259 * elf/tst-relsort1mod1.c: New file.
47260 * elf/tst-relsort1mod2.c: New file.
47262 2012-01-27 Joseph Myers <joseph@codesourcery.com>
47264 * math/s_ldexp.c: Remove __STDC__ conditionals.
47265 * math/s_ldexpf.c: Likewise.
47266 * math/s_ldexpl.c: Likewise.
47267 * math/s_nextafter.c: Likewise.
47268 * math/s_nexttowardf.c: Likewise.
47269 * math/s_significand.c: Likewise.
47270 * math/s_significandf.c: Likewise.
47271 * math/s_significandl.c: Likewise.
47272 * math/w_jnl.c: Likewise.
47273 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47274 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47275 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47276 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47277 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47278 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47279 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47280 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47281 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47282 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47283 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47284 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47285 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47286 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47287 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47288 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47289 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47290 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47291 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47292 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47293 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47294 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47295 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47296 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47297 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47298 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47299 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47300 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47301 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47302 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47303 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47304 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47305 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47306 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47307 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47308 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47309 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47310 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47311 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47312 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47313 * sysdeps/ieee754/k_standard.c: Likewise.
47314 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47315 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47316 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47317 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47318 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47319 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47320 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47321 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47322 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47323 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47324 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47325 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47326 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47327 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47328 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47329 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47330 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47331 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47332 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47333 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47334 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47335 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47336 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47337 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47338 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47339 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47340 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47341 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47342 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47343 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47344 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47345 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47346 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47347 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47349 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47350 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47351 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47352 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47353 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47354 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47355 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47356 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47357 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47358 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47359 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47360 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47361 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47362 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47363 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47364 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47365 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47366 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47367 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47368 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47369 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47370 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47371 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47372 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47373 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47374 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47375 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47376 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47377 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47378 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47379 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47380 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47381 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47382 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47383 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47384 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47385 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47386 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47387 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47388 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47389 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47390 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47391 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47392 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47393 * sysdeps/ieee754/s_matherr.c: Likewise.
47394 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47395 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47396 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47397 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47399 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47401 * crypt/md5.h: Remove __STDC__ conditionals.
47402 * libio/libioP.h: Likewise.
47403 * locale/programs/config.h: Likewise.
47404 * sysdeps/generic/sysdep.h: Likewise.
47405 * sysdeps/i386/asm-syntax.h: Likewise.
47406 * sysdeps/s390/asm-syntax.h: Likewise.
47407 * sysdeps/unix/sysdep.h: Likewise.
47408 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47409 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47411 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47413 * libio/libio.h: Remove __STDC__ conditionals.
47414 * malloc/obstack.h: Likewise.
47415 * math/complex.h: Likewise.
47416 * math/math.h: Likewise.
47417 * sysdeps/generic/_G_config.h: Likewise.
47418 * sysdeps/gnu/_G_config.h: Likewise.
47419 * sysdeps/mach/hurd/_G_config.h: Likewise.
47420 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47421 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47422 * sysdeps/sparc/bits/mathdef.h: Likewise.
47424 2012-01-26 Ulrich Drepper <drepper@gmail.com>
47427 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47428 Clean up HAS_* macros.
47429 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47430 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47432 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47434 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47435 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47436 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47437 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47438 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47440 2012-01-25 Joseph Myers <joseph@codesourcery.com>
47442 * elf/tst-unique3.cc (gets): Remove declaration.
47443 * elf/tst-unique3lib.cc (gets): Likewise.
47444 * elf/tst-unique3lib2.cc (gets): Likewise.
47445 * elf/tst-unique4.cc (gets): Likewise.
47447 2012-01-24 Ulrich Drepper <drepper@gmail.com>
47449 * include/stdio.h: Add C++ protection. Add gets declarations and
47451 * debug/tst-chk1.c: Don't declare gets here.
47452 * stdio-common/tst-gets.c: Likewise.
47454 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47456 * posix/glob: Remove directory.
47458 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47460 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47462 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
47464 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47465 of the non-standard EPFNOSUPPORT.
47467 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
47469 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47470 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47471 ANYWHERE set to 1 only on KERN_NO_SPACE error.
47473 2012-01-21 Ulrich Drepper <drepper@gmail.com>
47475 * wcsmbs/uchar.h: Test __STDC_VERSION__.
47477 2012-01-20 Ulrich Drepper <drepper@gmail.com>
47479 * nscd/aicache.c (addhstaiX): Do not cache negative results of
47481 * nscd/grpcache.c (cache_addgr): Likewise.
47482 * nscd/hstcache.c (cache_addhst): Likewise.
47483 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47484 * nscd/pwdcache.c (cache_addpw): Likewise.
47485 * nscd/servicescache.c (cache_addserv): Likewise.
47487 2012-01-16 Ulrich Drepper <drepper@gmail.com>
47489 * malloc/malloc.c: Various cleanups.
47490 * malloc/hooks.c: Likewise.
47492 * stdlib/Makefile (tests): Add bug-fmtmsg1.
47493 * stdlib/bug-fmtmsg1.c: New file.
47495 * stdlib/fmtmsg.c (init): Add missing unlock.
47496 Patch by Peng Haitao <penght@cn.fujitsu.com>.
47498 2012-01-12 Marek Polacek <polacek@redhat.com>
47500 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47503 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47505 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47506 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47507 macro to ensure uniqueness of label name.
47508 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47509 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47511 2012-01-11 Ulrich Drepper <drepper@gmail.com>
47513 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47515 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47516 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47517 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47518 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47520 2012-01-10 Ulrich Drepper <drepper@gmail.com>
47522 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47524 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47525 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47526 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47528 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47530 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47531 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47532 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47533 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47535 * math/bits/math-finite.h: Add ldexp support.
47537 2012-01-10 Marek Polacek <polacek@redhat.com>
47539 * locale/programs/localedef.h (show_archive_content): Add noreturn
47542 2012-01-09 Ulrich Drepper <drepper@gmail.com>
47544 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47546 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47548 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47550 * io/Makefile (headers): Add bits/poll2.h.
47552 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
47554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47555 typo #include statement.
47557 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47559 * include/sys/cdefs.h: Define __attribute_alloc_size.
47560 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47561 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47562 * elf/pldd.c: Likewise.
47563 * iconv/iconv_charmap.c: Likewise.
47564 * iconv/iconvconfig.c: Likewise.
47565 * iconv/strtab.c: Likewise.
47566 * locale/programs/locale.c: Likewise.
47567 * locale/programs/localedef.h: Likewise.
47568 * locale/programs/simple-hash.c: Likewise.
47569 * nscd/nscd.h: Likewise.
47570 * nss/makedb.c: Likewise.
47571 * sysdeps/generic/ldconfig.h: Likewise.
47572 * locale/programs/localedef.c: Remove xmalloc prototype.
47573 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47575 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47577 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47580 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47582 * math/Makefile (tests): Add tst-CMPLX.
47583 * math/tst-CMPLX.c: New file.
47585 * math/complex.h (CMPLXL): Fix typo.
47587 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47588 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47590 * debug/tst-chk1.c: Add poll and ppoll tests.
47591 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47592 * include/sys/poll.h: Add hidden proto for ppoll.
47593 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47594 * sysdeps/mach/hurd/ppoll.c: Likewise.
47595 * io/ppoll.c: Likewise.
47596 * debug/poll_chk.c: New file.
47597 * debug/ppoll_chk.c: New file.
47598 * include/bits/poll2.h: New file.
47599 * io/bits/poll2.h: New file.
47602 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47604 * configure.in: static is always set to yes. Remove.
47605 * config.make.in: Don't set build-static.
47606 * Makeconfig: Remove use of build-static.
47607 * dlfcn/Makefile: Likewise.
47608 * elf/Makefile: Likewise.
47609 * math/Makefile: Likewise.
47610 * misc/Makefile: Likewise.
47611 * nptl/Makefile: Likewise.
47612 * sysdeps/mach/hurd/Makefile: Likewise.
47614 * configure.in: PWD_P is not used anymore.
47615 * config.make.in: Remove PWD_P entry.
47617 * configure.in: Remove last remnants of RANLIB.
47618 No need to check for signed size_t anymore.
47619 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47621 Remove __builtin_expect test because we require at least gcc 3.4.
47622 * aclocal.m4: Likewise.
47624 * wcsmbs/mbrtoc16.c: Implement using towc function.
47625 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47626 * wcsmbs/wcsmbsload.c: Likewise.
47627 * iconv/gconv_simple.c: Likewise.
47628 * iconv/gconv_int.h: Likewise.
47629 * iconv/gconv_builtin.h: Likewise.
47630 * iconv/iconv_prog.c: Remove CHAR16 handling.
47632 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47634 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47636 * configure.in: Remove --with-elf and --enable-bounded options.
47637 Dont set base_machine for ia64. More non-ELF conditions removed.
47638 Remove testing and setting of leading underscore information.
47639 * config.make.in (build-bounded): Set to no.
47640 * config.h.in: Remove NO_UNDERSCORES entry.
47641 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47643 * csu/start.c: Remove !NO_UNDERSCORE code.
47644 * locale/localeinfo.h: Likewise.
47645 * sysdeps/generic/machine-gmon.h: Likewise.
47646 * sysdeps/generic/sysdep.h: Likewise.
47647 * sysdeps/i386/sysdep.h: Likewise.
47648 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47649 * sysdeps/mach/sysdep.h: Likewise.
47650 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47651 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47652 * sysdeps/sh/sysdep.h: Likewise.
47653 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47654 * sysdeps/unix/i386/sysdep.S: Likewise.
47655 * sysdeps/unix/sparc/start.c: Likewise.
47656 * sysdeps/unix/sparc/sysdep.S: Likewise.
47657 * sysdeps/unix/sparc/sysdep.h: Likewise.
47658 * sysdeps/unix/start.c: Likewise.
47659 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47660 * sysdeps/x86_64/sysdep.h: Likewise.
47662 2012-01-07 Ulrich Drepper <drepper@gmail.com>
47665 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47667 * argp/argp-fmtstream.h: Use const instead __const.
47668 * argp/argp.h: Likewise.
47669 * assert/assert.h: Likewise.
47670 * bits/fenv.h: Likewise.
47671 * bits/sched.h: Likewise.
47672 * bits/sigset.h: Likewise.
47673 * bits/sigthread.h: Likewise.
47674 * catgets/nl_types.h: Likewise.
47675 * conform/data/pthread.h-data: Likewise.
47676 * crypt/crypt-private.h: Likewise.
47677 * crypt/crypt.h: Likewise.
47678 * crypt/crypt_util.c: Likewise.
47679 * ctype/ctype.h: Likewise.
47680 * debug/execinfo.h: Likewise.
47681 * debug/mbsnrtowcs_chk.c: Likewise.
47682 * debug/mbsrtowcs_chk.c: Likewise.
47683 * debug/wcsnrtombs_chk.c: Likewise.
47684 * debug/wcsrtombs_chk.c: Likewise.
47685 * debug/wcstombs_chk.c: Likewise.
47686 * dirent/dirent.h: Likewise.
47687 * dlfcn/dlfcn.h: Likewise.
47688 * elf/neededtest4.c: Likewise.
47689 * grp/grp.h: Likewise.
47690 * gshadow/gshadow.h: Likewise.
47691 * iconv/gconv.h: Likewise.
47692 * iconv/gconv_int.h: Likewise.
47693 * iconv/gconv_simple.c: Likewise.
47694 * iconv/iconv.h: Likewise.
47695 * iconv/loop.c: Likewise.
47696 * iconv/skeleton.c: Likewise.
47697 * include/aio.h: Likewise.
47698 * include/aliases.h: Likewise.
47699 * include/argz.h: Likewise.
47700 * include/arpa/inet.h: Likewise.
47701 * include/assert.h: Likewise.
47702 * include/dirent.h: Likewise.
47703 * include/dlfcn.h: Likewise.
47704 * include/execinfo.h: Likewise.
47705 * include/fcntl.h: Likewise.
47706 * include/fenv.h: Likewise.
47707 * include/glob.h: Likewise.
47708 * include/grp.h: Likewise.
47709 * include/libintl.h: Likewise.
47710 * include/mntent.h: Likewise.
47711 * include/netdb.h: Likewise.
47712 * include/pwd.h: Likewise.
47713 * include/rpc/netdb.h: Likewise.
47714 * include/sched.h: Likewise.
47715 * include/search.h: Likewise.
47716 * include/shadow.h: Likewise.
47717 * include/signal.h: Likewise.
47718 * include/stdio.h: Likewise.
47719 * include/stdlib.h: Likewise.
47720 * include/string.h: Likewise.
47721 * include/sys/socket.h: Likewise.
47722 * include/sys/stat.h: Likewise.
47723 * include/sys/statfs.h: Likewise.
47724 * include/sys/statvfs.h: Likewise.
47725 * include/sys/syslog.h: Likewise.
47726 * include/sys/time.h: Likewise.
47727 * include/sys/uio.h: Likewise.
47728 * include/time.h: Likewise.
47729 * include/unistd.h: Likewise.
47730 * include/utmp.h: Likewise.
47731 * include/wchar.h: Likewise.
47732 * include/wctype.h: Likewise.
47733 * inet/aliases.h: Likewise.
47734 * inet/arpa/inet.h: Likewise.
47735 * inet/netinet/ether.h: Likewise.
47736 * inet/netinet/in.h: Likewise.
47737 * intl/libintl.h: Likewise.
47738 * io/bits/fcntl2.h: Likewise.
47739 * io/fcntl.h: Likewise.
47740 * io/ftw.h: Likewise.
47741 * io/sys/poll.h: Likewise.
47742 * io/sys/stat.h: Likewise.
47743 * io/sys/statfs.h: Likewise.
47744 * io/sys/statvfs.h: Likewise.
47745 * io/utime.h: Likewise.
47746 * libio/bits/stdio.h: Likewise.
47747 * libio/bits/stdio2.h: Likewise.
47748 * libio/libio.h: Likewise.
47749 * libio/libioP.h: Likewise.
47750 * libio/stdio.h: Likewise.
47751 * locale/lc-ctype.c: Likewise.
47752 * locale/locale.h: Likewise.
47753 * login/utmp.h: Likewise.
47754 * malloc/arena.c: Likewise.
47755 * malloc/malloc.c: Likewise.
47756 * malloc/malloc.h: Likewise.
47757 * malloc/mcheck.c: Likewise.
47758 * malloc/mtrace.c: Likewise.
47759 * math/bits/mathcalls.h: Likewise.
47760 * math/fenv.h: Likewise.
47761 * math/math_private.h: Likewise.
47762 * misc/bits/error.h: Likewise.
47763 * misc/bits/syslog.h: Likewise.
47764 * misc/err.h: Likewise.
47765 * misc/error.h: Likewise.
47766 * misc/fstab.h: Likewise.
47767 * misc/mntent.h: Likewise.
47768 * misc/regexp.h: Likewise.
47769 * misc/search.h: Likewise.
47770 * misc/sgtty.h: Likewise.
47771 * misc/sys/mman.h: Likewise.
47772 * misc/sys/syslog.h: Likewise.
47773 * misc/sys/uio.h: Likewise.
47774 * misc/sys/xattr.h: Likewise.
47775 * misc/ttyent.h: Likewise.
47776 * nis/rpcsvc/ypclnt.h: Likewise.
47777 * nss/nss.h: Likewise.
47778 * posix/bits/unistd.h: Likewise.
47779 * posix/fnmatch.h: Likewise.
47780 * posix/glob.h: Likewise.
47781 * posix/sched.h: Likewise.
47782 * posix/spawn.h: Likewise.
47783 * posix/sys/wait.h: Likewise.
47784 * posix/unistd.h: Likewise.
47785 * posix/wordexp.h: Likewise.
47786 * pwd/pwd.h: Likewise.
47787 * resolv/netdb.h: Likewise.
47788 * resource/sys/resource.h: Likewise.
47789 * rt/aio.h: Likewise.
47790 * rt/bits/mqueue2.h: Likewise.
47791 * rt/mqueue.h: Likewise.
47792 * shadow/shadow.h: Likewise.
47793 * signal/signal.h: Likewise.
47794 * socket/send.c: Likewise.
47795 * socket/sendto.c: Likewise.
47796 * socket/sys/socket.h: Likewise.
47797 * stdio-common/printf.h: Likewise.
47798 * stdlib/bits/stdlib.h: Likewise.
47799 * stdlib/fmtmsg.h: Likewise.
47800 * stdlib/monetary.h: Likewise.
47801 * stdlib/stdlib.h: Likewise.
47802 * stdlib/ucontext.h: Likewise.
47803 * streams/stropts.h: Likewise.
47804 * string/argz.h: Likewise.
47805 * string/bits/string2.h: Likewise.
47806 * string/string.h: Likewise.
47807 * string/strings.h: Likewise.
47808 * sunrpc/rpc/auth.h: Likewise.
47809 * sunrpc/rpc/auth_des.h: Likewise.
47810 * sunrpc/rpc/clnt.h: Likewise.
47811 * sunrpc/rpc/netdb.h: Likewise.
47812 * sunrpc/rpc/pmap_clnt.h: Likewise.
47813 * sunrpc/rpc/xdr.h: Likewise.
47814 * sysdeps/generic/inttypes.h: Likewise.
47815 * sysdeps/generic/net/if.h: Likewise.
47816 * sysdeps/generic/sys/swap.h: Likewise.
47817 * sysdeps/gnu/net/if.h: Likewise.
47818 * sysdeps/gnu/utmpx.h: Likewise.
47819 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47820 * sysdeps/i386/i486/bits/string.h: Likewise.
47821 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47822 * sysdeps/s390/bits/string.h: Likewise.
47823 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47824 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47825 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47826 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47827 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47828 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47829 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47830 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47831 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47832 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47833 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47834 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47835 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47836 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47837 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47838 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47839 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47840 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47841 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47842 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47843 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47844 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47845 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47846 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47847 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47848 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47849 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47850 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47851 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47852 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47853 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47854 * sysvipc/sys/ipc.h: Likewise.
47855 * sysvipc/sys/msg.h: Likewise.
47856 * sysvipc/sys/sem.h: Likewise.
47857 * sysvipc/sys/shm.h: Likewise.
47858 * termios/termios.h: Likewise.
47859 * time/sys/time.h: Likewise.
47860 * time/time.h: Likewise.
47861 * wcsmbs/bits/wchar2.h: Likewise.
47862 * wcsmbs/uchar.h: Likewise.
47863 * wcsmbs/wchar.h: Likewise.
47864 * wctype/wctype.h: Likewise.
47867 * Makeconfig: Remove all but ELF support including AIX support.
47868 * Makerules: Likewise.
47869 * config.h.in: Likewise.
47870 * config.make.in: Likewise.
47871 * configure: Likewise.
47872 * configure.in: Likewise.
47873 * csu/Makefile: Likewise.
47874 * csu/version.c: Likewise.
47875 * debug/Makefile: Likewise.
47876 * dlfcn/Makefile: Likewise.
47877 * elf/Makefile: Likewise.
47878 * extra-lib.mk: Likewise.
47879 * iconv/Makefile: Likewise.
47880 * include/libc-symbols.h: Likewise.
47881 * include/shlib-compat.h: Likewise.
47882 * resolv/Makefile: Likewise.
47883 * resolv/res_libc.c: Likewise.
47884 * rt/Makefile: Likewise.
47885 * sysdeps/i386/asm-syntax.h: Likewise.
47886 * sysdeps/i386/sysdep.h: Likewise.
47887 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47888 * sysdeps/mach/sysdep.h: Likewise.
47889 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47890 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47891 * sysdeps/s390/asm-syntax.h: Likewise.
47892 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47893 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47894 * sysdeps/sh/sysdep.h: Likewise.
47895 * sysdeps/unix/sparc/sysdep.h: Likewise.
47896 * sysdeps/wordsize-32/divdi3.c: Likewise.
47897 * sysdeps/x86_64/sysdep.h: Likewise.
47899 * argp/Versions: Remove _argp_unlock_xxx.
47902 * abilist/ld.abilist: Update. Adjust for removal of tls option.
47903 * abilist/libBrokenLocale.abilist: Likewise.
47904 * abilist/libanl.abilist: Likewise.
47905 * abilist/libc.abilist: Likewise.
47906 * abilist/libcrypt.abilist: Likewise.
47907 * abilist/libdl.abilist: Likewise.
47908 * abilist/libm.abilist: Likewise.
47909 * abilist/libnsl.abilist: Likewise.
47910 * abilist/libpthread.abilist: Likewise.
47911 * abilist/libresolv.abilist: Likewise.
47912 * abilist/librt.abilist: Likewise.
47913 * abilist/libthread_db.abilist: Likewise.
47914 * abilist/libutil.abilist: Likewise.
47915 * abilist/libnss_db.abilist: New file.
47917 * scripts/abilist.awk: Add support for indirect functions.
47919 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47921 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47923 * shlib-versions: Remove entries for ports architectures.
47925 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
47927 * elf/stackguard-macros.h: Remove support for IA-64.
47928 * elf/tst-auditmod1.c: Likewise.
47929 * sysdeps/generic/ldsodefs.h: Likewise.
47931 * sysdeps/unix/sysv/linux/configure.in: Ports should define
47932 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47936 * configure.in: Remove --enable-omitfp support.
47938 * config.make.in: Likewise.
47939 * Makeconfig: Likewise.
47940 * manual/install.texi: Likewise.
47942 In case anyone cares, the IA-64 architecture could move to ports.
47943 * sysdeps/ia64/*: Removed.
47944 * sysdeps/unix/sysv/linux/ia64/*: Removed.
47945 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47948 * configure.in: Remove entries for unsupported architectures.
47951 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47952 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
47954 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47955 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47956 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
47957 fall back to using wcrtomb.
47958 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47959 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
47961 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47962 * wcsmbs/tst-c16c32-1.c: New file.
47964 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47967 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47969 * elf/tst-unique3.cc: Add explicit declaration of gets.
47970 * elf/tst-unique3lib.cc: Likewise.
47971 * elf/tst-unique3lib2.cc: Likewise.
47972 * elf/tst-unique4.cc: Likewise.
47974 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47976 2012-01-06 Joseph Myers <joseph@codesourcery.com>
47979 * assert/assert.h (static_assert): Don't define for C++.
47980 * libio/stdio.h (gets): Do declare for C++ <= C++11.
47981 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47983 2012-01-03 Ulrich Drepper <drepper@gmail.com>
47985 * iconv/loop.c (single loop): Fix assertion in storing of
47988 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47990 2012-01-01 Ulrich Drepper <drepper@gmail.com>
47992 * posix/getconf.c: Update copyright year.
47993 * nss/getent.c: Likewise.
47994 * nss/makedb.c: Likewise.
47995 * iconv/iconvconfig.c: Likewise.
47996 * iconv/iconv_prog.c: Likewise.
47997 * elf/ldconfig.c: Likewise.
47998 * elf/pldd.c: Likewise.
47999 * elf/sotruss.ksh: Likewise.
48000 * catgets/gencat.c: Likewise.
48001 * csu/version.c: Likewise.
48002 * elf/ldd.bash.in: Likewise.
48003 * elf/sprof.c (print_version): Likewise.
48004 * locale/programs/locale.c: Likewise.
48005 * locale/programs/localedef.c: Likewise.
48006 * login/programs/pt_chown.c: Likewise.
48007 * nscd/nscd.c (print_version): Likewise.
48008 * debug/xtrace.sh: Likewise.
48009 * malloc/memusage.sh: Likewise.
48010 * malloc/mtrace.pl: Likewise.
48011 * debug/catchsegv.sh: Likewise.
48013 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48015 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48018 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48021 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48022 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48024 * iconv/gconv_int.h: Likewise.
48025 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48026 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48027 from libc for GLIBC_2.16.
48028 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48029 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48030 * wcsmbs/uchar.h: Really define mbstate_t.
48031 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48032 * wcsmbs/c16rtomb.c: New file.
48033 * wcsmbs/mbrtoc16.c: New file.
48034 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48035 for C/POSIX locale.
48036 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48037 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48039 * wcsmbs/wchar.h: Add missing __restrict.
48041 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48044 * time/Makefile (routines): Add timespec_get.
48045 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48046 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48047 timespec for ISO C11.
48048 * time/timespec_get.c: New file.
48049 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48050 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48053 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48054 * stdlib/stdlib.h: Declare aligned_alloc.
48055 * Versions.def: Add GLIBC_2.16 for libc.
48056 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48059 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48062 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48066 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48069 * assert/assert.h (static_assert): Define.
48071 * version.h: Update for 2.16 development version.
48074 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48077 * version.h (RELEASE): Bump for 2.15 release.
48078 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48080 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48081 Patch by Marek Polacek <mpolacek@redhat.com>.
48083 * bits/byteswap.h: Protect long long constants with __extension__.
48084 * sysdeps/i386/bits/byteswap.h: Likewise.
48085 * sysdeps/ia64/bits/byteswap.h: Likewise.
48086 * sysdeps/s390/bits/byteswap.h: Likewise.
48087 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48089 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48092 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48093 destination buffer.
48094 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48096 2011-12-23 Marek Polacek <polacek@redhat.com>
48098 * elf/dl-addr.c (determine_info): Add inline keyword.
48099 * elf/tst-auditmod4b.c (check_avx): Likewise.
48100 * elf/tst-auditmod6b.c (check_avx): Likewise.
48101 * elf/tst-auditmod6c.c (check_avx): Likewise.
48102 * elf/tst-auditmod7b.c (check_avx): Likewise.
48104 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48106 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48109 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48112 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48113 processing for last bytes.
48115 2011-08-06 Bruno Haible <bruno@clisp.org>
48118 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48119 U+0385, not to U+1FEE.
48122 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48123 entry for U+00A5 U+0301.
48125 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48128 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48129 buffer for the output is too small.
48131 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48135 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48136 SSE flags if possible.
48138 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48141 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48142 processing for last bytes.
48144 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48146 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48147 (syscall-list-default-options, syscall-list-default-condition)
48148 (syscall-list-includes): Define.
48149 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48150 list of ABIs and options and #if conditions for each ABI. Do not
48151 handle common syscalls between ABIs specially.
48152 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48154 (syscall-list-variants, syscall-list-32bit-options)
48155 (syscall-list-32bit-condition, syscall-list-64bit-options)
48156 (syscall-list-64bit-condition): Define.
48157 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48158 (syscall-list-variants, syscall-list-32bit-options)
48159 (syscall-list-32bit-condition, syscall-list-64bit-options)
48160 (syscall-list-64bit-condition): Define.
48161 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48163 (syscall-list-variants, syscall-list-32bit-options)
48164 (syscall-list-32bit-condition, syscall-list-64bit-options)
48165 (syscall-list-64bit-condition): Define.
48166 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48168 (syscall-list-variants, syscall-list-32bit-options)
48169 (syscall-list-32bit-condition, syscall-list-64bit-options)
48170 (syscall-list-64bit-condition): Define.
48172 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48174 * locale/iso-639.def: Add brx entry.
48177 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48178 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48180 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48181 __feraiseexcept_renamed.
48183 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48186 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48187 EPOLLET with unsigned values.
48188 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48189 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48191 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48192 to large cancellation.
48193 * math/s_cacoshf.c: Likewise.
48194 * math/s_cacoshl.c: Likewise.
48196 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48200 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48201 * math/s_cacoshf.c: Likewise.
48202 * math/s_cacoshl.c: Likewise.
48204 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48207 * iconv/gconv.h: Define __GCONV_SWAP.
48208 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48209 * iconvdata/utf-16.c: Likewise.
48210 * iconvdata/utf-32.c: Likewise.
48212 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48215 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48216 numerator after shifting it by one limb.
48218 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48220 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48221 under [__USE_EXTERN_INLINES].
48223 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48226 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48228 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48230 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48231 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48233 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48234 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48235 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48236 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48237 for strncasecmp/strncasecmp_l compilation.
48238 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48239 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48241 2011-12-08 Marek Polacek <mpolacek@redhat.com>
48244 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48247 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48250 * time/tzfile.c (__tzfile_read): Check values from file header.
48252 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48254 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48255 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48256 * powerpc/powerpc32/dl-start.S: Likewise.
48257 * powerpc/powerpc32/elf/start.S: Likewise.
48258 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48259 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48260 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48261 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48262 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48263 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48264 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48265 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48266 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48267 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48268 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48269 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48270 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48271 * powerpc/powerpc32/memset.S: Likewise.
48272 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48273 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48274 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48275 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48276 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48277 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48278 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48279 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48280 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48281 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48282 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48283 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48284 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48286 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48288 * math/libm-test.inc: Added more nearbyint tests.
48289 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48290 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48291 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48292 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48294 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48296 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48299 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48301 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48302 Add wcscpy-ssse3 wcscpy-c.
48303 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48304 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48305 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48306 * sysdeps/x86_64/wcschr.S: New file.
48307 * sysdeps/x86_64/wcsrchr.S: New file.
48308 * string/test-strcmp.c: Remove checking of wcscmp function for
48310 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48311 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48312 wcsrchr-sse2 wcsrchr-c.
48313 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48314 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48315 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48316 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48317 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48318 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48319 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48320 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48321 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48322 * wcsmbc/wcschr.c (WCSCHR): New macro.
48324 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48326 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48327 * wcsmbs/test-wcsrchr.c: New file.
48328 * string/test-strrchr.c: Add wcsrchr support.
48330 * wcsmbs/test-wcscpy.c: New file.
48331 * string/test-strcpy.c: Add wcscpy support.
48334 2011-12-10 Ulrich Drepper <drepper@gmail.com>
48336 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48339 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48342 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48344 2011-12-04 Ulrich Drepper <drepper@gmail.com>
48346 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48347 Minor optimizations.
48349 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48350 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48351 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48353 2011-12-03 Ulrich Drepper <drepper@gmail.com>
48355 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48356 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48357 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48358 for gcc to avoid warnings.
48359 * inet/Makefile (tests): Add tst-checks.
48360 * inet/tst-checks.c: New file.
48362 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48365 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48368 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48369 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48371 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48373 2011-12-02 Ulrich Drepper <drepper@gmail.com>
48375 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48378 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48380 2011-11-29 Joseph Myers <joseph@codesourcery.com>
48382 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48383 conditional on GCC version.
48384 (__arch_compare_and_exchange_val_8_acq)
48385 (__arch_compare_and_exchange_val_16_acq)
48386 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48387 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48388 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48390 2011-12-02 Joseph Myers <joseph@codesourcery.com>
48392 * sysdeps/sh/backtrace.c: New file.
48394 2011-12-02 Andreas Schwab <schwab@redhat.com>
48396 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
48399 2011-12-01 Andreas Schwab <schwab@redhat.com>
48401 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48402 falling back to utime.
48404 2011-11-30 Andreas Schwab <schwab@redhat.com>
48406 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48407 expectations for float.
48409 2011-11-29 Andreas Schwab <schwab@redhat.com>
48411 * locale/weight.h (findidx): Add parameter len.
48412 * locale/weightwc.h (findidx): Likewise.
48413 * posix/fnmatch_loop.c (FCT): Adjust caller.
48414 * posix/regcomp.c (build_equiv_class): Likewise.
48415 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48416 * posix/regexec.c (check_node_accept_bytes): Likewise.
48417 * string/strcoll_l.c (STRCOLL): Likewise.
48418 * string/strxfrm_l.c (STRXFRM): Likewise.
48420 2011-11-17 Ulrich Drepper <drepper@gmail.com>
48422 * Makefile.in: Remove CVSOPT handling.
48423 * configure.in: Remove use of AC_REVISION.
48424 * iconvdata/Makefile (distribute): No need to filter out CVS.
48425 * scripts/list-sources.sh: Remove CVS, subversion and monotone
48428 2011-11-16 Andreas Schwab <schwab@redhat.com>
48430 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48431 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48432 [USE_AS_STRNCASECMP_L]: Likewise.
48433 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48434 NO_TLS_DIRECT_SEG_REFS.
48435 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48436 Fix argument offsets for non-PIC.
48437 [USE_AS_STRNCASECMP_L]: Likewise.
48438 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48439 NO_TLS_DIRECT_SEG_REFS.
48441 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48443 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48445 * locale/loadlocale.c (_nl_load_locale): Likewise.
48447 2011-11-15 Andreas Schwab <schwab@redhat.com>
48449 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48450 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48451 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48452 (SYSCALL_GETTIME): Set errno on error.
48454 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48455 count references to noai6ai_cached.
48457 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48459 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48461 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48462 FD_CLOEXEC for /proc/self/maps.
48464 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48465 FD_CLOEXEC for /proc/meminfo.
48467 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48470 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
48471 FD_CLOEXEC for given file.
48473 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48475 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48476 FD_CLOEXEC for /etc/hosts.
48477 (_gethtent): Likewise.
48479 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48481 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48482 cancellation and set FD_CLOEXEC for /etc/netgroup.
48484 * nss/nss_files/files-key.c (search): Don't allow cancellation when
48485 reading /etc/publickey.
48487 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48488 allow cancellation when reading /etc/group.
48490 * nss/nss_files/files-alias.c (internal_setent): Don't allow
48492 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
48494 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48495 when using data file.
48497 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48499 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48500 (write_nis_obj): Use "c" and "e" in fopen.
48502 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48504 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48506 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48508 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48510 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48513 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48515 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48517 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48519 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48520 file parsing and set FD_CLOEXEC.
48522 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48524 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48526 2011-11-14 Andreas Schwab <schwab@redhat.com>
48528 * malloc/arena.c (arena_get2): Don't call reused_arena when
48529 _int_new_arena failed.
48531 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48533 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48534 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48535 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48536 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48537 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48538 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48539 to compile strcasecmp and strncasecmp.
48540 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48541 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48543 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48545 2011-11-13 Ulrich Drepper <drepper@gmail.com>
48547 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48548 locale-defines.sym to gen-as-const-headers.
48549 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48550 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48551 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48552 to compile strcasecmp and strncasecmp.
48553 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48554 strcasecmp_l and strncasecmp_l.
48555 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48556 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48557 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48558 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48559 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48560 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48561 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48562 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48563 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48564 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48565 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48567 2011-11-12 Ulrich Drepper <drepper@gmail.com>
48569 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48570 result of SYSDEP_GETTIME_CPU to retval.
48571 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48572 parameter list to macro. Remove trailing semicolon. Adjust users.
48574 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48577 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48579 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48581 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48582 from unused variable.
48584 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48586 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48589 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48592 * sunrpc/rpc_prot.c (rejected): Fix case value.
48594 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48595 unsigned long long int to avoid warnings in shift.
48597 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48599 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48602 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48603 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48604 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48606 * nis/nis_table.c (nis_list): Use variable of correct type for
48607 result of __follow_path call.
48609 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48611 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48612 of math functions ceil, trunc, floor, round, and sqrt, when
48613 avaliable on the platform.
48614 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48616 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48617 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48618 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48620 2011-10-30 Marek Polacek <mpolacek@redhat.com>
48622 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48623 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48625 2011-11-11 Roland McGrath <roland@hack.frob.com>
48627 * include/unistd.h: Fix __readlink return type.
48628 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48630 2011-11-11 Ulrich Drepper <drepper@gmail.com>
48632 * stdlib/ucontext.h: Undo last change for makecontext.
48634 2011-11-11 Andreas Schwab <schwab@redhat.com>
48636 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48638 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48639 * setjmp/setjmp.h: Mark functions as non-leaf.
48640 * setjmp/bits/setjmp2.h: Likewise.
48641 * stdlib/ucontext.h: Likewise.
48643 2011-11-10 Andreas Schwab <schwab@redhat.com>
48645 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48646 (reused_arena): Don't check arena limit.
48647 (arena_get2): Atomically check arena limit.
48649 2011-11-08 Ulrich Drepper <drepper@gmail.com>
48651 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48652 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48654 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48657 2011-11-07 Andreas Schwab <schwab@redhat.com>
48659 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48660 handler when locking.
48662 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48663 Fix size of allocated buffer.
48665 2011-11-04 Andreas Schwab <schwab@redhat.com>
48668 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48669 declarations for long double functions.
48670 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48672 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48674 2011-11-03 Andreas Schwab <schwab@redhat.com>
48676 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48679 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48682 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48684 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48686 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48688 * include/alloca.h (stackinfo_alloca_round): Define.
48689 (extend_alloca): Use it.
48690 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48691 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48694 * scripts/check-local-headers.sh: Ignore libaudit.h.
48696 * nscd/Makefile (extra-objs): Make recursively expanded.
48698 2011-11-01 Ulrich Drepper <drepper@gmail.com>
48700 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48701 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48703 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48704 * posix/tst-rfc3484-2.c: Likewise.
48705 * posix/tst-rfc3484-3.c: Likewise.
48707 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48709 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48711 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48712 process_vm_writev from libc using GLIBC_2.15 version.
48714 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48716 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48718 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48721 2011-10-31 Ulrich Drepper <drepper@gmail.com>
48724 * nss/getent.c (initgroups_keys): Show error message in case no group
48727 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48728 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48729 __bump_nl_timestamp.
48730 * nscd/connections (nscd_init): When host database is served open
48731 netlink socket and request notification about configuration changes.
48732 (main_loop_poll): Track netlink file descriptor and bump timestamp
48733 in case data becomes available.
48734 (main_loop_epoll): Likewise.
48735 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48736 (database_pers_head): Add extra_data fileds.
48737 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48738 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48739 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48741 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48742 in6ai data, call __free_in6ai.
48743 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48744 Add -DHAVE_NETLINK.
48745 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48746 interface information. Reuse previous data if netlink timestamp
48748 (__bump_nl_timestamp): New function.
48749 (__free_in6ai): New function.
48751 2011-10-30 Ulrich Drepper <drepper@gmail.com>
48753 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48754 close_not_cancel_no_status here.
48755 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48757 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48760 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48763 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48764 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48765 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48767 2011-07-03 Andreas Jaeger <aj@suse.de>
48770 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48771 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48772 * math/libm-test.inc (sin_test): Add test case.
48774 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48777 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48778 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48780 * elf/chroot_canon.c (chroot_canon): Cleanups.
48782 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48785 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48786 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48788 * string/test-strchr.c: Make usable for strchrnul testing.
48789 * string/test-strchrnul.c: New file.
48790 * string/Makefile (strop-tests): Add strchrnul.
48792 * po/it.po: Update from translation team.
48793 * po/es.po: Likewise.
48795 2011-10-28 Ulrich Drepper <drepper@gmail.com>
48797 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48798 the three constants needed as parameters. Drop the others.
48799 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48800 __m128i_strloadu_tolower.
48801 Create and initialize variable zero and use it in all the places
48802 where _mm_setzero_si128 was used.
48804 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48805 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48806 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48807 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48809 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48810 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48811 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48812 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48813 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48814 __mpranred, __mptan.
48815 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48816 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48817 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48818 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48819 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48820 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48821 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48822 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48823 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48825 2011-10-28 Andreas Schwab <schwab@redhat.com>
48827 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48828 redefine if SHARED.
48829 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48831 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48832 wide char related routines to wcsmbs subdir.
48834 2011-10-27 Andreas Schwab <schwab@redhat.com>
48837 * misc/sys/cdefs.h (__THROWNL): Define.
48838 * posix/unistd.h: Use __THREADNL instead of __THREAD
48839 for memory synchronization functions.
48841 2011-10-26 Roland McGrath <roland@hack.frob.com>
48844 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48846 * manual/stdio.texi (Obstack Streams): Node removed.
48848 2011-10-26 Andreas Schwab <schwab@redhat.com>
48850 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48851 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48852 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48854 * math/math_private.h (math_force_eval): Allow non-addressable
48856 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48858 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48860 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48861 file is not needed.
48863 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48864 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48865 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48866 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48867 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48868 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48869 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48870 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48872 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48873 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48874 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48875 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48876 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48877 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48878 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48879 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48880 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48881 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48882 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48883 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48884 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48885 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48886 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48887 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48888 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48889 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48890 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48892 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48893 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
48895 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48896 place. Use VEX encoding when compiling for AVX.
48898 2011-10-25 Andreas Schwab <schwab@redhat.com>
48900 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48901 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48903 * string/test-strchr.c (do_test): Don't generate NUL bytes.
48905 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48907 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48908 useless if() expression.
48909 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48910 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48911 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48912 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48913 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48914 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48915 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48916 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48917 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48918 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48919 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48920 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48921 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48922 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48923 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48924 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48925 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48926 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48927 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48929 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48931 2011-10-25 Andreas Schwab <schwab@redhat.com>
48933 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48935 * elf/dl-fini.c (_dl_sort_fini): Likewise.
48937 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48939 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48940 .text section. Avoid duplicate constants.
48941 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48942 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48943 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48944 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48945 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48946 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48947 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48948 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48949 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48950 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48951 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48952 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48953 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48954 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48955 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48956 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48957 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48958 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48959 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48960 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48961 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48962 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48963 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48964 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48965 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48966 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48967 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48968 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48969 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48970 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48971 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48972 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48973 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48974 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48975 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48976 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48977 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48978 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48979 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48980 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48981 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48982 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48983 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48984 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48985 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48987 2011-10-24 Ulrich Drepper <drepper@gmail.com>
48989 * sysdeps/x86_64/dla.h: Move to ...
48990 * sysdeps/x86_64/fpu/dla.h: ...here.
48991 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48992 situations. Use __builtin_fma only for gcc 4.6 and up.
48994 * config.make.in: Add have-mfma4 entry.
48995 * configure.in: Substitute libc_cv_cc_fma4.
48996 * math/Makefile (dbl-only-routines): Add sincostab.
48997 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48998 Use __sincostab not sincos.
48999 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49001 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49002 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49003 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49004 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49006 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49007 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49008 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49009 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49011 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49012 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49014 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49015 define aliases when function name is a macro.
49016 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49017 sysdeps/ieee754/dbl-64/sincos.tbl.
49018 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49019 fma4-enabled routines.
49020 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49021 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49022 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49023 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49024 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49025 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49026 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49027 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49028 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49029 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49030 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49031 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49032 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49033 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49034 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49035 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49036 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49037 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49038 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49039 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49040 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49041 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49042 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49043 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49044 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49045 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49046 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49047 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49048 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49049 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49051 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49053 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49054 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49055 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49056 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49058 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49059 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49060 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49062 2011-10-24 Andreas Schwab <schwab@redhat.com>
49064 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49066 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49068 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49070 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49072 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49074 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49075 Remove unused variable magic_bits.
49076 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49078 * string/strnlen.c: Define and use STRNLEN macro.
49079 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49080 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49081 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49082 * wcsmbs/wcslen.c: Define and use WCSLEN.
49083 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49084 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49085 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49086 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49087 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49088 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49089 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49091 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49093 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49094 strnlen-sse2-no-bsf.
49095 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49096 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49097 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49098 Add strnlen support.
49099 (USE_AS_STRNLEN): New macro.
49100 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49101 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49102 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49103 * sysdeps/x86_64/wcslen.S: New file.
49105 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49107 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49108 XMM-moves are used for copying on small sizes.
49110 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49112 * wcsmbs/Makefile (strop-tests): Add wcschr.
49113 * wcsmbs/test-wcschr.c: New file.
49114 * string/test-strchr.c: Update.
49115 Add wcschr support.
49118 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49120 * wcsmbs/Makefile (strop-tests): Add wcslen.
49121 * wcsmbs/test-wcslen.c: New file.
49122 * string/test-strlen.c: Update.
49123 Add wcslen support.
49126 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49128 * po/it.po: Update from translation team.
49130 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49132 * sysdeps/x86_64/wcscmp.S: Update.
49133 Fix wrong comparison semantics.
49134 wcscmp shall use signed comparison not unsigned.
49135 Don't use substraction to avoid overflow bug.
49136 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49137 * wcsmbc/wcscmp.c: Likewise.
49138 * string/test-strcmp.c: Likewise.
49139 Add new tests to check cases with negative values.
49141 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49143 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49144 * sysdeps/x86_64/dla.h: ...here. New file.
49145 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49146 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49148 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49149 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49150 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49151 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49152 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49153 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49155 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49157 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49158 __ynl_finite aliases.
49160 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49164 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49166 [DLA_FMA] (EMULV): Use DLA_FMA.
49167 [DLA_FMA] (MUL12): Use EMULV.
49168 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49169 that are not needed.
49170 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49171 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49172 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49173 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49174 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49175 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49176 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49178 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49180 * math/s_nan.c: Undef __nan.
49181 * math/s_nanf.c: Undef __nanf.
49182 * math/s_nanl.c: Undef __nanl.
49183 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49186 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49188 * math/s_catan.c: Add branch predictions.
49189 * math/s_catanf.c: Likewise.
49190 * math/s_catanh.c: Likewise.
49191 * math/s_catanhf.c: Likewise.
49192 * math/s_catanhl.c: Likewise.
49193 * math/s_catanl.c: Likewise.
49194 * math/s_cexp.c: Likewise.
49195 * math/s_cexpf.c: Likewise.
49196 * math/s_cexpl.c: Likewise.
49197 * math/s_clog.c: Likewise.
49198 * math/s_clog10.c: Likewise.
49199 * math/s_clog10f.c: Likewise.
49200 * math/s_clog10l.c: Likewise.
49201 * math/s_clogf.c: Likewise.
49202 * math/s_clogl.c: Likewise.
49203 * math/s_csqrt.c: Likewise.
49204 * math/s_csqrtf.c: Likewise.
49205 * math/s_csqrtl.c: Likewise.
49206 * math/s_ctanf.c: Likewise.
49207 * math/s_ctanh.c: Likewise.
49208 * math/s_ctanhf.c: Likewise.
49209 * math/s_ctanhl.c: Likewise.
49210 * math/s_ctanl.c: Likewise.
49212 * math/math_private.h: Define __nan, __nanf, __nanl.
49213 * math/s_cacosh.c: Include <math_private.h>.
49214 * math/s_cacoshl.c: Likewise.
49215 * math/s_casinh.c: Likewise.
49216 * math/s_casinhf.c: Likewise.
49217 * math/s_casinhl.c: Likewise.
49218 * math/s_ccos.c: Rely entire on ccosh.
49219 * math/s_ccosf.c: Rely entire on ccoshf.
49220 * math/s_ccosl.c: Rely entirely on ccoshl.
49221 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49222 Remove tests for FE_INVALID.
49223 * math/s_ccoshf.c: Likewise.
49224 * math/s_ccoshl.c: Likewise.
49225 * math/s_csin.c: Likewise.
49226 * math/s_csinf.c: Likewise.
49227 * math/s_csinh.c Likewise.
49228 * math/s_csinhf.c: Likewise.
49229 * math/s_csinhl.c: Likewise.
49230 * math/s_csinl.c: Likewise.
49231 * math/s_ctan.c: Likewise.
49232 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49233 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49234 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49236 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49238 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49239 compilation problems.
49241 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49244 2011-10-20 Ulrich Drepper <drepper@gmail.com>
49246 * sysdeps/i386/configure.in: Test for -mfma4 option.
49247 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49248 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49249 COMMON_CPUID_INDEX_80000001.
49250 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49251 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49252 use it if FMA3 is not supported.
49253 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49255 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49256 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49258 2011-10-20 Andreas Schwab <schwab@redhat.com>
49261 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49262 it would create a cycle with a link time dependency.
49264 2011-10-19 Ulrich Drepper <drepper@gmail.com>
49266 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49268 * string/Makefile (strop-tests): Add rawmemchr.
49269 * string/test-rawmemchr.c: New file.
49271 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49272 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49273 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49274 when compiling str{,n}casecmp and when AVX is available. Hook up
49275 new optimized code in initializers.
49277 2011-10-19 Andreas Schwab <schwab@redhat.com>
49279 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49280 __feraiseexcept instead of feraiseexcept.
49282 2011-10-18 Ulrich Drepper <drepper@gmail.com>
49284 * math/math_private.h: Define defaults for libc_fetestexcept and
49286 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49287 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49288 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49289 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49290 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49291 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49292 libc_fetestexcept and libc_feupdateenv.
49294 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49295 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49296 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49297 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49298 libc_feholdexcept_setround.
49300 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49301 Add s_nearbyint-c and s_nearbyintf-c.
49302 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49303 nearbyintf inlines.
49304 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49305 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49306 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49307 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49309 * math/math_private.h: Define defaults for libc_fegetround,
49310 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49311 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49312 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49313 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49314 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49315 standard functions.
49316 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49317 Remove comments and hacks for old compiler versions.
49318 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49319 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49320 libc_feholdexceptl.
49322 2011-10-18 Andreas Schwab <schwab@redhat.com>
49324 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49325 (__feraiseexcept_renamed): Add __NTH.
49326 (feraiseexcept): Add __NTH. Rename local variables to fix
49327 namespace violations.
49329 2011-10-17 Ulrich Drepper <drepper@gmail.com>
49331 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49333 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49335 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49336 recently added interfaces.
49337 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49339 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49340 about macro parameter expansion.
49342 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49343 __NO_MATH_INLINES is defined. Cleanups.
49345 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49346 and __floorf is target has SSE4.1.
49347 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49348 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49349 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49350 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49352 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49354 (floorf): Likewise.
49356 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49358 2011-10-17 Andreas Schwab <schwab@redhat.com>
49360 * misc/sys/cdefs.h: Fix last change.
49362 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49365 2011-10-16 Ulrich Drepper <drepper@gmail.com>
49367 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49369 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49370 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49371 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49372 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49373 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49374 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49375 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49376 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49377 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49378 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49379 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49380 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49381 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49382 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49383 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49384 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49385 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49386 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49387 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49388 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49389 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49390 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49392 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49393 ceil, ceilf, floor, floorf.
49395 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49396 Perform IRELATIVE relocations last.
49398 * elf/do-rel.h: Add another parameter nrelative, replacing the
49399 local variable with the same name. Change name of the function
49400 to end in Rel or Rela (uppercase).
49401 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49402 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
49403 elf_dynamic_do_##reloc function.
49405 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49407 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49408 is sufficient, at least on modern CPUs.
49410 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49412 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49413 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49415 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49417 * math/bits/math-finite.h: Add entries for exp.
49418 * math/e_expl.c: Add __*_finite alias.
49419 * sysdeps/i386/fpu/e_exp.S: Likewise.
49420 * sysdeps/i386/fpu/e_expf.S: Likewise.
49421 * sysdeps/i386/fpu/e_expl.c: Likewise.
49422 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49423 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49424 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49425 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49426 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49427 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49428 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49430 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49431 is sufficient, at least on modern CPUs.
49433 * ctype/ctype-info.c (__ctype_init): Define.
49434 * include/ctype.h (__ctype_init): Declare.
49435 (__ctype_b_loc): The variable is always initialized.
49436 (__ctype_toupper_loc): Likewise.
49437 (__ctype_tolower_loc): Likewise.
49438 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49439 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49441 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
49443 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49445 * configure.in: Also look in $cxxmachine/include for C++ system
49448 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49450 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49451 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49452 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49453 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
49454 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49455 (USE_AS_WMEMCMP): New macro.
49457 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49458 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49459 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49460 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49461 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49462 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49463 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49464 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49465 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49466 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49467 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49468 (USE_AS_WMEMCMP): New macro.
49469 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49470 * sysdeps/string/test-memcmp.c: Update.
49471 Fix simple_wmemcmp.
49473 * wcsmbs/wmemcmp.c: Update.
49474 (WMEMCMP): New macro.
49477 2011-10-12 Andreas Jaeger <aj@suse.de>
49480 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49482 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49484 * libio/iofwide.c (do_length): Avoid warning.
49486 * ctype/ctype.h (__isctype_f): Add missing __THROW.
49488 2011-10-14 Ulrich Drepper <drepper@gmail.com>
49490 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49492 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49493 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49494 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49495 * sysdeps/i386/i686/fpu/e_log.S: New file.
49496 * sysdeps/i386/i686/fpu/e_logf.S: New file.
49497 * sysdeps/i386/i686/fpu/e_logl.S: New file.
49499 * ctype/ctype.h: Add support for inlined isXXX functions when
49500 compiling C++ code.
49502 2011-10-14 Andreas Schwab <schwab@redhat.com>
49504 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49506 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49508 2011-10-13 Roland McGrath <roland@hack.frob.com>
49511 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49513 2011-10-13 Andreas Schwab <schwab@redhat.com>
49515 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49516 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49519 * sysdeps/x86_64/memrchr.S: Check for zero size.
49521 * string/stratcliff.c: Add memrchr tests.
49523 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49525 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49526 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49527 rawmemchr-sse2 rawmemchr-sse2-bsf.
49528 * sysdeps/i386/i686/multiarch/memchr.S: New file.
49529 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49530 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49531 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49532 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49533 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49534 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49535 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49536 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49537 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49538 * string/memrchr.c (MEMRCHR): New macro.
49540 2011-10-12 Ulrich Drepper <drepper@gmail.com>
49542 Add integration with gcc's -ffinite-math-only and optimize wrapper
49544 * Versions.def: Define GLIBC_2.15 version for libm.
49545 * math/Makefile (headers): Add bits/math-finite.h.
49546 * math/bits/math-finite.h: New file.
49547 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49548 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49549 * math/e_acoshl.c: Add __*_finite alias.
49550 * math/e_acosl.c: Likewise.
49551 * math/e_asinl.c: Likewise.
49552 * math/e_atan2l.c: Likewise.
49553 * math/e_atanhl.c: Likewise.
49554 * math/e_coshl.c: Likewise.
49555 * math/e_exp10.c: Likewise.
49556 * math/e_exp10f.c: Likewise.
49557 * math/e_exp10l.c: Likewise.
49558 * math/e_exp2l.c: Likewise.
49559 * math/e_fmodl.c: Likewise.
49560 * math/e_gammal_r.c: Likewise.
49561 * math/e_hypotl.c: Likewise.
49562 * math/e_j0l.c: Likewise.
49563 * math/e_j1l.c: Likewise.
49564 * math/e_jnl.c: Likewise.
49565 * math/e_lgammal_r.c: Likewise.
49566 * math/e_log10l.c: Likewise.
49567 * math/e_log2l.c: Likewise.
49568 * math/e_logl.c: Likewise.
49569 * math/e_powl.c: Likewise.
49570 * math/e_sinhl.c: Likewise.
49571 * math/e_sqrtl.c: Likewise.
49572 * math/e_scalb.c: Completely rewritten and optimized.
49573 * math/e_scalbf.c: Likewise.
49574 * math/e_scalbl.c: Likewise.
49575 * math/w_acos.c: Likewise.
49576 * math/w_acosf.c: Likewise.
49577 * math/w_acosl.c: Likewise.
49578 * math/w_acosh.c: Likewise.
49579 * math/w_acoshf.c: Likewise.
49580 * math/w_acoshl.c: Likewise.
49581 * math/w_asin.c: Likewise.
49582 * math/w_asinf.c: Likewise.
49583 * math/w_asinl.c: Likewise.
49584 * math/w_atan2.c: Likewise.
49585 * math/w_atan2f.c: Likewise.
49586 * math/w_atan2l.c: Likewise.
49587 * math/w_atanh.c: Likewise.
49588 * math/w_atanhf.c: Likewise.
49589 * math/w_atanhl.c: Likewise.
49590 * math/w_exp10.c: Likewise.
49591 * math/w_exp10f.c: Likewise.
49592 * math/w_exp10l.c: Likewise.
49593 * math/w_fmod.c: Likewise.
49594 * math/w_fmodf.c: Likewise.
49595 * math/w_fmodl.c: Likewise.
49596 * math/w_j0.c: Likewise.
49597 * math/w_j0f.c: Likewise.
49598 * math/w_j0l.c: Likewise.
49599 * math/w_j1.c: Likewise.
49600 * math/w_j1f.c: Likewise.
49601 * math/w_j1l.c: Likewise.
49602 * math/w_jn.c: Likewise.
49603 * math/w_jnf.c: Likewise.
49604 * math/w_log.c: Likewise.
49605 * math/w_logf.c: Likewise.
49606 * math/w_logl.c: Likewise.
49607 * math/w_log10.c: Likewise.
49608 * math/w_log10f.c: Likewise.
49609 * math/w_log10l.c: Likewise.
49610 * math/w_log2.c: Likewise.
49611 * math/w_log2f.c: Likewise.
49612 * math/w_log2l.c: Likewise.
49613 * math/w_pow.c: Likewise.
49614 * math/w_powf.c: Likewise.
49615 * math/w_powl.c: Likewise.
49616 * math/w_remainder.c: Likewise.
49617 * math/w_remainderf.c: Likewise.
49618 * math/w_remainderl.c: Likewise.
49619 * math/w_scalb.c: Likewise.
49620 * math/w_scalbf.c: Likewise.
49621 * math/w_scalbl.c: Likewise.
49622 * math/w_sqrt.c: Likewise.
49623 * math/w_sqrtf.c: Likewise.
49624 * math/w_sqrtl.c: Likewise.
49625 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49626 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49628 * math/math_private.h: Declare __kernel_standard_f.
49629 * math/w_cosh.c: Remove cruft and optimize a bit.
49630 * math/w_coshf.c: Likewise.
49631 * math/w_coshl.c: Likewise.
49632 * math/w_exp2.c: Likewise.
49633 * math/w_exp2f.c: Likewise.
49634 * math/w_exp2l.c: Likewise.
49635 * math/w_hypot.c: Likewise.
49636 * math/w_hypotf.c: Likewise.
49637 * math/w_hypotl.c: Likewise.
49638 * math/w_lgamma.c: Likewise.
49639 * math/w_lgamma_r.c: Likewise.
49640 * math/w_lgammaf.c: Likewise.
49641 * math/w_lgammaf_r.c: Likewise.
49642 * math/w_lgammal.c: Likewise.
49643 * math/w_lgammal_r.c: Likewise.
49644 * math/w_sinh.c: Likewise.
49645 * math/w_sinhf.c: Likewise.
49646 * math/w_sinhl.c: Likewise.
49647 * math/w_tgamma.c: Likewise.
49648 * math/w_tgammaf.c: Likewise.
49649 * math/w_tgammal.c: Likewise.
49650 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49651 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49652 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49653 Minor optimizations. Pretty printing. Remove cruft.
49654 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49655 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49656 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49657 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49658 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49659 * sysdeps/i386/fpu/e_asin.S: Likewise.
49660 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49661 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49662 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49663 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49664 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49665 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49666 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49667 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49668 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49669 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49670 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49671 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49672 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49673 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49674 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49675 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49676 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49677 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49678 * sysdeps/i386/fpu/e_log.S: Likewise.
49679 * sysdeps/i386/fpu/e_log10.S: Likewise.
49680 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49681 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49682 * sysdeps/i386/fpu/e_log2.S: Likewise.
49683 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49684 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49685 * sysdeps/i386/fpu/e_logf.S: Likewise.
49686 * sysdeps/i386/fpu/e_logl.S: Likewise.
49687 * sysdeps/i386/fpu/e_pow.S: Likewise.
49688 * sysdeps/i386/fpu/e_powf.S: Likewise.
49689 * sysdeps/i386/fpu/e_powl.S: Likewise.
49690 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49691 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49692 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49693 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49694 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49695 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49696 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49697 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49698 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49699 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49700 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49701 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49702 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49703 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49704 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49705 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49706 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49707 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49708 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49709 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49710 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49711 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49712 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49713 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49714 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49715 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49716 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49717 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49718 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49719 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49720 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49721 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49722 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49723 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49724 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49725 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49726 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49727 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49728 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49729 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49730 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49731 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49732 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49733 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49734 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49735 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49736 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49737 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49738 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49739 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49740 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49741 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49742 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49743 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49744 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49745 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49746 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49747 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49748 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49749 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49750 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49751 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49752 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49753 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49754 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49755 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49756 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49757 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49758 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49759 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49760 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49761 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49762 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49763 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49764 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49765 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49766 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49767 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49768 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49769 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49770 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49771 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49772 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49773 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49774 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49775 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49776 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49777 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49778 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49779 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49780 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49781 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49782 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49783 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49784 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49785 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49786 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49787 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49788 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49789 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49790 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49791 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49792 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49793 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49794 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49795 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49796 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49797 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49798 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49799 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49800 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49801 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49802 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49803 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49804 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49805 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49806 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49807 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49808 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49809 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49810 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49811 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49812 (__isnanf): Likewise.
49813 (__isinf_ns): Likewise.
49814 (__isinf_nsf): Likewise.
49815 (__finite): Likewise.
49816 (__finitef): Likewise.
49817 (__ieee754_sqrt): Define as macro.
49818 (__ieee754_sqrtf): Define as macro.
49819 (__ieee754_sqrtl): Define as macro.
49820 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49822 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49823 __FINITE_MATH_ONLY__ consistent.
49824 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49826 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49828 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49831 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49833 2011-10-09 Ulrich Drepper <drepper@gmail.com>
49835 * po/ja.po: Update from translation team.
49837 2011-10-08 Roland McGrath <roland@hack.frob.com>
49839 * locale/programs/locarchive.c (prepare_address_space): New function.
49840 (create_archive, enlarge_archive, open_archive): Use it.
49842 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49843 inside [SHARED], where it is used.
49845 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49847 * nss/getent.c (netgroup_keys): Remove unused variable.
49848 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49850 2011-10-08 Ulrich Drepper <drepper@gmail.com>
49852 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49853 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49854 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49855 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49856 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49857 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49858 * math/Makefile (libm-calls): Add s_isinf_ns.
49859 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49860 * math/multc3.c: Likewise.
49861 * math/s_casin.c: Likewise.
49862 * math/s_casinf.c: Likewise.
49863 * math/s_casinl.c: Likewise.
49864 * math/s_ccos.c: Likewise.
49865 * math/s_ccosf.c: Likewise.
49866 * math/s_ccosl.c: Likewise.
49867 * math/s_ctan.c: Likewise.
49868 * math/s_ctanf.c: Likewise.
49869 * math/s_ctanh.c: Likewise.
49870 * math/s_ctanhf.c: Likewise.
49871 * math/s_ctanhl.c: Likewise.
49872 * math/s_ctanl.c: Likewise.
49873 * math/w_fmod.c: Likewise.
49874 * math/w_fmodf.c: Likewise.
49875 * math/w_fmodl.c: Likewise.
49876 * math/w_remainder.c: Likewise.
49877 * math/w_remainderf.c: Likewise.
49878 * math/w_remainderl.c: Likewise.
49879 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49880 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49881 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49882 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49883 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49884 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49885 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49886 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49888 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49890 * stdio-common/printf_fphex.c: Likewise.
49891 * stdio-common/printf_size.c: Likewise.
49893 * math/e_exp10.c: Include math_private.h using <...> not "...".
49894 * math/e_exp10f.c: Likewise.
49895 * math/e_exp10l.c: Likewise.
49896 * math/e_exp2l.c: Likewise.
49897 * math/e_j0l.c: Likewise.
49898 * math/e_j1l.c: Likewise.
49899 * math/e_jnl.c: Likewise.
49900 * math/e_lgammal_r.c: Likewise.
49901 * math/e_rem_pio2l.c: Likewise.
49902 * math/e_scalb.c: Likewise.
49903 * math/e_scalbf.c: Likewise.
49904 * math/e_scalbl.c: Likewise.
49905 * math/k_cosl.c: Likewise.
49906 * math/k_sinl.c: Likewise.
49907 * math/k_tanl.c: Likewise.
49908 * math/s_cacoshf.c: Likewise.
49909 * math/s_catan.c: Likewise.
49910 * math/s_catanf.c: Likewise.
49911 * math/s_catanh.c: Likewise.
49912 * math/s_catanhf.c: Likewise.
49913 * math/s_catanhl.c: Likewise.
49914 * math/s_catanl.c: Likewise.
49915 * math/s_ccosh.c: Likewise.
49916 * math/s_ccoshf.c: Likewise.
49917 * math/s_ccoshl.c: Likewise.
49918 * math/s_cexp.c: Likewise.
49919 * math/s_cexpf.c: Likewise.
49920 * math/s_cexpl.c: Likewise.
49921 * math/s_clog.c: Likewise.
49922 * math/s_clog10.c: Likewise.
49923 * math/s_clog10f.c: Likewise.
49924 * math/s_clog10l.c: Likewise.
49925 * math/s_clogf.c: Likewise.
49926 * math/s_clogl.c: Likewise.
49927 * math/s_csin.c: Likewise.
49928 * math/s_csinf.c: Likewise.
49929 * math/s_csinh.c: Likewise.
49930 * math/s_csinhf.c: Likewise.
49931 * math/s_csinhl.c: Likewise.
49932 * math/s_csinl.c: Likewise.
49933 * math/s_csqrt.c: Likewise.
49934 * math/s_csqrtf.c: Likewise.
49935 * math/s_csqrtl.c: Likewise.
49936 * math/s_ctan.c: Likewise.
49937 * math/s_ctanf.c: Likewise.
49938 * math/s_ctanh.c: Likewise.
49939 * math/s_ctanhf.c: Likewise.
49940 * math/s_ctanhl.c: Likewise.
49941 * math/s_ctanl.c: Likewise.
49942 * math/s_ldexp.c: Likewise.
49943 * math/s_ldexpf.c: Likewise.
49944 * math/s_ldexpl.c: Likewise.
49945 * math/s_significand.c: Likewise.
49946 * math/s_significandf.c: Likewise.
49947 * math/s_significandl.c: Likewise.
49948 * math/w_acos.c: Likewise.
49949 * math/w_acosf.c: Likewise.
49950 * math/w_acosh.c: Likewise.
49951 * math/w_acoshf.c: Likewise.
49952 * math/w_acoshl.c: Likewise.
49953 * math/w_acosl.c: Likewise.
49954 * math/w_asin.c: Likewise.
49955 * math/w_asinf.c: Likewise.
49956 * math/w_asinl.c: Likewise.
49957 * math/w_atan2.c: Likewise.
49958 * math/w_atan2f.c: Likewise.
49959 * math/w_atan2l.c: Likewise.
49960 * math/w_atanh.c: Likewise.
49961 * math/w_atanhf.c: Likewise.
49962 * math/w_atanhl.c: Likewise.
49963 * math/w_cosh.c: Likewise.
49964 * math/w_coshf.c: Likewise.
49965 * math/w_coshl.c: Likewise.
49966 * math/w_dremf.c: Likewise.
49967 * math/w_exp10.c: Likewise.
49968 * math/w_exp10f.c: Likewise.
49969 * math/w_exp10l.c: Likewise.
49970 * math/w_exp2.c: Likewise.
49971 * math/w_exp2f.c: Likewise.
49972 * math/w_fmod.c: Likewise.
49973 * math/w_fmodf.c: Likewise.
49974 * math/w_fmodl.c: Likewise.
49975 * math/w_hypot.c: Likewise.
49976 * math/w_hypotf.c: Likewise.
49977 * math/w_hypotl.c: Likewise.
49978 * math/w_j0.c: Likewise.
49979 * math/w_j0f.c: Likewise.
49980 * math/w_j0l.c: Likewise.
49981 * math/w_j1.c: Likewise.
49982 * math/w_j1f.c: Likewise.
49983 * math/w_j1l.c: Likewise.
49984 * math/w_jn.c: Likewise.
49985 * math/w_jnf.c: Likewise.
49986 * math/w_jnl.c: Likewise.
49987 * math/w_lgamma.c: Likewise.
49988 * math/w_lgamma_r.c: Likewise.
49989 * math/w_lgammaf.c: Likewise.
49990 * math/w_lgammaf_r.c: Likewise.
49991 * math/w_lgammal.c: Likewise.
49992 * math/w_lgammal_r.c: Likewise.
49993 * math/w_log.c: Likewise.
49994 * math/w_log10.c: Likewise.
49995 * math/w_log10f.c: Likewise.
49996 * math/w_log10l.c: Likewise.
49997 * math/w_log2.c: Likewise.
49998 * math/w_log2f.c: Likewise.
49999 * math/w_log2l.c: Likewise.
50000 * math/w_logf.c: Likewise.
50001 * math/w_logl.c: Likewise.
50002 * math/w_pow.c: Likewise.
50003 * math/w_powf.c: Likewise.
50004 * math/w_powl.c: Likewise.
50005 * math/w_remainder.c: Likewise.
50006 * math/w_remainderf.c: Likewise.
50007 * math/w_remainderl.c: Likewise.
50008 * math/w_scalb.c: Likewise.
50009 * math/w_scalbf.c: Likewise.
50010 * math/w_scalbl.c: Likewise.
50011 * math/w_sinh.c: Likewise.
50012 * math/w_sinhf.c: Likewise.
50013 * math/w_sinhl.c: Likewise.
50014 * math/w_sqrt.c: Likewise.
50015 * math/w_sqrtf.c: Likewise.
50016 * math/w_sqrtl.c: Likewise.
50017 * math/w_tgamma.c: Likewise.
50018 * math/w_tgammaf.c: Likewise.
50019 * math/w_tgammal.c: Likewise.
50021 * po/ja.po: Update from translation team.
50023 2011-09-29 Andreas Jaeger <aj@suse.de>
50026 * sunrpc/netname.c (netname2host): Fix logic.
50030 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50032 * math/w_remainder.c (__remainder): Likewise.
50033 * math/w_remainderf.c (__remainderf): Likewise.
50034 * math/libm-test.inc (remainder_test): Add test cases.
50036 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50038 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50041 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50043 * string/test-memcmp.c: Avoid unncessary #defines.
50044 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50046 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50048 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50049 Use new sse2 version for core i3 - i7 as it's faster
50050 than sse42 version.
50051 (bit_Prefer_PMINUB_for_stringop): New.
50052 * sysdeps/x86_64/rawmemchr.S: Update.
50053 Replace with faster SSE2 version.
50054 * sysdeps/x86_64/memrchr.S: New file.
50055 * sysdeps/x86_64/memchr.S: Update.
50056 Replace with faster SSE2 version.
50058 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50060 * elf/dl-load.c (lose): Add cast to avoid warning.
50062 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50064 * po/ca.po: Update from translation team.
50066 * inet/getnetgrent_r.c: Hook up nscd.
50067 * nscd/Makefile (routines): Add nscd_netgroup.
50068 (nscd-modules): Add netgroupcache.
50069 (CFLAGS-netgroupcache.c): Define.
50070 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50071 (cache_search): Add const to second parameter.
50072 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50074 (dbs): Add netgrdb entry.
50075 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50076 (verify_persistent_db): Handle netgrdb.
50077 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50078 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50080 (netgroup_response_header): Define.
50081 (innetgroup_response_header): Define.
50082 (datahead): Add netgroup_response_header and innetgroup_response_header
50084 * nscd/nscd.conf: Add entries for netgroup cache.
50085 * nscd/nscd.h (dbtype): Add netgrdb.
50086 (_PATH_NSCD_NETGROUP_DB): Define.
50087 (netgroup_iov_disabled): Declare.
50088 (xmalloc, xcalloc, xrealloc): Move declarations here.
50089 (cache_search): Adjust prototype.
50090 Add netgroup-related prototypes.
50091 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50092 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50093 (__nscd_innetgr): Declare.
50094 * nscd/selinux.c (perms): Use access_vector_t as element type and
50095 add netgroup-related initializers.
50096 * nscd/netgroupcache.c: New file.
50097 * nscd/nscd_netgroup.c: New file.
50098 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50099 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50100 For four parameters use innetgr.
50101 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50102 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50103 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50104 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50106 * nscd/connections.c (register_traced_file): Don't register file
50107 for disabled databases.
50109 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50111 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50113 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50114 from tree and freeing node.
50116 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50118 * nss/nsswitch.c (__nss_database_lookup): Handle
50119 nss_parse_service_list out of memory case.
50121 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50123 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50124 out of memory case.
50126 2011-10-04 Andreas Schwab <schwab@redhat.com>
50128 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50129 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50131 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50132 elf_machine_rela, elf_machine_lazy_rel.
50133 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50134 (ELF_DYNAMIC_DO_REL): Likewise.
50135 (ELF_DYNAMIC_DO_RELA): Likewise.
50136 (ELF_DYNAMIC_RELOCATE): Likewise.
50137 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50138 to ELF_DYNAMIC_DO_REL.
50139 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50140 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50141 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50143 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50144 skip_ifunc, don't call ifunc function if non-zero.
50145 (elf_machine_rela): Likewise.
50146 (elf_machine_lazy_rel): Likewise.
50147 (elf_machine_lazy_rela): Likewise.
50148 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50149 (elf_machine_lazy_rel): Likewise.
50150 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50152 (elf_machine_lazy_rel): Likewise.
50153 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50155 (elf_machine_lazy_rel): Likewise.
50156 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50157 (elf_machine_lazy_rel): Likewise.
50158 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50159 (elf_machine_lazy_rel): Likewise.
50160 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50161 (elf_machine_lazy_rel): Likewise.
50162 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50163 (elf_machine_lazy_rel): Likewise.
50164 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50165 (elf_machine_lazy_rel): Likewise.
50166 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50167 (elf_machine_lazy_rel): Likewise.
50169 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50171 * nss/nss_files/files-init.c (_nss_files_init): Use static
50172 initialization for all the *_traced_file variables.
50174 2011-09-28 Andreas Schwab <schwab@redhat.com>
50176 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50178 2011-09-27 Roland McGrath <roland@hack.frob.com>
50181 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50183 2011-09-27 Andreas Schwab <schwab@redhat.com>
50185 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50186 Reread the line before reparsing it.
50188 2011-09-26 Andreas Schwab <schwab@redhat.com>
50190 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50192 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50193 Maxim Kuvyrkov <maxim@codesourcery.com>
50194 Joseph Myers <joseph@codesourcery.com>
50196 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50197 if needed for __stack_chk_guard.
50199 2011-09-19 Roland McGrath <roland@hack.frob.com>
50201 * sysdeps/posix/spawni.c (script_execute): Always define it.
50202 It will be optimized away if unused.
50203 (maybe_script_execute): New function.
50204 (__spawni): Call it.
50206 * Makerules: Don't include tls.make.
50207 (config-tls): Always set to thread.
50208 * tls.make.c: File removed.
50210 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50212 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50213 * config.make.in (CPPFLAGS-config): New substituted variable.
50215 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50217 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50220 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50221 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50223 2011-09-15 Roland McGrath <roland@hack.frob.com>
50225 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50226 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50227 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50228 (CALL_FAIL): Likewise.
50229 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50230 (CALL_FAIL): Macro removed.
50231 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50233 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50235 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50236 for __FINITE_MATH_ONLY__ == 1.
50238 2011-09-15 Andreas Schwab <schwab@redhat.com>
50240 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50241 __ieee754_sqrt instead of sqrt.
50242 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50243 __ieee754_sqrtf instead of sqrtf.
50244 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50245 __floorf instead of floorf.
50246 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50247 __floorf, __truncf instead of floorf, truncf.
50249 2011-09-14 Ulrich Drepper <drepper@gmail.com>
50251 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50253 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50254 __extern_always_inline.
50255 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50258 2011-09-14 Andreas Schwab <schwab@redhat.com>
50260 * elf/rtld.c (dl_main): Also relocate in dependency order when
50261 doing symbol dependency testing.
50263 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50265 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50266 Always define `refsym'.
50268 2011-09-13 Andreas Schwab <schwab@redhat.com>
50270 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50271 (__FD_ELT): Renamed from __FDELT.
50272 * misc/bits/select2.h (__FD_ELT): Likewise.
50273 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50274 __FD_MASK instead of __FDELT, __FDMASK.
50275 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50277 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50280 * elf/Makefile (gen-ldd): Fix pattern.
50282 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50283 (init_tls): Likewise.
50285 2011-09-12 Ulrich Drepper <drepper@gmail.com>
50287 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50289 2011-09-12 Andreas Schwab <schwab@redhat.com>
50291 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50292 `struct cmsghdr *' instead of `void *'.
50293 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50296 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50298 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50300 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50301 ldd_rewrite_script.
50303 2011-09-11 Ulrich Drepper <drepper@gmail.com>
50305 * configure.in: Remove --with-tls option.
50306 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50307 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50308 out in case it is missing.
50309 * sysdeps/ia64/elf/configure.in: Likewise.
50310 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50311 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50312 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50313 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50314 * sysdeps/sh/elf/configure.in: Likewise.
50315 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50316 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50317 * sysdeps/x86_64/elf/configure.in: Likewise.
50318 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50319 * sysdeps/mach/hurd/tls.h: Likewise.
50322 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50325 * configure.in: Fix use of AC_INIT.
50327 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50329 2011-09-10 Ulrich Drepper <drepper@gmail.com>
50331 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50333 * malloc/hooks.c: Likewise.
50336 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50337 variables statically.
50338 (narenas): Initialize.
50339 (list_lock): Initialize.
50340 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50341 initializtion of main_arena and list_lock. Small cleanups.
50342 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50343 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50344 Add initializers to main_arena and mp_.
50345 (malloc_state): Remove pagesize member. Change all users to use
50348 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50349 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50350 is always initialized.
50352 * malloc/malloc.c: Removed unused configurations and dead code.
50353 * malloc/arena.c: Likewise.
50354 * malloc/hooks.c: Likewise.
50355 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50357 * include/tls.h: Removed. USE___THREAD must always be defined.
50358 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50359 * elf/dl-libc.c: Likewise.
50360 * elf/dl-tsd.c: Likewise.
50361 * include/errno.h: Likewise.
50362 * include/netdb.h: Likewise.
50363 * include/resolv.h: Likewise.
50364 * inet/herrno-loc.c: Likewise.
50365 * inet/herrno.c: Likewise.
50366 * malloc/arena.c: Likewise.
50367 * malloc/hooks.c: Likewise.
50368 * malloc/malloc.c: Likewise.
50369 * resolv/res-state.c: Likewise.
50370 * resolv/res_libc.c: Likewise.
50371 * sysdeps/i386/dl-machine.h: Likewise.
50372 * sysdeps/ia64/dl-machine.h: Likewise.
50373 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50374 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50375 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50376 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50377 * sysdeps/sh/dl-machine.h: Likewise.
50378 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50379 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50380 * sysdeps/unix/i386/sysdep.S: Likewise.
50381 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50382 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50383 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50384 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50385 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50386 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50387 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50388 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50389 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50391 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50392 * sysdeps/x86_64/dl-machine.h: Likewise.
50393 * tls.make.c: Likewise.
50395 * configure.in: Remove --with-__thread option. Make tests for
50396 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50397 tls_model attribute fail if no support is available. Remove
50399 * Makeconfig: Adjust for dropped configure option. All features are
50401 * Makerules: Likewise.
50402 * Versions.def: Likewise.
50403 * argp/argp-fmtstream.c: Likewise.
50404 * argp/argp-fmtstream.h: Likewise.
50405 * argp/argp-help.c: Likewise.
50406 * assert/assert.c: Likewise.
50407 * config.h.in: Likewise.
50408 * config.make.in: Likewise.
50409 * configure: Likewise.
50410 * configure.in: Likewise.
50411 * csu/Versions: Likewise.
50412 * csu/init.c: Likewise.
50413 * elf/tst-audit2.c: Likewise.
50414 * elf/tst-tls10.c: Likewise.
50415 * elf/tst-tls10.h: Likewise.
50416 * elf/tst-tls11.c: Likewise.
50417 * elf/tst-tls12.c: Likewise.
50418 * elf/tst-tls14.c: Likewise.
50419 * elf/tst-tlsmod11.c: Likewise.
50420 * elf/tst-tlsmod12.c: Likewise.
50421 * elf/tst-tlsmod13.c: Likewise.
50422 * elf/tst-tlsmod13a.c: Likewise.
50423 * elf/tst-tlsmod14a.c: Likewise.
50424 * elf/tst-tlsmod15b.c: Likewise.
50425 * elf/tst-tlsmod16a.c: Likewise.
50426 * elf/tst-tlsmod16b.c: Likewise.
50427 * elf/tst-tlsmod7.c: Likewise.
50428 * elf/tst-tlsmod8.c: Likewise.
50429 * elf/tst-tlsmod9.c: Likewise.
50430 * gmon/gmon.c: Likewise.
50431 * grp/fgetgrent_r.c: Likewise.
50432 * grp/putgrent.c: Likewise.
50433 * hurd/fopenport.c: Likewise.
50434 * include/libc-symbols.h: Likewise.
50435 * include/tls.h: Likewise.
50436 * intl/gettextP.h: Likewise.
50437 * intl/loadinfo.h: Likewise.
50438 * locale/global-locale.c: Likewise.
50439 * locale/localeinfo.h: Likewise.
50440 * mach/devstream.c: Likewise.
50441 * malloc/arena.c: Likewise.
50442 * malloc/set-freeres.c: Likewise.
50443 * misc/err.c: Likewise.
50444 * misc/getttyent.c: Likewise.
50445 * misc/mntent_r.c: Likewise.
50446 * posix/getopt.c: Likewise.
50447 * posix/wordexp.c: Likewise.
50448 * pwd/fgetpwent_r.c: Likewise.
50449 * resolv/Versions: Likewise.
50450 * resolv/res_hconf.c: Likewise.
50451 * shadow/fgetspent_r.c: Likewise.
50452 * shadow/putspent.c: Likewise.
50453 * stdio-common/printf_fphex.c: Likewise.
50454 * stdio-common/tmpfile.c: Likewise.
50455 * stdlib/abort.c: Likewise.
50456 * stdlib/fmtmsg.c: Likewise.
50457 * sunrpc/auth_unix.c: Likewise.
50458 * sunrpc/clnt_perr.c: Likewise.
50459 * sunrpc/clnt_tcp.c: Likewise.
50460 * sunrpc/clnt_udp.c: Likewise.
50461 * sunrpc/clnt_unix.c: Likewise.
50462 * sunrpc/openchild.c: Likewise.
50463 * sunrpc/svc_simple.c: Likewise.
50464 * sunrpc/svc_tcp.c: Likewise.
50465 * sunrpc/svc_udp.c: Likewise.
50466 * sunrpc/svc_unix.c: Likewise.
50467 * sunrpc/xdr.c: Likewise.
50468 * sunrpc/xdr_array.c: Likewise.
50469 * sunrpc/xdr_rec.c: Likewise.
50470 * sunrpc/xdr_ref.c: Likewise.
50471 * sunrpc/xdr_stdio.c: Likewise.
50473 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50475 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50477 2011-07-03 Andreas Jaeger <aj@suse.de>
50479 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50480 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50481 regenerate with gen-libm-tests.pl.
50483 2010-05-12 Petr Baudis <pasky@suse.cz>
50486 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50487 around j0() zero points by switching to j1().
50488 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50489 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50490 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50491 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50493 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50495 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50497 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50499 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50500 Patch in part by Pavel Roskin <proski@gnu.org>.
50503 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50505 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
50506 Free memory block if necessary.
50509 * libio/genops.c (INTDEF): For string streams the _lock pointer can
50510 be NULL. Don't lock in this case.
50512 2011-09-09 Roland McGrath <roland@hack.frob.com>
50514 * elf/elf.h (ELFOSABI_GNU): New macro.
50515 (ELFOSABI_LINUX): Define to that.
50517 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
50519 * string/strncat.c (strncat): Undef the symbol in case it has been
50520 defined in bits/string.h.
50522 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50524 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50526 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50529 2011-08-17 Andreas Jaeger <aj@suse.de>
50531 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50533 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50534 Ian Lance Taylor <iant@google.com>
50536 * math/libm-test.inc (lround_test): New testcase.
50537 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50539 2011-09-08 Ulrich Drepper <drepper@gmail.com>
50541 * Makefile: Remove support for automatic cvs check-ins.
50542 * Makerules: Likewise.
50543 * config.make.in: Likewise.
50544 * configure.in: Likewise.
50545 * intl/Makefile: Likewise.
50546 * locale/Makefile: Likewise.
50547 * po/Makefile: Likewise.
50548 * posix/Makefile: Likewise.
50549 * sysdeps/gnu/Makefile: Likewise.
50550 * sysdeps/mach/hurd/Makefile: Likewise.
50551 * sysdeps/sparc/sparc32/Makefile: Likewise.
50554 * posix/Makefile (bug-regex32-ENV): Define.
50555 Patch by John Stanley <jpsinthemix@verizon.net>.
50557 * misc/Makefile (headers): Add bits/select2.h.
50558 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50559 * misc/bits/select2.h: New file.
50560 * include/bits/select2.h: New file.
50561 * debug/Makefile (routines): Add fdelt_chk.
50562 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50563 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50565 * debug/fdelt_chk.c: New file.
50567 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50568 * wcsmbs/test-wmemcmp.c: Likewise.
50569 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50570 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50572 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50574 * string/Makefile (strop-tests): Add memcmp.
50575 * string/test-wmemcmp.c: New file.
50576 * string/test-memcmp.c: Add wmemcmp support.
50578 2011-09-08 Roland McGrath <roland@hack.frob.com>
50581 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50584 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50585 garbage value in a __mach_port_mod_refs call in the cases of the
50586 task-self and thread-self ports.
50588 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50590 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50592 2011-09-08 Andreas Schwab <schwab@redhat.com>
50594 * elf/dl-load.c (lose): Check for non-null L.
50596 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50598 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50600 * elf/dl-libc.c (dlerror_run): Pass back error code from
50604 * elf/dl-load.c (lose): Free l_origin if it is valid.
50606 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50608 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50609 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50610 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50611 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50612 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50613 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50615 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50617 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50618 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50619 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50620 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50621 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50622 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50623 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50624 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50625 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50626 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50628 2011-08-15 Alan Modra <amodra@gmail.com>
50631 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50632 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50633 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50634 ppc_mcount to static-only-routines.
50635 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50637 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50638 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50640 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50642 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50643 for finite and infinity parameters.
50645 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50647 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50648 and add nop instructions for throughput optimization.
50649 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50651 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50653 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50654 aligned copy for power7 with vector-scalar instructions.
50655 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50657 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50659 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50662 2011-09-07 Andreas Schwab <schwab@redhat.com>
50665 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50668 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50670 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50671 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50672 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50673 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50676 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50678 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50679 Forgot to demangle the pointer.
50681 * sysdeps/i386/sysdep.h: Define atom_text_section.
50682 * sysdeps/x86_64/sysdep.h: Likewise.
50683 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50684 section with atom_text_section.
50685 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50686 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50687 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50688 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50689 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50691 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50692 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50693 already be defined. Change to take two parameters and don't assign
50694 result to variable. Adjust all users.
50695 Define INTERNAL_GETTIME if not already defined.
50696 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50698 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50699 HAVE_CLOCK_GETTIME_VSYSCALL.
50700 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50702 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50703 gettimeofday vsyscall, just use time.
50705 2011-09-06 Andreas Schwab <schwab@redhat.com>
50707 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50710 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50712 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50714 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50716 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50717 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50718 syscall if possible.
50720 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50722 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50723 e_ident. Don't pass to find_mapsXX.
50724 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50726 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50728 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50729 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50730 * sysdeps/x86_64/multiarch/strchr.S: Update.
50731 Check bit_slow_BSF bit.
50732 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50733 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50734 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50736 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50739 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50741 (tryshell): Define.
50742 (__spawni): Change last parameter to be flag. Test
50743 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50744 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50745 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50746 * posix/spawni.c: Likewise.
50747 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50748 * posix/spawnp.c: Likewise. Change normal version to use
50749 SPAWN_XFLAGS_USE_PATH.
50750 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50751 SPAWN_XFLAGS_TRY_SHELL.
50754 * posix/glob.h: Remove gcc 1.x support.
50757 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50759 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50761 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50762 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50764 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50765 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50766 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50767 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50768 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50769 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50771 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50773 * sysdeps/x86_64/wcscmp.S: New file.
50775 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50776 wcscmp-c wcscmp-sse2
50777 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50778 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50779 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50780 * wcsmbs/wcscmp.c: Allow renaming.
50782 2011-09-05 David S. Miller <davem@davemloft.net>
50784 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50785 stack slot, rather than the struct return pointer slot.
50786 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50787 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50788 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50789 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50791 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50793 * po/ja.po: Update from translation team.
50796 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50797 kernel in 64-bit binaries.
50799 2011-09-01 David S. Miller <davem@davemloft.net>
50801 * elf/elf.h (HWCAP_SPARC_*): Move to..
50802 * sysdeps/sparc/sysdep.h: this new file and add new values.
50803 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50804 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50805 _DL_HWCAP_COUNT to 24.
50806 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50808 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50809 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50810 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50811 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50812 instead of magic constants.
50813 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50815 2011-08-31 David S. Miller <davem@davemloft.net>
50817 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50818 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50819 Reimplement to do errno handling inline.
50820 (SYSCALL_ERROR_HANDLER): New macro.
50821 (__SYSCALL_STRING): Do not do errno handling in asm.
50822 (__CLONE_SYSCALL_STRING): Delete.
50823 (__INTERNAL_SYSCALL_STRING): Delete.
50824 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50825 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50826 (PSEUDO): Reimplement to do errno handling inline.
50827 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50828 (SYSCALL_ERROR_HANDLER): New macro.
50829 (__SYSCALL_STRING): Do not do errno handling in asm.
50830 (__CLONE_SYSCALL_STRING): Delete.
50831 (__INTERNAL_SYSCALL_STRING): Delete.
50832 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50833 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50835 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50836 (inline_syscall*): Add 'err' argument.
50837 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50838 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50839 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50840 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50842 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50843 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50845 2011-08-30 Andreas Schwab <schwab@redhat.com>
50847 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50849 2011-08-29 Jiri Olsa <jolsa@redhat.com>
50851 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50854 2011-08-24 David S. Miller <davem@davemloft.net>
50856 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50858 2011-08-24 Andreas Schwab <schwab@redhat.com>
50860 * elf/Makefile: Add rules to build and run unload8 test.
50861 * elf/unload8.c: New file.
50862 * elf/unload8mod1.c: New file.
50863 * elf/unload8mod1x.c: New file.
50864 * elf/unload8mod2.c: New file.
50865 * elf/unload8mod3.c: New file.
50867 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50870 2011-08-23 David S. Miller <davem@davemloft.net>
50872 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50873 subtract stack bias.
50874 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50875 %sp not %fp in calculations.
50876 (_JMPBUF_UNWINDS_ADJ): Likewise.
50878 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50879 (aio_suspend): Call it to force an exception region around the
50880 AIO_MISC_WAIT() invocation.
50882 2011-08-23 Andreas Schwab <schwab@redhat.com>
50884 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50887 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
50889 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50891 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50892 and <dl-machine.h>.
50893 (Elf64_FuncDesc): Remove.
50895 2011-08-22 David S. Miller <davem@davemloft.net>
50897 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50898 sigaltstack check, add missing cfi directives.
50899 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50900 missing cfi directives, and sigaltstack handling.
50902 2011-08-16 Andreas Schwab <schwab@redhat.com>
50905 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50906 object is seen twice.
50907 * elf/dl-fini.c (_dl_sort_fini): Likewise.
50909 * elf/Makefile (distribute): Add tst-initorder2.c.
50910 (tests): Add tst-initorder2.
50911 (modules-names): Add tst-initorder2a tst-initorder2b
50912 tst-initorder2c tst-initorder2d. Add rules to build them.
50913 ($(objpfx)tst-initorder2.out): New rule.
50914 * elf/tst-initorder2.c: New file.
50915 * elf/tst-initorder2.exp: New file.
50917 2011-08-22 Andreas Schwab <schwab@redhat.com>
50919 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50921 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50922 dependencies back to end of function.
50924 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50925 $(elfobjdir)/ld.so.
50927 2011-08-21 Ulrich Drepper <drepper@gmail.com>
50929 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50930 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50931 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50932 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50933 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50934 of __vdso_gettimeofday.
50935 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50936 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
50938 (_libc_vdso_platform_setup): Remove initialization of
50939 __vdso_gettimeofday and __vdso_time.
50941 2011-08-20 Ulrich Drepper <drepper@gmail.com>
50943 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50944 and fgetc_unlocked.
50945 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50948 * elf/dl-open.c (add_to_global): Report additions to the global scope
50949 for LD_DEBUG=scopes.
50950 (dl_open_worker): Also print scope of newly loaded dependencies.
50951 (_dl_show_scope): Indicate if there is no scope.
50954 * stdio-common/Makefile (tests): Add bug24.
50955 * stdio-common/bug24.c: New file.
50957 2011-08-19 Andreas Jaeger <aj@suse.de>
50960 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50961 non-existant file when using close-on-exec mode.
50963 2011-08-20 Ulrich Drepper <drepper@gmail.com>
50965 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50966 the very first instruction.
50968 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50969 the CFI state in the end.
50970 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50971 inclusion of dl-trampoline.h.
50972 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50974 2011-08-19 Andreas Schwab <schwab@redhat.com>
50976 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50977 expectations for long double.
50979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50980 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50982 2011-08-14 David S. Miller <davem@davemloft.net>
50984 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50985 artificual limit depends upon the system page size.
50987 2011-08-17 Ulrich Drepper <drepper@gmail.com>
50989 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50990 * resolv/Makefile: Define CFLAGS-libresolv.
50992 2011-08-17 Andreas Schwab <schwab@redhat.com>
50994 * nss/makedb.c (compute_tables): Make variables used in nested
50997 2011-08-17 Ulrich Drepper <drepper@gmail.com>
50999 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51000 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51001 if buffer was too small.
51003 * elf/pldd.c (main): Attach to all threads in the process.
51004 Rewrite /proc handling to use *at functions.
51006 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51008 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51009 specifies first scope to show.
51010 (dl_open_worker): Update callers. Move printing scope of new
51011 object to before the relocation.
51012 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51013 * sysdeps/generic/ldsodefs.h: Update declaration.
51015 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51016 string for the scope number.
51018 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51020 * nscd/servicescache.c (cache_addserv): Make sure written is always
51023 2011-08-14 Roland McGrath <roland@hack.frob.com>
51025 * sysdeps/i386/i486/bits/atomic.h
51026 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51027 statement expression, so as to suppress "set but not used" warning.
51028 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51030 * string/strncat.c (STRNCAT): Use prototype definition.
51032 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51033 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51035 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51036 (localedef-modules): Add localedef.
51037 (locale-modules): Add locale.
51039 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51040 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51041 to avoid a warning.
51043 2011-08-14 David S. Miller <davem@davemloft.net>
51045 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51046 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51048 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51050 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51051 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51052 * elf/rtld.c (dl_main): Set l_name of vDSO.
51053 Call _dl_show_scope when DL_DEBUG_SCOPES.
51054 (process_dl_debug): Recognize scopes flag and also set it for all.
51055 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51056 Declare _dl_show_scope.
51058 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51059 (do_dlopen): Pass caller_dlopen to dl_open.
51060 (__libc_dlopen_mode): Initialize caller_dlopen.
51062 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51063 of libc. Make tolower call locale-independent. Optimize a bit by
51064 using isdigit instead of isalnum.
51065 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51067 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51069 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51070 was a dependency or dynamically loaded.
51072 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51074 * intl/l10nflist.c: Allow architecture-specific pop function.
51075 * sysdeps/x86_64/l10nflist.c: New file.
51077 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51080 2011-08-10 Andreas Schwab <schwab@redhat.com>
51082 * include/dirent.h: Add libc_hidden_proto for scandirat and
51083 scandirat64. Don't declare __scandirat64.
51084 * dirent/scandirat.c: Add libc_hidden_def.
51085 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51086 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51088 2011-08-10 David S. Miller <davem@davemloft.net>
51090 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51092 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51093 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51094 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51096 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51098 * Versions.def [libc]: Add GLIBC_2.15.
51099 * dirent/Makefile (routines): Add scandirat and scandirat64.
51100 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51102 * dirent/dirent.h: Declare scandirat and scandirat64.
51103 * dirent/scandirat.c: New file.
51104 * dirent/scandirat64.c: New file.
51105 * sysdeps/wordsize-64/scandirat.c: New file.
51106 * sysdeps/wordsize-64/scandirat64.c: New file.
51107 * dirent/opendir.c: Define opendirat.
51108 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51110 * dirent/scandir64.c: Adjust for scandir.c change.
51111 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51112 __scandirat64, and __scandir_cancel_handler.
51113 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51114 additional parameter and use openat instead of open (outside of ld.so).
51115 Add new __opendir as wrapper around __opendirat.
51116 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51117 here without requiring old scandirat implementation.
51119 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51121 * dirent/scandir.c (cancel_handler): Renamed to
51122 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51123 defined. Adjust users.
51124 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51125 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51127 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51129 * string/test-string.h (IMPL): Use __STRING to expand name and then
51132 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51135 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51137 * string/Makefile: Update.
51138 (strop-tests): Append strncat.
51139 * string/test-wcscmp.c: New file.
51140 New comprehensive test for wcscmp.
51141 * string/test-strcmp.c: Update.
51142 (WIDE): New define.
51144 2011-07-22 Andreas Schwab <schwab@redhat.com>
51146 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51149 2011-07-26 Andreas Schwab <schwab@redhat.com>
51151 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51152 encoding to ACE if AI_IDN.
51154 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51156 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51157 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51159 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51161 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51162 Fix overflow bug in strncat.
51163 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51165 * string/test-strncat.c: Update.
51166 Add new tests for checking overflow bugs.
51168 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51170 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51171 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51172 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51173 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51174 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51175 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51176 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51177 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51178 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51180 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51181 (USE_AS_STRCAT): Define.
51182 Add strcat and strncat support.
51183 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51185 2011-07-25 Andreas Schwab <schwab@redhat.com>
51187 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51188 __n bigger than INT_MAX+1.
51189 (__strncmp_g): Likewise.
51191 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51193 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51194 * libio/stido.h: Likewise.
51196 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51198 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51201 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51202 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51203 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51204 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51205 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51208 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51211 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51213 (_dl_x86_64_save_sse): Likewise.
51215 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51217 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51219 (_dl_x86_64_save_sse): Likewise.
51221 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51223 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51225 2011-07-21 Andreas Schwab <schwab@redhat.com>
51227 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51229 (_dl_x86_64_save_sse): Use correct AVX check.
51231 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51233 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51234 bug in strncpy/strncat.
51235 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51237 2011-07-21 Ulrich Drepper <drepper@gmail.com>
51239 * string/tester.c (test_strcat): Add tests for different alignments
51240 of source and destination.
51241 (test_strncat): Likewise.
51243 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51246 * posix/glob.c (glob): Check passed in values before using them in
51247 expressions to avoid some overflows.
51248 (glob_in_dir): Likewise.
51251 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51252 check for AVX enablement so that we don't crash with old kernels and
51254 * elf/tst-audit4.c: Add same checks here.
51255 * elf/tst-audit6.c: Likewise.
51257 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51259 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51261 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51263 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51265 * po/cs.po: Update from translation team.
51266 * po/bg.po: Likewise.
51268 2011-07-12 Marek Polacek <mpolacek@redhat.com>
51270 * misc/sys/cdefs.h: Add support for const attribute.
51271 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51272 to gnu_dev_{major,minor,makedev} functions.
51274 2011-07-20 Marek Polacek <mpolacek@redhat.com>
51276 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51278 2011-07-20 Andreas Schwab <schwab@redhat.com>
51280 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51283 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51285 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51286 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51287 register in order to avoid conflicts with the soft frame pointer
51288 being held in r11 when necessary.
51289 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51290 (INTERNAL_VSYSCALL_NCS): Likewise.
51292 2011-07-14 Marek Polacek <mpolacek@redhat.com>
51294 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51295 * elf/dl-fini.c (_dl_fini): Adjust caller.
51296 * elf/dl-close.c (_dl_close_worker): Likewise.
51297 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51299 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51301 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51302 "aux_cache->nlibs < 0".
51304 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51305 in the reload-count case.
51307 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51310 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51311 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51312 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51313 * sysdeps/x86_64/multiarch/strcat.S: New file.
51314 * sysdeps/x86_64/multiarch/strncat.S: New file.
51315 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51316 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51317 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51318 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51319 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51320 (USE_AS_STRCAT): Define.
51321 Add strcat and strncat support.
51322 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51323 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51324 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51325 * string/strncat.c: Update.
51326 (USE_AS_STRNCAT): Define.
51327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51328 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51330 * sysdeps/x86_64/multiarch/init-arch.h
51331 (bit_Prefer_PMINUB_for_stringop): New.
51332 (index_Prefer_PMINUB_for_stringop): Likewise.
51333 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51334 bit_Prefer_PMINUB_for_stringop.
51336 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51338 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51340 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51341 of casting of buffer.
51342 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51343 buffer32 and buffer64.
51344 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51345 writes instead of casting of buffer.
51346 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51348 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51351 2011-07-19 Andreas Schwab <schwab@redhat.com>
51353 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51355 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51357 * nscd/nscd.c (termination_handler): Don't do anything for a database
51358 if it has not yet been initialized.
51360 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51362 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51364 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51366 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51368 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51370 * po/nl.po: Update from translation team.
51371 * po/sv.po: Likewise.
51373 2011-07-16 Roland McGrath <roland@hack.frob.com>
51375 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51376 now disallowed by GCC.
51378 * configure.in (use-default-link): Default to yes if a test -shared
51379 link meets our qualifications.
51380 * configure: Regenerated.
51382 * config.make.in (output-format): New variable.
51383 * configure.in: Check for ld --print-output-format support.
51384 * configure: Regenerated.
51385 * Makerules ($(common-objpfx)format.lds)
51386 [$(output-format) != unknown]: Just use $(output-format),
51387 instead of the linker-script munging.
51389 2011-07-14 Roland McGrath <roland@hack.frob.com>
51391 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51392 of $(common-objpfx)shlib.lds.
51393 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51395 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51396 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51398 * configure.in (-z relro check): Adjust test code to add a large
51399 writable data section after it.
51400 * configure: Regenerated.
51402 2011-07-11 Roland McGrath <roland@hack.frob.com>
51404 * configure.in (-z relro check): Fix test code to make the variable
51406 * configure: Regenerated.
51408 2011-07-11 Ulrich Drepper <drepper@gmail.com>
51410 * nscd/nscd.h (struct traced_file): Define.
51411 (struct database_dyn): Remove inotify_descr, reset_res, and filename
51412 elements. Add traced_files.
51413 (inotify_fd): Declare.
51414 (register_traced_file): Declare.
51415 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51416 (inotify_fd): Export.
51417 (resolv_conf_descr): Remove.
51418 (nscd_init): Move inotify descriptor creation to main.
51419 Don't register files for notification here.
51420 (register_traced_file): New function.
51421 (invalidate_cache): Don't use reset_res to determine whether to call
51422 res_init, go through the list of registered files.
51423 (main_loop_poll): The inotify descriptors are now stored in the
51424 structures for the traced files.
51425 (main_loop_epoll): Likewise
51426 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
51427 to __nss_disable_nscd.
51428 * nscd/cache.c (prune_cache): There is no single inotify descriptor
51429 for a database anymore. Check the records for all the registered
51431 * nss/Makefile (libnss_files-routines): Add files-init.
51432 (libnss_db-routines): Add db-init.
51433 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51434 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51435 * nss/nss_db/db-init.c: New file.
51436 * nss/nss_files/files-init.c: New file.
51437 * nss/nsswitch.c (nss_load_library): New function. Broken out of
51438 __nss_lookup_function.
51439 (__nss_lookup_function): Call nss_load_library.
51440 (nss_load_all_libraries): New function.
51441 (__nss_disable_nscd): Take parameter with callback function for files
51442 to register. Set is_nscd. Load all the DSOs for the NSS modules
51443 used for the cached services.
51444 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51445 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51446 options for features to all the files in nscd.
51448 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51450 2011-07-10 Roland McGrath <roland@hack.frob.com>
51452 * csu/elf-init.c (__libc_csu_init): Comment typo.
51454 2011-07-09 Ulrich Drepper <drepper@gmail.com>
51456 * po/pl.po: Update from translation team.
51457 * po/ja.po: Likewise.
51458 * po/ru.po: Likewise.
51459 * po/ko.po: Likewise.
51460 * po/fr.po: Likewise.
51462 2011-07-09 Roland McGrath <roland@hack.frob.com>
51464 * configure.in (.ctors/.dtors header and trailer check):
51465 Use an empirical test on a built program.
51466 * configure: Regenerated.
51468 * configure.in (-z relro check): Use an empirical test on a built DSO.
51469 Detect, but do not require, on ia64.
51470 * configure: Regenerated.
51472 * configure.in (READELF): Find it with AC_CHECK_TOOL.
51473 Update tests that use readelf to use $READELF instead.
51474 * configure: Regenerated.
51476 2011-07-08 Ulrich Drepper <drepper@gmail.com>
51478 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51479 if the result is not used.
51481 2011-07-05 Andreas Jaeger <aj@suse.de>
51484 * stdlib/tst-strtod.c: Add testcase.
51486 2011-07-07 Ulrich Drepper <drepper@gmail.com>
51488 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51489 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51490 The latter has a higher limit. Take additional parameter to pass to
51492 (__pathconf): Pass file to __statfs_link_max.
51493 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51495 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51499 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51500 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51502 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51503 (__statfs_filesize_max): Likewise.
51504 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51506 2011-07-05 Andreas Jaeger <aj@suse.de>
51508 * resolv/res_comp.c (dn_skipname): Remove unused variable.
51510 2011-07-06 Marek Polacek <mpolacek@redhat.com>
51512 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51514 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51517 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
51519 * Makefile (strop-tests): Add strncat.
51520 * string/test-strncat.c: New file.
51522 2011-06-30 Marek Polacek <mpolacek@redhat.com>
51524 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51526 2011-06-21 Andreas Jaeger <aj@suse.de>
51528 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51529 Copy rule from iconvdata/Makefile.
51531 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51534 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51535 but no long options are defined, just return 'W'.
51537 2011-06-22 Marek Polacek <mpolacek@redhat.com>
51540 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51542 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51544 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51546 (innetgr): Likewise.
51548 2011-07-05 Roland McGrath <roland@hack.frob.com>
51550 * config.make.in (install_root): Default to $(DESTDIR).
51552 2011-07-05 Ulrich Drepper <drepper@gmail.com>
51554 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51556 2011-07-02 Roland McGrath <roland@hack.frob.com>
51558 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51560 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51561 containing directory rather than embedding absolute directory names.
51563 * scripts/check-local-headers.sh: Rewritten using awk.
51564 Match by word, not by line. Print error messages for matches.
51565 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51567 * Makerules [shlib-lds-flags empty]:
51568 ($(common-objpfx)libc_pic.opts): New target.
51569 ($(common-objpfx)libc_pic.os.clean): New target.
51570 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51572 * config.make.in (OBJCOPY): New variable.
51573 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51574 * configure: Regenerated.
51576 * config.make.in (use-default-link): New variable.
51577 * configure.in (use_default_link): Grok --with-default-link to set it.
51578 * configure: Regenerated.
51579 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51580 (shlib-lds, shlib-lds-flags): Define to empty.
51582 * Makerules (shlib-lds): New variable.
51583 (shlib-lds-flags): New variable.
51584 (build-shlib, build-moduile, build-module-asneeded): Use it.
51585 ($(common-objpfx)libc.so): Use $(shlib-lds).
51586 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51587 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51589 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51590 DT_FLAGS/DT_FLAGS_1 with zero flags.
51592 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51593 linker script munging.
51595 2011-07-02 Ulrich Drepper <drepper@gmail.com>
51597 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51599 * crypt/sha512.c (sha512_process_block): Perform total addition using
51600 128-bit if possible.
51601 (__sha512_finish_ctx): Likewise.
51602 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51604 * crypt/sha256.c (SWAP64): Define.
51605 (sha256_process_block): Perform total addition using 64-bit if
51607 (__sha256_finish_ctx): Likewise.
51609 2011-07-01 Ulrich Drepper <drepper@gmail.com>
51611 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51612 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51613 * nscd/hstcache.c (cache_addhst): Likewise.
51614 * nscd/grpcache.c (cache_addgr): Likewise.
51615 * nscd/aicache.c (addhstaiX): Likewise
51616 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51618 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
51620 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51621 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51622 * nscd/hstcache.c (cache_addhst): Likewise.
51623 * nscd/grpcache.c (cache_addgr): Likewise.
51624 * nscd/aicache.c (addhstaiX): Likewise
51626 2011-07-01 Andreas Schwab <schwab@redhat.com>
51628 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51629 domain only when needed.
51631 2011-06-30 Andreas Schwab <schwab@redhat.com>
51633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51634 is always restored.
51636 2011-06-29 Ulrich Drepper <drepper@gmail.com>
51638 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51639 are re-adding the entry.
51640 * nscd/servicescache.c (cache_addserv): Likewise.
51642 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51644 * sysdeps/generic/dl-irel.h: fix protection against multiple
51646 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51648 2011-06-28 Ulrich Drepper <drepper@gmail.com>
51651 * malloc/memusage.sh: Fix quoting in message.
51652 * debug/xtrace.sh: Likewise.
51654 * configure.in: Remove support for --experimental-malloc option, make
51656 * config.make.in: Likewise.
51657 * malloc/Makefile: Likewise.
51659 2011-06-27 Andreas Schwab <schwab@redhat.com>
51661 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51662 two-byte characters.
51664 2011-06-27 Roland McGrath <roland@hack.frob.com>
51666 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51667 AC_CACHE_CHECK invocation.
51668 * configure: Regenerated.
51670 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51672 2011-06-27 Ulrich Drepper <drepper@gmail.com>
51675 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51676 bit from old_res_options.
51678 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51680 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51681 value type for setfct.
51683 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51685 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51686 __gettimeofday instead of gettimeofday.
51688 2011-06-26 Ulrich Drepper <drepper@gmail.com>
51690 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51692 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51694 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51696 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51699 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51701 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51702 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51703 strcpy-sse2-unaligned strncpy-sse2-unaligned
51704 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51705 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51706 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51707 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51708 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51709 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51710 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51711 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51712 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51713 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51714 (STRCPY): Support SSE2 and SSSE3 versions.
51716 2011-06-24 Ulrich Drepper <drepper@gmail.com>
51719 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51720 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51721 kernels which artificially limit size of requests.
51723 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51726 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51727 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51728 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51729 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51730 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51731 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51732 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51733 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51734 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51735 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51736 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51737 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51738 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51739 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51740 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51741 Enable unaligned load optimization for Intel Core i3, i5 and i7
51743 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51745 (index_Fast_Unaligned_Load): Define.
51746 (HAS_FAST_UNALIGNED_LOAD): Define.
51748 2011-06-23 Marek Polacek <mpolacek@redhat.com>
51750 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51752 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51755 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51756 until it is clear that the information is realy needed.
51757 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51759 2011-06-22 Andreas Schwab <schwab@redhat.com>
51761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51763 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51765 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51766 /sys/devices/system/cpu/online if it is usable.
51768 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51769 reading the information from the /proc filesystem to once a second.
51771 2011-06-21 Andreas Jaeger <aj@suse.de>
51773 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51774 NULL after inclusion of kernel headers.
51776 2011-06-21 Ulrich Drepper <drepper@gmail.com>
51778 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51779 calls to internal_setent.
51782 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51783 addresses using gethostbyname4_r ignore IPv4 addresses.
51785 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51786 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51788 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51790 2011-06-20 David S. Miller <davem@davemloft.net>
51792 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51794 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51796 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51797 (elf_irel): Use it.
51798 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51799 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51800 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51801 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51802 * sysdeps/x86_64/dl-irel.h: Likewise.
51804 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51805 * elf/dl-sym.c: Likewise.
51807 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51809 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51810 need to dereference resplen2.
51812 2011-06-14 Andreas Schwab <schwab@redhat.com>
51814 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51816 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51818 * Makeconfig: Define vardbdir and inst_vardbdir.
51819 * nss/Makefile: Add rules to install db-Makefile.
51821 * nss/nss_db/db-XXX.c: Cleanup.
51823 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51824 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51826 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51827 * nss/makedb.c: Implement -g option to specify that value strings
51828 are generated and should not be added to table iterated over for
51830 * nss/nss_db/db-initgroups.c: New file.
51832 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51835 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51836 (internal_getgrouplist): Adjust to name change.
51837 Update use_initgroups_entry if this is not the first call.
51838 * nss/databases.def: Add initgroups entry.
51840 * nss/makedb.c (compute_tables): Check result of multiple hash table
51841 sizes to minimize maximum chain length.
51843 2011-06-14 Ulrich Drepper <drepper@gmail.com>
51845 * Versions.def: Add entry for libnss_db.
51846 * shlib-versions: Likewise.
51847 * nss/Makefile: Add rules to build libnss_db.
51848 * nss/Versions: Add libnss_db information. Organize libnss_files
51850 * nss/db-Makefile: Add gshadow support. Change rules for the new
51851 makedb progra. Some minor improvements to generate smaller files.
51852 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51854 * nss/makedb.c: ...here.
51855 Improve database format to be smaller and require less memory at
51857 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51859 * nss/nss_db/db-netgrp.c: Likewise.
51860 * nss/nss_db/db-open.c: Likewise.
51861 * nss/nss_files/flies-XXX.x: Adjust comments.
51862 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51863 * nss/nss_files/files-grp.c: Likewise.
51864 * nss/nss_files/files-hosts.c: Likewise.
51865 * nss/nss_files/files-network.c: Likewise.
51866 * nss/nss_files/files-proto.c: Likewise.
51867 * nss/nss_files/files-pwd.c: Likewise.
51868 * nss/nss_files/files-rpc.c: Likewise.
51869 * nss/nss_files/files-service.c: Likewise.
51870 * nss/nss_files/files-sgrp.c: Likewise.
51871 * nss/nss_files/files-spwd.c: Likewise.
51872 * nss/nss_db/db-alias.c: Removed.
51873 * nss/nss_db/dummy-db.h: Removed.
51875 2011-06-02 Ulrich Drepper <drepper@gmail.com>
51877 * nss/makedb.c: Rewritten to not use database library.
51878 * nss/Makefile: Update to build new makedb program.
51880 2011-06-14 Andreas Jaeger <aj@suse.de>
51882 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51883 memset declaration.
51885 2011-06-10 Andreas Schwab <schwab@redhat.com>
51887 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51890 2011-06-10 Roland McGrath <roland@hack.frob.com>
51892 * Makerules (shlib.lds): Fail if the linker script comes out empty.
51893 * elf/Makefile ($(objpfx)ld.so): Likewise.
51895 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51896 Don't list ld.so twice in dependencies.
51898 * posix/bug-regex31.c: Include <stdlib.h>.
51900 * nscd/hstcache.c (cache_addhst): Remove unused variable.
51902 * nis/nss_compat/compat-spwd.c
51903 (getspent_next_nss_netgr): Remove unused variable.
51904 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51906 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51907 nonmembers" output to use the right array.
51909 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51911 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51913 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51914 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51915 * catgets/gencat.c (read_input_file): Likewise.
51916 * locale/programs/locarchive.c (enlarge_archive): Likewise.
51918 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51919 variable definition inside #if's controlling its use.
51921 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51923 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51925 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51927 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51930 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51932 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51933 * configure: Regenerated.
51935 * Makerules: Revert last change.
51936 * elf/Makefile: Likewise.
51938 2011-06-09 Roland McGrath <roland@hack.frob.com>
51940 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51941 * elf/Makefile ($(objpfx)librtld.os): Likewise.
51942 (reloc-link): Likewise.
51944 2011-06-09 Ulrich Drepper <drepper@gmail.com>
51946 * elf/Makefile: Add rules to build pldd.
51947 * elf/pldd.c: New file.
51948 * elf/pldd-xx.c: New file.
51950 2011-06-07 Ulrich Drepper <drepper@gmail.com>
51952 * version.h: Update for 2.15 development version.
51954 2011-06-07 David S. Miller <davem@davemloft.net>
51956 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51958 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51959 elf_machine_lazy_rel): Likewise.
51960 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51961 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51962 elf_machine_lazy_rel): Likewise.
51963 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51964 dl_hwcap via passed in argument.
51965 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51968 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51970 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
51972 2011-06-06 Roland McGrath <roland@hack.frob.com>
51975 * manual/fdl-1.1.texi: New file, verbatim from:
51976 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51977 * manual/lgpl-2.1.texi: New file, verbatim from:
51978 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51979 * manual/Makefile (licenses): New variable, list those new file names.
51981 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51983 * manual/fdl.texi: File removed.
51984 * manual/lesser.texi: File removed.
51985 * manual/libc.texinfo (Copying, Documentation License):
51986 Use new @include file names, put @appendix directive before @include.
51988 2011-06-04 Jakub Jelinek <jakub@redhat.com>
51991 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51992 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51993 (mq_open): Add __NTH.
51995 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
51997 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51998 Assume Intel Core i3/i5/i7 processor if AVX is available.
52000 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52002 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52005 2011-05-31 Andreas Schwab <schwab@redhat.com>
52007 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52008 memory. Use alloca_account. Fix memory leak when retrying.
52010 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52012 * version.h (RELEASE): Bump for 2.14 release.
52013 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52015 * config.make.in (RANLIB): Remove entry.
52017 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52019 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52020 (libc.pot): Work around missing support for .ksh extension in xgettext.
52023 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52024 if both request failed.
52025 (send_dg): In case of server errors clear resplen or *resplen2.
52028 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52029 when there are multiple maps.
52030 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52031 (_dl_fini): Remove test here.
52033 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52035 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52038 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52039 bit from old_res_options.
52040 (gaih_inet): Likewise.
52043 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52046 * resolv/res_init.c (res_setoptions): Make the code more compact.
52049 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52053 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52055 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52058 * malloc/malloc.h: Declare malloc hook variables as volatile.
52060 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52064 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52065 raise in the comment.
52066 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52067 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52068 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52070 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52073 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52074 grow the buffers more if it already has to be sufficient.
52075 (build_wcs_upper_buffer): Likewise.
52076 * posix/regexec.c (check_matching): Likewise.
52077 (clean_state_log_if_needed): Likewise.
52078 (extend_buffers): Don't enlarge buffers beyond size of the input
52080 Patches mostly by Emil Wojak <emil@wojak.eu>.
52081 * posix/bug-regex32.c: New file.
52082 * posix/Makefile (tests): Add bug-regex32.
52084 * locale/findlocale.c (_nl_find_locale): Return right away if
52085 _nl_explode_name failed.
52086 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52088 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52090 * debug/xtrace.sh: Unify messages.
52091 * malloc/memusage.sh: Likewise.
52094 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52095 time symbol from vDSO. Substitute with vsyscall if not available.
52096 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52099 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52100 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52101 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52102 Add sendmmsg and internal_sendmmsg.
52103 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52104 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52105 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52107 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52108 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52109 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52111 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52114 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52115 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52117 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52121 * iconvdata/Makefile (tests): Add bug-iconv9.
52122 * iconvdata/bug-iconv9.c: New file.
52124 2011-05-27 Andreas Schwab <schwab@redhat.com>
52127 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52129 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52131 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52132 (struct user_regs_struct): Change intcs field back to cs.
52134 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52136 * po/ja.po: Update from translation team.
52138 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52141 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52142 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52144 2011-05-20 Andreas Schwab <schwab@redhat.com>
52146 * stdlib/longlong.h: Update from GCC.
52148 2011-05-23 Andreas Schwab <schwab@redhat.com>
52150 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52152 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52153 Add parameter name.
52154 (__sysconf): Pass it down.
52156 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52159 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52161 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52162 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52163 add in in __libc_use_alloca calls. Adjust callers.
52164 (glob): Use malloc in some situations.
52166 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52167 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52170 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52172 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52173 and CLOCK_BOOTTIME_ALARM.
52176 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52179 * string/_strerror.c (__strerror_r): Print negative errors as signed
52183 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52184 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52185 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52187 * configure.in: Fix typo in redirection and correct removal of test
52188 files in two cases.
52191 * locale/setlocale.c (new_composite_name): Fix test to check for
52192 identical name of all categories.
52195 * libio/filedoalloc.c (local_isatty): New function.
52196 (_IO_file_doallocate): Use local_isatty.
52197 * stdio-common/perror.c (perror): In case a new stream is used
52198 forward the stream error.
52199 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52202 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52205 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52207 * include/alloca.h (extend_alloca_account): Define.
52210 * posix/regex.h: Fix comments with documentation of user-accessible
52211 fields after compilation and describe correct free'ing of pattern
52212 after re_compile_pattern.
52213 Patch by Reuben Thomas <rrt@sc3d.org>.
52215 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52217 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52218 and -mno-altivec to prevent the compiler from using Altivec and/or
52219 VSX instructions when the corresponding registers are not available.
52221 2011-05-19 Andreas Schwab <schwab@redhat.com>
52223 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52225 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52227 * libio/freopen.c (freopen): Use __dup2, not dup2.
52228 * libio/freopen64.c (freopen64): Likewise.
52230 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52233 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52234 * math/Makefile (tests): Add test-powl.
52235 (CFLAGS-test-powl.c): Define.
52236 * math/test-powl.c: New file.
52238 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52240 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52242 2011-05-17 Ulrich Drepper <drepper@gmail.com>
52245 * iconvdata/gb18030.c: Update to GB18020-2005.
52247 2011-05-16 Ulrich Drepper <drepper@gmail.com>
52249 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52250 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52251 Patch by Aharon Robbins <arnold@skeeve.com>.
52254 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52258 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52259 through underflows.
52262 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52263 point to strings before performing equality test for error_one_per_line
52267 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52270 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52271 (struct user_fpregs_struct): Avoid __uint*_t types.
52274 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52275 symbol info. Use it instead of calling _dl_addr locally.
52276 (lock_and_info): New function.
52277 (tr_freehook): Call lock_and_info and pass symbol info as additional
52278 parameter to tr_where.
52279 (tr_mallochook): Likewise.
52280 (tr_reallochook): Likewise.
52281 (tr_memalignhook): Likewise.
52283 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52284 used and couldn't be at all thread-safe.
52286 2011-05-15 Ulrich Drepper <drepper@gmail.com>
52288 * libio/freopen.c (freopen): Don't close old file descriptor
52289 before the new one is opened. Instead dup the new file descriptor
52290 to the old one after the new stream is created.
52291 * libio/freopen64.c (freopen64): Likewise.
52292 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52293 * libio/fileops.c (_IO_new_file_close_it): Handle new
52294 _IO_FLAGS2_NOCLOSE flag.
52295 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52296 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52297 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52298 _IO_FLAGS2_NOCLOSE flag.
52299 * include/unistd.h: Add hidden_proto for dup3.
52300 Define __have_dup3.
52301 * io/dup3.c: Define hidden symbol.
52302 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52305 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52306 when an incomplete long option is used.
52307 * posix/tst-getopt_long1.c: New file.
52308 * posix/Makefile (tests): Add tst-getopt_long1.
52311 * scripts/config.guess: Update from autoconf-2.68.
52312 * scripts/config.sub: Likewise.
52315 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52317 (has_cpuclock): ...this. New function.
52318 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52319 macro here based on has_cpuclock code.
52322 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52323 First byte (not low byte) is now always NUL.
52324 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52326 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52327 Use non-cancelable interfaces.
52330 * locale/iso-639.def: Add entry for Sorani.
52333 * include/stdlib.h: Move include protection to the right place.
52334 Define abort_msg_s. Declare __abort_msg with it.
52335 * stdlib/abort.c (__abort_msg): Adjust type.
52336 * assert/assert.c (__assert_fail_base): New function. Majority
52337 of code from __assert_fail. Allocate memory for __abort_msg with
52339 (__assert_fail): Now call __assert_fail_base.
52340 * assert/assert-perr.c: Remove bulk of implementation. Use
52341 __assert_fail_base.
52342 * include/assert.hL Declare __assert_fail_base.
52343 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52345 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52347 2011-05-14 Ulrich Drepper <drepper@gmail.com>
52351 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52352 until all modules are registered in the DTV.
52353 * elf/Makefile: Add rules to build and run tst-tls19.
52354 * elf/tst-tls19.c: New file.
52355 * elf/tst-tls19mod1.c: New file.
52356 * elf/tst-tls19mod2.c: New file.
52357 * elf/tst-tls19mod3.c: New file.
52358 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52361 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52365 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52366 two-byte sequence errors.
52367 * iconvdata/Makefile (tests): Add bug-iconv8.
52368 * iconvdata/bug-iconv8.c: New file.
52371 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52374 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52377 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52378 (dummy_getcfa): New function.
52379 (init): Get _Unwind_GetCFA address, use dummy if not found.
52380 (backtrace_helper): In recursion check, also check whether CFA changes.
52381 (__backtrace): Completely initialize arg.
52383 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52384 storing incomplete byte sequence in state object. Avoid testing for
52385 guaranteed too small input if we know there is enough data available.
52387 2011-05-11 Andreas Schwab <schwab@redhat.com>
52389 * Makeconfig (+link-pie): Indent.
52390 * Rules (binaries-pie): Define if $(have-fpie) and
52392 (binaries-shared): Also filter out $(binaries-pie).
52393 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52394 * nscd/Makefile (others-pie): Add nscd.
52395 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52396 ($(objpfx)nscd): Remove command override.
52397 * login/Makefile (others-pie): Add pt_chown.
52398 ($(objpfx)pt_chown): Remove command override.
52399 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52400 remove command overrides.
52402 2011-05-13 Ulrich Drepper <drepper@gmail.com>
52404 * libio/tst_putwc.c: Fix error messages.
52407 * libio/fileops.c (_IO_new_file_close_it): Always flush when
52408 currently writing and seek to current position when not.
52409 * libio/Makefile (tests): Add bug-fclose1.
52410 * libio/bug-fclose1.c: New file.
52412 2011-05-12 Ulrich Drepper <drepper@gmail.com>
52415 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52416 don't set DF_1_NODELETE here.
52417 (do_lookup_x): When entering new entry test for copy relocation
52418 and if necessary set DF_1_NODELETE flag.
52419 * elf/tst-unique4.cc: New file.
52420 * elf/tst-unique4.h: New file.
52421 * elf/tst-unique4lib.cc: New file.
52422 * elf/Makefile: Add rules to build and run tst-unique4.
52423 Patch by Piotr Bury <pbury@goahead.com>.
52425 2011-05-11 Ulrich Drepper <drepper@gmail.com>
52428 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52431 * misc/mntent_r.c (addmntent): Flush the stream after the output
52434 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52435 (is_trusted_path_normalize): Skip initial colon. Append slash
52436 to empty buffer. Duplicate is_trusted_path code but allow
52437 constructed patch to be prefix.
52438 (is_dst): Allow $ORIGIN followed by /.
52439 (_dl_dst_substitute): Correct clearing of check_for_trusted.
52440 Correct testing of result of is_trusted_path_normalize
52441 (decompose_rpath): Fix warning.
52443 2011-05-10 Ulrich Drepper <drepper@gmail.com>
52446 * grp/initgroups.c (internal_getgrouplist): When we found the service
52447 list through the initgroups entry in nsswitch.conf do not always
52448 continue on a successful lookup. Don't always use the
52449 __nss_group_database value if it is set.
52450 * nss/nsswitch.conf (initgroups): Change action for successful db
52451 lookup to continue for compatibility.
52453 2011-05-09 Ulrich Drepper <drepper@gmail.com>
52456 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52458 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52460 * iconvdata/tst-tables.sh: Likewise.
52461 * iconvdata/cp770.c: New file.
52462 * iconvdata/cp771.c: New file.
52463 * iconvdata/cp772.c: New file.
52464 * iconvdata/cp773.c: New file.
52465 * iconvdata/cp774.c: New file.
52466 * iconvdata/testdata/CP770: New file.
52467 * iconvdata/testdata/CP770..UTF8: New file.
52468 * iconvdata/testdata/CP771: New file.
52469 * iconvdata/testdata/CP771..UTF8: New file.
52470 * iconvdata/testdata/CP772: New file.
52471 * iconvdata/testdata/CP772..UTF8: New file.
52472 * iconvdata/testdata/CP773: New file.
52473 * iconvdata/testdata/CP773..UTF8: New file.
52474 * iconvdata/testdata/CP774: New file.
52475 * iconvdata/testdata/CP774..UTF8: New file.
52477 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52479 * iconvdata/gen-8bit-gap.sh: Likewise.
52480 * iconvdata/gen-8bit.sh: Likewise.
52482 * locale/iso-639.def: Add ary entry.
52485 * locale/C-translit.h.in: Add U20A1 transliteration.
52488 * locale/iso-639.def: Add wae entry.
52489 Patch by Kevin Bortis <bortis@translate-wae.ch>.
52492 * locale/programs/localedef.c (construct_output_path): Use ssize_t
52496 * locale/C-translit.h.in: Add entry for U20B9.
52497 Patch by pravin.d.s@gmail.com.
52499 2011-05-08 Ulrich Drepper <drepper@gmail.com>
52502 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52503 ENAMETOOLONG use generic getcwd.
52504 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
52505 in rtld. Use *stat64.
52506 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52507 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52508 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52509 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52510 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52511 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52512 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52513 __fstatat64 macros.
52514 * include/dirent.h: Add libc_hidden_proto for rewinddir.
52515 * dirent/rewinddir.c: Add libc_hidden_def.
52516 * sysdeps/mach/hurd/rewinddir.c: Likewise.
52517 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
52519 * include/dirent.h (__alloc_dir): Add flags parameter.
52520 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52521 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52523 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
52524 from fdopendir if O_CLOEXEC is already set.
52526 2011-03-15 Alan Modra <amodra@gmail.com>
52528 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52529 l_tls_firstbyte_offset non-zero. Save padding offset in
52530 l_tls_firstbyte_offset for later use.
52531 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52532 freeing static tls block.
52534 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
52536 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52537 where #ifdef was intended. The intent is to prevent ARG_MAX from
52538 being defined by the kernel headers.
52540 2011-05-07 Ulrich Drepper <drepper@gmail.com>
52543 * resolv/resolv.h: Define RES_NOTLDQUERY.
52544 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52545 no-tld-query and set RES_NOTLDQUERY.
52546 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52547 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52548 modern BIND to search name as TLD unless forbidden.
52550 2011-05-07 Petr Baudis <pasky@suse.cz>
52551 Ulrich Drepper <drepper@gmail.com>
52554 * elf/dl-load.c (fillin_rpath): Move trusted path check...
52555 (is_trusted_path): ...to here.
52556 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52557 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52558 using is_trusted_path_normalize() in setuid scripts.
52560 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52562 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52563 __BEGIN/__END_DECLS.
52565 2011-05-06 Ulrich Drepper <drepper@gmail.com>
52567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52568 NSS_STATUS_NOTFOUND if no record was found.
52570 2011-05-05 Andreas Schwab <schwab@redhat.com>
52572 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52573 (headers-not-in-tirpc): Remove rpc/netdb.h
52574 * resolv/netdb.h: Revert last change.
52576 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52578 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52579 circular dependency between libgcc.a and libc.a.
52581 2011-05-05 Andreas Schwab <schwab@redhat.com>
52583 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52584 * nis/Makefile: Don't install rpcsvc/*.
52585 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52586 instead of <rpc/types.h>.
52587 (MAXHOSTNAMELEN): Define.
52589 2011-05-03 Andreas Schwab <schwab@redhat.com>
52591 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52593 2011-04-28 Maciej Babinski <mbabinski@google.com>
52596 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52597 gethostbyname4_r when IPv6 results are possible.
52599 2011-05-02 Ulrich Drepper <drepper@gmail.com>
52602 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52603 _PC_PIPE_BUF handling.
52605 2011-04-30 Bruno Haible <bruno@clisp.org>
52608 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52609 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52611 * inet/getnameinfo.c (getnameinfo): Likewise.
52613 2011-04-29 Ulrich Drepper <drepper@gmail.com>
52615 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52616 to groups setting in database lookup.
52617 * nss/nsswitch.conf: Add initgroups entry.
52619 2011-04-22 Ulrich Drepper <drepper@gmail.com>
52622 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52624 Patch by Eric Blake <eblake@redhat.com>.
52626 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52628 * sunrpc/Makefile (need-export-routines): Add svc_run.
52629 (routines): Remove svc_run.
52630 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52631 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52632 * sunrpc/svc_run.c (svc_run): Likewise.
52633 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52635 2011-04-21 Ulrich Drepper <drepper@gmail.com>
52637 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52638 problem in reallocation in last patch.
52640 2011-04-20 Ulrich Drepper <drepper@gmail.com>
52642 * sunrpc/Makefile: Move inclusion of Rules.
52644 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52646 * nss/nss_files/files-initgroups.c: New file.
52647 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52648 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52649 _nss_files_initgroups_dyn.
52651 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52653 * elf/elf.h (R_ARM_IRELATIVE): Define.
52655 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52657 * po/ru.po: Update from translation team.
52659 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52661 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52664 2011-02-06 Mike Frysinger <vapier@gentoo.org>
52667 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52668 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52669 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52670 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52671 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52673 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52675 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52677 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52678 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52679 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52681 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52684 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52686 * stdlib/bug-getcontext.c: New file.
52687 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52689 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52691 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52692 instructions into .machine "z9-109".
52693 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52694 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52696 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52698 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52699 between environment variables and auxiliary vector.
52701 2011-04-16 Ulrich Drepper <drepper@gmail.com>
52703 * Makefile: Add rules to build linkobj/libc.so.
52704 * include/libc-symbols.h: Define libc_hidden_nolink.
52705 * include/rpc/auth.h: Mark functions which are to be hidden.
52706 * include/rpc/auth_des.h: Likewise.
52707 * include/rpc/auth_unix.h: Likewise.
52708 * include/rpc/clnt.h: Likewise.
52709 * include/rpc/des_crypt.h: Likewise.
52710 * include/rpc/key_prot.h: Likewise.
52711 * include/rpc/pmap_clnt.h: Likewise.
52712 * include/rpc/pmap_prot.h: Likewise.
52713 * include/rpc/pmap_rmt.h: Likewise.
52714 * include/rpc/rpc_msg.h: Likewise.
52715 * include/rpc/svc.h: Likewise.
52716 * include/rpc/svc_auth.h: Likewise.
52717 * include/rpc/xdr.h: Likewise.
52718 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52719 * nss/Makefile: Likewise.
52720 * sunrpc/Makefile: Don't install headers. Build library with normal
52721 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52722 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52723 for the compat linking library. Remove use of INTDEF/INTUSE.
52724 * sunrpc/auth_none.c: Likewise.
52725 * sunrpc/auth_unix.c: Likewise.
52726 * sunrpc/authdes_prot.c: Likewise.
52727 * sunrpc/authuxprot.c: Likewise.
52728 * sunrpc/clnt_gen.c: Likewise.
52729 * sunrpc/clnt_perr.c: Likewise.
52730 * sunrpc/clnt_raw.c: Likewise.
52731 * sunrpc/clnt_simp.c: Likewise.
52732 * sunrpc/clnt_tcp.c: Likewise.
52733 * sunrpc/clnt_udp.c: Likewise.
52734 * sunrpc/clnt_unix.c: Likewise.
52735 * sunrpc/des_crypt.c: Likewise.
52736 * sunrpc/des_soft.c: Likewise.
52737 * sunrpc/get_myaddr.c: Likewise.
52738 * sunrpc/key_call.c: Likewise.
52739 * sunrpc/key_prot.c: Likewise.
52740 * sunrpc/netname.c: Likewise.
52741 * sunrpc/pm_getmaps.c: Likewise.
52742 * sunrpc/pm_getport.c: Likewise.
52743 * sunrpc/pmap_clnt.c: Likewise.
52744 * sunrpc/pmap_prot.c: Likewise.
52745 * sunrpc/pmap_prot2.c: Likewise.
52746 * sunrpc/pmap_rmt.c: Likewise.
52747 * sunrpc/publickey.c: Likewise.
52748 * sunrpc/rpc_cmsg.c: Likewise.
52749 * sunrpc/rpc_common.c: Likewise.
52750 * sunrpc/rpc_dtable.c: Likewise.
52751 * sunrpc/rpc_prot.c: Likewise.
52752 * sunrpc/rpc_thread.c: Likewise.
52753 * sunrpc/rtime.c: Likewise.
52754 * sunrpc/svc.c: Likewise.
52755 * sunrpc/svc_auth.c: Likewise.
52756 * sunrpc/svc_authux.c: Likewise.
52757 * sunrpc/svc_raw.c: Likewise.
52758 * sunrpc/svc_run.c: Likewise.
52759 * sunrpc/svc_simple.c: Likewise.
52760 * sunrpc/svc_tcp.c: Likewise.
52761 * sunrpc/svc_udp.c: Likewise.
52762 * sunrpc/svc_unix.c: Likewise.
52763 * sunrpc/svcauth_des.c: Likewise.
52764 * sunrpc/xcrypt.c: Likewise.
52765 * sunrpc/xdr.c: Likewise.
52766 * sunrpc/xdr_array.c: Likewise.
52767 * sunrpc/xdr_float.c: Likewise.
52768 * sunrpc/xdr_intXX_t.c: Likewise.
52769 * sunrpc/xdr_mem.c: Likewise.
52770 * sunrpc/xdr_rec.c: Likewise.
52771 * sunrpc/xdr_ref.c: Likewise.
52772 * sunrpc/xdr_sizeof.c: Likewise.
52773 * sunrpc/xdr_stdio.c: Likewise.
52775 2011-04-10 Ulrich Drepper <drepper@gmail.com>
52778 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52779 * sysdeps/ia64/dl-tls.h: Likewise.
52780 * sysdeps/powerpc/dl-tls.h: Likewise.
52781 * sysdeps/s390/dl-tls.h: Likewise.
52782 * sysdeps/sh/dl-tls.h: Likewise.
52783 * sysdeps/sparc/dl-tls.h: Likewise.
52784 * sysdeps/x86_64/dl-tls.h: Likewise.
52785 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52787 2011-03-14 Andreas Schwab <schwab@redhat.com>
52789 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52790 rpath element also skip the following colon.
52791 (expand_dynamic_string_token): Add is_path parameter and pass
52792 down to DL_DST_REQUIRED and _dl_dst_substitute.
52793 (decompose_rpath): Call expand_dynamic_string_token with
52794 non-zero is_path. Ignore empty rpaths.
52795 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52798 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52800 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52803 2011-04-09 Ulrich Drepper <drepper@gmail.com>
52806 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52807 Patch by Filipe David Manana <fdmanana@apache.org>.
52809 2011-04-07 Andreas Schwab <schwab@redhat.com>
52811 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52812 Maintain aligned stack.
52813 (CHECK_RSP): Remove unused macro.
52815 2011-04-03 Ulrich Drepper <drepper@gmail.com>
52817 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52818 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52820 2011-04-02 Ulrich Drepper <drepper@gmail.com>
52822 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52824 * include/features.h: Mention __USE_XOPEN2K8 in comment.
52826 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52829 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52830 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52831 * sysdeps/x86_64/memmove.c: New file.
52832 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52833 (memcpy): Renamed to ...
52834 (__new_memcpy): This.
52835 (memcpy): Provide GLIBC_2_14 memcpy.
52836 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52837 (memcpy): Provide GLIBC_2_2_5 memcpy.
52839 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52842 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52844 2011-03-30 Andreas Schwab <schwab@redhat.com>
52846 * misc/syncfs.c: New file.
52847 * misc/Makefile (routines): Add syncfs.
52848 * posix/unistd.h: Declare syncfs.
52849 * sysdeps/unix/syscalls.list: Add syncfs.
52851 2011-04-01 Andreas Schwab <schwab@redhat.com>
52853 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52855 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52856 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52857 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52858 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52859 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52860 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52861 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52863 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52865 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52866 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52867 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52868 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52869 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52870 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52871 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52873 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52874 sync_file_range.c with -fexceptions.
52875 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52876 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52877 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52878 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52879 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52880 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52881 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52882 sync_file_range as cancellation point
52883 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
52884 now a wrapper around __call_sync_file_range with cancellation handling.
52885 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52886 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
52887 function name to __call_sync_file_range.
52888 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52889 Add call_sync_file_range.
52891 2011-04-01 Andreas Schwab <schwab@redhat.com>
52893 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52896 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52898 * iconv/iconv.h: Fix typo in comment.
52899 * io/fcntl.h: Likewise.
52900 * libio/stdio.h: Likewise.
52901 * posix/spawn.h: Likewise.
52902 * posix/unistd.h: Likewise.
52903 * stdlib/stdlib.h: Likewise.
52904 * time/time.h: Likewise.
52905 * wcsmbs/wchar.h: Likewise.
52907 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52908 open_by_handle): Add.
52909 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52910 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
52911 Augment a few comments.
52912 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52913 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52914 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52915 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52916 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52917 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52920 * io/fcntl.h (AT_EMPTY_PATH): Define.
52922 2011-03-30 Ulrich Drepper <drepper@gmail.com>
52924 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52925 * sysdeps/unix/sysv/linux/bits/time.h: New file.
52926 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52928 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
52929 * Versions.def: Add GLIBC_2.14.
52930 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52933 2011-03-22 Ulrich Drepper <drepper@gmail.com>
52935 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52937 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52939 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
52942 * string/test-strncmp.c (do_page_test): New function.
52943 (check2): Likewise.
52944 (test_main): Call check2.
52945 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52947 2011-03-20 Ulrich Drepper <drepper@gmail.com>
52950 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52951 Handle cache information in CPU leaf 4.
52952 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52954 2011-03-18 Ulrich Drepper <drepper@gmail.com>
52957 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52958 character representation.
52959 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52961 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
52963 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52964 END(__isnan) to END(__isnanf) to match function entry point/label
52965 EALIGN(__isnanf,...).
52967 2011-03-10 Jakub Jelinek <jakub@redhat.com>
52969 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52971 2011-03-10 Ulrich Drepper <drepper@gmail.com>
52974 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52975 copy from the symbol referenced in the relocation to initialize the
52977 Patch by Piotr Bury <pbury@goahead.com>.
52978 * elf/Makefile: Add rules to build and tst-unique3.
52979 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52980 * elf/tst-unique3.cc: New file.
52981 * elf/tst-unique3.h: New file.
52982 * elf/tst-unique3lib.cc: New file.
52983 * elf/tst-unique3lib2.cc: New file.
52985 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52987 2011-03-10 Mike Frysinger <vapier@gentoo.org>
52989 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52990 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
52993 2011-03-06 Ulrich Drepper <drepper@gmail.com>
52995 * elf/dl-load.c (_dl_map_object): If we are looking for the first
52996 to-be-loaded object along a path to loader is ld.so.
52998 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
52999 Ulrich Drepper <drepper@gmail.com>
53001 * sysdeps/x86_64/memset.S: After aligning destination, code
53002 branches to different locations depending on the value of
53003 misalignment, when multiarch is enabled. Fix this.
53005 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53007 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53008 Set _x86_64_preferred_memory_instruction for AMD processsors.
53009 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53010 Set bit_Prefer_SSE_for_memop for AMD processors.
53012 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53014 * libio/fmemopen.c (fmemopen): Optimize a bit.
53016 2011-03-03 Andreas Schwab <schwab@redhat.com>
53018 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53020 2011-03-03 Roland McGrath <roland@redhat.com>
53022 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53024 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53026 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53027 __bzero_ultra1 instead of __memset_ultra1.
53029 2011-02-23 Andreas Schwab <schwab@redhat.com>
53030 Ulrich Drepper <drepper@gmail.com>
53033 * include/link.h (struct link_map): Add l_orig_initfini.
53034 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53035 returning unsuccessfully.
53036 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53037 close of a file loaded at startup, restore the original l_initfini
53039 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53040 list, store the pointer.
53041 * elf/Makefile ($(objpfx)noload-mem): New rule.
53042 (noload-ENV): Define.
53043 (tests): Add $(objpfx)noload-mem.
53044 * elf/noload.c: Include <memcheck.h>.
53045 (main): Call mtrace. Close all opened handles.
53047 2011-02-17 Andreas Schwab <schwab@redhat.com>
53050 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53051 dependencies are missing.
53053 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53055 Fix __if_freereq crash: Unlike the generic version which uses free,
53057 * sysdeps/mach/hurd/ifreq.h: New file.
53059 2011-01-27 Petr Baudis <pasky@suse.cz>
53060 Ulrich Drepper <drepper@gmail.com>
53063 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53064 to extend_alloca().
53065 * stdio-common/bug23.c: New file.
53066 * stdio-common/Makefile (tests): Add bug23.
53068 2010-09-28 Andreas Schwab <schwab@redhat.com>
53069 Ulrich Drepper <drepper@gmail.com>
53072 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53073 before performing relro protection. At old place add assertion
53074 to make sure nothing changed.
53076 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53077 Glauber de Oliveira Costa <glommer@gmail.com>
53079 * elf/elf.h: Add new ARM TLS relocs.
53081 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53084 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53086 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53088 * sysdeps/wordsize-64/tst-writev.c: New file.
53090 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53092 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53093 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53094 insns in _dl_start to prevent a TOC reference before relocs are
53097 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53100 * Makeconfig: Remove RANLIB definition.
53101 * Makerules: Don't use RANLIB.
53102 * aclocal.m4: Remove ranlib test.
53103 * configure.in: No need to check for ranlib.
53104 * elf/rtld-Rules: Don't use RANLIB.
53106 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53108 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53110 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53111 inclusion protection macro.
53113 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53114 SIGRTMIN and SIGRTMAX and print information in that case only when
53115 SIGRTMIN is defined.
53117 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53119 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53120 arginfo fn returning -1.
53122 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53123 and thousands string is zero terminated.
53125 2011-02-03 Andreas Schwab <schwab@redhat.com>
53127 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53128 sysdeps/unix/sysv/linux/bits/socket.h.
53130 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53132 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53133 (__CPU_COUNT): Remove old macros.
53134 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53135 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53136 (__CPU_ALLOC, __CPU_FREE): Add macros.
53137 (__sched_cpualloc, __sched_cpufree): Add declarations.
53139 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53141 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53142 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53143 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53144 (readdhstai): Return value of addhstaiX call.
53145 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53146 (addgrbyX): Return value returned by cache_addgr.
53147 (readdgrbyname): Return value returned by addgrbyX.
53148 (readdgrbygid): Likewise.
53149 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53150 (addpwbyX): Return value returned by cache_addpw.
53151 (readdpwbyname): Return value returned by addhstbyX.
53152 (readdpwbyuid): Likewise.
53153 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53154 (addservbyX): Return value returned by cache_addserv.
53155 (readdservbyname): Return value returned by addservbyX:
53156 (readdservbyport): Likewise.
53157 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53158 (addhstbyX): Return value returned by cache_addhst.
53159 (readdhstbyname): Return value returned by addhstbyX.
53160 (readdhstbyaddr): Likewise.
53161 (readdhstbynamev6): Likewise.
53162 (readdhstbyaddrv6): Likewise.
53163 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53164 (readdinitgroups): Return value returned by addinitgroupsX.
53165 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53166 (prune_cache): Keep track of timeout value of re-added entries.
53167 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53168 * nscd/nscd.h: Adjust prototypes of readd* functions.
53170 2011-02-04 Roland McGrath <roland@redhat.com>
53172 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53173 (nis_stats): Likewise.
53174 * nis/nis_modify.c (nis_modify): Likewise.
53175 * nis/nis_remove.c (nis_remove): Likewise.
53176 * nis/nis_add.c (nis_add): Likewise.
53178 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53180 * posix/fnmatch_loop.c: Add some consts.
53182 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53184 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53187 * config.make.in (config-cflags-novzeroupper): Define.
53188 * configure.in: Substitute libc_cv_cc_novzeroupper.
53189 * elf/Makefile (AVX-CFLAGS): Define.
53190 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53191 (CFLAGS-tst-auditmod4a.c): Likewise.
53192 (CFLAGS-tst-auditmod4b.c): Likewise.
53193 (CFLAGS-tst-auditmod6b.c): Likewise.
53194 (CFLAGS-tst-auditmod6c.c): Likewise.
53195 (CFLAGS-tst-auditmod7b.c): Likewise.
53196 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53198 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53200 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53201 function to the callback.
53202 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53204 2011-02-02 Andreas Schwab <schwab@redhat.com>
53206 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53209 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53212 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53214 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53216 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53219 * elf/Makefile: Add rules to build and run new test.
53220 * elf/tst-initorder.c: New file.
53221 * elf/tst-initorder.exp: New file.
53222 * elf/tst-initordera1.c: New file.
53223 * elf/tst-initordera2.c: New file.
53224 * elf/tst-initordera3.c: New file.
53225 * elf/tst-initordera4.c: New file.
53226 * elf/tst-initorderb1.c: New file.
53227 * elf/tst-initorderb2.c: New file.
53228 * elf/tst-order-a1.c: New file.
53229 * elf/tst-order-a2.c: New file.
53230 * elf/tst-order-a3.c: New file.
53231 * elf/tst-order-a4.c: New file.
53232 * elf/tst-order-b1.c: New file.
53233 * elf/tst-order-b2.c: New file.
53234 * elf/tst-order-main.c: New file.
53235 New test case by George Gensure <werkt0@gmail.com>.
53237 2010-10-01 Andreas Schwab <schwab@redhat.com>
53239 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53240 decoding ACE if AI_CANONIDN.
53242 2011-01-18 Ulrich Drepper <drepper@gmail.com>
53244 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53246 2011-01-17 Ulrich Drepper <drepper@gmail.com>
53248 * version.h (RELEASE): Bump for 2.13 release.
53249 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53251 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53253 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53255 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53256 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53257 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53258 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53259 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53260 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53262 * posix/getconf.c: Update copyright year.
53263 * catgets/gencat.c: Likewise.
53264 * csu/version.c: Likewise.
53265 * debug/catchsegv.sh: Likewise.
53266 * debug/xtrace.sh: Likewise.
53267 * elf/ldconfig.c: Likewise.
53268 * elf/ldd.bash.in: Likewise.
53269 * elf/sprof.c (print_version): Likewise.
53270 * iconv/iconv_prog.c: Likewise.
53271 * iconv/iconvconfig.c: Likewise.
53272 * locale/programs/locale.c: Likewise.
53273 * locale/programs/localedef.c: Likewise.
53274 * malloc/memusage.sh: Likewise.
53275 * malloc/mtrace.pl: Likewise.
53276 * nscd/nscd.c (print_version): Likewise.
53277 * nss/getent.c: Likewise.
53279 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53280 PF_CAIF, and PF_ALG.
53281 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53283 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53285 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53286 (modules-names): Use them.
53287 (ifunc-test-modules, ifunc-pie-tests): Define.
53288 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53289 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53290 (test-extras): Likewise.
53291 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53292 $(compile-command.c).
53293 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53294 (all-built-dso): Define.
53295 (check-textrel.out, check-execstack.out): Depend on it.
53297 * configure.in: Don't override --enable-multi-arch.
53299 2011-01-15 Ulrich Drepper <drepper@gmail.com>
53302 * nscd/hstcache.c (tryagain): Define.
53303 (cache_addhst): Return tryagain not notfound for temporary errors.
53304 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53307 2011-01-14 Ulrich Drepper <drepper@gmail.com>
53310 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53311 to make the syscall.
53312 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53315 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53316 and fall back to matching as normal character if the string ends before
53317 the matching ']' is found. This is what POSIX requires.
53318 * posix/testfnm.c: Adjust test result.
53319 * posix/globtest.sh: Adjust test result. Add new test.
53320 * posix/tst-fnmatch.input: Likewise.
53321 * posix/tst-fnmatch2.c: Add new test.
53323 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53325 * elf/Makefile (check-execstack): Revert last change. Depend on
53327 (check-execstack.h): New target.
53328 (generated): Add check-execstack.h.
53329 * elf/check-execstack.c: Include "check-execstack.h".
53330 (main): Revert last change.
53331 (handle_file): Return zero if GNU_STACK is absent and
53332 DEFAULT_STACK_PERMS doesn't include PF_X.
53334 2011-01-13 Ulrich Drepper <drepper@gmail.com>
53336 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53337 in child fails because the descriptor is already closed.
53338 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53339 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53340 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53343 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53347 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53348 temporary buffer used to handle multi lookups locally.
53349 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53351 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53353 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53356 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53358 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53359 alignment for SSE2.
53361 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53364 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53365 characters. When rounding increased number of integer digits recompute
53367 * stdio-common/tst-grouping.c: New file.
53368 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53370 2011-01-09 Ulrich Drepper <drepper@gmail.com>
53372 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53373 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53375 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53377 * bits/select.h: Likewise.
53379 2011-01-08 Ulrich Drepper <drepper@gmail.com>
53381 * po/ja.po: Update from translation team.
53383 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
53386 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53387 implementation just like for lxstat, fxstatat, et al.
53389 2010-12-27 Jim Meyering <meyering@redhat.com>
53392 * posix/regexec.c (build_trtable): Return failure indication upon
53393 calloc failure. Otherwise, re_search_internal could infloop on OOM.
53395 2010-12-25 Ulrich Drepper <drepper@gmail.com>
53398 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53399 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53400 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53401 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53404 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53407 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53408 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53410 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
53412 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53413 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53414 script has SORT_BY_INIT_PRIORITY.
53415 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53416 NO_CTORS_DTORS_SECTIONS is defined.
53417 * elf/soinit.c: Likewise.
53418 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53419 NO_CTORS_DTORS_SECTIONS is defined.
53420 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53421 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53422 * sysdeps/sh/init-first.c: Likewise.
53423 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53425 2010-12-24 Ulrich Drepper <drepper@gmail.com>
53427 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53428 always use the slow path.
53430 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
53432 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53433 similar rule which adds the sysdep directories to the header search in
53434 order to pick up the correct platform stackinfo.h.
53435 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53436 perform test if it is, otherwise return successfully without testing.
53437 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53438 DEFAULT_STACK_PERMS define in stackinfo.h.
53439 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53440 defined in stackinfo.h.
53441 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53442 DEFAULT_STACK_PERMS defined in stackinfo.h.
53443 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53444 * sysdeps/ia64/stackinfo.h: Likewise.
53445 * sysdeps/s390/stackinfo.h: Likewise.
53446 * sysdeps/sh/stackinfo.h: Likewise.
53447 * sysdeps/sparc/stackinfo.h: Likewise.
53448 * sysdeps/x86_64/stackinfo.h: Likewise.
53449 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53450 PF_X for powerpc64. Retain PF_X for powerpc32.
53452 2010-12-19 Ulrich Drepper <drepper@gmail.com>
53454 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53456 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53457 GETDENTS_64BIT_ALIGNED.
53459 2010-12-14 Ulrich Drepper <dreper@gmail.com>
53461 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53463 2010-12-10 Andreas Schwab <schwab@redhat.com>
53465 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53468 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53469 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53471 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53472 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53474 2010-12-09 Ulrich Drepper <drepper@gmail.com>
53477 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53480 2010-12-09 Jakub Jelinek <jakub@redhat.com>
53482 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53484 2010-12-03 Ulrich Drepper <drepper@gmail.com>
53486 * po/it.po: Update from translation team.
53488 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
53490 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53493 2010-11-30 Ulrich Drepper <drepper@gmail.com>
53495 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53497 2010-11-24 Andreas Schwab <schwab@redhat.com>
53499 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53501 (gaih_getanswer_slice): Likewise.
53503 2010-10-20 Jakub Jelinek <jakub@redhat.com>
53505 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53507 2010-05-31 Petr Baudis <pasky@suse.cz>
53510 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53511 silently even in the chroot mode.
53513 2010-11-22 Ulrich Drepper <drepper@gmail.com>
53515 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53516 last patch a bit. Pretty printing
53518 2010-05-31 Petr Baudis <pasky@suse.cz>
53521 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53522 initialization of skip_initgroups_dyn.
53524 2010-11-19 Ulrich Drepper <drepper@gmail.com>
53526 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53527 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53529 2010-11-16 Ulrich Drepper <drepper@gmail.com>
53531 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53533 2010-11-11 Andreas Schwab <schwab@redhat.com>
53535 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53536 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53537 (tst-fnmatch-ENV): Set MALLOC_TRACE.
53538 ($(objpfx)tst-fnmatch-mem): New rule.
53539 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53540 * posix/tst-fnmatch.c (main): Call mtrace.
53542 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
53544 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53545 Support Intel processor model 6 and model 0x2c.
53547 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
53549 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53552 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
53555 * string/test-strncasecmp.c (check_result): New function.
53556 (do_one_test): Use it.
53557 (check1): New function.
53558 (test_main): Use it.
53559 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53560 Support strcasecmp and strncasecmp.
53562 2010-11-08 Ulrich Drepper <drepper@gmail.com>
53565 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53566 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53568 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53570 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53572 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53574 * sysdeps/x86_64/multiarch/bzero.S: New file.
53575 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53576 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53577 * sysdeps/x86_64/multiarch/memset.S: New file.
53578 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53580 Set bit_Prefer_SSE_for_memop for Intel processors.
53581 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53583 (index_Prefer_SSE_for_memop): Define.
53584 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53586 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
53588 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53589 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53591 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53594 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53595 (__x86_64_raw_data_cache_size_half): Likewise.
53596 (__x86_64_raw_shared_cache_size): Likewise.
53597 (__x86_64_raw_shared_cache_size_half): Likewise.
53599 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53600 (__x86_64_raw_data_cache_size_half): Likewise.
53601 (__x86_64_raw_shared_cache_size): Likewise.
53602 (__x86_64_raw_shared_cache_size_half): Likewise.
53603 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53604 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53605 and __x86_64_raw_shared_cache_size_half. Round
53606 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53607 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53608 to multiple of 256 bytes.
53610 2010-11-03 Ulrich Drepper <drepper@gmail.com>
53613 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53614 of inacessible symlinks. Verify result of symlink before returning it.
53615 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53616 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53618 2010-10-28 Erich Ritz <erichritz@gmail.com>
53620 * math/math.h (isinf): Fix typo in comment.
53622 2010-11-01 Ulrich Drepper <drepper@gmail.com>
53624 * po/da.po: Update from translation team.
53626 2010-10-26 Ulrich Drepper <drepper@gmail.com>
53628 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53629 is added to the list.
53631 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53632 Ulrich Drepper <drepper@gmail.com>
53634 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53635 the global list here. Move code to...
53636 (_dl_add_to_namespace_list): ...here. New function.
53637 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53638 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53639 * elf/dl-load.c (lose): Don't remove the element from the list.
53640 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53641 (_dl_map_object): Likewise.
53643 2010-10-25 Ulrich Drepper <drepper@gmail.com>
53646 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53647 into all bytes of SSE register.
53648 Patch by Richard Li <richardpku@gmail.com>.
53650 2010-10-24 Ulrich Drepper <drepper@gmail.com>
53653 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53656 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53658 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53659 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53660 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53661 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53664 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53666 2010-10-22 Andreas Schwab <schwab@redhat.com>
53668 * include/dlfcn.h (__RTLD_SECURE): Define.
53669 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53670 mode & __RTLD_SECURE instead.
53671 (open_path): Rename preloaded parameter to secure.
53672 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53673 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53674 * elf/dl-deps.c (openaux): Likewise.
53675 * elf/rtld.c (struct map_args): Remove is_preloaded.
53676 (map_doit): Don't use it.
53677 (dl_main): Likewise.
53678 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53679 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53681 2010-09-09 Andreas Schwab <schwab@redhat.com>
53683 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53684 (sysd-rules-targets): Remove duplicates.
53685 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53686 rtld-%.$o dependency.
53688 2010-10-18 Andreas Schwab <schwab@redhat.com>
53690 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53691 _dl_map_object do it.
53693 2010-10-19 Ulrich Drepper <drepper@gmail.com>
53695 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53696 fast fma builtins, define the macros in the C99 standard.
53697 (FP_FAST_FMAF): Likewise.
53698 (FP_FAST_FMAL): Likewise.
53699 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53701 * bits/mathdef.h: Update copyright year.
53702 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53704 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53706 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53707 builtins, define the macros in the C99 standard.
53708 (FP_FAST_FMAF): Likewise.
53709 (FP_FAST_FMAL): Likewise.
53710 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53712 (FP_FAST_FMAF): Likewise.
53714 2010-10-15 Jakub Jelinek <jakub@redhat.com>
53717 * math/libm-test.inc (fma_test): Some new testcases.
53718 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53719 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53720 y and infinite z. Do multiplication by C already in long double.
53721 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53722 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53723 y and infinite z. Do bitwise or of inexact bit into u.d.
53724 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53725 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53726 * sysdeps/i386/fpu/s_fma.S: Removed.
53727 * sysdeps/i386/fpu/s_fmal.S: Removed.
53729 2010-10-16 Jakub Jelinek <jakub@redhat.com>
53732 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53734 computation is not scheduled after fetestexcept. Fix value
53735 of minimum denormal long double.
53737 2010-10-14 Jakub Jelinek <jakub@redhat.com>
53740 * math/libm-test.inc (fma_test): Add some more tests.
53741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53744 2010-10-15 Andreas Schwab <schwab@redhat.com>
53746 * scripts/data/localplt-s390-linux-gnu.data: New file.
53747 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53749 2010-10-13 Jakub Jelinek <jakub@redhat.com>
53752 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53753 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53755 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53757 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53758 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53759 if one of x and y is very large and the other is subnormal.
53760 * sysdeps/s390/fpu/s_fmaf.c: New file.
53761 * sysdeps/s390/fpu/s_fma.c: New file.
53762 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53763 * sysdeps/powerpc/fpu/s_fma.S: New file.
53764 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53765 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53766 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53768 2010-10-12 Jakub Jelinek <jakub@redhat.com>
53771 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53773 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53774 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53775 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53776 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53777 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53778 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53779 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53781 2010-10-12 Ulrich Drepper <drepper@redhat.com>
53784 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53785 * posix/bug-regex31.input: Add test case.
53787 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53789 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53790 * posix/bug-regex31.input: New file.
53793 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53794 (parse_sub_exp): Fix last change, use postorder.
53796 * posix/bug-regex31.c: New file.
53797 * posix/Makefile: Add rules to build and run bug-regex31.
53799 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53802 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53805 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53806 to have entries in sys_siglist.
53809 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53812 2010-10-07 Jakub Jelinek <jakub@redhat.com>
53815 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53816 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53817 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53818 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53819 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53820 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53821 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53822 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53823 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53824 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53825 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53826 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53827 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53828 * math/ftestexcept.c (fetestexcept): Likewise.
53829 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53830 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53831 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53832 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53833 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53834 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53835 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53837 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53840 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53843 2010-10-06 Ulrich Drepper <drepper@gmail.com>
53845 * string/bug-strstr1.c: New file.
53846 * string/Makefile: Add rules to build and run bug-strstr1.
53848 2010-10-05 Eric Blake <eblake@redhat.com>
53851 * string/str-two-way.h (two_way_long_needle): Always clear memory
53852 when skipping input due to the shift table.
53854 2010-10-03 Ulrich Drepper <drepper@gmail.com>
53857 * malloc/mcheck.c: Handle large requests.
53860 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53861 for strncmp and strncasecmp.
53862 * string/stratcliff.c: Add tests for strcmp and strncmp.
53863 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53865 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53867 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53870 2010-09-30 Andreas Jaeger <aj@suse.de>
53872 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53873 (CGROUP_SUPER_MAGIC): Define.
53874 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53875 Handle btrfs and cgroup file systems.
53876 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53879 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
53881 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53882 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53884 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53887 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53888 trying to locate the ELF header.
53890 2010-09-27 Andreas Schwab <schwab@redhat.com>
53893 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53894 Mask out sign-bit copies when constructing f_fsid.
53896 2010-09-24 Petr Baudis <pasky@suse.cz>
53898 * debug/stack_chk_fail_local.c: Add missing licence exception.
53899 * debug/warning-nop.c: Likewise.
53901 2010-09-15 Joseph Myers <joseph@codesourcery.com>
53903 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53904 implementing getdents64 using getdents syscall, set d_type if
53905 __ASSUME_GETDENTS32_D_TYPE.
53907 2010-09-16 Andreas Schwab <schwab@redhat.com>
53909 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53910 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53912 2010-09-21 Ulrich Drepper <drepper@redhat.com>
53915 * posix/unistd.h: Undo change of feature selection for ftruncate from
53918 2010-09-20 Ulrich Drepper <drepper@redhat.com>
53920 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53923 2010-09-20 Andreas Schwab <schwab@redhat.com>
53925 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53927 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53929 2010-09-14 Andreas Schwab <schwab@redhat.com>
53931 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53932 variables after CHECK_SP call.
53933 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53935 2010-09-13 Andreas Schwab <schwab@redhat.com>
53936 Ulrich Drepper <drepper@redhat.com>
53938 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53939 re-relocationg ld.so.
53940 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53941 _dl_init_paths call.
53942 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
53945 2010-09-14 Ulrich Drepper <drepper@redhat.com>
53947 * resolv/res_init.c (__res_vinit): Count the default server we added.
53949 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
53950 Ulrich Drepper <drepper@redhat.com>
53953 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53954 (____longjmp_chk): Use %ebx for saving value across system call.
53957 2010-09-06 Andreas Schwab <schwab@redhat.com>
53959 * manual/Makefile: Don't mix pattern rules with normal rules.
53961 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
53963 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53965 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53966 * libio/iofopncook.c (_IO_cookie_init): Likewise.
53967 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53968 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53969 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53972 2010-09-04 Ulrich Drepper <drepper@redhat.com>
53975 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53976 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53978 2010-09-02 Ulrich Drepper <drepper@redhat.com>
53980 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53981 * sysdeps/x86_64/addmul_1.S: Likewise.
53982 * sysdeps/x86_64/lshift.S: Likewise.
53983 * sysdeps/x86_64/mul_1.S: Likewise.
53984 * sysdeps/x86_64/rshift.S: Likewise.
53985 * sysdeps/x86_64/sub_n.S: Likewise.
53986 * sysdeps/x86_64/submul_1.S: Likewise.
53988 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
53990 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53991 Define __sched_param instead of SCHED_* and sched_param when
53992 <bits/sched.h> is included with __need_schedparam defined.
53993 * bits/sched.h [__need_schedparam]
53994 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53995 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53996 (__defined_schedparam): Define to 1.
53997 (__sched_param): New structure, identical to sched_param.
53998 (__need_schedparam): Undefine.
54000 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54002 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54003 (epoll_create1): Declare.
54005 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54007 2010-08-31 Andreas Schwab <schwab@redhat.com>
54010 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54011 shifting retval into place.
54013 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54015 * nis/rpcsvc/nis.h: Update copyright notice.
54016 * nis/rpcsvc/nis.x: Likewise.
54017 * nis/rpcsvc/nis_callback.h: Likewise.
54018 * nis/rpcsvc/nis_callback.x: Likewise.
54019 * nis/rpcsvc/nis_object.x: Likewise.
54020 * nis/rpcsvc/nis_tags.h: Likewise.
54021 * nis/rpcsvc/yp.h: Likewise.
54022 * nis/rpcsvc/yp.x: Likewise.
54023 * nis/rpcsvc/ypupd.h: Likewise.
54024 * nis/yp_xdr.c: Likewise.
54025 * nis/ypupdate_xdr.c: Likewise.
54027 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54028 mainly the body of pmap_getport. Add parameters to specify timeouts.
54029 (pmap_getport): Use __libc_rpc_getport.
54030 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54031 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54032 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54034 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54036 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54039 2010-08-27 Roland McGrath <roland@redhat.com>
54041 * sysdeps/i386/i686/multiarch/Makefile
54042 (CFLAGS-varshift.c): New variable.
54044 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54046 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54047 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54049 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54051 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54053 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54055 * sysdeps/x86_64/strlen.S: Unroll the loop.
54056 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54057 strlen-sse2 strlen-sse2-bsf.
54058 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54059 __strlen_no_bsf if bit_Slow_BSF is set.
54060 (__strlen_sse42): Removed.
54061 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54062 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54064 2010-08-25 Roland McGrath <roland@redhat.com>
54066 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54067 * sysdeps/x86_64/multiarch/varshift.c: New file.
54068 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54069 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54070 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54071 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54073 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54075 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54076 strlen-sse2 strlen-sse2-bsf.
54077 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54078 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54079 (__strlen_sse2): Removed.
54080 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54081 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54083 bit_Slow_BSF for Atom.
54084 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54085 (index_Slow_BSF): Define.
54086 (HAS_SLOW_BSF): Define.
54088 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54091 * resolv/res_init.c (__res_vinit): When no server address at all
54092 is given default to loopback.
54094 2010-08-24 Roland McGrath <roland@redhat.com>
54096 * configure.in: Remove config-name.h generation.
54097 * configure: Regenerated.
54098 * config-name.in: File removed.
54099 * scripts/config-uname.sh: New file.
54100 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54101 ($(objdir)config-name.h): New target.
54103 * sunrpc/rpc_parse.h: Avoid nested comment.
54105 2010-08-24 Richard Henderson <rth@redhat.com>
54106 Ulrich Drepper <drepper@redhat.com>
54107 H.J. Lu <hongjiu.lu@intel.com>
54109 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54111 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54112 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54113 _mm_alignr_epi8 with _mm_loadu_si128.
54114 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54115 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54116 (__m128i_shift_right): Removed.
54117 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54118 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54119 * sysdeps/x86_64/multiarch/varshift.h: New file.
54120 * sysdeps/x86_64/multiarch/varshift.S: New file.
54122 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54124 * configure.in: Move assembler checks to before sysdep dir checking.
54126 2010-08-20 Petr Baudis <pasky@suse.cz>
54128 * LICENSES: Sync the sunrpc license.
54130 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54132 * sunrpc/auth_des.c: Update copyright notice once again.
54133 * sunrpc/auth_none.c: Likewise.
54134 * sunrpc/auth_unix.c: Likewise.
54135 * sunrpc/authdes_prot.c: Likewise.
54136 * sunrpc/authuxprot.c: Likewise.
54137 * sunrpc/bindrsvprt.c: Likewise.
54138 * sunrpc/clnt_gen.c: Likewise.
54139 * sunrpc/clnt_perr.c: Likewise.
54140 * sunrpc/clnt_raw.c: Likewise.
54141 * sunrpc/clnt_simp.c: Likewise.
54142 * sunrpc/clnt_tcp.c: Likewise.
54143 * sunrpc/clnt_udp.c: Likewise.
54144 * sunrpc/clnt_unix.c: Likewise.
54145 * sunrpc/des_crypt.c: Likewise.
54146 * sunrpc/des_soft.c: Likewise.
54147 * sunrpc/get_myaddr.c: Likewise.
54148 * sunrpc/getrpcport.c: Likewise.
54149 * sunrpc/key_call.c: Likewise.
54150 * sunrpc/key_prot.c: Likewise.
54151 * sunrpc/openchild.c: Likewise.
54152 * sunrpc/pm_getmaps.c: Likewise.
54153 * sunrpc/pm_getport.c: Likewise.
54154 * sunrpc/pmap_clnt.c: Likewise.
54155 * sunrpc/pmap_prot.c: Likewise.
54156 * sunrpc/pmap_prot2.c: Likewise.
54157 * sunrpc/pmap_rmt.c: Likewise.
54158 * sunrpc/rpc/auth.h: Likewise.
54159 * sunrpc/rpc/auth_unix.h: Likewise.
54160 * sunrpc/rpc/clnt.h: Likewise.
54161 * sunrpc/rpc/des_crypt.h: Likewise.
54162 * sunrpc/rpc/key_prot.h: Likewise.
54163 * sunrpc/rpc/netdb.h: Likewise.
54164 * sunrpc/rpc/pmap_clnt.h: Likewise.
54165 * sunrpc/rpc/pmap_prot.h: Likewise.
54166 * sunrpc/rpc/pmap_rmt.h: Likewise.
54167 * sunrpc/rpc/rpc.h: Likewise.
54168 * sunrpc/rpc/rpc_des.h: Likewise.
54169 * sunrpc/rpc/rpc_msg.h: Likewise.
54170 * sunrpc/rpc/svc.h: Likewise.
54171 * sunrpc/rpc/svc_auth.h: Likewise.
54172 * sunrpc/rpc/types.h: Likewise.
54173 * sunrpc/rpc/xdr.h: Likewise.
54174 * sunrpc/rpc_clntout.c: Likewise.
54175 * sunrpc/rpc_cmsg.c: Likewise.
54176 * sunrpc/rpc_common.c: Likewise.
54177 * sunrpc/rpc_cout.c: Likewise.
54178 * sunrpc/rpc_dtable.c: Likewise.
54179 * sunrpc/rpc_hout.c: Likewise.
54180 * sunrpc/rpc_main.c: Likewise.
54181 * sunrpc/rpc_parse.c: Likewise.
54182 * sunrpc/rpc_parse.h: Likewise.
54183 * sunrpc/rpc_prot.c: Likewise.
54184 * sunrpc/rpc_sample.c: Likewise.
54185 * sunrpc/rpc_scan.c: Likewise.
54186 * sunrpc/rpc_scan.h: Likewise.
54187 * sunrpc/rpc_svcout.c: Likewise.
54188 * sunrpc/rpc_tblout.c: Likewise.
54189 * sunrpc/rpc_util.c: Likewise.
54190 * sunrpc/rpc_util.h: Likewise.
54191 * sunrpc/rpcinfo.c: Likewise.
54192 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54193 * sunrpc/rpcsvc/key_prot.x: Likewise.
54194 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54195 * sunrpc/rpcsvc/mount.x: Likewise.
54196 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54197 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54198 * sunrpc/rpcsvc/rex.x: Likewise.
54199 * sunrpc/rpcsvc/rstat.x: Likewise.
54200 * sunrpc/rpcsvc/rusers.x: Likewise.
54201 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54202 * sunrpc/rpcsvc/spray.x: Likewise.
54203 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54204 * sunrpc/rtime.c: Likewise.
54205 * sunrpc/svc.c: Likewise.
54206 * sunrpc/svc_auth.c: Likewise.
54207 * sunrpc/svc_authux.c: Likewise.
54208 * sunrpc/svc_raw.c: Likewise.
54209 * sunrpc/svc_run.c: Likewise.
54210 * sunrpc/svc_simple.c: Likewise.
54211 * sunrpc/svc_tcp.c: Likewise.
54212 * sunrpc/svc_udp.c: Likewise.
54213 * sunrpc/svc_unix.c: Likewise.
54214 * sunrpc/svcauth_des.c: Likewise.
54215 * sunrpc/xcrypt.c: Likewise.
54216 * sunrpc/xdr.c: Likewise.
54217 * sunrpc/xdr_array.c: Likewise.
54218 * sunrpc/xdr_float.c: Likewise.
54219 * sunrpc/xdr_mem.c: Likewise.
54220 * sunrpc/xdr_rec.c: Likewise.
54221 * sunrpc/xdr_ref.c: Likewise.
54222 * sunrpc/xdr_sizeof.c: Likewise.
54223 * sunrpc/xdr_stdio.c: Likewise.
54225 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54228 2010-08-19 Andreas Schwab <schwab@redhat.com>
54230 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54232 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54234 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54235 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54236 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54237 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54238 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54239 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54240 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54241 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54242 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54243 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54244 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54245 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54246 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54247 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54249 2010-07-26 Anton Blanchard <anton@samba.org>
54251 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54252 * malloc/arena.c (heap_trim): Likewise.
54254 2010-08-16 Ulrich Drepper <drepper@redhat.com>
54256 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54258 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54259 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54261 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54263 * sysdeps/i386/elf/Makefile: New file.
54265 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54267 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54268 from fanotify_init.
54269 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54270 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54272 2010-08-15 Ulrich Drepper <drepper@redhat.com>
54274 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54276 * sysdeps/multiarch/strcmp.S: Likewise.
54278 2010-08-14 Ulrich Drepper <drepper@redhat.com>
54280 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54281 strncase_l-nonascii.
54282 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54283 Add strncase_l-ssse3.
54284 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54285 * sysdeps/x86_64/strcmp.S: Likewise.
54286 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54287 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54288 * sysdeps/x86_64/strncase.S: New file.
54289 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54290 * sysdeps/x86_64/strncase_l.S: New file.
54291 * string/Makefile (strop-tests): Add strncasecmp.
54292 * string/test-strncasecmp.c: New file.
54294 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54297 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54298 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54300 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54302 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54304 2010-08-12 Ulrich Drepper <drepper@redhat.com>
54306 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54307 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54308 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54310 2010-05-01 Alan Modra <amodra@gmail.com>
54312 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54313 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54314 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54315 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54316 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54317 tidying. Don't tail-call __sigjmp_save for static lib.
54318 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54320 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54321 (CALL_MCOUNT): Add eh info, and nop after bl.
54322 (TAIL_CALL_SYSCALL_ERROR): New macro.
54323 (PSEUDO_RET): Use it.
54324 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54325 Correct save location of integer regs and cr.
54326 (_dl_profile_resolve): Correct cr save location. Delete nops
54327 after bl when SHARED. Reduce cfi size a little by better
54328 placement of cfi directives.
54329 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54330 make a stack frame. Instead use parm save area as a temp.
54331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54332 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54334 Don't make a stack frame for parent, use parm save area.
54335 Increase child stack frame to 112 bytes. Don't save unused reg,
54336 and adjust reg usage. Set up cfi on error recovery and
54337 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54339 (__makecontext): Add dummy nop after jump to exit.
54340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54341 Use correct parm save area and cr save, reduce stack frame.
54342 Correct cfi for possible PSEUDO_RET frame setup.
54343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54344 Branch to local label emitted by PSEUDO_RET rather than
54347 2010-08-12 Andreas Schwab <schwab@redhat.com>
54350 * locale/programs/locale.c (print_assignment): New function.
54351 (show_locale_vars): Use it.
54353 2010-08-11 Ulrich Drepper <drepper@redhat.com>
54355 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54357 (struct statfs64): Likewise.
54358 (_STATFS_F_FLAGS): Define.
54359 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54360 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54361 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54362 (ST_VALID): Define locally.
54363 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54364 __statvfs_getflags, use the provided value.
54365 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54366 __ASSUME_STATFS_F_FLAGS.
54368 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54370 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54371 Add sys/fanotify.h.
54372 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54373 fanotify_mask for GLIBC_2.13.
54374 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54375 fanotify_init and fanotify_mark.
54376 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54377 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54379 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54381 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54382 prlimit64 for GLIBC_2.13.
54383 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54385 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54387 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54388 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54389 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54390 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54391 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54393 * sysdeps/unix/sysv/linux/prlimit.c: New file.
54396 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54397 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54399 * nss/Makefile: Add rules to build and run tst-nss-test1.
54400 * shlib-versions: Add entry for libnss_test1.
54401 * nss/nss_test1.c: New file.
54402 * nss/tst-nss-test1.c: New file.
54404 * nss/nsswitch.c (__nss_database_custom): Define new variable.
54405 (__nss_configure_lookup): Set appropriate entry in
54406 __nss_configure_lookup to true.
54407 * nss/nsswitch.h: Define enum with indeces of databases in
54408 databases and __nss_database_custom arrays. Declare
54409 __nss_database_custom.
54410 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54411 to avoid using nscd when custom rules are installed.
54412 * nss/getXXbyYY_r.c: Likewise.
54413 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54415 * nss/nss_files/files-parse.c: Whitespace fixes.
54417 2010-08-09 Ulrich Drepper <drepper@redhat.com>
54420 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54421 * posix/fnmatch_loop.c: Likewise.
54423 2010-07-17 Andi Kleen <ak@linux.intel.com>
54425 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54426 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54427 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54428 * Versions.def [GLIBC_2.13]: Add.
54430 2010-08-06 Ulrich Drepper <drepper@redhat.com>
54432 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54433 Also fail if tpwd after pwuid call is NULL.
54435 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
54437 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54438 when converting to ms.
54440 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54442 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54443 EOPNOTSUPP errors with ENOTTY.
54444 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54445 EOPNOTSUPP errors with ENOTTY.
54447 2010-07-31 Ulrich Drepper <drepper@redhat.com>
54449 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54450 Add strcasecmp_l-ssse3.
54451 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54453 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54454 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54455 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54457 2010-07-30 Ulrich Drepper <drepper@redhat.com>
54459 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54461 * string/Makefile (strop-tests): Add strcasecmp.
54462 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54463 strcasecmp_l-nonascii.
54464 (gen-as-const-headers): Add locale-defines.sym.
54465 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54466 * sysdeps/x86_64/strcasecmp.S: New file.
54467 * sysdeps/x86_64/strcasecmp_l.S: New file.
54468 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54469 * sysdeps/x86_64/locale-defines.sym: New file.
54470 * string/test-strcasecmp.c: New file.
54472 * string/test-strcasestr.c: Test both ends of the range of characters.
54473 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54475 2010-07-29 Roland McGrath <roland@redhat.com>
54478 * manual/locale.texi (Yes-or-No Questions): Fix example code.
54480 2010-07-27 Ulrich Drepper <drepper@redhat.com>
54482 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54485 2010-07-27 Andreas Schwab <schwab@redhat.com>
54487 * manual/memory.texi (Malloc Tunable Parameters): Document
54490 2010-07-26 Roland McGrath <roland@redhat.com>
54493 * configure.in (-fgnu89-inline check): Set and substitute
54494 gnu89_inline, not libc_cv_gnu89_inline.
54495 * configure: Regenerated.
54496 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54498 2010-07-26 Ulrich Drepper <drepper@redhat.com>
54500 * string/test-strnlen.c: New file.
54501 * string/Makefile (strop-tests): Add strnlen.
54502 * string/tester.c (test_strnlen): Add a few more test cases.
54503 * string/tst-strlen.c: Better error reporting.
54505 * sysdeps/x86_64/strnlen.S: New file.
54507 2010-07-24 Ulrich Drepper <drepper@redhat.com>
54509 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54510 lower-latency instructions.
54512 2010-07-23 Ulrich Drepper <drepper@redhat.com>
54514 * string/test-strcasestr.c: New file.
54515 * string/test-strstr.c: New file.
54516 * string/Makefile (strop-tests): Add strstr and strcasestr.
54517 * string/str-two-way.h: Don't undefine MAX.
54518 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54520 2010-07-21 Andreas Schwab <schwab@redhat.com>
54522 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54523 strcasestr-nonascii.
54524 (CFLAGS-strcasestr-nonascii.c): Define.
54525 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54526 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54527 Remove unused attribute.
54529 2010-07-20 Roland McGrath <roland@redhat.com>
54531 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54532 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
54533 ld.so.cache was broken. With it, there is no way to disable dsocaps
54534 like LD_HWCAP_MASK can disable hwcaps.
54536 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54538 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54540 2010-07-16 Ulrich Drepper <drepper@redhat.com>
54542 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54543 call in strcasestr.
54544 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54545 __strcasestr_sse42_nonascii.
54546 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54547 strcasestr-nonascii.c.
54548 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54550 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
54552 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54553 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54554 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54555 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54557 2010-07-09 Ulrich Drepper <drepper@redhat.com>
54559 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54562 2010-07-06 Andreas Schwab <schwab@redhat.com>
54565 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54568 2010-07-06 Ulrich Drepper <drepper@redhat.com>
54570 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54571 _PC_PIPE_BUF using F_GETPIPE_SZ.
54573 2010-07-05 Roland McGrath <roland@redhat.com>
54575 * manual/arith.texi (Rounding Functions): Fix rint description
54576 implicit in round description.
54578 2010-07-02 Ulrich Drepper <drepper@redhat.com>
54580 * elf/Makefile: Fix linking for a few tests to make recent linker
54583 2010-06-30 Andreas Schwab <schwab@redhat.com>
54585 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54586 $(common-objpfx)libc_nonshared.a.
54588 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
54590 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54591 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54592 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54593 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54594 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54595 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54596 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54597 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54601 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54609 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54612 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54613 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54614 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54615 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54616 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54617 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54618 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54619 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54620 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54621 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54622 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54623 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54624 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54629 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54635 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54637 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54639 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54641 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54642 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54643 * string/memmove.c (memmove): Renamed to ...
54644 (MEMMOVE): ...this. Default to memmove.
54645 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54646 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54649 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54650 mempcpy-ssse3-back memmove-ssse3-back.
54651 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54652 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54653 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54654 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54655 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54656 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54657 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54658 * sysdeps/x86_64/multiarch/memmove.c: New file.
54659 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54660 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54661 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54662 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54663 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54664 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54666 (index_Fast_Copy_Backward): Define.
54667 (HAS_ARCH_FEATURE): Define.
54668 (HAS_FAST_REP_STRING): Define.
54669 (HAS_FAST_COPY_BACKWARD): Define.
54671 2010-06-21 Andreas Schwab <schwab@redhat.com>
54673 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54674 Restore proper fallback handling.
54676 2010-06-19 Ulrich Drepper <drepper@redhat.com>
54679 * posix/group_member.c (__group_member): Correct checking loop.
54681 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54682 OOM in getpwuid_r correctly. Return error number when the caller
54683 should return, otherwise -1.
54684 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54685 call returning > 0 value.
54686 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54688 2010-06-07 Andreas Schwab <schwab@redhat.com>
54690 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54691 libc_nonshared.a from targets in modules-names.
54693 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54695 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54698 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
54700 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54701 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54702 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54703 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54705 2010-06-02 Andreas Schwab <schwab@redhat.com>
54707 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54709 2010-06-14 Ulrich Drepper <drepper@redhat.com>
54711 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54713 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54714 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54715 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54716 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54717 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54718 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54720 2010-06-14 Roland McGrath <roland@redhat.com>
54722 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54724 2010-06-07 Jakub Jelinek <jakub@redhat.com>
54726 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54727 __REDIRECT followed by __THROW.
54728 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54729 * posix/getopt.h (getopt): Likewise.
54731 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54733 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54734 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54735 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54737 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54738 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54740 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
54742 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54744 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54748 Properly check family and model.
54750 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54752 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54754 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
54756 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54758 2010-05-21 Ulrich Drepper <drepper@redhat.com>
54760 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54763 2010-05-19 Andreas Schwab <schwab@redhat.com>
54765 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54768 2010-05-21 Andreas Schwab <schwab@redhat.com>
54770 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54771 and internal_recvmmsg.
54772 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54773 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54774 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54775 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54777 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54778 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54779 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54781 2010-05-20 Andreas Schwab <schwab@redhat.com>
54783 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54785 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
54787 POWER7 optimizations.
54788 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54789 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54791 2010-05-19 Ulrich Drepper <drepper@redhat.com>
54793 * version.h: Update for 2.13 development version.
54795 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
54797 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54798 exceptions. Return 0.
54800 2010-05-07 Roland McGrath <roland@redhat.com>
54802 * elf/ldconfig.c (main): Add a const.
54804 2010-05-06 Ulrich Drepper <drepper@redhat.com>
54806 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54807 (args_options): Add no-idn option.
54808 (ahosts_keys_int): Add idn_flags to ai_flags.
54809 (parse_option): Handle 'i' option to clear idn_flags.
54811 * malloc/malloc.c (_int_free): Possible race in the most recently
54812 added check. Only act on the data if no current modification
54815 See ChangeLog.17 for earlier changes.