1 2015-01-02 Joseph Myers <joseph@codesourcery.com>
3 * All files with FSF copyright notices: Update copyright dates
4 using scripts/update-copyrights.
5 * intl/plural.c: Regenerated.
6 * locale/programs/charmap-kw.h: Likewise.
7 * locale/programs/locfile-kw.h: Likewise.
9 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
11 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
13 2014-12-31 Joseph Myers <joseph@codesourcery.com>
16 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
17 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
18 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
19 and define as weak alias of __fegetenv. Use libm_hidden_weak.
20 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
21 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
22 define as weak alias of __fegetenv. Use libm_hidden_weak.
23 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
25 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26 define as weak alias of __fegetenv. Use libm_hidden_weak.
27 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
28 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
29 define as weak alias of __fegetenv. Use libm_hidden_weak.
30 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
32 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
33 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
35 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
36 define as weak alias of __fegetenv. Use libm_hidden_weak.
37 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
39 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
41 and define as weak alias of __fegetenv. Use libm_hidden_weak.
42 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
43 __fegetenv instead of fegetenv.
44 (libc_feholdsetround_noex_ctx): Likewise.
46 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
48 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
49 (Elf_MIPS_ABIFlags_v0): New structure.
50 (EF_MIPS_FP64): Define.
51 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
52 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
53 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
54 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
55 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
56 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
57 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
58 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
59 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
60 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
61 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
62 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
63 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
64 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
65 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
66 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
67 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
68 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
69 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
70 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
71 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
72 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
74 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
76 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
77 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
78 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
79 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
80 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
81 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
82 * sysdeps/mips/tst-abi-interlink.c: Likewise.
83 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
84 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
85 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
86 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
87 record the current FP ABI extension.
88 (mips-mode-switch): Define to show if kernel headers support mode
90 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
91 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
92 supported SYSV ABI version to 3.
93 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
96 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
97 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
99 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
101 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
103 2014-12-31 Joseph Myers <joseph@codesourcery.com>
105 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
106 __fegetround and redefine to call __fegetround. Remove condition
107 on [!__NO_MATH_INLINES].
108 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
110 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
111 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
113 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
114 instead of <fenv_libc.h>.
115 (__llrintl): Call fegetround instead of __fegetround.
116 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
117 instead of <fenv_libc.h>.
118 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
119 (__lrintl): Call fegetround instead of __fegetround.
120 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
121 instead of <fenv_libc.h>.
122 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
123 (__rintl): Call fegetround instead of __fegetround.
125 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
127 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
130 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
133 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
134 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
135 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
137 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
139 * sysdeps/i386/tls-macros.h: Include <features.h>.
140 (TLS_LE): Use non-PIC version for GCC >= 5.0.
144 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
145 define for GCC >= 5.0.
147 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
149 * math/test-fenv.c (test_single_exception, set_single_exc,
150 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
151 feexcp_mask_test, feenable_test, fe_single_test): Add
152 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
153 case where they are not used.
154 * math/libm-test.inc: Likewise.
155 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
156 unused in the absence of FP rounding/exception support.
157 * stdio-common/tst-printf-round.c: Likewise.
158 * stdlib/tst-strtod-round.c: Likewise.
159 * stdlib/tst-strtod-underflow.c: Likewise.
161 2014-12-30 Joseph Myers <joseph@codesourcery.com>
164 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
165 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
166 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
167 __feraiseexcept and define as weak alias of __feraiseexcept. Use
169 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
170 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
171 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
173 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
174 __feraiseexcept and define as weak alias of __feraiseexcept. Use
176 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
178 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
179 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
180 __feraiseexcept and define as weak alias of __feraiseexcept. Use
182 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
184 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
185 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
186 (__feraiseexcept): Likewise.
187 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
188 __feraiseexcept and define as weak alias of __feraiseexcept. Use
190 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
191 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
193 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
194 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
196 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
198 (feraiseexcept): Define as weak not strong alias. Use
200 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
201 New inline function. Factored out of ...
202 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
203 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
204 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
206 * math/w_acos.c (__acos): Likewise.
207 * math/w_asin.c (__asin): Likewise.
208 * math/w_ilogb.c (__ilogb): Likewise.
209 * math/w_j0.c (y0): Likewise.
210 * math/w_j1.c (y1): Likewise.
211 * math/w_jn.c (yn): Likewise.
212 * math/w_log.c (__log): Likewise.
213 * math/w_log10.c (__log10): Likewise.
214 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
215 * sysdeps/aarch64/fpu/math_private.h
216 (libc_feupdateenv_test_aarch64): Likewise.
217 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
218 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
219 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
220 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
221 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
222 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
223 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
224 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
225 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
226 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
228 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
231 * io/test-utime.c (main): Replace %ld with %jd and cast to
233 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
234 * nptl/tst-mutex5.c: Include <stdint.h>.
235 (do_test): Replace %ld with %jd and cast to intmax_t.
236 * posix/tst-regex.c (run_test): Likewise.
237 (run_test_backwards): Likewise.
238 * rt/tst-clock.c: Include <stdint.h>.
239 (clock_test): Replace %ld with %jd and cast to intmax_t.
240 * rt/tst-cpuclock1.c: Include <stdint.h>.
241 (do_test): Replace %lu with %ju and cast to uintmax_t.
242 * rt/tst-cpuclock2.c: Include <stdint.h>.
243 (do_test): Replace %lu with %ju and cast to uintmax_t.
244 * rt/tst-mqueue1.c: Include <stdint.h>.
245 (check_attrs): Replace %ld with %jd and cast to intmax_t.
246 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
248 * rt/tst-mqueue4.c (do_test): Likewise.
249 * rt/tst-timer4.c: Include <stdint.h>.
250 (check_ts): Replace %ld with %jd and cast to intmax_t.
252 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
253 and cast to intmax_t.
254 * sysdeps/pthread/tst-timer.c (main): Likewise.
255 * time/clocktest.c (main): Likewise.
256 * time/tst-posixtz.c (do_test): Likewise.
257 * timezone/tst-timezone.c (main): Likewise.
259 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
260 H.J. Lu <hongjiu.lu@intel.com>
262 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
263 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
264 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
265 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
266 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
267 version if bit_Fast_Unaligned_Load is set.
268 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
269 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
270 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
271 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
272 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
273 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
274 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
275 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
276 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
277 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
279 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
280 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
281 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
282 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
284 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
286 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
287 instead of #if to avoid a Wundef warning.
288 * stdlib/tst-limits.c (do_test): Likewise.
290 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
291 parallel other exception macros.
292 (fegetenv): Convert from macro to extern inline so that it applies
293 retroactively to inline functions already seen by the compiler.
294 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
296 * posix/Makefile (before-compile): Use $(objpfx) for
297 posix-conf-vars-def.h.
299 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
301 * posix/getconf.c (main): Use size_t for type of I.
302 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
305 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
306 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
307 * posix/posix-envs.def: Likewise.
308 * sysdeps/posix/sysconf.c: Likewise.
309 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
310 (specs): Remove array.
311 * scripts/gen-posix-conf-vars.awk: Support generation of specs
314 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
315 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
316 (__sysconf): Use CONF_IS_* macros.
318 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
319 ($(objpfx)posix-conf-vars-def.h): New target.
320 * posix/posix-conf-vars.list: New file.
321 * posix/posix-conf-vars.h: New file.
322 * posix/confstr.c: Include posix-conf-vars.h.
323 (confstr): Use CONF_IS_* macros.
324 * posix/posix-envs.def: Include posix-conf-vars.h. Use
326 * scripts/gen-posix-conf-vars.awk: New file.
328 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
330 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
331 fegetround): Add no-op macros to avoid linknamespace issues.
333 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
334 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
336 * sysdeps/unix/sysv/linux/tile/sysdep.h
337 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
338 assembly-specific section to avoid a redefinition warning.
340 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
341 long before casting to pointer to avoid a cast warning.
343 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
345 * sysdeps/tile/tilegx/Implies: New file.
347 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
349 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
351 2014-12-23 Florian Weimer <fweimer@redhat.com>
353 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
355 2014-12-22 Joseph Myers <joseph@codesourcery.com>
357 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
359 * sysdeps/unix/sysv/linux/utimes.c: Do not include
361 (__utimes) [__NR_utimes]: Make code unconditional.
362 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
363 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
364 (__ASSUME_UTIMES): Do not undefine.
365 * sysdeps/unix/sysv/linux/tile/kernel-features.h
366 (__ASSUME_UTIMES): Likewise.
367 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
368 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
369 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
370 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
372 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
374 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
376 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
379 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
380 alias to weak alias for j0l, y0l.
381 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
382 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
385 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
388 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
390 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
391 to zero if not already defined.
393 2014-12-22 Joseph Myers <joseph@codesourcery.com>
396 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
397 (__kernel_standard_f): Remove. Moved to k_standardf.c.
398 (__kernel_standard_l): Remove. Moved to k_standardl.c with
399 (char *) casts added.
400 * sysdeps/ieee754/k_standardf.c: New file.
401 * sysdeps/ieee754/k_standardl.c: Likewise.
402 * math/Makefile (libm-support): Remove k_standard.
403 (libm-calls): Add k_standard.
405 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
407 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
408 Optimize to avoid an unnecessary FPCR read.
410 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
412 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
413 Optimize to reduce FPCR/FPSR accesses.
415 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
417 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
418 Call libc_fetestexcept_aarch64.
420 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
422 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
423 Call libc_fesetround_aarch64.
425 2014-12-22 Joseph Myers <joseph@codesourcery.com>
428 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
429 (__bind): Do not define as weak alias.
430 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
432 (__getsockname): Do not define as weak alias.
434 2014-12-22 Will Newton <will.newton@linaro.org>
436 * manual/install.texi: Document that we require bison 2.7
438 * INSTALL: Regenerate.
439 * configure.ac: Use AC_CHECK_PROG_VER instead of
440 AC_PATH_PROG when checking for bison and check for
441 version 2.7 or above.
442 * configure: Regenerate.
444 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
447 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
448 * sysdeps/tile/ffsll.c (ffsll): To here.
450 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
452 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
454 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
456 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
458 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
459 hidden ___tls_get_addr.
460 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
461 hidden __tls_get_addr.
462 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
463 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
466 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
468 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
471 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
473 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
474 from "call _dl_init@PLT".
475 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
477 2014-12-21 Anders Kaseorg <andersk@mit.edu>
479 * manual/search.texi: (Array Sort Function): Clarify stable sorting
482 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
484 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
486 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
489 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
492 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
494 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
496 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
497 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
498 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
499 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
500 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
502 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
504 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
505 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
506 (PTR_SUBU): Use subu for mips32r6/mips64r6.
507 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
508 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
510 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
512 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
514 * string/strncat.c (STRNCAT): Simplify implementation.
516 2014-12-19 David S. Miller <davem@davemloft.net>
518 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
519 access the quad as both a long double and as a series of 4 words.
521 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
522 link_map->l_info array access.
524 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
526 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
528 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
529 * math/atest-exp2.c (TIMEOUT): Likewise.
530 * math/atest-sincos.c (TIMEOUT): Likewise.
532 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
534 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
535 -Wno-error with -fno-builtin-lround.
537 2014-12-19 Torvald Riegel <triegel@redhat.com>
539 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
540 Contains futex constants and functions moved over from ...
541 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
542 <lowlevellock-futex.h>.
543 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
544 (lll_timedwait_tid): Add comments and parentheses around macro
547 2014-12-19 Torvald Riegel <triegel@redhat.com>
549 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
550 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
551 (__lll_private_flag): Remove.
552 (lll_futex_wait): Likewise.
553 (lll_futex_timed_wait): Likewise.
554 (lll_futex_wake): Likewise.
555 (lll_futex_requeue): Likewise.
556 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
557 (__lll_timedwait_tid): Spell out argument names.
558 (lll_timedwait_tid): Add comments and parentheses around macro
560 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
561 LLL_SHARED and LLL_PRIVATE usable from assembly code.
563 2014-12-19 Torvald Riegel <triegel@redhat.com>
565 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
566 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
567 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
568 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
569 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
570 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
571 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
572 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
573 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
574 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
575 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
576 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
577 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
578 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
579 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
580 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
581 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
582 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
583 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
585 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
587 * sysdeps/x86_64/x32/Makefile: New file.
589 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
591 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
592 1L with (mp_limb_t) 1.
594 2014-12-17 Roland McGrath <roland@hack.frob.com>
596 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
597 * nptl/libc_pthread_init.c: ... here.
598 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
599 * nptl/register-atfork.c: ... here.
601 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
602 Use pthread_sigmask rather than INTERNAL_SYSCALL.
603 Use assert_perror to check its return value.
604 (__gai_create_helper_thread): Likewise.
606 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
608 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
610 2014-12-17 Joseph Myers <joseph@codesourcery.com>
613 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
615 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
617 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
619 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
621 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
622 (profil_counter): Likewise.
623 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
624 (profil_counter): Likewise.
625 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
627 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
629 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
630 (profil_counter): Likewise.
631 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
633 [!__profil_counter] (profil_counter): Define as weak alias of
635 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
636 (profil_counter): Rename to __profil_counter.
637 [!__profil_counter] (profil_counter): Define as weak alias of
639 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
640 (profil_counter): Rename to __profil_counter.
641 [!__profil_counter] (profil_counter): Define as weak alias of
643 * sysdeps/posix/profil.c: Update comment referring to
645 (__profil): Use __profil_counter instead of profil_counter.
646 * sysdeps/posix/sprofil.c (profil_counter): Rename to
647 __profil_counter. Use __profil_counter_ushort and
648 __profil_counter_uint in definitions.
649 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
650 instead of profil_counter_uint and profil_counter_ushort.
653 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
654 define as weak alias of __inet_makeaddr.
655 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
656 as weak alias of __inet_addr.
657 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
658 as weak alias of __inet_pton. Use libc_hidden_weak.
659 * include/arpa/inet.h (__inet_pton): Declare. Use
661 (inet_makeaddr): Don't use libc_hidden_proto.
662 (__inet_makeaddr): Declare. Use libc_hidden_proto.
663 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
664 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
665 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
667 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
668 (test-xfail-POSIX/time.h/linknamespace): Likewise.
670 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
672 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
674 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
676 * stdio-common/bug-vfprintf-nargs.c (do_test):
677 Cast value to intptr_t to avoid format warning
678 for usage with PRIdPTR printing macro.
680 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
682 * libio/tst-widetext.c (do_test):
683 Use format type %td instead of %Zd for ptrdiff_t
684 in order to avoid format warning.
686 2014-12-17 Andreas Schwab <schwab@suse.de>
688 * nscd/mem.c (gc): Add size_t cast to match printf format.
690 2014-12-16 Roland McGrath <roland@hack.frob.com>
692 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
693 (init): Apply PTR_MANGLE to pointers before storing them.
694 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
697 2014-12-16 Joseph Myers <joseph@codesourcery.com>
700 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
701 define as weak alias of __memrchr.
702 (__memrchr): Do not define as strong alias of memrchr.
703 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
705 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
706 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
707 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
710 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
711 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
712 (if_indextoname): Rename to __if_indextoname and define as weak
713 alias of __if_indextoname. Use libc_hidden_weak.
714 (if_freenameindex): Rename to __if_freenameindex and define as
715 weak alias of __if_freenameindex.
716 (if_nameindex): Rename to __if_nameindex and define as weak alias
718 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
719 __if_nametoindex and define as weak alias of __if_nametoindex.
720 Use libc_hidden_weak.
721 (if_freenameindex): Rename to __if_freenameindex and define as
722 weak alias of __if_freenameindex.
723 (if_nameindex): Rename to __if_nameindex and define as weak alias
725 (if_indextoname): Rename to __if_indextoname and define as weak
726 alias of __if_indextoname. Use libc_hidden_weak.
727 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
728 __if_nametoindex and define as weak alias of __if_nametoindex.
729 Use libc_hidden_weak.
730 (if_freenameindex): Rename to __if_freenameindex and define as
731 weak alias of __if_freenameindex. Use libc_hidden_weak.
732 (if_nameindex_netlink): Use __if_freenameindex instead of
734 (if_nameindex): Rename to __if_nameindex and define as weak alias
735 of __if_nameindex. Use libc_hidden_weak.
736 (if_indextoname): Rename to __if_indextoname and define as weak
737 alias of __if_indextoname. Use libc_hidden_weak.
738 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
740 [!_ISOMAC] (__if_freenameindex): Likewise.
741 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
743 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
745 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
746 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
747 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
748 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
749 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
750 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
751 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
753 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
755 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
756 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
758 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
760 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
761 subscript above bounds'
763 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
766 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
768 * libio/tst-fopenloc.c: Use test-skeleton.c.
770 * stdlib/tst-bsearch.c: Use test-skeleton.c.
771 (entry): Rename to ITEM.
772 (do_test, comp): Adjust.
774 * stdio-common/tst-fseek.c: Use test-skeleton.c.
776 2014-12-16 Torvald Riegel <triegel@redhat.com>
778 * string/tester.c: Include <libc-internal.h>.
779 (test_memset): Ignore -Wmemset-transposed-args.
781 2014-12-16 Torvald Riegel <triegel@redhat.com>
783 * misc/tst-mntent2.c (do_test): Fix warning.
785 2014-12-16 Torvald Riegel <triegel@redhat.com>
787 * elf/tst-unique4lib.cc(a): Mark as used.
789 2014-12-16 Florian Weimer <fweimer@redhat.com>
792 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
795 2014-12-16 Allan McRae <allan@archlinux.org>
797 * stdio-common/Makefile (tests): Re-add bug26.
799 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
802 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
805 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
807 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
808 (__lll_lock_wait): Likewise.
809 (__lll_timedlock_wait): Likewise.
810 (__lll_timedwait_tid): Likewise.
811 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
812 (__lll_robust_timedlock_wait): Likewise.
813 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
814 (lll_cond_trylock): Likewise.
815 (__lll_lock): Likewise.
816 (__lll_robust_lock): Likewise.
817 (__lll_cond_lock): Likewise.
818 (lll_robust_cond_lock): Likewise.
819 (__lll_timedlock): Likewise.
820 (__lll_robust_timedlock): Likewise.
821 (__lll_unlock): Likewise.
822 (__lll_robust_unlock): Likewise.
823 (lll_wait_tid): Likewise.
824 (lll_timedwait_tid): Likewise.
826 2014-12-15 Torvald Riegel <triegel@redhat.com>
828 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
830 2014-12-15 Torvald Riegel <triegel@redhat.com>
832 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
834 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
836 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
837 * stdio-common/tst-sprintf.c: Likewise.
839 2014-12-15 Torvald Riegel <triegel@redhat.com>
841 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
843 2014-12-15 Jeff Law <law@redhat.com>
846 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
847 on the heap. (CVE-2012-3406)
848 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
849 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
850 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
852 2014-12-15 Will Newton <will.newton@linaro.org>
854 * manual/install.texi: Bump required version of texinfo
856 * INSTALL: Regenerated.
857 * configure.ac: Check for makeinfo version 4.7 and above.
858 * configure: Regenerated.
860 2014-12-12 Roland McGrath <roland@hack.frob.com>
862 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
863 PREFIX, string constant to insert between directory and name.
864 * sysdeps/posix/shm_open.c: Update caller.
865 * sysdeps/posix/shm_unlink.c: Likewise.
866 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
867 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
868 (SEM_SHM_PREFIX): New macro.
869 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
870 [$(have-thread-library) = no].
871 * nptl/Makefile (libpthread-routines): Add shm-directory.
872 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
873 * sysdeps/nptl/shm-directory.h: New file.
874 * sysdeps/posix/shm-directory.c
875 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
876 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
877 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
879 (__where_is_shmfs): Function removed.
880 (mountpoint, defaultmount, defaultdir, __namedsem_once):
882 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
884 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
886 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
887 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
888 unconditional for use inside libpthread.
889 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
891 2014-12-12 Roland McGrath <roland@hack.frob.com>
893 * nptl/pthread_getaffinity.c: New file.
894 * nptl/pthread_setaffinity.c: New file.
895 * nptl/pthread_getname.c: New file.
896 * nptl/pthread_setname.c: New file.
898 * nptl/pthread_create.c (START_THREAD_DEFN)
899 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
901 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
902 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
904 * resolv/res_send.c (send_vc): Disable warning resplen may
905 be used uninitialized.
907 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
910 (ATTR_NULL): New define checks ATTR against NULL.
911 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
912 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
914 2014-12-11 James Lemke <jwlemke@codesourcery.com>
918 (mem2mem_check): Revert my previous change.
919 (malloc_check_get_size): Revert my previous change.
920 (mem2chunk_check): Revert my previous change.
922 2014-12-11 Roland McGrath <roland@hack.frob.com>
924 * sysdeps/posix/shm-directory.c: New file.
925 * sysdeps/posix/shm-directory.h: New file.
926 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
927 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
928 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
929 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
930 Transmute EPERM to EACCES.
931 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
933 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
934 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
936 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
938 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
939 pointer and cast to uintptr_t.
940 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
941 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
942 Add cast to avoid warning.
943 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
945 2014-12-11 Joseph Myers <joseph@codesourcery.com>
947 * nptl/semaphore.h: Move to ...
948 * sysdeps/pthread/semaphore.h: ... here.
949 * Makefile (installed-headers): Change nptl/semaphore.h to
950 sysdeps/pthread/semaphore.h.
952 2014-12-11 Roland McGrath <roland@hack.frob.com>
954 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
955 generated error format strings.
957 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
958 -Wformat-extra-args warnings for scanf formats.
959 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
960 test of zero-length format (duh).
961 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
962 corner-case scanf format test.
963 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
964 generated fprintf format string.
965 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
966 corner-case sprintf format tests.
967 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
968 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
969 -Wformat-extra-args warnings throughout.
970 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
971 (CFLAGS-scanf4.c): Likewise.
972 (CFLAGS-scanf7.c): Likewise.
973 (CFLAGS-tst-sprintf.c): Likewise.
974 (CFLAGS-tst-printf.c): Likewise.
975 (CFLAGS-tst-printfsz.c): Likewise.
977 2014-12-11 Joseph Myers <joseph@codesourcery.com>
979 * include/cpio.h: New file.
980 * include/fmtmsg.h: Likewise.
982 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
983 corresponding format argument to size_t.
984 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
986 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
987 corresponding format argument to size_t.
988 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
990 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
991 corresponding format argument to size_t.
992 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
993 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
994 (CFLAGS-tst-mbswcs2.c): Likewise.
995 (CFLAGS-tst-mbswcs3.c): Likewise.
996 (CFLAGS-tst-mbswcs4.c): Likewise.
997 (CFLAGS-tst-mbswcs5.c): Likewise.
998 (CFLAGS-tst-trans.c): Likewise
1000 2014-12-11 Roland McGrath <roland@hack.frob.com>
1002 * posix/regexbug1.c (main): Use "%s" format with regerror results,
1003 rather than assuming they won't contain any '%'s.
1005 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
1007 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
1008 inhibit_loop_to_libcall to avoid recursive calls.
1009 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
1010 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
1012 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
1014 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
1017 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1019 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
1020 integer value instead of boolean.
1022 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
1024 * malloc/malloc.c: Fix powerof2 check.
1026 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1028 * locale/programs/locfile.h (maybe_swap_uint32):
1029 Remove inline and add unused attribute.
1031 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
1033 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
1034 Truncating assembler expression to a .long expression.
1036 2014-12-11 Andreas Schwab <schwab@suse.de>
1038 * elf/rtld.c (struct map_args): Constify str member.
1039 (do_preload): Constify fname argument.
1041 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1043 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
1044 constants definition.
1046 2014-12-11 Andreas Schwab <schwab@suse.de>
1049 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
1050 FORCE_ELISION instead of DO_ELISION.
1051 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
1053 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
1056 * iconvdata/gconv-modules: Remove duplicate entry.
1058 2014-12-11 Will Newton <will.newton@linaro.org>
1060 Merge gettext 0.19.3 into intl/.
1062 This involves a number of cosmetic changes to comments
1063 and ANSI function definitions and prototypes throughout
1064 all the files. The gettext copyright header is used but
1065 with the date ranges taken from the glibc copy.
1067 * NEWS: Add gettext merge to 2.21.
1068 * intl/bindtextdom.c: Switch to gettext copyright.
1069 Use ANSI definitions and prototypes.
1070 Use gl_* locking primitives rather than __libc_* ones.
1071 Use __builtin_expect rather than __glibc_likely/unlikely.
1072 * intl/dcgettext.c: Switch to gettext copyright.
1073 Use ANSI definitions and prototypes.
1074 * intl/dcigettext.c: Switch to gettext copyright.
1075 Use ANSI definitions and prototypes.
1076 (INTDIV0_RAISES_SIGFPE): New define.
1077 Use gl_* locking primitives rather than __libc_* ones.
1078 Include eval-plural.h instead of plural-eval.c.
1079 Use __builtin_expect rather than __glibc_likely/unlikely.
1080 * intl/dcngettext.c: Switch to gettext copyright.
1081 Use ANSI definitions and prototypes.
1082 * intl/dgettext.c: Likewise.
1083 * intl/dngettext.c: Likewise.
1084 * intl/plural-eval.c: Renamed to...
1085 * intl/eval-plural.h: ...this.
1086 * intl/explodename.c: Switch to gettext copyright.
1087 Use ANSI definitions and prototypes.
1088 (_nl_explode_name): Use strchr instead of __rawmemchr.
1089 * intl/finddomain.c: Switch to gettext copyright.
1090 Use ANSI definitions and prototypes.
1091 Use gl_* locking primitives rather than __libc_* ones.
1092 (_nl_find_domain): Use malloc rather than alloca for
1093 allocation of temporary locale name.
1094 * intl/gettext.c: Switch to gettext copyright.
1095 Use ANSI definitions and prototypes.
1096 * intl/gettextP.h: Switch to gettext copyright.
1097 Use ANSI definitions and prototypes.
1098 Use gl_* locking primitives rather than __libc_* ones.
1099 * intl/gmo.h: Switch to gettext copyright.
1100 (struct sysdep_string): Move struct segment_pair outside of
1102 * intl/hash-string.c: Use ANSI definitions and prototypes.
1103 * intl/hash-string.h: Switch to gettext copyright.
1104 Use ANSI definitions and prototypes.
1105 * intl/l10nflist.c: Switch to gettext copyright.
1106 Use ANSI definitions and prototypes.
1107 (_nl_normalize_codeset): Avoid integer overflow.
1108 * intl/loadinfo.h: Switch to gettext copyright.
1109 Use ANSI definitions and prototypes.
1110 (LIBINTL_DLL_EXPORTED): New define.
1111 (PATH_SEPARATOR): New define.
1112 * intl/loadmsgcat.c: Switch to gettext copyright.
1113 * intl/localealias.c: Switch to gettext copyright.
1114 Use ANSI definitions and prototypes.
1115 (_nl_expand_alias): Use PATH_SEPARATOR.
1116 * intl/ngettext.c: Switch to gettext copyright.
1117 Use ANSI definitions and prototypes.
1118 * intl/plural-exp.c: Likewise.
1119 * intl/plural-exp.h: Switch to gettext copyright.
1120 Use ANSI definitions and prototypes.
1121 (struct expression): Move definition of enum operator outside
1122 of struct definition.
1123 * intl/plural.c: Regenerate.
1124 * intl/plural.y: Switch to gettext copyright.
1125 Use ANSI definitions and prototypes.
1127 * intl/textdomain.c: Switch to gettext copyright.
1128 Use ANSI definitions and prototypes.
1129 Use gl_* locking primitives rather than __libc_* ones.
1131 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
1133 * debug/warning-nop.c: Add used atrribute.
1135 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1137 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
1139 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
1140 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
1141 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
1143 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1144 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1147 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
1148 Undefine after defining function. Define as weak alias of
1149 __wcschr. Use libc_hidden_weak.
1150 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
1151 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
1152 (libc_hidden_def): Also define __GI___wcschr alias.
1153 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
1154 __wcschr and define as weak alias of __wcschr.
1155 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
1157 [!WCSCHR] (DEFAULT_WCSCHR): Define.
1158 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
1159 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
1160 libc_hidden_weak. Do not use libc_hidden_def.
1161 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1162 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1163 __GI___wcschr alias.
1164 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1165 [IS_IN (libc)] (wcschr): Define as macro expanding to
1167 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1168 [IS_IN (libc)] (__wcschr_power6): Likewise.
1169 [IS_IN (libc)] (__wcschr_power7): Likewise.
1170 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
1172 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1174 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1175 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1176 __wcschr and define as weak alias of __wcschr. Use
1177 libc_hidden_builtin_def.
1178 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1179 as weak alias of __wcschr. Use libc_hidden_weak.
1180 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1182 * time/era.c (_nl_init_era_entries): Likewise.
1183 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1185 (test-xfail-XPG3/time.h/linknamespace): Likewise.
1186 (test-xfail-XPG4/time.h/linknamespace): Likewise.
1188 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1190 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1191 format for long int variable.
1193 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
1196 * manual/search.texi: (Array Sort Function): Remove claim how to make
1199 2014-12-10 Andreas Schwab <schwab@suse.de>
1202 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1203 user-controlled locks.
1205 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
1207 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1210 2014-12-10 Joseph Myers <joseph@codesourcery.com>
1212 * configure.ac (--disable-werror): New configure option.
1213 (enable_werror): New AC_SUBST.
1214 * configure: Regenerated.
1215 * config.make.in (enable-werror): New variable.
1216 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1218 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1219 * manual/install.texi (Configuring and compiling): Document
1221 * INSTALL: Regenerated.
1222 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1223 (CFLAGS-tst-chk2.c): Likewise.
1224 (CFLAGS-tst-chk3.c): Likewise.
1225 (CFLAGS-tst-chk4.cc): Likewise.
1226 (CFLAGS-tst-chk5.cc): Likewise.
1227 (CFLAGS-tst-chk6.cc): Likewise.
1228 (CFLAGS-tst-lfschk1.c): Likewise.
1229 (CFLAGS-tst-lfschk2.c): Likewise.
1230 (CFLAGS-tst-lfschk3.c): Likewise.
1231 (CFLAGS-tst-lfschk4.cc): Likewise.
1232 (CFLAGS-tst-lfschk5.cc): Likewise.
1233 (CFLAGS-tst-lfschk6.cc): Likewise.
1235 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1236 (main): Disable -Wdeprecated-declarations around calls to
1237 register_printf_function.
1239 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1240 (do_test): Disable -Wdiv-by-zero around some calls to
1241 fwrite_unlocked and fread_unlocked.
1243 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1244 (DIAG_POP_NEEDS_COMMENT): Likewise.
1245 (_DIAG_STR1): Likewise.
1246 (_DIAG_STR): Likewise.
1247 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1248 * stdio-common/bug21.c: Include <libc-internal.h>.
1249 (do_test): Disable -Wformat around call to sscanf.
1250 * stdio-common/scanf14.c: Include <libc-internal.h>.
1251 (main): Disable -Wformat around some calls to scanf functions.
1253 2014-12-09 Torvald Riegel <triegel@redhat.com>
1255 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1257 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1259 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1260 stack variable alignment.
1262 2014-12-06 Joseph Myers <joseph@codesourcery.com>
1265 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1266 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1267 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1268 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1269 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1270 __getrlimit instead of getrlimit.
1271 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1272 __gettimeofday instead of gettimeofday.
1273 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1275 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1277 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1278 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1280 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1281 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1283 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1285 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1286 for wide-character tests.
1288 2014-12-04 Roland McGrath <roland@hack.frob.com>
1290 * io/openat64.c: #include <libc-internal.h>
1291 (__openat64): Prototypify. Use ignore_value on MODE.
1292 * io/openat.c: Likewise.
1293 * misc/reboot.c: #include <libc-internal.h>
1294 (reboot): Prototypify. Use ignore_value on HOWTO.
1295 * misc/ptrace.c: #include <libc-internal.h>
1296 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
1298 2014-12-04 Joseph Myers <joseph@codesourcery.com>
1300 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1301 XPG4, UNIX98 and XOPEN2K.
1302 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1304 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1306 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
1308 * libio/fileops.c: Use ISO C style for function definitions.
1309 * libio/iofopen.c: Likewise.
1310 * libio/wfileops.c: Likewise.
1313 * libio/fileops.c (_IO_new_file_underflow): Unset cached
1315 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1316 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1317 (fgets_func): Function pointer to fgets and fgetws.
1318 (do_ftell_test): Add test to verify ftell value after read
1320 (do_test): Set fgets_func.
1322 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1323 O_TRUNC flag for w and w+ modes.
1324 (do_rewind_test): Likewise.
1325 (do_ftell_test): Likewise.
1326 (do_write_test): Likewise.
1329 * libio/fileops.c (do_ftell): Seek only when there are
1331 * libio/wfileops.c (do_ftell_wide): Likewise.
1332 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1334 (do_one_test): Call it.
1336 2014-12-03 Joseph Myers <joseph@codesourcery.com>
1338 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1339 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1340 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1342 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1343 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1344 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1346 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1348 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1350 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1353 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1354 as weak alias of __getifaddrs. Use libc_hidden_weak.
1355 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1356 __freeifaddrs. Use libc_hidden_weak.
1357 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1358 define as weak alias of __getifaddrs. Use libc_hidden_weak.
1359 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1360 __freeifaddrs. Use libc_hidden_weak.
1361 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1362 __getifaddrs and define as weak alias of __getifaddrs. Use
1364 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1365 __freeifaddrs. Use libc_hidden_weak.
1366 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1368 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1369 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1371 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
1374 * sysdeps/mips/start.S (__start): Use indirect jump to call
1377 2014-12-02 Joseph Myers <joseph@codesourcery.com>
1379 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1381 * nptl/tst-mutex1.c: Include <stdbool.h>.
1382 [!ATTR] (ATTR_NULL): New macro.
1383 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1384 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1385 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1387 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1391 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1392 Change conditional to [__USE_MISC].
1395 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1397 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1399 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1401 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1403 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1404 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1405 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1406 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1407 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1408 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1409 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1410 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1411 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1413 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1415 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1417 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1418 Remove strpbrk objects.
1419 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1420 (__libc_ifunc_impl_list): Remove strpbrk implementation.
1421 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1422 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1423 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1424 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1426 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1427 Remove strcspn objects.
1428 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1429 (__libc_ifunc_impl_list): Remove strcspn implementation.
1430 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1431 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1432 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1433 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1435 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1436 Remove strspn objetcs.
1437 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1438 (__libc_ifunc_impl_list): Remove strspn implementation.
1439 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1440 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1441 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1442 * sysdeps/powerpc/powerpc64/strspn.S: New file.
1444 2014-12-01 James Lemke <jwlemke@codesourcery.com>
1448 (mem2mem_check): Add a terminator to the chain of checking blocks.
1449 (malloc_check_get_size): Use it here.
1450 (mem2chunk_check): Ditto.
1452 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1454 * sysdeps/powerpc/powerpc64/strtok.S: New file.
1455 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1457 2014-11-29 Carlos O'Donell <carlos@redhat.com>
1459 * bits/ioctl-types.h: Indent preprocessor directives correctly.
1461 * nptl/nptl-init.c: Include libc-internal.h.
1462 (__pthread_initialize_minimal_internal): Use ROUND_UP.
1464 * elf/ldconfig.c (search_dir): Expand comment.
1466 2014-11-29 Joseph Myers <joseph@codesourcery.com>
1468 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1470 (linknamespace-symlist-stdlibs-tests): Likewise.
1471 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1472 instead of $(objpfx)symlist-stdlibs.
1473 (linknamespace-libs-isoc): New variable.
1474 (linknamespace-libs): Use $(linknamespace-libs-isoc).
1475 (linknamespace-libs-ISO): New variable.
1476 (linknamespace-libs-ISO99): Likewise.
1477 (linknamespace-libs-ISO11): Likewise.
1478 (linknamespace-libs-XPG3): Likewise.
1479 (linknamespace-libs-XPG4): Likewise.
1480 (linknamespace-libs-POSIX): Likewise.
1481 (linknamespace-libs-UNIX98): Likewise.
1482 (linknamespace-libs-XOPEN2K): Likewise.
1483 (linknamespace-libs-POSIX2008): Likewise.
1484 (linknamespace-libs-XOPEN2K8): Likewise.
1485 ($(objpfx)symlist-stdlibs): Replace by
1486 $(linknamespace-symlist-stdlibs-tests). Use
1487 $(linknamespace-libs-$*) as set of libraries.
1488 ($(linknamespace-header-tests)): Update dependencies. Use
1489 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1490 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1491 * conform/linknamespace.pl: Remove comment about considering
1492 definitions of symbols from irrelevant libraries.
1494 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
1497 * elf/dl-tls.c: Include <atomic.h>.
1498 (oom): Remove #ifdef SHARED/#endif.
1499 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1500 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
1501 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1503 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1504 * nptl/Makefile (tests): Add tst-stack4.
1505 (modules-names): Add tst-stack4mod.
1506 ($(objpfx)tst-stack4): New.
1507 (tst-stack4mod.sos): Likewise.
1508 ($(objpfx)tst-stack4.out): Likewise.
1509 ($(tst-stack4mod.sos)): Likewise.
1511 * nptl/tst-stack4.c: New file.
1512 * nptl/tst-stack4mod.c: Likewise.
1514 2014-11-27 J. Brown <jb999@gmx.de>
1516 * sysdeps/x86/bits/string.h: Add recent CPUs.
1518 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1520 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1523 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1526 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1529 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
1531 * nscd/connections.c: Include libc-internal.h because of macro
1534 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
1536 * string/bits/string3.h (__warn_memset_zero_len): Don't
1537 declare for gcc newer than 5.0.
1538 (memset): Don't test for zero-length __LEN for gcc newer than
1541 2014-11-27 Joseph Myers <joseph@codesourcery.com>
1543 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1544 size_t for %zu format.
1546 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1547 difference, not %ju.
1549 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1551 * include/libc-internal.h (ignore_value): New macro.
1552 * nscd/connections.c (restart): Wrap calls to setuid and setgid
1555 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1558 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1559 pthread_cleanup_push to void *.
1561 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1566 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1567 instead of 1L << 52.
1569 * libio/bug-rewind.c (do_test): Check fwscanf return values.
1570 * libio/bug-rewind2.c (do_test): Likewise.
1572 * debug/test-stpcpy_chk-ifunc.c: Remove file.
1573 * debug/test-strcpy_chk-ifunc.c: Likewise.
1574 * wcsmbs/test-wcschr-ifunc.c: Likewise.
1575 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1576 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1577 * wcsmbs/test-wcslen-ifunc.c: Likewise.
1578 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1579 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1580 * Rules [$(multi-arch) = no] (tests): Do not filter out
1582 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1583 * debug/Makefile (tests-ifunc): Remove variable.
1584 (tests): Do not add $(tests-ifunc).
1585 * wcsmbs/Makefile (tests-ifunc): Remove variable.
1586 (tests): Do not add $(tests-ifunc).
1587 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1588 [TEST_IFUNC]: Remove conditionals.
1589 * string/test-string.h (TEST_IFUNC): Remove macro.
1590 [TEST_IFUNC]: Remove conditionals.
1592 * string/test-strchr.c [!WIDE] (L): New macro.
1593 [WIDE] (L): Likewise.
1594 (check1): Use CHAR instead of char. Use L on string and character
1597 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
1599 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1601 * sysdeps/powerpc/bits/atomic.h
1602 (__arch_atomic_exchange_and_add_32_acq): Add definition.
1603 (__arch_atomic_exchange_and_add_32_rel): Likewise.
1604 (atomic_exchange_and_add_acq): Likewise.
1605 (atomic_exchange_and_add_rel): Likewise.
1606 * sysdeps/powerpc/powerpc32/bits/atomic.h
1607 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1608 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1609 * sysdeps/powerpc/powerpc64/bits/atomic.h
1610 (__arch_atomic_exchange_and_add_64_acq): Add definition.
1611 (__arch_atomic_exchange_and_add_64_rel): Likewise.
1613 2014-11-26 Torvald Riegel <triegel@redhat.com>
1615 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1616 Change synchronization of __sched_fifo_min_prio and
1617 __sched_fifo_max_prio.
1618 * nptl/pthread_mutexattr_getprioceiling.c
1619 (pthread_mutexattr_getprioceiling): Likewise.
1620 * nptl/pthread_mutexattr_setprioceiling.c
1621 (pthread_mutexattr_setprioceiling): Likewise.
1622 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1623 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1626 2014-11-26 Joseph Myers <joseph@codesourcery.com>
1628 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1631 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1633 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1634 third argument const.
1636 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
1638 fnmatch: work around GCC compiler warning bug with uninit var
1639 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1640 This works around a bug with x86-64 GCC 4.9.2 and earlier
1641 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1642 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1643 used uninitialized in this function [-Wmaybe-uninitialized]".
1645 2014-11-25 Joseph Myers <joseph@codesourcery.com>
1647 * posix/bug-regex31.c (main): Return RES not 0.
1649 2014-11-25 Anton Blanchard <anton@samba.org>
1651 * sysdeps/powerpc/bits/atomic.h
1652 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1654 2014-11-24 Sterling Augustine <saugustine@google.com>
1656 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1658 2014-11-24 Ryan Cumming <etaoins@gmail.com>
1661 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1663 2014-11-24 Joseph Myers <joseph@codesourcery.com>
1666 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1667 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1669 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1670 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1672 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1674 * string/strncpy.c (strncpy): Improve performance by using memset.
1676 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
1678 * string/strcpy.c (strcpy):
1679 Improve performance by using strlen and memcpy.
1681 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
1683 * string/strcoll_l.c (get_next_seq): __always_inline.
1684 * string/strcoll_l.c (do_compare): __always_inline.
1686 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
1688 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1690 * include/mqueue.h: Likewise.
1691 * include/stdlib.h: Likewise.
1693 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1694 (get_null_defines): Adjust.
1695 * sunrpc/Makefile: Adjust comment.
1696 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1697 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1698 (CFLAGS-interp.c): Likewise.
1699 (CFLAGS-ldconfig.c): Likewise.
1700 (CPPFLAGS-.os): Likewise.
1701 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1702 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1703 * extra-modules.mk (extra-modules.mk): Likewise.
1704 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1705 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1706 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1707 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1708 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1709 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1710 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1711 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1712 * iconvdata/Makefile (CPPFLAGS): Likewise.
1713 (cpp-srcs-left): Add libof for all iconvdata routines.
1714 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1715 * include/assert.h: Likewise.
1716 * include/ctype.h: Likewise.
1717 * include/errno.h: Likewise.
1718 * include/libc-symbols.h: Likewise.
1719 * include/math.h: Likewise.
1720 * include/netdb.h: Likewise.
1721 * include/resolv.h: Likewise.
1722 * include/stdio.h: Likewise.
1723 * include/stdlib.h: Likewise.
1724 * include/string.h: Likewise.
1725 * include/sys/stat.h: Likewise.
1726 * include/wctype.h: Likewise.
1727 * intl/l10nflist.c: Likewise.
1728 * libidn/idn-stub.c: Likewise.
1729 * libio/libioP.h: Likewise.
1730 * nptl/libc_multiple_threads.c: Likewise.
1731 * nptl/pthreadP.h: Likewise.
1732 * posix/regex_internal.h: Likewise.
1733 * resolv/res_hconf.c: Likewise.
1734 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1735 * sysdeps/arm/memmove.S: Likewise.
1736 * sysdeps/arm/sysdep.h: Likewise.
1737 * sysdeps/generic/_itoa.h: Likewise.
1738 * sysdeps/generic/symbol-hacks.h: Likewise.
1739 * sysdeps/gnu/errlist.awk: Likewise.
1740 * sysdeps/gnu/errlist.c: Likewise.
1741 * sysdeps/i386/i586/memcpy.S: Likewise.
1742 * sysdeps/i386/i586/memset.S: Likewise.
1743 * sysdeps/i386/i686/memcpy.S: Likewise.
1744 * sysdeps/i386/i686/memmove.S: Likewise.
1745 * sysdeps/i386/i686/mempcpy.S: Likewise.
1746 * sysdeps/i386/i686/memset.S: Likewise.
1747 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1748 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1749 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1750 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1751 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1752 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1753 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1754 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1755 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1756 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1757 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1758 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1759 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1760 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1761 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1762 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1763 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1764 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1765 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1766 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1767 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1768 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1769 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1770 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1771 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1772 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1773 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1774 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1775 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1776 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1777 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1779 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1780 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1781 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1782 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1783 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1784 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1785 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1786 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1787 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1788 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1789 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1790 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1791 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1792 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1793 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1794 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1795 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1796 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1797 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1798 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1799 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1800 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1801 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1802 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1803 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1804 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1805 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1806 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1807 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1808 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1809 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1810 * sysdeps/nptl/bits/libc-lock.h: Likewise.
1811 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1812 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1813 * sysdeps/posix/closedir.c: Likewise.
1814 * sysdeps/posix/opendir.c: Likewise.
1815 * sysdeps/posix/readdir.c: Likewise.
1816 * sysdeps/posix/rewinddir.c: Likewise.
1817 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1818 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1819 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1820 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1821 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1822 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1823 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1824 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1825 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1826 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1827 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1828 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1829 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1830 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1831 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1832 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1833 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1834 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1835 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1836 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1837 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1838 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1839 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1840 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1841 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1842 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1843 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1844 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1845 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1846 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1847 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1848 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1849 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1850 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1851 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1852 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1853 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1854 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1855 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1856 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1857 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1858 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1859 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1860 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1861 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1862 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1863 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1864 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1865 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1866 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1867 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1868 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1869 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1870 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1871 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1872 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1873 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1874 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1875 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1876 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1877 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1878 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1879 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1880 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1881 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1882 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1883 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1884 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1885 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1886 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1887 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1888 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1889 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1890 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1891 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1892 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1893 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1894 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1895 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1896 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1897 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1898 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1899 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1900 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1901 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1902 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1903 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1904 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1905 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1906 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1907 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1908 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1909 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1910 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1911 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1912 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1913 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1914 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1915 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1916 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1917 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1918 * sysdeps/unix/alpha/sysdep.S: Likewise.
1919 * sysdeps/unix/alpha/sysdep.h: Likewise.
1920 * sysdeps/unix/make-syscalls.sh: Likewise.
1921 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1922 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1923 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1924 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1925 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1926 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1927 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1928 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1929 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1930 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1931 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1932 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1933 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1934 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1935 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1936 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1937 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1938 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1939 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1940 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1941 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1942 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1943 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1944 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1945 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1946 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1947 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1950 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1951 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1952 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1953 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1954 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1955 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1956 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1957 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1958 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1959 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1960 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1961 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1962 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1963 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1964 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1965 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1966 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1967 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1968 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1969 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1970 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1971 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1972 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1973 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1974 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1975 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1976 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1977 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1978 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1979 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1980 * sysdeps/x86_64/memcpy.S: Likewise.
1981 * sysdeps/x86_64/memmove.c: Likewise.
1982 * sysdeps/x86_64/memset.S: Likewise.
1983 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1984 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1985 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1986 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1987 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1988 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1989 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1990 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1991 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1992 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1993 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1994 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1995 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1996 * sysdeps/x86_64/multiarch/memset.S: Likewise.
1997 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1998 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1999 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
2000 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
2001 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
2002 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
2003 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
2004 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
2005 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
2006 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
2007 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2008 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
2009 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
2010 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
2011 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
2012 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
2013 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
2014 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
2015 * sysdeps/x86_64/strcmp.S: Likewise.
2017 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
2019 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
2020 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
2021 * elf/rtld-Rules: Likewise.
2022 * elf/setup-vdso.h: Likewise.
2023 * include/assert.h: Likewise.
2024 * include/bits/stdlib-float.h: Likewise.
2025 * include/errno.h: Likewise.
2026 * include/sys/stat.h: Likewise.
2027 * include/unistd.h: Likewise.
2028 * sysdeps/aarch64/setjmp.S: Likewise.
2029 * sysdeps/alpha/setjmp.S: Likewise.
2030 * sysdeps/arm/__longjmp.S: Likewise.
2031 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
2032 * sysdeps/arm/setjmp.S: Likewise.
2033 * sysdeps/arm/sysdep.h: Likewise.
2034 * sysdeps/generic/_itoa.h: Likewise.
2035 * sysdeps/generic/dl-sysdep.h: Likewise.
2036 * sysdeps/generic/ldsodefs.h: Likewise.
2037 * sysdeps/i386/dl-tls.h: Likewise.
2038 * sysdeps/i386/setjmp.S: Likewise.
2039 * sysdeps/m68k/setjmp.c: Likewise.
2040 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
2041 * sysdeps/mach/hurd/opendir.c: Likewise.
2042 * sysdeps/posix/getcwd.c: Likewise.
2043 * sysdeps/posix/opendir.c: Likewise.
2044 * sysdeps/posix/profil.c: Likewise.
2045 * sysdeps/powerpc/dl-procinfo.h: Likewise.
2046 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
2047 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
2048 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
2049 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
2050 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
2051 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
2052 * sysdeps/s390/dl-tls.h: Likewise.
2053 * sysdeps/s390/s390-32/setjmp.S: Likewise.
2054 * sysdeps/s390/s390-64/setjmp.S: Likewise.
2055 * sysdeps/sh/sh3/setjmp.S: Likewise.
2056 * sysdeps/sh/sh4/setjmp.S: Likewise.
2057 * sysdeps/unix/alpha/sysdep.h: Likewise.
2058 * sysdeps/unix/arm/sysdep.S: Likewise.
2059 * sysdeps/unix/i386/sysdep.S: Likewise.
2060 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2061 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
2062 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
2063 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
2064 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2065 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
2066 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
2067 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2068 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
2069 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
2070 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
2071 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
2072 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
2073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
2074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
2075 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
2076 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
2077 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
2078 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2079 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
2080 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
2081 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
2082 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
2083 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
2084 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2085 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
2086 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
2087 * sysdeps/unix/x86_64/sysdep.S: Likewise.
2088 * sysdeps/x86_64/setjmp.S: Likewise.
2090 * include/math.h: Use IS_IN instead of IS_IN_libm.
2091 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
2092 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
2093 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
2094 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
2095 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
2096 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
2097 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
2098 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
2099 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
2100 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
2101 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
2102 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
2103 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
2104 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
2105 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
2106 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
2107 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
2108 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
2109 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
2110 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
2111 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
2112 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
2113 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
2114 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
2115 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
2116 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2117 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
2118 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
2119 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
2120 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
2121 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
2122 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2123 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
2124 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
2126 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
2128 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
2130 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
2132 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
2134 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2135 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
2136 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2137 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2138 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2139 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2140 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
2141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
2142 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
2143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
2144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
2145 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2146 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2147 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2148 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2149 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2150 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2151 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2152 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2153 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2154 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2155 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2156 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2157 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2158 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
2159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2160 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2162 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2163 * nptl/pthreadP.h: Likewise.
2164 * nptl_db/structs.def: Likewise.
2165 * sysdeps/arm/sysdep.h: Likewise.
2166 * sysdeps/nptl/bits/libc-lock.h: Likewise.
2167 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2168 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2169 * sysdeps/unix/alpha/sysdep.h: Likewise.
2170 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2171 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2172 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2173 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2174 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2175 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2176 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2177 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2178 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2179 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2180 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2181 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2182 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2183 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2186 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2187 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2188 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2189 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2190 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2191 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2192 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2193 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2194 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2195 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2197 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2198 * nptl/pthreadP.h: Likewise.
2199 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2200 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2201 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2202 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2203 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2204 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2205 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2206 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2207 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2208 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2209 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2210 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2215 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2216 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2217 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2218 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2219 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2220 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2221 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2222 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2224 * dlfcn/dladdr.c: Use IS_IN.
2225 * dlfcn/dladdr1.c: Likewise.
2226 * dlfcn/dlclose.c: Likewise.
2227 * dlfcn/dlerror.c: Likewise.
2228 * dlfcn/dlinfo.c: Likewise.
2229 * dlfcn/dlmopen.c: Likewise.
2230 * dlfcn/dlopen.c: Likewise.
2231 * dlfcn/dlsym.c: Likewise.
2232 * dlfcn/dlvsym.c: Likewise.
2234 * include/ifaddrs.h: Use IS_IN.
2235 * inet/check_pf.c: Likewise.
2236 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2237 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2239 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2241 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2242 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2244 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2245 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2248 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2250 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2251 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2252 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2253 * include/libc-symbols.h (IS_IN_LIB): New macro.
2254 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2255 * include/netdb.h: Likewise.
2256 * include/stap-probe.h: Remove all uses of IN_LIB.
2258 * Makeconfig (module-cppflags-real): Define MODULE_NAME
2259 instead of IN_MODULE.
2260 * include/libc-symbols.h (IN_MODULE): Define using
2262 (PASTE_NAME, PASTE_NAME1): New macros.
2263 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2265 (STAP_PROBE_ASM): Likewise.
2267 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
2269 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2270 __mach_init in dlopened libc.
2272 2014-11-22 Mike Frysinger <vapier@gentoo.org>
2274 * sysdeps/arm/preconfigure.ac: Delete EABI check.
2275 * sysdeps/arm/preconfigure: Regenerate.
2277 2014-11-21 Roland McGrath <roland@hack.frob.com>
2279 * nptl/pthread_create.c (__pthread_create_2_1): Set
2280 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2281 when copying values from IATTR into PD.
2283 2014-11-21 Will Newton <will.newton@linaro.org>
2284 Andrew Pinski <andrew.pinski@caviumnetworks.com>
2286 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2287 Refactor inline-asm. Also add comment.
2289 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2290 ElfW macro instead of hardcoded Elf64 types.
2291 (la_aarch64_gnu_pltenter): Likewise.
2292 * sysdeps/aarch64/dl-machine.h
2293 (elf_machine_runtime_setup): Use ElfW(Addr).
2295 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2296 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2297 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2298 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2299 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2300 (R_AARCH64_TLS_DTPMOD64): Rename to ..
2301 (R_AARCH64_TLS_DTPMOD): This.
2302 (R_AARCH64_TLS_DTPREL64): Rename to ...
2303 (R_AARCH64_TLS_DTPREL): This.
2304 (R_AARCH64_TLS_TPREL64): Rename to ...
2305 (R_AARCH64_TLS_TPREL): This.
2306 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2307 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2308 R_AARCH64_TLS_TPREL64.
2309 (elf_machine_rela): Likewise.
2311 2014-11-21 Torvald Riegel <triegel@redhat.com>
2313 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2314 by setting it to 0. 64b atomics are not supported currently.
2316 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2319 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2320 search domain names.
2322 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2326 * resolv/res_query.c (__libc_res_nquerydomain): Retain
2328 * posix/tst-getaddrinfo5.c: New.
2329 * posix/Makefile (tests): Add it.
2331 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2335 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2336 after parsing line but before break_if_match.
2337 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2338 if there is a protocol mismatch.
2340 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2342 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2343 because the potential race is on the user-supplied stream.
2345 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2347 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2348 string literal if not passed a buffer.
2349 * manual/job.texi (ctermid): Update reasoning, note deviation
2350 from posix, suggest mtasurace when not passed a buffer, for
2351 future non-preliminary safety notes.
2353 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2355 * manual/users.texi (cuserid): Fix MT-Safety note for the case
2356 of not passing it a buffer.
2357 Reported by Peng Haitao.
2359 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
2361 * manual/Makefile ($(objpfx)stamp-summary): Require
2362 check-safety.sh to pass.
2363 * manual/check-safety.sh: Wish for verification that every
2364 @deftypefn and @deftypefun is followed by a @safety remark.
2366 2014-11-20 Roland McGrath <roland@hack.frob.com>
2368 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2370 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2371 PTHREAD_CANCEL_ASYNCHRONOUS.
2372 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2375 * nptl/default-sched.h: New file.
2376 * sysdeps/unix/sysv/linux/default-sched.h: New file.
2377 * nptl/pthread_create.c: Include it.
2378 (__pthread_create_2_1): Use collect_default_sched instead of making
2379 Linux syscalls here directly.
2381 2014-11-20 Torvald Riegel <triegel@redhat.com>
2383 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2384 __pthread_once): Use C11 atomics.
2386 2014-11-20 Torvald Riegel <triegel@redhat.com>
2388 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2390 2014-11-20 Torvald Riegel <triegel@redhat.com>
2392 * include/atomic.h (__atomic_link_error, __atomic_check_size,
2393 atomic_thread_fence_acquire, atomic_thread_fence_release,
2394 atomic_thread_fence_seq_cst, atomic_load_relaxed,
2395 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2396 atomic_compare_exchange_weak_relaxed,
2397 atomic_compare_exchange_weak_acquire,
2398 atomic_compare_exchange_weak_release,
2399 atomic_exchange_acquire, atomic_exchange_release,
2400 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2401 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2402 atomic_fetch_and_acquire,
2403 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2405 2014-11-20 Torvald Riegel <triegel@redhat.com>
2407 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2408 USE_ATOMIC_COMPILER_BUILTINS): Define.
2409 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2410 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2411 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2412 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2413 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2414 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2415 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2416 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2417 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2418 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2419 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2420 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2421 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2422 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2423 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2424 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2425 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2426 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2427 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2428 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2429 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2430 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2431 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2432 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2433 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2434 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2435 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2436 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2437 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2438 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2439 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2440 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2441 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2442 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2443 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2444 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2445 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2446 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2447 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2448 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2450 2014-11-19 Roland McGrath <roland@hack.frob.com>
2452 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2453 the sched_priority value here. It was already checked when the user
2454 called pthread_attr_setschedparam.
2456 * nptl/tst-bad-schedattr.c: New file.
2457 * nptl/Makefile (tests): Add it.
2459 2014-11-19 Carlos O'Donell <carlos@redhat.com>
2460 Florian Weimer <fweimer@redhat.com>
2461 Joseph Myers <joseph@codesourcery.com>
2462 Adam Conrad <adconrad@0c3.net>
2463 Andreas Schwab <schwab@suse.de>
2464 Brooks <bmoses@google.com>
2467 * wordexp-test.c (__dso_handle): Add prototype.
2468 (__register_atfork): Likewise.
2469 (__app_register_atfork): New function.
2470 (registered_forks): New global.
2471 (register_fork): New function.
2472 (test_case): Add 3 new tests for WRDE_CMDSUB.
2473 (main): Call __app_register_atfork.
2474 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2475 fork count is non-zero fail the test.
2476 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2478 (parse_dollars): Remove check for WRDE_NOCMD.
2479 (parse_dquote): Likewise.
2481 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
2483 * Makeconfig (built-modules): List non-library modules to be
2485 (module-cppflags): Include libc-modules.h for
2486 everything except shlib-versions.v.i.
2488 (before-compile): Add libc-modules.h.
2489 ($(common-objpfx)libc-modules.h,
2490 $(common-objpfx)libc-modules.stmp): New targets.
2491 (common-generated): Add libc-modules.h and libc-modules.stmp.
2492 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2493 * include/libc-symbols.h: Don't include libc-modules.h.
2494 * include/libc-modules.h: Remove file.
2495 * scripts/gen-libc-modules.awk: New script to generate
2497 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2498 Depend on libc-modules.stmp.
2500 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2502 * Makeconfig (in-module): Get value of libof set for the
2504 (CPPFLAGS): Use $(in-module).
2505 * Makerules: Don't suffix routine names for nonlib.
2506 * include/libc-modules.h: New file.
2507 * include/libc-symbols.h: Include libc-modules.h
2508 (IS_IN): New macro to replace IS_IN_* macros.
2509 * elf/Makefile: Set libof-* for each routine.
2510 * elf/rtld-Rules: Likewise.
2511 * extra-modules.mk: Likewise.
2512 * iconv/Makefile: Likewise.
2513 * iconvdata/Makefile: Likewise.
2514 * locale/Makefile: Likewise.
2515 * malloc/Makefile: Likewise.
2516 * nss/Makefile: Likewise.
2517 * sysdeps/gnu/Makefile: Likewise.
2518 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2519 * sysdeps/unix/sysv/linux/Makefile: Likewise.
2520 * sysdeps/s390/s390-64/Makefile: Likewise.
2521 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
2522 CPPFLAGS for nscd instead of nonlib.
2524 2014-11-18 Roland McGrath <roland@hack.frob.com>
2526 * nptl/createthread.c: New file.
2528 * nptl/createthread.c: Moved ...
2529 * sysdeps/unix/sysv/linux/createthread.c: ... here.
2531 * nptl/createthread.c: Add proper top-line comment.
2532 (do_clone): Folded into ...
2533 (create_thread): ... here. Take new arguments STOPPED_START and
2534 THREAD_RAN. Always set PD->stopped_start to something here. Don't
2535 increment __nptl_threads, do event-reporting logic, do
2536 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2537 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
2538 resource cleanup if sched_setaffinity or sched_setscheduler fails,
2539 just send SIGCANCEL.
2540 * nptl/pthread_create.c: Forward-declare create_thread before
2541 including createthread.c.
2542 (start_thread): Use new macro START_THREAD_DEFN to replace defining
2543 declaration, and new macro START_THREAD_SELF to replace argument.
2544 Remove return statement.
2545 (report_thread_creation): New function.
2546 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
2547 synchronization logic, and __nptl_nthreads increment here, around
2548 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
2549 PD->parent_cancelhandling here, before create_thread. When
2550 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2551 __deallocate_stack, and ENOMEM translation here.
2553 2014-11-18 Joseph Myers <joseph@codesourcery.com>
2556 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2557 (mptwo): Rename to __mptwo.
2558 (__inv): Use __mptwo instead of mptwo.
2559 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2560 (mptwo): Rename to __mptwo.
2561 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2562 of mpone and __mptwo instead of mptwo.
2563 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2565 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2566 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2567 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2568 of mpone and __mptwo instead of mptwo.
2569 (__mpranred): Use __mpone instead of mpone.
2570 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2572 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2573 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2574 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2575 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2576 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2577 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2578 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2579 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2580 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2581 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2582 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2583 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2584 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2585 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2586 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2587 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2588 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2589 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2590 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2592 2014-11-18 Tom de Vries <tom@codesoucery.com>
2594 * manual/signal.texi (Primitives Interrupted by Signals): In section,
2595 replace BSD Handler xref with BSD Signal Handling.
2597 2014-11-17 Richard Henderson <rth@redhat.com>
2599 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2600 (_FP_PACK_RAW_2): Remove.
2601 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2602 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2603 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2604 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2605 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2606 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2607 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2608 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2609 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2610 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2611 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2612 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2613 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2614 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2615 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2616 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2618 2014-11-14 Roland McGrath <roland@hack.frob.com>
2620 * signal/signal.h [__USE_MISC]
2621 (struct sigvec): Remove type.
2622 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2623 (sigvec): Remove declaration.
2624 * sysdeps/posix/sigvec.c: Moved ...
2625 * signal/sigvec.c: ... here, replacing old file.
2626 (struct sigvec): New type, copied from old signal.h definition.
2627 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2628 (__sigvec): Convert definition to prototype.
2629 (sigvec): Replace weak_alias with compat_symbol.
2630 * signal/Versions (libc: GLIBC_2.21): New version set.
2631 * include/signal.h: Remove __sigvec declaration.
2632 * sysdeps/unix/bsd/sigvec.c: Remove file.
2633 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2634 * manual/signal.texi (BSD Handler): Remove subsection.
2635 Move siginterrupt up to ...
2636 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
2637 (Blocking in BSD): Fold subsection into its parent.
2638 * NEWS: Mention sigvec removal.
2640 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2642 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2643 (DLA_FMS): Make definition conditional only on [__FMA4__].
2644 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2647 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2648 Make definition conditional only on [PROF].
2649 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2651 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2652 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2654 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2656 * include/signal.h (__sigpause): Move declaration above call to
2658 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2660 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2661 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2663 2014-11-14 David S. Miller <davem@davemloft.net>
2665 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2666 Define before including <string/memcpy.c> and <string/mempcpy.c>.
2668 2014-11-14 Joseph Myers <joseph@codesourcery.com>
2670 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2671 * configure: Regenerated.
2672 * manual/install.texi (Tools for Compilation): Document a
2673 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2674 compiler verified to work.
2675 * INSTALL: Regenerated.
2677 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2678 redeclare with asm name.
2679 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2680 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2681 including <string.h>.
2682 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2683 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2684 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2685 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2686 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2687 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2688 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2690 2014-11-13 Joseph Myers <joseph@codesourcery.com>
2692 * stdlib/strtol.c (__strtol): Use prototype definition.
2695 * stdlib/strtol.c (SYM__): New macro.
2697 (__strtol): Likewise.
2698 (strtol): Rename to __strtol and define as weak alias of
2699 __strtol. Use libc_hidden_weak.
2701 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2703 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2704 Use numbered labels in inline assembly.
2706 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2708 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2709 Add setjmp LIBC_PROBE.
2710 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2712 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2713 Add longjmp, longjmp_target LIBC_PROBE.
2714 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2717 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2719 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2720 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2721 to get rid of unused variable warning.
2723 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
2725 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2726 Check for unwind_backtrace == NULL only in SHARED case.
2727 (__backchain_backtrace): Compile only in SHARED case.
2728 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2730 (__backchain_backtrace): Declare as static.
2732 2014-11-12 Roland McGrath <roland@hack.frob.com>
2734 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2735 (__libc_multiple_threads_ptr): Variable moved ...
2736 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2738 2014-11-12 Joseph Myers <joseph@codesourcery.com>
2740 * conform/GlibcConform.pm: New file.
2741 * conform/conformtest.pl: Use GlibcConform module.
2742 * conform/linknamespace.pl: New file.
2743 * conform/list-header-symbols.pl: Likewise.
2744 * conform/Makefile (linknamespace-symlists-base): New variable.
2745 (linknamespace-symlists-tests): Likewise.
2746 (linknamespace-header-base): Likewise.
2747 (linknamespace-header-tests): Likewise.
2748 (tests-special): Add new tests.
2749 ($(linknamespace-symlists-tests)): New rule.
2750 (linknamespace-libs): New variable.
2751 ($(objpfx)symlist-stdlibs): New rule.
2752 ($(linknamespace-header-tests)): Likewise.
2753 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2754 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2755 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2756 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2757 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2758 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2759 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2760 (test-xfail-ISO/math.h/linknamespace): Likewise.
2761 (test-xfail-ISO/signal.h/linknamespace): Likewise.
2762 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2763 (test-xfail-ISO/time.h/linknamespace): Likewise.
2764 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2765 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2766 (test-xfail-ISO99/math.h/linknamespace): Likewise.
2767 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2768 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2769 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2770 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2771 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2772 (test-xfail-ISO11/math.h/linknamespace): Likewise.
2773 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2774 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2775 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2776 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2777 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2778 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2779 (test-xfail-XPG3/math.h/linknamespace): Likewise.
2780 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2781 (test-xfail-XPG3/search.h/linknamespace): Likewise.
2782 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2783 (test-xfail-XPG3/time.h/linknamespace): Likewise.
2784 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2785 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2786 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2787 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2788 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2789 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2790 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2791 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2792 (test-xfail-XPG4/math.h/linknamespace): Likewise.
2793 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2794 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2795 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2796 (test-xfail-XPG4/search.h/linknamespace): Likewise.
2797 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2798 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2799 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2800 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2801 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2802 (test-xfail-XPG4/time.h/linknamespace): Likewise.
2803 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2804 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2805 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2806 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2807 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2808 (test-xfail-POSIX/math.h/linknamespace): Likewise.
2809 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2810 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2811 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2812 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2813 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2814 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2815 (test-xfail-POSIX/time.h/linknamespace): Likewise.
2816 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2817 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2818 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2819 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2820 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2821 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2822 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2823 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2824 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2825 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2826 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2827 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2828 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2829 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2830 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2831 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2832 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2833 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2834 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2835 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2836 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2837 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2838 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2839 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2840 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2841 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2842 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2843 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2844 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2845 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2846 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2847 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2848 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2849 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2850 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2851 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2852 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2853 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2854 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2855 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2856 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2857 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2858 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2859 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2860 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2861 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2862 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2863 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2864 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2865 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2866 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2867 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2868 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2869 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2870 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2871 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2872 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2873 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2874 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2875 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2876 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2877 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2878 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2879 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2880 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2881 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2882 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2883 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2884 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2885 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2886 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2887 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2888 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2889 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2890 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2891 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2892 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2893 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2894 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2895 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2896 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2897 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2898 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2899 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2900 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2901 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2902 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2903 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2904 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2905 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2906 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2907 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2908 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2909 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2910 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2911 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2912 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2913 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2916 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2920 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2921 (memmem): Rename to __memmem and define as weak alias of
2922 __memmem. Use libc_hidden_weak.
2923 (__memmem): Use libc_hidden_def.
2924 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
2925 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2929 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2930 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
2931 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2932 and define as weak alias of __fgets_unlocked. Use
2934 (__fgets_unlocked): Use libc_hidden_def.
2935 * include/stdio.h (__fgets_unlocked): Declare. Use
2937 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2938 __fgets_unlocked instead of fgets_unlocked.
2939 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2940 (GET_NPROCS_CONF_PARSER): Likewise.
2941 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2942 (GET_NPROCS_CONF_PARSER): Likewise.
2945 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2946 weak alias of __wmemset. Use libc_hidden_weak.
2947 (__wmemset): Use libc_hidden_def.
2948 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
2949 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2953 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2954 with asm name __mempcpy.
2955 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2958 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2959 and define as weak alias of __rawmemchr.
2960 (__rawmemchr): Do not define as strong alias of rawmemchr.
2963 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2965 (qsort): Call __qsort_r instead of qsort_r.
2966 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2967 (__qsort_r): Declare. Call libc_hidden_proto.
2968 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2970 * nscd/gai.c (__qsort_r): Define to qsort_r.
2971 * posix/tst-rfc3484.c (__qsort_r): Likewise.
2972 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2973 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2976 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2977 define as weak alias of __malloc_info.
2980 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2981 as weak alias of __rewinddir. Don't use libc_hidden_def.
2982 (__rewinddir): Use libc_hidden_def.
2983 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2984 as weak alias of __rewinddir. Don't use libc_hidden_def.
2985 (__rewinddir): Use libc_hidden_def.
2986 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2987 weak alias of __rewinddir. Don't use libc_hidden_def.
2988 (__rewinddir): Use libc_hidden_def.
2989 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2990 (__rewinddir): Use libc_hidden_proto.
2991 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2993 (__getcwd): Use __rewinddir instead of rewinddir.
2996 * libio/fileno.c (fileno): Rename to __fileno and define as weak
2997 alias of __fileno. Use libc_hidden_weak.
2998 (__fileno): Use libc_hidden_def.
2999 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
3000 * libio/ftello.c (ftello): Rename to __ftello and define as weak
3002 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
3004 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
3005 (__fread_unlocked): Define as strong alias of _IO_fread. Use
3007 (fread_unlocked): Don't use libc_hidden_ver.
3008 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
3009 and define as weak alias of __fread_unlocked. Don't use
3011 (__fread_unlocked): Use libc_hidden_def.
3012 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
3013 (ftello): Don't use libc_hidden_proto.
3014 (__ftello): Declare. Use libc_hidden_proto.
3015 (fread_unlocked): Don't use libc_hidden_proto.
3016 (__fread_unlocked): Declare. Use libc_hidden_proto.
3017 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
3018 and __ftello instead of fileno, fread_unlocked and ftello.
3020 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
3022 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
3024 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3026 (_dl_start_user): Likewise.
3027 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
3029 2014-11-12 Carlos O'Donell <carlos@redhat.com>
3030 Siddhesh Poyarekar <siddhesh@redhat.com>
3032 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
3033 Move argv and envp down instead of moving argc up.
3034 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
3036 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
3039 * test-skeleton.c (main): Return successful if one of
3040 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
3041 * string/tst-strcoll-overflow.c: Define expected status.
3043 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
3046 * locale/iso-639.def: Define Bhili and Tulu language codes.
3048 2014-11-11 Alan Hayward <alan.hayward@arm.com>
3050 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
3052 2014-11-10 Renlin Li <Renlin.Li@arm.com>
3055 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
3057 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
3059 * configure.ac: Updated check of minimal required version to
3061 * manual/install.texi (Tools for Compilation): Updated version
3063 * configure: Regenerated.
3064 * INSTALL: Likewise.
3066 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
3068 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
3071 2014-11-07 Joseph Myers <joseph@codesourcery.com>
3073 * include/sys/wait.h (__libc_waitpid): Remove declaration.
3074 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
3075 (__waitpid): Don't define as alias. Use libc_hidden_def not
3077 (waitpid): Define as alias of __waitpid.
3078 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
3080 (__waitpid): Don't define as alias. Use libc_hidden_def not
3082 (waitpid): Define as alias of __waitpid.
3083 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
3084 __libc_waitpid alias.
3085 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
3086 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
3088 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
3089 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
3090 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
3092 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
3094 (__waitpid): Don't define as alias. Use libc_hidden_def not
3096 (waitpid): Define as alias of __waitpid.
3098 2014-11-06 Carlos O'Donell <carlos@redhat.com>
3100 * manual/llio.texi: Add comment that write safety has been
3103 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
3104 (localplt-build-dso): Add elf/ld.so.
3105 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
3106 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
3108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
3109 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
3110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
3112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
3114 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
3115 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
3116 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
3117 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
3118 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
3119 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
3120 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
3121 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
3122 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
3123 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
3124 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
3126 2014-11-05 Joseph Myers <joseph@codesourcery.com>
3129 * include/libc-symbols.h (INTUSE): Remove macro.
3131 (INTVARDEF): Likewise.
3132 (_INTVARDEF): Likewise.
3133 (INTDEF2): Likewise.
3134 (INTVARDEF2): Likewise.
3135 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
3136 rtld_hidden_def instead of INTVARDEF.
3137 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
3138 (_dl_starting_up_internal): Remove declaration.
3139 (_dl_starting_up): Use rtld_hidden_proto.
3140 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
3142 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
3143 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
3145 * elf/dl-writev.h (_dl_writev): Likewise.
3146 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
3147 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
3148 _dl_starting_up_internal.
3150 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3152 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
3155 2014-11-05 Will Newton <will.newton@linaro.org>
3157 * benchtests/Makefile: (bench-malloc): Add malloc thread
3158 scalability benchmark.
3159 * benchtests/bench-malloc-threads.c: New file.
3161 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
3163 * sysdeps/aarch64/strchrnul.S: New file.
3165 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3167 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3169 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3171 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3173 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3175 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3177 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3180 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
3182 * catgets/test-gencat.c: Use test-skeleton.c.
3183 * catgets/tst-catgets.c: Likewise.
3184 * csu/tst-empty.c: Likewise.
3185 * elf/tst-audit2.c: Likewise.
3186 * elf/tst-global1.c: Likewise.
3187 * elf/tst-pathopt.c: Likewise.
3188 * elf/tst-piemod1.c: Likewise.
3189 * elf/tst-tls10.c: Likewise.
3190 * elf/tst-tls11.c: Likewise.
3191 * elf/tst-tls12.c: Likewise.
3192 * gnulib/tst-gcc.c: Likewise.
3193 * iconvdata/tst-e2big.c: Likewise.
3194 * iconvdata/tst-loading.c: Likewise.
3195 * iconv/tst-iconv1.c: Likewise.
3196 * iconv/tst-iconv2.c: Likewise.
3197 * inet/test-inet6_opt.c: Likewise.
3198 * inet/tst-gethnm.c: Likewise.
3199 * inet/tst-network.c: Likewise.
3200 * inet/tst-ntoa.c: Likewise.
3201 * intl/tst-codeset.c: Likewise.
3202 * intl/tst-gettext2.c: Likewise.
3203 * intl/tst-gettext3.c: Likewise.
3204 * intl/tst-ngettext.c: Likewise.
3205 * intl/tst-translit.c: Likewise.
3206 * io/test-stat.c: Likewise.
3207 * libio/test-fmemopen.c: Likewise.
3208 * libio/tst-freopen.c: Likewise.
3209 * libio/tst-sscanf.c: Likewise.
3210 * libio/tst-ungetwc1.c: Likewise.
3211 * libio/tst-ungetwc2.c: Likewise.
3212 * libio/tst-widetext.c: Likewise.
3213 * localedata/tst-ctype.c: Likewise.
3214 * localedata/tst-digits.c: Likewise.
3215 * localedata/tst-leaks.c: Likewise.
3216 * localedata/tst-mbswcs1.c: Likewise.
3217 * localedata/tst-mbswcs2.c: Likewise.
3218 * localedata/tst-mbswcs3.c: Likewise.
3219 * localedata/tst-mbswcs4.c: Likewise.
3220 * localedata/tst-mbswcs5.c: Likewise.
3221 * localedata/tst-setlocale.c: Likewise.
3222 * localedata/tst-trans.c: Likewise.
3223 * localedata/tst-wctype.c: Likewise.
3224 * localedata/tst-xlocale1.c: Likewise.
3225 * login/tst-grantpt.c: Likewise.
3226 * malloc/tst-calloc.c: Likewise.
3227 * malloc/tst-malloc.c: Likewise.
3228 * malloc/tst-mallocstate.c: Likewise.
3229 * malloc/tst-mcheck.c: Likewise.
3230 * malloc/tst-mtrace.c: Likewise.
3231 * malloc/tst-obstack.c: Likewise.
3232 * math/atest-exp2.c: Likewise.
3233 * math/atest-exp.c: Likewise.
3234 * math/atest-sincos.c: Likewise.
3235 * math/test-matherr.c: Likewise.
3236 * math/test-misc.c: Likewise.
3237 * math/test-powl.c: Likewise.
3238 * math/tst-definitions.c: Likewise.
3239 * misc/tst-dirname.c: Likewise.
3240 * misc/tst-efgcvt.c: Likewise.
3241 * misc/tst-fdset.c: Likewise.
3242 * misc/tst-hsearch.c: Likewise.
3243 * misc/tst-mntent2.c: Likewise.
3244 * nptl/tst-sem7.c: Likewise.
3245 * nptl/tst-sem8.c: Likewise.
3246 * nptl/tst-sem9.c: Likewise.
3247 * nss/test-netdb.c: Likewise.
3248 * posix/tst-fnmatch.c: Likewise.
3249 * posix/tst-getlogin.c: Likewise.
3250 * posix/tst-gnuglob.c: Likewise.
3251 * posix/tst-mmap.c: Likewise.
3252 * pwd/tst-getpw.c: Likewise.
3253 * resolv/tst-inet_ntop.c: Likewise.
3254 * rt/tst-timer.c: Likewise.
3255 * stdio-common/test-fseek.c: Likewise.
3256 * stdio-common/test-popen.c: Likewise.
3257 * stdio-common/test-vfprintf.c: Likewise.
3258 * stdio-common/tst-cookie.c: Likewise.
3259 * stdio-common/tst-fileno.c: Likewise.
3260 * stdio-common/tst-gets.c: Likewise.
3261 * stdio-common/tst-obprintf.c: Likewise.
3262 * stdio-common/tst-perror.c: Likewise.
3263 * stdio-common/tst-sprintf2.c: Likewise.
3264 * stdio-common/tst-sprintf3.c: Likewise.
3265 * stdio-common/tst-sprintf.c: Likewise.
3266 * stdio-common/tst-swprintf.c: Likewise.
3267 * stdio-common/tst-tmpnam.c: Likewise.
3268 * stdio-common/tst-unbputc.c: Likewise.
3269 * stdio-common/tst-wc-printf.c: Likewise.
3270 * stdlib/tst-environ.c: Likewise.
3271 * stdlib/tst-fmtmsg.c: Likewise.
3272 * stdlib/tst-limits.c: Likewise.
3273 * stdlib/tst-rand48-2.c: Likewise.
3274 * stdlib/tst-rand48.c: Likewise.
3275 * stdlib/tst-random2.c: Likewise.
3276 * stdlib/tst-random.c: Likewise.
3277 * stdlib/tst-strtol.c: Likewise.
3278 * stdlib/tst-strtoll.c: Likewise.
3279 * stdlib/tst-tls-atexit.c: Likewise.
3280 * stdlib/tst-xpg-basename.c: Likewise.
3281 * string/test-ffs.c: Likewise.
3282 * string/tst-bswap.c: Likewise.
3283 * string/tst-inlcall.c: Likewise.
3284 * string/tst-strtok.c: Likewise.
3285 * string/tst-strxfrm.c: Likewise.
3286 * sysdeps/x86_64/tst-audit10.c: Likewise.
3287 * sysdeps/x86_64/tst-audit3.c: Likewise.
3288 * sysdeps/x86_64/tst-audit4.c: Likewise.
3289 * sysdeps/x86_64/tst-audit5.c: Likewise.
3290 * time/tst-ftime_l.c: Likewise.
3291 * time/tst-getdate.c: Likewise.
3292 * time/tst-mktime3.c: Likewise.
3293 * time/tst-mktime.c: Likewise.
3294 * time/tst-posixtz.c: Likewise.
3295 * time/tst-strptime2.c: Likewise.
3296 * time/tst-strptime3.c: Likewise.
3297 * wcsmbs/tst-btowc.c: Likewise.
3298 * wcsmbs/tst-mbrtowc.c: Likewise.
3299 * wcsmbs/tst-mbsrtowcs.c: Likewise.
3300 * wcsmbs/tst-wchar-h.c: Likewise.
3301 * wcsmbs/tst-wcpncpy.c: Likewise.
3302 * wcsmbs/tst-wcrtomb.c: Likewise.
3303 * wcsmbs/tst-wcsnlen.c: Likewise.
3304 * wcsmbs/tst-wcstof.c: Likewise.
3306 2014-11-04 Joseph Myers <joseph@codesourcery.com>
3309 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3311 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3313 (_dl_mcount): Use rtld_hidden_proto.
3314 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3316 * elf/rtld.c (_rtld_global_ro): Likewise.
3319 * elf/dl-init.c (_dl_init): Don't use INTDEF.
3320 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3321 of _dl_init_internal.
3322 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3323 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3324 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3325 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3326 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3327 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3328 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3329 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3330 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3331 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3332 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3333 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3334 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3335 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3336 * sysdeps/tile/dl-start.S (_start): Likewise.
3337 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3338 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3341 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3342 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3343 (rtld_progname): Make macro definition unconditional.
3344 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3346 (dlmopen_doit): Do not use INTUSE with _dl_argv.
3347 (dl_main): Likewise.
3348 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3349 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3350 instead of _dl_argv_internal.
3351 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3352 __GI__dl_argv instead of INTUSE(_dl_argv).
3353 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3354 __GI__dl_argv instead of _dl_argv_internal.
3356 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3357 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3359 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3360 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3362 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3363 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3365 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3366 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3368 2014-11-04 Andreas Schwab <schwab@suse.de>
3370 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3372 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3374 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3375 mtvsrd instruction in binary form.
3377 2014-11-03 Andreas Schwab <schwab@suse.de>
3380 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3381 for less than MB_LEN_MAX use a local buffer of that size.
3382 * libio/tst-fputws.c: New file.
3383 * libio/Makefile (tests): Add tst-fputws.
3385 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
3387 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3388 the size of the fpu_fr.fpu_dregs[] array.
3390 2014-11-01 Joseph Myers <joseph@codesourcery.com>
3392 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3393 (__nanosleep): Do not define as alias.
3394 (nanosleep): Define as alias of __nanosleep.
3395 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3396 __libc_nanosleep name.
3398 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3400 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3401 install.texi in comment.
3403 2014-10-31 Torvald Riegel <triegel@redhat.com>
3405 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3406 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3407 ... add here and use lwsync or sync ...
3408 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3409 ... and add here using lwsync.
3411 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
3413 * elf/dl-machine-reject-phdr.h: New file.
3414 * elf/dl-load.c: #include that.
3415 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3416 if that returned true.
3418 2014-10-31 Roland McGrath <roland@hack.frob.com>
3421 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3422 gen-as-const-headers chunk. Add a big scare comment after the last
3423 safe place to touch before-compile.
3425 2014-10-31 Joseph Myers <joseph@codesourcery.com>
3427 * manual/install.texi (Tools for Compilation): Update autoconf
3428 version requirements.
3429 * INSTALL: Regenerated.
3431 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3432 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3433 (__libc_pselect): Likewise.
3436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3441 2014-10-31 Torvald Riegel <triegel@redhat.com>
3443 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3444 correct barrier instruction.
3445 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3447 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3450 2014-10-30 Roland McGrath <roland@hack.frob.com>
3452 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3453 after defining inlines. Instead, just use parens to defeat macro
3454 expansion of __isctype in its declaration.
3456 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3458 * include/sys/uio.h (__libc_readv): Remove declaration.
3459 (__libc_writev): Likewise.
3460 * misc/readv.c (__libc_readv): Rename to __readv.
3461 (__readv): Do not define as alias.
3462 (readv): Define as alias of __readv.
3463 * misc/writev.c (__libc_writev): Rename to __writev.
3464 (__writev): Do not define as alias.
3465 (writev): Define as alias of __writev.
3466 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3467 (__readv): Do not define as alias.
3468 (readv): Define unconditionally as alias of __readv.
3469 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3470 (__writev): Do not define as alias.
3471 (writev): Define unconditionally as alias of __writev.
3472 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3474 (writev): Do not define __libc_writev name.
3476 2014-10-30 Roland McGrath <roland@hack.frob.com>
3478 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3479 (convert_charseq): New function, broken out of ...
3480 (use_from_charmap): ... here. Call it.
3481 (use_to_charmap): Use convert_charseq and free instead of duplicating
3482 its code with a variable-length stack struct.
3484 2014-10-30 Joseph Myers <joseph@codesourcery.com>
3486 * include/fcntl.h (__libc_creat): Remove declaration.
3487 * io/creat.c (__libc_creat): Rename to creat.
3488 (creat): Do not define as alias.
3489 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3490 of creat instead of __libc_creat.
3491 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3493 (creat): Do not define as alias.
3494 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3496 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3498 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3501 2014-10-29 Carlos O'Donell <carlos@redhat.com>
3503 * manual/llio.texi: Add comments discussing why write() may be
3504 considered MT-unsafe on Linux.
3506 2014-10-28 Carlos O'Donell <carlos@redhat.com>
3508 * dl-load.c (local_strdup): Remove.
3509 (expand_dynamic_string_token): Use __strdup.
3510 (decompose_rpath): Likewise.
3511 (_dl_map_object): Likewise.
3513 2014-10-28 Joseph Myers <joseph@codesourcery.com>
3516 * sysdeps/generic/unwind-dw2-fde.c
3517 (__register_frame_info_bases_internal): Do not declare.
3518 (__register_frame_info_table_bases_internal): Likewise.
3519 (__deregister_frame_info_bases_internal): Likewise.
3520 (__register_frame_info_bases): Declare and use hidden_proto before
3521 definition. Use hidden_def instead of INTDEF.
3522 (__register_frame_info_table_bases): Likewise.
3523 (__deregister_frame_info_bases): Likewise.
3524 (__register_frame_info): Do not use INTUSE.
3525 (__register_frame): Likewise.
3526 (__register_frame_info_table): Likewise.
3527 (__register_frame_table): Likewise.
3528 (__deregister_frame_info): Likewise.
3529 (__deregister_frame): Likewise.
3531 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
3533 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3534 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3536 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3538 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3541 2014-10-27 Joseph Myers <joseph@codesourcery.com>
3544 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3545 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3546 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3547 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3548 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3549 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3550 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3551 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3552 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3553 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3554 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3555 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3556 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3558 (setfsuid): Likewise.
3559 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3560 (setfsuid): Likewise.
3561 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3562 (setfsuid): Likewise.
3563 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3565 (setfsuid): Likewise.
3566 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3567 (setfsuid): Likewise.
3568 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3570 (setfsuid): Likewise.
3572 2014-10-27 Andreas Schwab <schwab@suse.de>
3575 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3576 check for Slow_SSE4_2 feature bit.
3577 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3578 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3579 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3580 Likewise. Fix check for Fast_Unaligned_Load feature bit.
3582 2014-10-24 Roland McGrath <roland@hack.frob.com>
3584 * configure.ac: Validate compiler version with a empirical test of
3585 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3587 * configure: Regenerated.
3589 * inet/htons.c (htons): Prototypify.
3590 * inet/htonl.c (htonl): Likewise.
3592 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3594 * string/strncat.c (strncat): Improve performance by using strlen.
3596 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3598 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3600 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3602 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3603 Call libc_fetestexcept_aarch64.
3605 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3607 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3608 Call libc_feholdexcept_aarch64.
3610 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3612 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3613 Call get_rounding_mode.
3615 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3617 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3620 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
3622 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3625 2014-10-24 Joseph Myers <joseph@codesourcery.com>
3628 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3629 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3630 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3631 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3632 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3633 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3634 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3635 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3636 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3637 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3638 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3639 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3640 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3641 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3642 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3643 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3644 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3645 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3646 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3647 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3648 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3649 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3650 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3651 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3652 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3653 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3654 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3655 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3656 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3657 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3658 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3659 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3660 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3661 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3662 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3663 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3664 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3665 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3666 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3667 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3668 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3670 (geteuid): Likewise.
3673 (getresgid): Likewise.
3674 (getresuid): Likewise.
3675 (getgroups): Likewise.
3676 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3677 (geteuid): Likewise.
3680 (getresgid): Likewise.
3681 (getresuid): Likewise.
3682 (getgroups): Likewise.
3683 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3684 (geteuid): Likewise.
3687 (getresgid): Likewise.
3688 (getresuid): Likewise.
3689 (getgroups): Likewise.
3690 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3692 (geteuid): Likewise.
3695 (getresgid): Likewise.
3696 (getresuid): Likewise.
3697 (getgroups): Likewise.
3698 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3699 (geteuid): Likewise.
3702 (getresgid): Likewise.
3703 (getresuid): Likewise.
3704 (getgroups): Likewise.
3705 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3707 (geteuid): Likewise.
3710 (getgroups): Likewise.
3713 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3714 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3715 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3716 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3717 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3718 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3719 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3720 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3721 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3722 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3723 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3724 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3725 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3727 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3730 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3734 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3737 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3742 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3744 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3747 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3749 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3752 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3754 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3755 Remove unused include.
3757 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
3759 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3760 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3761 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3762 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3764 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
3765 Helge Deller <deller@gmx.de>
3768 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3769 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3770 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3772 2014-10-23 Joseph Myers <joseph@codesourcery.com>
3775 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3776 Remove macro definition.
3777 (__ashrdi3_v_glibc20): Likewise.
3778 (__lshrdi3_v_glibc20): Likewise.
3779 (__cmpdi2_v_glibc20): Likewise.
3780 (__ucmpdi2_v_glibc20): Likewise.
3781 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3782 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3783 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3784 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3785 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3786 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3788 2014-10-22 Roland McGrath <roland@hack.frob.com>
3790 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3791 old GNU extension [0] syntax.
3792 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3793 alloca rather than an array member with variable length.
3794 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3795 * nscd/nscd.c (invalidate_db): New function, broken out of ...
3796 (parse_opt): ... here. Likewise use alloca there.
3797 Validate the -i argument before checking for rootness.
3798 (send_shutdown): New function, broken out of ...
3799 (parse_opt): ... here.
3801 2014-10-22 Roland McGrath <roland@hack.frob.com>
3803 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3804 macro to get at the _rt_local_ro field.
3805 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3806 ([PIC] case) or _dl_hwcap ([!PIC] case).
3807 * sysdeps/arm/setjmp.S: Likewise.
3809 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3810 * sysdeps/arm/configure.ac: New check to define it.
3811 * sysdeps/arm/configure: Regenerated.
3812 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3813 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3814 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3815 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3816 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3817 Use move/movt pair instead of a load.
3818 (LDST_GLOBAL): Macro removed.
3819 (LDR_GLOBAL): New macro replaces it.
3820 (LDR_HIDDEN): New macro.
3821 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3822 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3824 * setjmp/tst-setjmp-static.c: New file.
3825 * setjmp/Makefile (tests): Add it.
3826 (tests-static): New variable.
3828 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
3831 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3833 2014-10-21 Joseph Myers <joseph@codesourcery.com>
3836 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3838 2014-10-21 Roland McGrath <roland@hack.frob.com>
3840 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3842 2014-10-20 Roland McGrath <roland@hack.frob.com>
3844 * io/fts.c (dirent_not_directory): New function.
3845 (fts_build): Call it.
3847 2014-10-20 Roland McGrath <roland@hack.frob.com>
3849 * nptl/version.c (__nptl_main): Use normal __write rather than
3851 (banner): Update copyright years.
3853 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3855 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3856 * nptl/pthread_cond_timedwait.c: Likewise.
3857 * nptl/pthread_mutex_timedlock.c: Likewise.
3858 * nptl/sem_timedwait.c: Likewise.
3860 * sysdeps/nptl/bits/libc-lock.h
3861 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3862 (__libc_lock_init_recursive): Return void, not 0.
3863 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3864 (__libc_rwlock_init): Likewise.
3865 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3867 2014-10-20 Torvald Riegel <triegel@redhat.com>
3870 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3871 (__pthread_once_slow): ... here.
3872 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3873 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3875 2014-10-20 Torvald Riegel <triegel@redhat.com>
3878 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3879 __PTHREAD_ONCE_FORK_GEN_INCR): New.
3880 * sysdeps/nptl/fork.c (__libc_fork): Use them.
3881 * nptl/pthread_once.c (__pthread_once): Likewise.
3884 2014-10-20 Joseph Myers <joseph@codesourcery.com>
3887 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3889 (writev): Use __libc_writev as strong name.
3890 * sysdeps/unix/sysv/linux/readv.c: Remove file.
3891 * sysdeps/unix/sysv/linux/writev.c: Likewise.
3893 2014-10-17 Roland McGrath <roland@hack.frob.com>
3895 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3897 * sysdeps/i386/nptl/tls.h
3898 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3899 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3901 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3902 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3903 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3904 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3905 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3906 Call CHECK_THREAD_SYSINFO instead of doing an assert.
3908 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3909 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3911 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3913 (__pthread_mutex_init): ... here. Call it.
3914 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3915 Conditionalize PI cases on [__NR_futex].
3916 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3917 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3918 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3920 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3921 conditional on [SIGSETXID].
3922 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3923 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3924 is defined. Likewise for SIGSETXID.
3925 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3926 Conditionalize definitions on [SIGSETXID].
3927 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3928 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3929 unblocking on [SIGCANCEL].
3931 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3932 [__NR_set_robust_list].
3934 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
3936 * string/strcoll_l.c (get_next_seq): Fix up formatting.
3937 (do_compare): Likewise.
3939 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
3942 * string/strcoll_l.c: Don't include stdio.h.
3943 (coll_seq): Remove members idxarr and rulearr.
3944 (get_next_seq_cached): Remove function.
3945 (get_next_seq): Likewise.
3946 (get_next_seq_nocache): Rename to get_next_seq.
3947 (do_compare): Remove function.
3948 (do_compare_nocache): Rename to do_compare.
3949 (STRCOLL): Remove weight and rules cache.
3951 2014-10-16 Roland McGrath <roland@hack.frob.com>
3953 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3954 * sysdeps/arm/sfp-machine.h: ... to here.
3955 * sysdeps/arm/Implies: Remove arm/soft-fp.
3957 2014-10-14 Joseph Myers <joseph@codesourcery.com>
3959 * conform/data/sys/utsname.h-data (*_t): Allow.
3960 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3961 [POSIX] (WEXITED): Do not expect constant.
3962 [POSIX] (WSTOPPED): Likewise.
3963 [POSIX] (WNOHANG): Likewise.
3964 [POSIX] (WNOWAIT): Likewise.
3965 [POSIX] (siginfo_t): Do not expect type or elements.
3966 [POSIX] (pid_t): Do not expect type.
3967 [POSIX] (signal.h): Do not allow header.
3968 [POSIX] (sys/resource.h): Likewise.
3969 [POSIX] (si_*): Do not allow pattern.
3970 [POSIX] (W*): Likewise.
3971 [POSIX] (P_*): Likewise.
3972 [POSIX] (BUS_*): Likewise.
3973 [POSIX] (CLD_*): Likewise.
3974 [POSIX] (FPE_*): Likewise.
3975 [POSIX] (ILL_*): Likewise.
3976 [POSIX] (POLL_*): Likewise.
3977 [POSIX] (SEGV_*): Likewise.
3978 [POSIX] (SI_*): Likewise.
3979 [POSIX] (TRAP_*): Likewise.
3980 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3983 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
3986 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3987 infinite loop when __recvmsg returns 0.
3989 2014-10-10 Joseph Myers <joseph@codesourcery.com>
3991 * CANCEL-FCT-WAIVE: Remove file.
3992 * CANCEL-FILE-WAIVE: Likewise.
3995 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3996 instead of INTVARDEF.
3997 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3998 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3999 rtld_hidden_data_def instead of INTVARDEF.
4000 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
4001 * elf/dl-deps.c (expand_dst): Likewise.
4002 * elf/dl-load.c (_dl_dst_count): Likewise.
4003 (_dl_dst_substitute): Likewise.
4004 (decompose_rpath): Likewise.
4005 (_dl_init_paths): Likewise.
4006 (open_path): Likewise.
4007 (_dl_map_object): Likewise.
4008 * elf/rtld.c (dl_main): Likewise.
4009 (process_dl_audit): Likewise.
4010 (process_envvars): Likewise.
4011 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
4013 (__libc_enable_secure): Use rtld_hidden_proto.
4015 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4018 (add_path): New function broken out of _dl_rtld_di_serinfo.
4019 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
4021 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4023 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
4024 parentheses around macro arguments.
4025 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
4026 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
4027 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
4028 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
4029 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
4030 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4031 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4032 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
4033 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
4034 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
4035 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
4036 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
4037 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
4038 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
4039 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
4040 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
4041 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
4042 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
4043 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
4044 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
4045 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
4046 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
4047 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
4048 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
4049 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
4050 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
4051 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
4052 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
4053 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
4054 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
4055 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
4056 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
4057 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
4058 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
4059 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
4060 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
4062 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
4063 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4064 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4065 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
4066 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
4067 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
4068 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
4069 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
4070 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
4071 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
4072 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
4073 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
4074 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
4075 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
4076 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
4077 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
4078 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
4079 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
4080 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
4081 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
4082 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
4083 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
4084 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
4085 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
4086 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
4087 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
4088 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
4089 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
4090 (_FP_FRAC_SRS_1): Likewise.
4091 (_FP_FRAC_CLZ_1): Likewise.
4092 (_FP_MUL_MEAT_1_imm): Likewise.
4093 (_FP_MUL_MEAT_1_wide): Likewise.
4094 (_FP_MUL_MEAT_1_hard): Likewise.
4095 (_FP_SQRT_MEAT_1): Likewise.
4096 (_FP_FRAC_ASSEMBLE_1): Likewise.
4097 (_FP_FRAC_DISASSEMBLE_1): Likewise.
4098 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
4099 (__FP_CLZ_2): Likewise.
4100 (_FP_MUL_MEAT_2_wide): Likewise.
4101 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
4102 (_FP_MUL_MEAT_2_gmp): Likewise.
4103 (_FP_MUL_MEAT_2_120_240_double): Likewise.
4104 (_FP_SQRT_MEAT_2): Likewise.
4105 (_FP_FRAC_ASSEMBLE_2): Likewise.
4106 (_FP_FRAC_DISASSEMBLE_2): Likewise.
4107 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
4108 (_FP_FRAC_CLZ_4): Likewise.
4109 (_FP_MUL_MEAT_4_wide): Likewise.
4110 (_FP_MUL_MEAT_4_gmp): Likewise.
4111 (_FP_SQRT_MEAT_4): Likewise.
4112 (_FP_FRAC_ASSEMBLE_4): Likewise.
4113 (_FP_FRAC_DISASSEMBLE_4): Likewise.
4114 * soft-fp/op-common.h (_FP_CMP): Likewise.
4115 (_FP_CMP_EQ): Likewise.
4116 (_FP_CMP_UNORD): Likewise.
4117 (_FP_TO_INT): Likewise.
4118 (_FP_FROM_INT): Likewise.
4119 [!__FP_CLZ] (__FP_CLZ): Likewise.
4120 (_FP_DIV_HELP_imm): Likewise.
4121 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
4123 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
4124 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
4125 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
4126 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
4127 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
4128 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4129 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4130 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
4131 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
4132 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
4133 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
4134 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
4135 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
4136 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
4137 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
4138 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
4139 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
4140 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
4141 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
4142 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
4143 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
4144 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
4145 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
4146 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
4147 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
4148 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
4149 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
4150 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
4151 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
4152 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
4153 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
4154 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
4155 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
4156 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
4157 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
4158 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
4159 (FP_UNPACK_RAW_SP): Likewise.
4160 (FP_PACK_RAW_S): Likewise.
4161 (FP_PACK_RAW_SP): Likewise.
4162 (FP_UNPACK_S): Likewise.
4163 (FP_UNPACK_SP): Likewise.
4164 (FP_UNPACK_SEMIRAW_S): Likewise.
4165 (FP_UNPACK_SEMIRAW_SP): Likewise.
4166 (FP_PACK_S): Likewise.
4167 (FP_PACK_SP): Likewise.
4168 (FP_PACK_SEMIRAW_S): Likewise.
4169 (FP_PACK_SEMIRAW_SP): Likewise.
4170 (_FP_SQRT_MEAT_S): Likewise.
4171 (FP_CMP_S): Likewise.
4172 (FP_CMP_EQ_S): Likewise.
4173 (FP_CMP_UNORD_S): Likewise.
4174 (FP_TO_INT_S): Likewise.
4175 (FP_FROM_INT_S): Likewise.
4177 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4179 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4180 (FP_EX_INVALID_IMZ): Likewise.
4181 (FP_EX_INVALID_IMZ_FMA): Likewise.
4182 (FP_EX_INVALID_ISI): Likewise.
4183 (FP_EX_INVALID_ZDZ): Likewise.
4184 (FP_EX_INVALID_IDI): Likewise.
4185 (FP_EX_INVALID_SQRT): Likewise.
4186 (FP_EX_INVALID_CVI): Likewise.
4187 (FP_EX_INVALID_VC): Likewise.
4188 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4189 "invalid" exceptions.
4190 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4191 (_FP_ADD_INTERNAL): Likewise.
4192 (_FP_MUL): Likewise.
4193 (_FP_FMA): Likewise.
4194 (_FP_DIV): Likewise.
4195 (_FP_CMP_CHECK_NAN): Likewise.
4196 (_FP_SQRT): Likewise.
4197 (_FP_TO_INT): Likewise.
4198 (FP_EXTEND): Likewise.
4200 2014-10-09 Allan McRae <allan@archlinux.org>
4202 * po/fr.po: Update French translation from translation project.
4204 2014-10-09 Joseph Myers <joseph@codesourcery.com>
4207 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4209 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4210 (__cxa_atexit): Use libc_hidden_proto.
4211 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4214 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4216 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4217 [!_ISOMAC] (__iswspace_l_internal): Likewise.
4218 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4219 [!_ISOMAC] (__iswctype_internal): Likewise.
4220 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4221 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4223 (fcntl): Remove __fcntl_internal alias.
4224 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4225 __connect_internal alias.
4226 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4229 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4230 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4232 (_FP_CHECK_FLUSH_ZERO): New macro.
4233 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4234 (_FP_CMP): Likewise.
4235 (_FP_CMP_EQ): Likewise.
4236 (_FP_TO_INT): Do not set inexact for subnormal arguments if
4238 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4239 (FP_TRUNC): Likewise.
4241 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4242 treated as invalid conversion, not as normal exponent.
4244 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4245 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
4246 (_FP_CMP_EQ): Likewise.
4247 (_FP_CMP_UNORD): Likewise.
4248 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4249 (FP_CMP_EQ_D): Likewise.
4250 (FP_CMP_UNORD_D): Likewise.
4251 * soft-fp/extended.h (FP_CMP_E): Likewise.
4252 (FP_CMP_EQ_E): Likewise.
4253 (FP_CMP_UNORD_E): Likewise.
4254 * soft-fp/quad.h (FP_CMP_Q): Likewise.
4255 (FP_CMP_EQ_Q): Likewise.
4256 (FP_CMP_UNORD_Q): Likewise.
4257 * soft-fp/single.h (FP_CMP_S): Likewise.
4258 (FP_CMP_EQ_S): Likewise.
4259 (FP_CMP_UNORD_S): Likewise.
4260 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4261 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4262 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4263 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4264 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4265 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4266 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4267 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4268 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4269 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4270 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4271 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4272 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4274 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4276 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4277 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4279 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4281 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4282 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4283 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4284 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4286 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4288 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4289 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4291 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4293 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4294 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4295 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4296 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4299 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4300 a subnormal result, set the underflow exception if trapping on
4301 underflow is enabled.
4302 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4303 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4304 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4306 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4307 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4308 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4309 * soft-fp/extendxftf2.c (__extendxftf2): Use
4310 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4312 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4313 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4314 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4315 FP_HANDLE_EXCEPTIONS.
4316 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4317 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4318 FP_HANDLE_EXCEPTIONS.
4319 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4320 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4321 FP_HANDLE_EXCEPTIONS.
4322 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4323 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4324 FP_HANDLE_EXCEPTIONS.
4326 2014-10-08 Joseph Myers <joseph@codesourcery.com>
4329 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4330 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4332 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4333 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4335 (__adjtimex): Define using libc_hidden_ver.
4336 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4338 (ntp_gettime): Call __adjtimex directly.
4339 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4341 (ntp_gettimex): Call __adjtimex directly.
4342 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4343 __adjtimex_internal alias.
4345 2014-10-08 Roland McGrath <roland@hack.frob.com>
4348 * nscd/nscd.c (more_help): Rewrite list of tables collection
4349 using xstrdup and asprintf.
4351 * nscd/nscd_conf.c: Remove local xstrdup declaration.
4353 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4354 Roland McGrath <roland@hack.frob.com>
4356 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4357 (do_lookup_unique): ... local function 'enter' here; update callers.
4359 2014-10-06 Joseph Myers <joseph@codesourcery.com>
4361 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4362 compat_symbol calls on [SHARED].
4363 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4364 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4366 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4367 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4368 (oldsetrlimit): Remove.
4369 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4371 (lchown): New syscall entry.
4372 (oldsetrlimit): Remove.
4373 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4374 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4375 (oldsetrlimit): Remove.
4376 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4379 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4380 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4381 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4382 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4383 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4384 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4386 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4391 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4393 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4394 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4395 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4396 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4397 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4399 (__old_sem_post): Likewise.
4401 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
4403 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4404 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4405 HAVE_CLOCK_GETTIME_VSYSCALL macros.
4406 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4407 Use INLINE_VSYSCALL macro.
4408 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4409 __vdso_clock_gettime.
4410 * sysdeps/unix/sysv/linux/tile/init-first.c
4411 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4412 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4413 __vdso_clock_gettime.
4415 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4416 to set up frame more cleanly.
4418 * sysdeps/tile/memcmp.c: New file.
4420 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4422 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4423 * sysdeps/tile/tilegx/strcasestr.c: New file.
4424 * sysdeps/tile/tilegx/strnlen.c: New file.
4425 * sysdeps/tile/tilegx/strstr.c: New file.
4427 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4429 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
4431 * nptl/tst-setuid3.c: Write errors to stdout.
4433 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4436 (preload): New functions broken out of _dl_map_object_deps.
4437 (_dl_map_object_deps): Remove a nested function. Update call sites.
4439 2014-10-01 Joseph Myers <joseph@codesourcery.com>
4442 * sysdeps/unix/sysv/linux/execve.c: Remove file.
4443 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4445 2014-10-01 Steve Ellcey <sellcey@mips.com>
4447 * sysdeps/mips/strcmp.S: New.
4449 2014-09-30 Joseph Myers <joseph@codesourcery.com>
4452 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4454 (mkdirat): Likewise.
4455 (readlinkat): Likewise.
4456 (renameat): Likewise.
4457 (symlinkat): Likewise.
4458 (unlinkat): Likewise.
4459 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4460 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4461 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4462 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4463 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4464 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4465 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4467 2014-09-30 Will Newton <will.newton@linaro.org>
4469 * math/math.h: Define long double math functions if
4470 _LIBC_TEST is defined.
4471 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4473 * localedata/Makefile: Move assignment to tests-special
4474 into an ifdef testing run-built-tests.
4475 * timezone/Makefile: Likewise.
4477 2014-09-29 Joseph Myers <joseph@codesourcery.com>
4479 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4480 with $(BASH) not $(SHELL).
4482 2014-09-29 Carlos O'Donell <carlos@redhat.com>
4483 Matthew LeGendre <legendre1@llnl.gov>
4486 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4489 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4491 * stdio-common/printf_fp.c
4492 (hack_digit): New function, broken out of ...
4493 (__printf_fp): ... local function here. Update call sites.
4494 hack_digit now takes an additional parameter that is a pointer
4495 to a struct of the referenced locals. Those locals moved inside
4496 the struct and references updated.
4498 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
4500 * aclocal.m4: Require autoconf 2.69.
4501 * configure: Regenerated.
4502 * sysdeps/aarch64/configure: Likewise.
4503 * sysdeps/alpha/configure: Likewise.
4504 * sysdeps/arm/armv7/configure: Likewise.
4505 * sysdeps/arm/configure: Likewise.
4506 * sysdeps/ia64/configure: Likewise.
4507 * sysdeps/mach/configure: Likewise.
4508 * sysdeps/mips/configure: Likewise.
4509 * sysdeps/s390/configure: Likewise.
4510 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4511 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4513 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4515 * sysdeps/ia64/configure.ac: Likewise.
4517 2014-09-26 Joseph Myers <joseph@codesourcery.com>
4519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4520 specify symbol version for ld.so. Do not include entry for
4522 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4523 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4524 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4527 * Makeconfig [$(build-shared) = yes]
4528 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4530 [$(build-shared) = yes && $(soversions.mk-done) = t]
4531 ($(common-objpfx)gnu/lib-names.h): Remove rule.
4532 [$(build-shared) = yes && $(soversions.mk-done) = t]
4533 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
4535 [$(build-shared) = yes && $(soversions.mk-done) = t]
4536 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4538 [$(build-shared) = yes && $(soversions.mk-done) = t]
4539 (common-generated): Don't append gnu/lib-names.h and
4540 gnu/lib-names.stmp here.
4541 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4542 (lib-names-h-abi): New variable.
4543 [$(build-shared) = yes && $(soversions.mk-done) = t]
4544 (lib-names-stmp-abi): Likewise.
4545 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4546 abi-variants] (before-compile): Append
4547 $(common-objpfx)$(lib-names-h-abi).
4548 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4549 abi-variants] (common-generated): Append gnu/lib-names.h.
4550 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4551 abi-variants] (install-others-nosubdir): Depend on
4552 $(inst_includedir)/$(lib-names-h-abi).
4553 [$(build-shared) = yes && $(soversions.mk-done) = t &&
4554 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4555 [$(build-shared) = yes && $(soversions.mk-done) = t]
4556 ($(common-objpfx)$(lib-names-h-abi)): New rule.
4557 [$(build-shared) = yes && $(soversions.mk-done) = t]
4558 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4559 [$(build-shared) = yes && $(soversions.mk-done) = t]
4560 (common-generated): Append $(lib-names-h-abi) and
4561 $(lib-names-stmp-abi).
4562 * scripts/lib-names.awk: Do not handle multi being set.
4563 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4565 (abi-lp64_be-ld-soname): Likewise.
4566 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4568 (abi-hard-ld-soname): Likewise.
4569 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4570 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4572 (abi-o32_hard-ld-soname): Likewise.
4573 (abi-o32_soft_2008-ld-soname): Likewise.
4574 (abi-o32_hard_2008-ld-soname): Likewise.
4575 (abi-n32_soft-ld-soname): Likewise.
4576 (abi-n32_hard-ld-soname): Likewise.
4577 (abi-n32_soft_2008-ld-soname): Likewise.
4578 (abi-n32_hard_2008-ld-soname): Likewise.
4579 (abi-n64_soft-ld-soname): Likewise.
4580 (abi-n64_hard-ld-soname): Likewise.
4581 (abi-n64_soft_2008-ld-soname): Likewise.
4582 (abi-n64_hard_2008-ld-soname): Likewise.
4583 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4585 (abi-64-v2-ld-soname): Likewise.
4586 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4588 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4590 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4592 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4594 (abi-64-ld-soname): Likewise.
4595 (abi-x32-ld-soname): Likewise.
4596 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4598 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4600 2014-09-23 Joseph Myers <joseph@codesourcery.com>
4603 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4604 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4605 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4606 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4607 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4608 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4609 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4610 syscall entry for GLIBC_2.2 symbol version.
4611 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4614 (setrlimit): Likewise.
4615 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4618 2014-09-23 Will Newton <will.newton@linaro.org>
4620 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4621 _LINUX_ARM_SYSDEP_H include guard too.
4622 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4625 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
4627 * sysdeps/unix/sysv/linux/eventfd.c:
4628 Make first argument unsigned.
4629 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4630 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4632 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
4634 * socket/recvmmsg.c (recvmmsg): Drop const argument.
4635 * socket/sys/socket.h: Likewise
4636 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4638 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4640 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4642 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
4644 * time/tst-ftime.c: New test.
4645 * time/Makefile (tests): Add tst-ftime.
4647 2014-09-17 Joseph Myers <joseph@codesourcery.com>
4649 * soft-fp/extended.h: Fix comment formatting.
4650 * soft-fp/op-1.h: Likewise.
4651 * soft-fp/op-2.h: Likewise.
4652 * soft-fp/op-4.h: Likewise.
4653 * soft-fp/op-8.h: Likewise.
4654 * soft-fp/op-common.h: Likewise.
4655 * soft-fp/soft-fp.h: Likewise.
4657 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4659 2014-09-16 Joseph Myers <joseph@codesourcery.com>
4662 * Makeconfig (soversions-default-setname): Remove variable.
4663 ($(common-objpfx)soversions.i): Don't pass default_setname to
4665 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4666 oldest_abi to abi-versions.awk.
4667 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4668 * config.make.in (oldest-abi): Remove variable.
4669 * configure.ac (--enable-oldest-abi): Remove configure option.
4670 * configure: Regenerated.
4671 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4673 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4674 * scripts/soversions.awk: Do not handle default_setname variable.
4675 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4677 * sysdeps/mach/hurd/configure: Regenerated.
4678 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4680 * sysdeps/unix/sysv/linux/configure: Regenerated.
4682 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4684 * elf/Makefile (CFLAGS-interp.c): Remove.
4685 ($(elf-objpfx)runtime-linker.h): Generate header with linker
4687 * elf/interp.c: Include generated runtime-linker.h
4689 * Makerules (lib%.so): Don't include $(+interp) in
4691 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4692 * dlfcn/eval.c: Remove file.
4694 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4698 * misc/sys/cdefs.h: Define __extern_always_inline for clang
4702 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4704 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4705 Jakub Jelinek <jakub@redhat.com>
4708 * libio/stdio.h: Check definition of __fortify_function
4709 instead of __extern_always_inline to include bits/stdio2.h.
4710 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4711 check if __extern_always_inline is defined.
4712 [__USE_MISC || __USE_XOPEN]: Likewise.
4713 [__USE_ISOC99] Likewise.
4714 * misc/sys/cdefs.h (__fortify_function): Define only if
4715 __extern_always_inline is defined.
4716 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4717 __extern_always_inline and __extern_inline only for g++-4.3
4718 and newer or a compatible gcc.
4720 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
4723 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4724 last change to handle zero prefix length.
4726 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4728 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4731 * posix/getconf.c (vars): Add _POSIX_IPV6 and
4734 2014-09-13 Allan McRae <allan@archlinux.org>
4736 * po/ru.po: Update Russian translation from translation project.
4738 2014-09-12 Roland McGrath <roland@hack.frob.com>
4740 * locale/programs/locale.c (show_locale_vars): Inline local function
4741 into its sole call site. Clean up some style nits.
4742 (print_item): New function, broken out of ...
4743 (show_info): ... local function here. Clean up style nits.
4745 * locale/programs/ld-ctype.c (set_one_default): New function, broken
4747 (set_class_defaults): ... local function set_default here.
4748 Define set_default as a macro locally to pass constant parameters.
4749 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4750 rather than a shared local.
4752 * stdlib/rpmatch.c (try): New function, broken out of ...
4753 (rpmatch): ... local function here. Also, prototypify definition.
4755 2014-09-12 Joseph Myers <joseph@codesourcery.com>
4757 * scripts/soversions.awk: Do not handle configuration names.
4758 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4759 vendor and os variables to soversions.awk.
4760 * configure.ac: Do not modify gnu-* host_os.
4761 * configure: Regenerated
4762 * shlib-versions: Remove first column with configuration names.
4763 * nptl/shlib-versions: Likewise.
4764 * nptl_db/shlib-versions: Likewise.
4765 * sysdeps/hppa/shlib-versions: Likewise.
4766 * sysdeps/m68k/shlib-versions: Likewise.
4767 * sysdeps/mach/hurd/shlib-versions: Likewise.
4768 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4769 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4770 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4771 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4772 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4773 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4774 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4775 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4776 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4778 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4779 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4780 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4781 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4782 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4783 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4784 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4785 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4788 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4791 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4793 Condition symbol version definitions on [HAVE_ELFV2_ABI].
4795 * shlib-versions: Remove OS-specific entries. Moved to files in
4797 * sysdeps/mach/hurd/shlib-versions: New file.
4798 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4800 * nptl/shlib-versions: Remove architecture-specific entries.
4801 Moved to files in sysdeps.
4802 * shlib-versions: Likewise.
4803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4805 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4806 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4807 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4808 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4810 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4811 (UDP_NO_CHECK6_RX): Likewise.
4813 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4815 * sysdeps/posix/sysconf.c (__sysconf): Spell
4816 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4818 2014-08-12 Florian Weimer <fweimer@redhat.com>
4820 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4822 * iconv/Versions (__gconv_transliterate): Export for use from
4824 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4825 (struct __gconv_trans_data, __gconv_trans_fct,
4826 __gconv_trans_context_fct, __gconv_trans_query_fct,
4827 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4829 (struct __gconv_step_data): Remove __trans member.
4830 (__gconv_transliterate): Declaration moved from gconv_int.h. No
4831 longer hidden. Remove unused trans_data argument.
4832 * iconv/gconv_int.h (struct trans_struct): Remove definition.
4833 (__gconv_translit_find): Remove declaration.
4834 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
4836 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4837 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4838 trans_data argument. Add hidden definition.
4839 (__gconv_translit_find): Remove.
4840 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4841 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4842 * iconv/skeleton.c: Remove transliteration initialization.
4843 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4844 __gconv_step_data initialization.
4845 * libio/iofwide.c (__libio_translit_): Remove.
4846 (_IO_fwide): Adjust struct __gconv_step_data initialization.
4847 * wcsmbs/btowc.c (__btowc): Likewise.
4848 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4849 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4850 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4851 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4852 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4853 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4854 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4855 * wcsmbs/wctob.c (wctob): Likewise.
4857 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4860 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4861 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
4863 * sysdeps/x86/Makefile: Adjust.
4865 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
4866 Roland McGrath <roland@hack.frob.com>
4868 * locale/weight.h: Add include guard.
4869 (findidx): Make static rather than auto; take new parameters
4870 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4871 * locale/weightwc.h: Likewise.
4872 * posix/fnmatch_loop.c
4873 (FCT): Change type of EXTRA from int32_t to wint_t.
4874 Don't include either header inside the function.
4875 Call FINDIDX rather than findidx, and pass new arguments.
4876 #undef FINDIDX at the end of the file.
4877 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4878 FINDIDX before including fnmatch_loop.c for the non-wide version.
4879 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4880 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4881 for the wide version.
4882 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4883 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4884 Pass new arguments to findidx.
4885 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4886 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4887 Don't #include it inside the function. Pass new arguments to findidx.
4888 * posix/regex_internal.h
4889 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4890 (re_string_elem_size_at): Don't #include it inside the function.
4891 Pass new arguments to findidx.
4892 * string/strcoll_l.c: #include WEIGHT_H at top level.
4893 (get_next_seq): Don't #include it inside the function.
4894 Pass new arguments to findidx.
4895 (get_next_seq_nocache): Likewise.
4896 * string/strxfrm_l.c: #include WEIGHT_H at top level.
4897 (STRXFRM): Don't #include it inside the function.
4898 Pass new arguments to findidx.
4900 2014-09-11 Florian Weimer <fweimer@redhat.com>
4903 * malloc/malloc.c (unlink): Turn asserts into a call to
4906 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
4909 * libio/wfileops (do_ftell_wide): Free OUT.
4911 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
4913 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4915 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4918 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4919 group if the current group is empty.
4921 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4923 * benchtests/bench-memset.c (test_main): Add more test from size
4924 from 32 to 512 bytes.
4925 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4926 Add POWER8 memset object.
4927 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4928 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4929 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4931 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4933 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4934 multiarch POWER8 memset optimization.
4935 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4936 POWER8 memset optimization.
4938 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4939 Remove bzero multiarch objects.
4940 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4941 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4942 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4943 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4945 [__bzero]: Redefine to specific name.
4946 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4947 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4948 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4950 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4951 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4953 2014-09-10 Florian Weimer <fweimer@redhat.com>
4955 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4956 warnings into errors.
4958 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4959 __cxa_thread_atexit_impl prototype.
4961 2014-09-09 Steve Ellcey <sellcey@mips.com>
4963 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4964 Fix capitalization of error message.
4966 2014-09-09 Steve Ellcey <sellcey@mips.com>
4968 * sysdeps/mips/preconfigure: Modify ABI tests.
4970 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
4972 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4974 2014-09-07 Roland McGrath <roland@hack.frob.com>
4975 Carlos O'Donell <carlos@systemhalted.org>
4977 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4978 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4979 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4980 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4981 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4982 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4983 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4984 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4985 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4986 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4987 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4988 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4989 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4990 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4991 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4992 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4993 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4994 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4995 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4996 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4997 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4998 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4999 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
5000 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
5001 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
5002 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
5003 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
5004 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
5005 Deconditionalize the code that was previously under [RESET_PID].
5006 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
5007 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
5008 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
5009 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
5012 2014-09-08 Allan McRae <allan@archlinux.org>
5014 * version.h (RELEASE): Set to "development".
5015 (VERSION): Set to "2.20.90"
5017 2014-09-07 Allan McRae <allan@archlinux.org
5019 * version.h (RELEASE): Set to "stable".
5020 (VERSION): Set to "2.20"
5021 * include/features.h (__GLIBC_MINOR__): Set to 20.
5023 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
5026 * po/ko.po: Update Korean translation from translation project.
5028 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
5031 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
5032 macro for handling signed relocations.
5034 2014-09-03 Florian Weimer <fweimer@redhat.com>
5037 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
5038 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
5040 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
5041 * iconvdata/ibm935.c (BODY): Likewise.
5042 * iconvdata/ibm937.c (BODY): Likewise.
5043 * iconvdata/ibm939.c (BODY): Likewise.
5044 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
5046 * iconvdata/Makefile (iconv-test.out): Pass module list to test
5048 * iconvdata/run-iconv-test.sh: New test loop for checking for
5051 2014-09-02 Khem Raj <raj.khem@gmail.com>
5053 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
5056 2014-09-01 Allan McRae <allan@archlinux.org>
5058 * po/eo.po: Update Esperanto translation from translation project.
5060 * po/ca.po: Update Catalan translation from translation project.
5062 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
5064 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
5067 2014-08-27 Mark Wielaard <mjw@redhat.com>
5070 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
5071 to call set_thread_area instead of hand written asm.
5072 (__NR_set_thread_area): Removed define.
5073 (TLS_FLAG_WRITABLE): Likewise.
5074 (__ASSUME_SET_THREAD_AREA): Remove check.
5075 (TLS_EBX_ARG): Remove define.
5076 (TLS_LOAD_EBX): Likewise.
5078 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
5080 Simplify atomicity of socket creation in bind.
5082 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
5083 looking up the name after linking the file.
5085 2014-08-27 Allan McRae <allan@archlinux.org>
5087 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5089 2014-08-26 Florian Weimer <fweimer@redhat.com>
5092 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
5093 trans_compare, open_translit, __gconv_translit_find):
5094 Remove module loading code.
5096 2014-08-26 Allan McRae <allan@archlinux.org>
5098 * po/vi.po: Update Vietnamese translation from translation project.
5100 * po/uk.po: Update Ukrainian translation from translation project.
5102 * po/fr.po: Update French translation from translation project.
5104 * po/ru.po: Update Russian translation from translation project.
5106 * po/pl.po: Update Polish translation from translation project.
5108 * po/cs.po: Update Czech translation from translation project.
5110 * po/de.po: Update German translation from translation project.
5112 * po/bg.po: Update Bulgarian translation from translation project.
5114 * po/sv.po: Update Sweedish translation from translation project.
5116 * po/nl.po: Update Dutch translation from translation project.
5118 * po/es.po: Update Spanish translation from translation project.
5120 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
5122 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
5124 * catgets/Makefile (CPPFLAGS-gencat): Remove.
5125 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
5126 (CPPFLAGS-iconvconfig): Likewise.
5127 * timezone/Makefile (CPPFLAGS-zic): Likewise.
5129 * include/libc-symbols.h: Remove unnecessary check for
5131 * nptl/pthreadP.h: Likewise.
5132 * sysdeps/aarch64/setjmp.S: Likewise.
5133 * sysdeps/alpha/setjmp.S: Likewise.
5134 * sysdeps/arm/sysdep.h: Likewise.
5135 * sysdeps/i386/setjmp.S: Likewise.
5136 * sysdeps/m68k/setjmp.c: Likewise.
5137 * sysdeps/posix/getcwd.c: Likewise.
5138 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
5139 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
5140 * sysdeps/s390/s390-32/setjmp.S: Likewise.
5141 * sysdeps/s390/s390-64/setjmp.S: Likewise.
5142 * sysdeps/sh/sh3/setjmp.S: Likewise.
5143 * sysdeps/sh/sh4/setjmp.S: Likewise.
5144 * sysdeps/unix/alpha/sysdep.h: Likewise.
5145 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
5146 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5147 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
5148 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
5149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
5150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
5151 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5152 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5153 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
5154 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
5155 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
5156 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
5157 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5158 * sysdeps/x86_64/setjmp.S: Likewise.
5160 2014-08-13 Joseph Myers <joseph@codesourcery.com>
5163 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5165 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5166 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5168 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
5170 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5173 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5174 and __x86_64__ when disabling x87 inline functions.
5176 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
5179 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5180 asm statement with __cpuid_count.
5182 2014-08-12 Mike Frysinger <vapier@gentoo.org>
5184 * configure.ac: Change __ehdr_start code to dereference the struct.
5185 Run readelf on the output to look for relocations.
5186 * configure: Regenerated.
5188 2014-08-12 Joseph Myers <joseph@codesourcery.com>
5191 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5193 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5195 2014-08-12 Roland McGrath <roland@hack.frob.com>
5197 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5199 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
5202 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5203 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5205 2014-08-12 Sean Anderson <seanga2@gmail.com>
5207 * malloc/malloc.c: Fix typo in comment.
5209 2014-08-09 Allan McRae <allan@archlinux.org>
5211 * Regenerate libc.po.
5213 2014-08-08 Mike Frysinger <vapier@gentoo.org>
5215 * intl/tst-gettext2.sh: Check every lang file for creation.
5217 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5219 * sysdeps/aarch64/fpu/math_private.h
5220 (libc_feholdsetround_noex_aarch64_ctx): New function.
5222 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
5224 * sysdeps/arm/armv6/strcpy.S (strcpy):
5225 Fix performance issue in misaligned cases.
5227 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5229 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5230 Move definition from termios.h.
5231 (struct termio): Likewise.
5232 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5233 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5234 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5235 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5237 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5238 Move definition to ioctl-types.h
5239 (struct termio): Likewise.
5240 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5241 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5242 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5243 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5246 2014-08-05 Richard Henderson <rth@redhat.com>
5248 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5250 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5252 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5253 Use __feraiseexcept.
5254 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5255 Protect libm symbols with IS_IN_libm.
5257 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5259 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
5261 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5263 2014-08-04 Will Newton <will.newton@linaro.org>
5265 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5268 2014-08-04 Mike Frysinger <vapier@gentoo.org>
5270 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5271 variants for each function.
5273 2014-08-04 Roland McGrath <roland@hack.frob.com>
5275 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5277 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5278 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5280 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5281 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5282 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5283 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5284 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5285 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5286 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5287 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5288 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5289 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5290 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5291 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5292 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5293 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5294 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5295 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5296 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5297 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5298 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5299 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5300 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5301 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5302 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5303 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5304 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5305 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5306 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5307 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5308 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5309 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5310 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5311 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5312 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5313 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5314 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5315 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5316 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5317 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5318 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5319 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5320 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5321 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5322 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5323 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5324 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5325 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5326 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5327 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5328 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5329 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5330 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5331 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5332 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5334 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5335 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5337 2014-08-04 Roland McGrath <roland@hack.frob.com>
5339 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5340 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5341 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5342 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5343 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5344 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5346 2014-08-04 Roland McGrath <roland@hack.frob.com>
5348 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5349 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5350 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5351 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5353 2014-08-04 Roland McGrath <roland@hack.frob.com>
5355 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5356 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5357 (__libc_vfork): Define function under this name.
5358 (__vfork): Define as an alias.
5359 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5360 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5362 2014-08-04 Roland McGrath <roland@hack.frob.com>
5364 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5365 that was previously under [RESET_PID].
5366 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5368 2014-08-04 Andreas Schwab <schwab@suse.de>
5370 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5372 2014-08-03 Mike Frysinger <vapier@gentoo.org>
5374 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5377 2014-08-01 Roland McGrath <roland@hack.frob.com>
5379 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5381 2014-08-01 Richard Henderon <rth@redhat.com>
5383 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5384 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5385 typo in exact zero test.
5386 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5387 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5388 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5390 2014-08-01 Roland McGrath <roland@hack.frob.com>
5392 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5393 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5394 * sysdeps/arm/sysdep.h: ... here.
5395 [!__ASSEMBLER__]: Include <stdint.h>.
5397 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5399 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5400 (HAVE_WCTYPE_H): Likewise.
5401 (HAVE_ISWCTYPE): Likewise.
5402 (ENABLE_NLS): Likewise.
5403 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5404 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5406 * posix/regex_internal.c: Check if DEBUG is defined and is
5409 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5410 (HAVE_MBSRTOWCS): Likewise.
5411 * posix/fnmatch.c: Include string.h unconditionally.
5413 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
5415 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5418 2014-07-31 Roland McGrath <roland@hack.frob.com>
5420 * sysdeps/generic/safe-fatal.h: New file.
5421 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5422 * nptl/forward.c: Include it.
5423 (__pthread_unwind): Use __safe_fatal as default action, rather
5424 than a bogus use of INTERNAL_SYSCALL that could never work.
5426 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5427 * configure.ac (libc_cv_builtin_trap): New test.
5428 * configure: Regenerated.
5429 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5430 (ABORT_INSTRUCTION): Define using __builtin_trap.
5432 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5433 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5434 * sysdeps/nptl/nptl-signals.h: New file.
5435 * nptl/pthreadP.h: Include <nptl-signals.h>.
5437 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5439 * sysdeps/s390/s390-64/utf16-utf32-z9.c
5440 (ONE_DIRECTION): Define.
5441 * sysdeps/s390/s390-64/utf8-utf16-z9.c
5442 (ONE_DIRECTION): Define.
5443 * sysdeps/s390/s390-64/utf8-utf32-z9.c
5444 (ONE_DIRECTION): Define.
5446 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
5448 * sysdeps/s390/Makefile: Delete file.
5449 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5450 * sysdeps/s390/__longjmp.c: Delete file.
5451 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5452 Remove fields __flags and __reserved.
5453 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5455 * sysdeps/s390/rtld-__longjmp.c: Delete file.
5456 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5457 * sysdeps/s390/rtld-setjmp.S: Likewise.
5458 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5459 * sysdeps/s390/s390-32/__longjmp.c: ... here.
5460 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5461 * sysdeps/s390/s390-32/setjmp.S: ... here.
5463 (__sigsetjmp): Remove setting __flags field.
5464 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5465 * sysdeps/s390/s390-64/__longjmp.c: ... here.
5466 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5467 * sysdeps/s390/s390-64/setjmp.S: ... here.
5469 (__sigsetjmp): Remove setting __flags field.
5470 * sysdeps/s390/setjmp.S: Delete file.
5471 * sysdeps/s390/sigjmp.c: Likewise.
5472 * sysdeps/s390/v1-longjmp.c: Likewise.
5473 * sysdeps/s390/v1-setjmp.h: Likewise.
5474 * sysdeps/s390/v1-sigjmp.c: Likewise.
5475 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5476 Remove v1-longjmp_chk.
5477 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5478 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5479 Include debug/longjmp_chk.c and add versioning.
5480 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5481 Include nptl/pt-longjmp.c and add versioning.
5482 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5483 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5484 Include __longjmp.c.
5485 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5487 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5488 (__getcontext): Remove setting __flags field.
5490 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5491 Don't restore upper high grps.
5492 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5494 (__swapcontext): Remove setting uc_flags field.
5495 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5497 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5498 Include __longjmp.c.
5499 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5501 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5502 (__getcontext): Remove setting __flags field.
5504 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5505 (__swapcontext): Remove setting uc_flags field.
5506 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5507 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5508 Remove fields uc_high_gprs and __reserved.
5509 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5510 New file with reverted content.
5511 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5512 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5514 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5517 2014-07-31 Andreas Schwab <schwab@suse.de>
5519 * config.h.in (HAVE_IFUNC): Define to 0.
5520 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5523 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
5525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5526 memmove-avx-unaligned, memcpy-avx-unaligned and
5527 mempcpy-avx-unaligned.
5528 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5529 Add tests for AVX memcpy functions.
5530 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5531 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5533 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5534 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5536 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5537 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5539 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5540 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5541 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5543 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5546 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5549 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
5552 * manual/llio.texi: Add section about open file description locks.
5553 * manual/examples/ofdlocks.c: Example of open file description
5555 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5556 F_OFD_SETLK, and F_OFD_SETLKW.
5558 2014-07-23 Allan McRae <allan@archlinux.org>
5560 * po/es.po: Update Spanish translation from translation project.
5562 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
5564 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5566 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
5569 * sysdeps/arm/dl-machine.h (elf_machine_rela)
5570 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5571 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5573 2014-07-17 Joseph Myers <joseph@codesourcery.com>
5576 * math/fesetenv.c (__fesetenv)
5577 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5578 * math/feupdateenv.c (__feupdateenv)
5579 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5581 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5582 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5583 (__ASSUME_SOCKETCALL): Do not define.
5585 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5586 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5587 (__ASSUME_SOCKETCALL): Do not define.
5588 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5589 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5590 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5591 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5592 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5593 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5594 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5595 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5597 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5598 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5599 (__ASSUME_SOCKETCALL): Do not define.
5600 (__ASSUME_IPC64): Define unconditionally.
5601 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5602 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5603 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5604 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5605 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5606 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5607 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5610 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5611 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5612 (__ASSUME_SOCKETCALL): Do not define.
5613 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5614 (__ASSUME_FUTEX_LOCK_PI): Likewise.
5615 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5616 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5617 (__ASSUME_REQUEUE_PI): Define unconditionally.
5618 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5619 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5620 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5621 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5622 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5623 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5625 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5626 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5627 (__ASSUME_SOCKETCALL): Do not define.
5628 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5629 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5630 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5631 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5632 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5633 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5635 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5636 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5637 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5638 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5639 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5640 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5641 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5642 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5643 (__ASSUME_GETCPU_SYSCALL): Likewise.
5645 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5646 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
5647 cases for individual architectures.
5648 * sysdeps/gnu/configure: Regenerated.
5649 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5650 LIBC_SLIBDIR_RTLDDIR.
5651 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5652 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5653 LIBC_SLIBDIR_RTLDDIR.
5654 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5655 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5656 LIBC_SLIBDIR_RTLDDIR.
5657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5659 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5660 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5662 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5663 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5665 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5666 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5667 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5668 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5670 * sysdeps/aarch64/shlib-versions: Move to ...
5671 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5672 * sysdeps/alpha/shlib-versions: Move to ...
5673 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5674 * sysdeps/arm/shlib-versions: Move to ...
5675 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5676 * sysdeps/hppa/shlib-versions: Move all contents except for
5677 libgcc_s entry to ...
5678 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
5680 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
5681 * sysdeps/ia64/shlib-versions: Move to ...
5682 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
5684 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
5685 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5686 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5687 * sysdeps/microblaze/shlib-versions: Move to ...
5688 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5689 * sysdeps/mips/shlib-versions: Move to ...
5690 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
5692 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
5693 * sysdeps/tile/shlib-versions: Move to ...
5694 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5695 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5697 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
5698 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5700 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
5702 2014-07-17 Will Newton <will.newton@linaro.org>
5704 * sysdeps/arm/bits/atomic.h
5705 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5706 (__arch_compare_and_exchange_bool_16_int): Likewise.
5707 (__arch_compare_and_exchange_bool_64_int): Likewise.
5709 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5710 into an #else block.
5712 2014-07-16 Roland McGrath <roland@hack.frob.com>
5714 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5715 just Linux configurations. Test empirically that the compiler sets
5716 __ARM_EABI__, rather than using the tuple to decide.
5717 * sysdeps/arm/preconfigure: Regenerated.
5718 * sysdeps/unix/sysv/linux/arm/configure: File removed.
5719 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5720 contents appended ...
5721 * sysdeps/arm/configure.ac: ... here.
5722 * sysdeps/arm/configure: Regenerated.
5724 2014-07-15 Roland McGrath <roland@hack.frob.com>
5726 * nptl/pthread_kill.c: New file.
5727 * nptl/pthread_sigmask.c: New file.
5728 * nptl/pthread_sigqueue.c: New file.
5730 * sysdeps/nptl/lowlevellock.h: New file.
5731 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5732 * sysdeps/nptl/lowlevellock-futex.h: New file.
5734 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5735 Remove dead declarations.
5737 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
5739 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5740 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5742 * sysdeps/x86_64/configure.ac: Likewise.
5743 * sysdeps/i386/configure: Regenerated.
5744 * sysdeps/x86_64/configure: Likewise.
5745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5746 memset-avx2 only if config-cflags-avx2 is yes.
5747 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5748 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5750 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5751 only if HAVE_AVX2_SUPPORT is defined.
5752 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5754 2014-07-14 Alan Modra <amodra@gmail.com>
5757 * elf/elf.h (DT_PPC64_NUM): Correct value.
5758 * NEWS: Add to fixed bug list.
5760 2014-07-13 Jim Meyering <meyering@fb.com>
5763 regex: don't deref NULL upon heap allocation failure
5764 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5765 failure in one more place.
5766 To trigger the segfault, configure grep -with-included-regex,
5767 build it, and run these commands:
5768 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5770 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
5772 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5774 2014-07-11 Richard Henderson <rth@redhat.com>
5776 * sysdeps/aarch64/libm-test-ulps: Update.
5778 2014-07-10 Florian Weimer <fweimer@redhat.com>
5781 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5782 * nptl/allocatestack.c (__nptl_setxid_error): New function.
5783 (__nptl_setxid): Initialize error member. Call
5784 __nptl_setxid_error.
5785 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5786 * nptl/descr.h (struct xid_command): Add error member.
5787 * nptl/tst-setuid3.c: New file.
5788 * nptl/Makefile (tests): Add it.
5790 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5792 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5794 (__lll_trylock): Use __lll_base_trylock.
5795 (__lll_cond_trylock): Likewise.
5797 2014-07-10 Roland McGrath <roland@hack.frob.com>
5799 * nptl/pthread_create.c (start_thread): Use atomic_or and
5800 lll_futex_wake directly rather than lll_robust_dead.
5801 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5802 (lll_robust_dead): Macro removed.
5803 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5804 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5805 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5806 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5807 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5808 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5809 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5810 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5811 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5812 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5813 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5814 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5815 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5816 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5817 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5819 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5820 Use atomic_compare_and_exchange_val_acq directly rather than
5822 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5823 (__lll_robust_trylock, lll_robust_trylock): Removed.
5824 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5825 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5826 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5827 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5828 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5829 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5830 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5831 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5832 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5833 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5834 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5835 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5836 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5837 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5839 2014-07-02 Florian Weimer <fweimer@redhat.com>
5841 * manual/locale.texi (Locale Names): New section documenting
5842 locale name syntax. Adjust menu and node chaining accordingly.
5843 (Choosing Locale): Reference Locale Names, Locale Categories.
5844 Mention setting LC_ALL=C. Reflect that name syntax is now
5846 (Locale Categories): New section title. Reference Locale Names.
5847 LC_ALL is an environment variable, but not a category.
5848 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5849 description, now in Locale Name. Reference that section. Locale
5850 name syntax is now documented.
5852 2014-07-02 Florian Weimer <fweimer@redhat.com>
5855 * locale/findlocale.c (name_present, valid_locale_name): New
5857 (_nl_find_locale): Use the loc_name variable to store name
5858 candidates. Call name_present and valid_locale_name to check and
5859 validate locale names. Return an error if the locale is invalid.
5861 2014-07-02 Florian Weimer <fweimer@redhat.com>
5863 * locale/setlocale.c (setlocale): Use strdup for allocating
5864 composite name copy.
5866 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5868 Sync up with gnulib.
5869 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5870 [!_LIBC && ENABLE_NLS]: Include gettext.h.
5871 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5872 and _GL_ARG_NONNULL.
5873 [USE_UNLOCKED_IO]: Include unlocked-io.h.
5874 [!_LIBC]: Include code for Windows and Cygwin.
5875 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5876 Include prototype for int strerror_r.
5877 [!_LIBC] (is_open): New function.
5878 (flush_stdout): New function.
5879 (print_errno_message): Use it.
5881 (error_at_line): Likewise.
5882 (error_tail) Add function attribute macros. Use
5885 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5887 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5889 * io/ftw.c: Include sys/param.h unconditionally.
5891 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5894 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5896 (freecache): New function to free CACHE on exit.
5898 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5901 2014-07-09 David S. Miller <davem@davemloft.net>
5903 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5905 * sysdeps/sparc/nptl/internaltypes.h: Delete.
5906 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5907 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5908 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5909 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5910 * sysdeps/sparc/nptl/sem_init.c: Likewise.
5911 * sysdeps/sparc/nptl/sem_post.c: Likewise.
5912 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5913 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5914 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5915 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5916 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5917 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5919 2014-07-09 Andreas Schwab <schwab@suse.de>
5921 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5923 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5924 (do_test): Likewise.
5926 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5928 2014-07-09 Will Newton <will.newton@linaro.org>
5930 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5931 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5932 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5933 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5934 * sysdeps/hppa/start.S (_start): Likewise.
5936 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
5938 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5940 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5943 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5945 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5946 after checking that it is non-NULL.
5948 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5950 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5952 * sysdeps/powerpc/memmove.c: Remove file.
5953 * sysdeps/powerpc/powerpc32/power4/memcopy.h
5954 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5955 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5956 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5957 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5958 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5959 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5960 string memmove instead of removed powerpc one.
5962 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5963 [weak_alias]: Fix compiler warning due trailing data.
5964 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5965 [weak_alias]: Likewise.
5966 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5967 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5969 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5970 (__libc_ifunc_impl_list): Add memmove functions.
5972 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5974 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5976 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5978 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5980 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5982 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5984 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5986 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5988 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5990 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5992 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5994 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5996 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5998 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
6000 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
6002 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
6004 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
6006 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
6009 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6011 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
6012 to avoid alignment traps in non-cacheable memory.
6013 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
6015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
6017 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
6018 file: multiarch power7 memmove.
6019 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
6020 multiarch default memmove.
6021 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
6022 multiarch memove for powerpc32/power4.
6024 * string/bcopy.c: Use full path to include memmove.c.
6025 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
6027 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
6028 bcopy for powerpc64.
6029 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
6030 bcopy for powerpc64.
6031 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
6032 and memmove implementations.
6033 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
6034 optimized multiarch memmove for POWER7/powerpc64.
6035 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
6036 default multiarch memmove for powerpc64.
6037 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
6038 multiarch for powerpc64.
6039 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
6040 for POWER7/powerpc64.
6041 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
6042 memmove for POWER7/powerpc64.
6044 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
6047 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
6048 __ELF_NATIVE_CLASS equal to 64.
6050 2014-07-07 Roland McGrath <roland@hack.frob.com>
6052 * sysdeps/nptl/lowlevellock.h: File removed.
6054 * NEWS: NPTL is no longer an add-on!
6055 * nptl/internaltypes.h: Moved ...
6056 * sysdeps/nptl/internaltypes.h: ... here.
6057 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
6058 * sysdeps/nptl/fork.c: Likewise.
6059 * sysdeps/nptl/gai_misc.h: Likewise.
6060 * sysdeps/nptl/librt-cancellation.c: Likewise.
6061 * sysdeps/nptl/jmp-unwind.c: Likewise.
6062 * sysdeps/nptl/setxid.h: Likewise.
6063 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
6064 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
6065 * sysdeps/unix/sysv/linux/arm/Implies: New file.
6066 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
6067 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
6068 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
6069 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
6070 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
6071 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
6072 * sysdeps/unix/sysv/linux/mips/Implies: New file.
6073 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
6074 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
6075 * sysdeps/unix/sysv/linux/sh/Implies: New file.
6076 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
6077 * sysdeps/unix/sysv/linux/tile/Implies: New file.
6078 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
6079 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
6080 * nptl/Makeconfig: Moved ...
6081 * sysdeps/nptl/Makeconfig: ... here.
6082 * nptl/configure: File removed.
6083 * nptl/ANNOUNCE: File removed.
6084 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
6085 * sysdeps/unix/sysv/linux/configure: Regenerated.
6087 * nptl/Makefile (routines): Add libc_pthread_init,
6088 libc_multiple_threads, register-atfork and unregister-atfork.
6089 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
6090 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
6091 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
6092 pthread-pi-defines.sym, structsem.sym.
6093 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
6094 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
6095 [$(subdir) = nptl] (tests): Add tst-setgetname.
6096 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
6097 * sysdeps/unix/sysv/linux/sigaction.c: Just include
6098 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
6099 [!LIBC_SIGACTION]: Remove aliases.
6100 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
6101 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
6102 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
6103 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
6104 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
6105 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
6106 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
6107 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
6108 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
6109 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
6110 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
6111 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
6112 __libc_allocate_rtsig_private.
6113 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
6114 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
6115 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
6116 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
6117 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
6118 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
6119 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
6120 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
6121 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
6122 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
6123 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
6124 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
6125 * nptl/internaltypes.h: ... here.
6126 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
6127 * sysdeps/nptl/jmp-unwind.c: ... here.
6128 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
6129 * nptl/libc-lowlevellock.c: ... here.
6130 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
6131 * nptl/libc_multiple_threads.c: ... here.
6132 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
6133 * nptl/libc_pthread_init.c: ... here.
6134 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
6135 * nptl/lowlevelbarrier.sym: ... here.
6136 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
6137 * nptl/lowlevelcond.sym: ... here.
6138 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
6139 * nptl/lowlevellock.c: ... here.
6140 * nptl/lowlevellock.h: Moved ...
6141 * sysdeps/nptl/lowlevellock.h: ... here.
6142 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
6143 * nptl/lowlevelrobustlock.c: ... here.
6144 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
6145 * nptl/lowlevelrobustlock.sym: ... here.
6146 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
6147 * nptl/lowlevelrwlock.sym: ... here.
6148 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
6149 * nptl/pt-fork.c: ... here.
6150 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
6151 * nptl/pthread-pi-defines.sym: ... here.
6152 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
6153 * nptl/pthread_attr_getaffinity.c: ... here.
6154 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
6155 * nptl/pthread_attr_setaffinity.c: ... here.
6156 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
6157 * nptl/pthread_mutex_cond_lock.c: ... here.
6158 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
6160 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6161 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6162 * nptl/pthread_once.c: ... here, replacing old file.
6163 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6164 * nptl/pthread_yield.c: ... here.
6165 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6166 * nptl/register-atfork.c: ... here.
6167 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6168 * nptl/sem_post.c: ... here.
6169 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6170 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6171 * nptl/sem_timedwait.c: ... here.
6172 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6173 * nptl/sem_trywait.c: ... here.
6174 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6175 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6176 * nptl/sem_wait.c: ... here.
6177 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6178 * nptl/structsem.sym: ... here.
6179 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6180 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6181 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6182 * nptl/unregister-atfork.c: ... here.
6183 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6184 * nptl/unwindbuf.sym: ... here.
6185 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6186 * sysdeps/nptl/fork.c: ... here.
6187 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6188 * sysdeps/nptl/fork.h: ... here.
6189 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6190 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6191 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6192 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6193 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6194 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6195 * sysdeps/unix/sysv/linux/getpid.c: ... here.
6196 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6197 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6198 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6199 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6200 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6201 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6202 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6203 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6204 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6205 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6206 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6207 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6208 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6209 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6210 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6211 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6212 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6213 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6214 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6215 * sysdeps/unix/sysv/linux/raise.c: ... here.
6216 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6217 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6218 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6219 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6220 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6221 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6222 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6223 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6224 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6225 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6226 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6227 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6228 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6229 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6230 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6232 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
6234 * sysdeps/generic/memcopy.h: Add comment for
6235 MEMCPY_OK_FOR_FWD_MEMMOVE.
6237 2014-07-04 Will Newton <will.newton@linaro.org>
6239 * string/memchr.c: Merge from gnulib.
6240 [_LIBC]: Remove conditionals.
6241 (__ptr_t): Remove define.
6242 (LONG_MAX_32_BITS): Likewise.
6243 (LONG_MAX): Likewise.
6244 (MEMCHR): Use ANSI prototype and optimize algorithm.
6246 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6248 2014-07-03 Roland McGrath <roland@hack.frob.com>
6250 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6251 (lll_futex_timed_wait_bitset): Fix syscall argument count.
6253 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6254 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6255 in a bare environment with no <stdlib.h> installed.
6256 * sysdeps/nptl/configure: Regenerated.
6258 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6260 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6261 AC_EGREP_CPP for kernel header checks, so they only succeed if
6262 including <linux/version.h> actually works right.
6263 * sysdeps/unix/sysv/linux/configure: Regenerated.
6265 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6266 value so it's not diagnosed as unused.
6268 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6269 thing) with "ifeq ($(subdir),rt)".
6271 2014-07-03 Richard Henderson <rth@redhat.com>
6273 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6274 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6275 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6277 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6278 (math_force_eval): New.
6280 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6281 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6283 * sysdeps/alpha/fpu/s_round.c: Remove file.
6284 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6286 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6287 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6288 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6289 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6290 (_dl_start, print_statistics): Likewise.
6291 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6292 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6294 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6295 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6296 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6297 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6298 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6299 (HP_SMALL_TIMING_AVAIL): Define.
6300 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6301 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6302 (HP_SMALL_TIMING_AVAIL): Define.
6303 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6304 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6306 * sysdeps/aarch64/hp-timing.h: New file.
6308 * sysdeps/generic/hp-timing.h: Remove dead comment.
6309 * sysdeps/generic/hp-timing-common.h: New file.
6310 * sysdeps/alpha/hp-timing.h: Include it.
6311 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6312 * sysdeps/i386/i686/hp-timing.h: Likewise.
6313 * sysdeps/ia64/hp-timing.h: Likewise.
6314 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6315 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6316 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6317 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6318 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6319 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6322 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6323 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6324 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6325 * elf/rtld.c (_dl_start_final): Likewise.
6326 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6327 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6328 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6329 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6330 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6331 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6332 (HP_TIMING_DIFF_INIT): Remove.
6333 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6334 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6335 (HP_TIMING_DIFF_INIT): Remove.
6336 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6337 * sysdeps/i386/i686/hp-timing.c: Remove file.
6338 * sysdeps/x86_64/hp-timing.c: Remove file.
6339 * sysdeps/ia64/hp-timing.c: Remove file.
6340 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6341 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6342 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6343 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6345 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6346 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6347 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6348 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6349 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6350 (HP_TIMING_ACCUM): Remove.
6351 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6352 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6353 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6355 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6356 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6357 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6358 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6359 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6360 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6361 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6362 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6364 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6366 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
6368 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6370 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6372 Sync up with gettext.
6373 * intl/loadmsgcat.c: Define O_BINARY if not defined.
6374 [_MSC_VER]: Include malloc.h
6375 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6376 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6377 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
6378 TEMP_FAILURE_RETRY. Cast return of alloca.
6379 [!_LIBC] Call gl_rwlock_init.
6380 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6382 2014-07-02 Roland McGrath <roland@hack.frob.com>
6384 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6385 before checking its value.
6387 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6389 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6391 * debug/memcpy_chk.c: Don't include pagecopy.h.
6392 * debug/mempcpy_chk.c: Likewise.
6393 * string/memcpy.c: Likewise.
6394 * string/memmove.c: Likewise.
6395 * sysdeps/powerpc/memmove.c: Likewise.
6396 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
6397 definition of PAGE_COPY_FWD_MAYBE here...
6398 * sysdeps/generic/pagecopy.h: ... from here.
6399 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6401 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
6402 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6404 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6405 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6407 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6408 (__libc_ifunc_impl_list): Likewise.
6409 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6410 multiarch strcat for PPC64.
6411 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6412 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6414 2014-07-02 Roland McGrath <roland@hack.frob.com>
6416 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6418 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6420 * intl/loadmsgcat.c: Remove declaration of
6421 get_sysdep_segment_value.
6422 (get_sysdep_segment_value): Use ISO C style.
6423 (_nl_load_domain): Use ISO C style. Get rid of redundant
6424 semicolon. Fix typo and formatting in comment.
6425 (_nl_unload_domain): Use ISO C style.
6427 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6429 2014-07-02 Will Newton <will.newton@linaro.org>
6431 * malloc/obstack.c: Merge from gnulib master.
6432 [HAVE_CONFIG_H]: Remove conditional code.
6433 [!_LIBC]: Include config.h.
6434 [!ELIDE_CODE]: Don't include inttypes.h, include
6435 stdint.h unconditionally.
6436 (print_and_abort): Mark as _Noreturn.
6437 (_obstack_allocated_p): Mark as __attribute_pure__.
6438 (obstack_free): Rename to __obstack_free.
6439 [!__attribute__]: Remove conditional code.
6440 * malloc/obstack.h: Merge from gnulib master.
6441 [__cplusplus]: Move conditional down.
6442 [!__attribute_pure__]: Define __attribute_pure__ here
6443 if it is not already defined.
6444 (_obstack_memory_used): Mark as __attribute_pure__.
6445 [!__obstack_free]: Define as obstack_free.
6446 [__GNUC__]: Remove check for ancient NeXT gcc.
6448 2014-07-02 Will Newton <will.newton@linaro.org>
6449 Paul Eggert <eggert@cs.ucla.edu>
6451 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6453 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
6455 * resolv/gethnamaddr.c: Add comment warning that the file is
6458 2014-07-01 Carlos O'Donell <carlos@redhat.com>
6460 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6463 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6464 entry for aio_cancel and aio_cancel64.
6465 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6466 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6467 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6468 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6469 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6470 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6471 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6472 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6473 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6474 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6475 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6476 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6477 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6479 2014-07-01 Roland McGrath <roland@hack.frob.com>
6481 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6482 * nptl/pthread_mutex_lock.c: Likewise.
6483 * nptl/pthread_mutex_timedlock.c: Likewise.
6484 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6486 2014-07-01 Richard henderson <rth@redhat.com>
6488 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6489 (__isnan, __isnanl): Remove.
6490 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6492 * sysdeps/alpha/fpu/libm-test-ulps: Update.
6494 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
6496 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6498 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
6500 * resolv/nss_dns/dns-host.c (getanswer_r)
6501 [MULTI_PTRS_ARE_ALIASES]: Remove code.
6503 2014-07-01 Joseph Myers <joseph@codesourcery.com>
6505 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6506 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6508 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6509 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6511 2014-07-01 Roland McGrath <roland@hack.frob.com>
6513 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6514 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6516 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6517 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6519 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6520 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6522 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6523 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6525 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6526 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6527 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6528 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6530 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6531 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6532 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6533 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6534 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6536 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6538 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6539 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6540 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6541 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6542 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6543 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6544 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6545 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6546 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6547 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6548 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6549 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6550 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6551 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6552 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6553 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6554 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6555 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6556 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6557 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6559 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6560 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6561 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6562 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6563 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6564 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6565 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6566 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6568 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
6570 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6571 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6572 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6575 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6577 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6579 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6581 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6582 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6584 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6586 * sysdeps/arm/libm-test-ulps: Regenerated.
6588 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6589 Roland McGrath <roland@hack.frob.com>
6591 * test-skeleton.c (signal_handler): Kill the whole process group
6592 before killing the child individually.
6593 (main): Report any failure on `setpgid'.
6595 2014-06-30 Roland McGrath <roland@hack.frob.com>
6597 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6598 from _TLS_H to _ARM_NPTL_TLS_H.
6599 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6600 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6602 2014-06-30 Joseph Myers <joseph@codesourcery.com>
6605 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6606 (__expm1l): Return argument unchanged when small but not
6609 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6611 (_FP_UNPACK_RAW_1_P): Likewise.
6612 (_FP_PACK_RAW_1): Likewise.
6613 (_FP_PACK_RAW_1_P): Likewise.
6614 (_FP_MUL_MEAT_1_wide): Likewise.
6615 (_FP_MUL_MEAT_DW_1_hard): Likewise.
6616 (_FP_MUL_MEAT_1_hard): Likewise.
6617 (_FP_DIV_MEAT_1_imm): Likewise.
6618 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6619 (_FP_DIV_MEAT_1_udiv): Likewise.
6620 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6621 (_FP_UNPACK_RAW_2): Likewise.
6622 (_FP_UNPACK_RAW_2_P): Likewise.
6623 (_FP_PACK_RAW_2): Likewise.
6624 (_FP_PACK_RAW_2_P): Likewise.
6625 (_FP_MUL_MEAT_DW_2_wide): Likewise.
6626 (_FP_MUL_MEAT_2_wide): Likewise.
6627 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6628 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6629 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6630 (_FP_MUL_MEAT_2_gmp): Likewise.
6631 (_FP_DIV_MEAT_2_udiv): Likewise.
6632 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6633 (_FP_FRAC_SRL_4): Likewise.
6634 (_FP_FRAC_SRST_4): Likewise.
6635 (_FP_FRAC_SRS_4): Likewise.
6636 (_FP_UNPACK_RAW_4): Likewise.
6637 (_FP_UNPACK_RAW_4_P): Likewise.
6638 (_FP_PACK_RAW_4): Likewise.
6639 (_FP_PACK_RAW_4_P): Likewise.
6640 (_FP_MUL_MEAT_DW_4_wide): Likewise.
6641 (_FP_MUL_MEAT_4_wide): Likewise.
6642 (_FP_MUL_MEAT_4_gmp): Likewise.
6643 (umul_ppppmnnn): Likewise.
6644 (_FP_DIV_MEAT_4_udiv): Likewise.
6645 (__FP_FRAC_ADD_4): Likewise.
6646 (__FP_FRAC_SUB_3): Likewise.
6647 (__FP_FRAC_SUB_4): Likewise.
6648 (__FP_FRAC_DEC_3): Likewise.
6649 (__FP_FRAC_DEC_4): Likewise.
6650 (__FP_FRAC_ADDI_4): Likewise.
6651 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6652 (_FP_FRAC_SRL_8): Likewise.
6653 (_FP_FRAC_SRS_8): Likewise.
6655 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6657 (FP_UNPACK_RAW_EP): Likewise.
6658 (FP_PACK_RAW_E): Likewise.
6659 (FP_PACK_RAW_EP): Likewise.
6660 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6661 (_FP_ISSIGNAN): Likewise.
6662 (_FP_ADD_INTERNAL): Likewise.
6663 (_FP_FMA): Likewise.
6664 (_FP_CMP): Likewise.
6665 (_FP_SQRT): Likewise.
6666 (_FP_TO_INT): Likewise.
6667 (_FP_FROM_INT): Likewise.
6668 (FP_EXTEND): Likewise.
6669 (_FP_DIV_MEAT_N_loop): Likewise.
6671 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
6673 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6676 2014-06-29 Joseph Myers <joseph@codesourcery.com>
6679 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6680 result with correct sign in case of exponents that produce
6681 overflow except for X very close to 1.
6683 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
6685 mktime: merge #if/#ifdef usage from glibc
6686 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6687 as that works with both Glibc's and Gnulib's style.
6688 See thread starting at Siddhesh Poyarekar's bug report at:
6689 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6691 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
6693 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6694 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6695 * sysdeps/tile/tilegx/memmove.c: Remove file.
6697 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6699 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6700 abi-name definition.
6701 * scripts/soversions.awk: Do not handle or generate ABI lines.
6702 * shlib-versions: Remove ABI entries.
6703 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6704 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6706 2014-06-27 Roland McGrath <roland@hack.frob.com>
6708 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6709 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6710 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6711 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6712 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6713 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6714 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6716 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6718 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6719 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6720 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6721 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6722 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6723 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6724 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6725 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6726 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6727 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6728 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6729 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6730 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6732 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6733 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6734 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6735 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6736 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6737 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6739 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6740 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6742 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6743 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6744 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6745 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6747 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6748 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6749 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6750 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6751 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6752 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6753 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6754 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6756 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6757 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6758 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6759 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6761 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6762 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6764 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6765 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6766 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6767 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6769 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6771 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6772 Identical file removed.
6773 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6775 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6776 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6777 Identical file removed.
6778 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6779 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6780 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6782 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6783 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6784 Identical file removed.
6785 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6786 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6787 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6788 Identical file removed.
6789 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6790 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6791 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6792 Identical file removed.
6793 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6794 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6795 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6796 Identical file removed.
6797 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6799 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6800 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6801 Identical file removed.
6802 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6804 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6805 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6806 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6807 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6808 Identical file removed.
6809 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6811 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6813 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6814 Identical file removed.
6815 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6817 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6818 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6819 Identical file removed.
6820 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6822 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6823 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6824 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6825 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6826 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6827 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6829 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6830 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6831 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6833 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6834 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6835 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6836 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6837 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6839 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
6842 * nscd/nscd.c (monitor_child): Return exit status of child
6843 instead of return value from wait syscall.
6845 2014-06-27 Joseph Myers <joseph@codesourcery.com>
6847 * configure.ac (libc_commonpagesize): Remove variable.
6848 (libc_relro_required): Likewise.
6849 (libc_cv_z_relro): Remove configure test.
6850 * configure: Regenerated.
6851 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6853 (libc_relro_required): Likewise.
6854 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6855 (libc_relro_required): Likewise.
6856 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6857 (libc_relro_required): Likewise.
6858 * sysdeps/arm/preconfigure: Regenerated.
6859 * sysdeps/ia64/preconfigure: Remove file.
6860 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6862 (libc_relro_required): Likewise.
6866 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6867 (__ieee754_yn): Set FE_TONEAREST mode internally and then
6868 recompute overflowing results in original rounding mode.
6869 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6870 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6871 recompute overflowing results in original rounding mode.
6872 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6873 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6874 recompute overflowing results in original rounding mode.
6875 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6876 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6877 recompute overflowing results in original rounding mode.
6878 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6879 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6880 recompute overflowing results in original rounding mode.
6881 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6882 (libc_feholdsetround_ctx): New macro.
6883 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6884 * sysdeps/i386/fpu/libm-test-ulps: Update.
6885 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6887 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6889 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6890 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6891 corresponding .cpsetup call.
6893 2014-06-26 Roland McGrath <roland@hack.frob.com>
6895 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6896 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6897 * sysdeps/arm/Makefile [$(subdir) = csu]
6898 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6899 (static-only-routines): Add aeabi_read_tp here.
6900 (shared-only-routines): Add libc-aeabi_read_tp here.
6901 (CFLAGS-libc-start.c): Add -fexceptions here.
6902 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6903 (sysdep_routines, static-only-routines, shared-only-routines):
6904 Don't add to these here.
6905 (CFLAGS-libc-start.c): Likewise.
6907 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6908 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6909 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6910 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6911 * sysdeps/arm/Makefile [$(subdir) = rt]
6912 (librt-sysdep_routines, librt-shared-only-routines):
6913 Append rt-aeabi_unwind_cpp_pr1 here.
6914 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6915 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6916 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6917 (libpthread-sysdep_routines, libpthread-shared-only-routines):
6918 Append nptl-aeabi_unwind_cpp_pr1 here.
6919 (tests): Filter out tst-cleanupx4 here.
6920 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6921 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6922 Don't do those here.
6924 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6926 * scripts/list-sources.sh: Do not handle ports specially.
6928 2014-06-26 Roland McGrath <roland@hack.frob.com>
6930 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6931 * sysdeps/arm/feupdateenv.c: Likewise.
6933 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6935 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6937 * manual/texinfo.tex: Update to version 2014-05-05.10 with
6938 trailing whitespace removed.
6939 * scripts/config.guess: Update to version 2014-03-23.
6940 * scripts/config.sub: Update to version 2014-05-01
6941 * scripts/install-sh: Update to version 2013-12-25.23.
6942 * scripts/move-if-change: Update from gnulib.
6944 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6946 * debug/memmove_chk.c: Remove pagecopy.h include.
6948 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
6950 * time/mktime.c (leapyear): Remove inline keyword. The code is now
6951 identical to gnulib mktime.
6953 2014-06-26 Joseph Myers <joseph@codesourcery.com>
6955 * configure.ac: Do not test for machine being rs6000. Do not test
6957 * configure: Regenerated.
6959 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6961 * configure: Regenerated.
6962 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6963 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6964 Remove configure test.
6965 * sysdeps/arm/configure: Regenerated.
6966 * sysdeps/nptl/configure.ac: Do not check
6967 libc_cv_asm_cfi_directives.
6968 * sysdeps/nptl/configure: Regenerated.
6969 * sysdeps/x86_64/nptl/configure.ac: Remove file.
6970 * sysdeps/x86_64/nptl/configure: Remove generated file.
6971 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6973 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6975 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
6977 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6978 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6979 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6982 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6983 instead of whether it is defined.
6984 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6985 * sysdeps/hppa/dl-machine.h: Likewise.
6986 * sysdeps/ia64/dl-machine.h: Likewise.
6987 * sysdeps/m68k/dl-machine.h: Likewise.
6988 * sysdeps/microblaze/dl-machine.h: Likewise.
6989 * sysdeps/mips/dl-machine.: Likewise.
6990 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6991 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6992 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6993 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6994 * sysdeps/sh/dl-machine.h: Likewise.
6995 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6996 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6997 * sysdeps/tile/dl-machine.h: Likewise.
6998 * sysdeps/x86_64/dl-machine.h: Likewise.
7000 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
7002 (verify_persistent_db): Likewise.
7004 2014-06-26 Roland McGrath <roland@hack.frob.com>
7006 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
7007 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
7008 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
7009 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
7010 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
7012 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
7014 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
7015 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
7016 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
7017 Identical file removed.
7018 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
7019 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
7020 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
7021 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
7022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
7023 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
7024 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
7025 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
7026 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
7027 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
7028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
7030 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
7031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
7032 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
7033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
7034 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
7035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
7037 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
7038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
7039 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
7040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
7041 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
7042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
7043 Identical file removed.
7044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
7045 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
7046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
7047 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
7048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
7050 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
7052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
7053 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
7054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
7055 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
7056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
7057 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
7058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
7059 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
7060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
7061 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
7062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
7064 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
7065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
7067 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
7068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
7069 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
7070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
7072 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
7073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
7074 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
7076 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
7078 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
7079 * sysdeps/unix/sysv/linux/s390/Versions
7080 (libpthread: GLIBC_2.19): New version set.
7081 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
7082 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
7083 (librt: GLIBC_2.3.3): New version set.
7084 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
7085 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
7086 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
7087 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
7088 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
7089 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
7090 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
7091 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
7092 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
7093 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
7094 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
7095 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
7096 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
7097 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
7098 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
7099 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
7100 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
7101 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
7102 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
7103 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
7104 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
7105 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
7106 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
7107 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
7108 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
7109 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
7110 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
7111 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
7112 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
7113 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
7114 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
7115 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
7116 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
7117 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
7118 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
7119 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
7120 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
7121 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
7122 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
7123 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
7124 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
7125 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
7126 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
7127 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
7128 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
7130 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
7131 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
7132 (__libc_vfork): Define the function under this name.
7133 [!NOT_IN_libc] (__vfork): Make this an alias.
7134 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7135 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
7136 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
7137 (__libc_vfork): Define the function under this name.
7138 [!NOT_IN_libc] (__vfork): Make this an alias.
7139 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
7140 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
7141 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
7142 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
7143 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
7144 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
7146 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
7147 code that was previously under [RESET_PID].
7148 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
7149 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
7150 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
7152 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
7153 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
7154 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
7155 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
7156 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
7157 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
7158 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
7159 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7160 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7161 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7162 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7164 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7165 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7166 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7167 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7168 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7169 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7170 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7171 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7172 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7173 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7174 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7175 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7176 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7177 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7178 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7179 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7180 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7181 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7182 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7183 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7184 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7185 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7186 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7187 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7188 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7189 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7190 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7191 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7192 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7194 2014-06-25 Roland McGrath <roland@hack.frob.com>
7196 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7197 that was previously under [RESET_PID].
7198 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7200 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7202 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7203 not undefine and redefine.
7204 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7205 [O_CLOEXEC]: Make code unconditional.
7206 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7207 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7208 <kernel-features.h>.
7209 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7210 conditional variable definition.
7211 (shm_open) [O_CLOEXEC]: Make code unconditional.
7212 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7215 * configure.ac (USE_REGPARMS): Don't define here.
7216 * configure: Regenerated.
7217 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7218 * sysdeps/i386/configure: Regenerated.
7220 * nptl/createthread.c: Don't include kernel-features.h.
7221 * nptl/pthread_cancel.c: Likewise.
7222 * nptl/pthread_condattr_setclock.c: Likewise.
7223 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7224 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7225 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7226 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7227 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7228 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7229 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7230 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7231 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7232 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7233 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7234 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7235 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7236 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7237 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7238 * nscd/gai.c: Likewise.
7239 * nss/nss_db/db-open.c: Likewise.
7240 * sysdeps/generic/ldsodefs.h: Likewise.
7241 * sysdeps/sh/nptl/tls.h: Likewise.
7242 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7243 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7244 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7245 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7246 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7247 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7248 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7249 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7250 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7251 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7252 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7253 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7254 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7255 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7256 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7257 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7258 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7259 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7260 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7261 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7262 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7263 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7264 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7265 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7266 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7267 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7268 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7269 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7270 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7271 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7272 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7273 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7274 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7275 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7276 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7277 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7278 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7279 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7280 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7281 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7282 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7283 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7284 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7285 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7286 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7287 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7288 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7289 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7290 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7291 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7292 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7293 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7294 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7295 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7296 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7297 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7298 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7299 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7302 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7303 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7307 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7322 * sysdeps/unix/sysv/linux/pread.c: Likewise.
7323 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7324 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7325 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7326 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7327 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7328 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7329 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7330 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7331 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7332 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7333 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7334 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7335 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7336 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7337 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7338 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7339 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7340 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7341 * sysdeps/unix/sysv/linux/system.c: Likewise.
7342 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7343 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7344 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7345 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7346 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7347 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7348 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7350 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7351 * configure: Regenerated.
7352 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7354 * configure.ac (base_machine): Do not set specially for particular
7356 * configure: Regenerated.
7357 * sysdeps/powerpc/preconfigure: Move machine and base_machine
7358 settings from configure.ac.
7359 * sysdeps/i386/preconfigure: New file.
7360 * sysdeps/s390/preconfigure: Likewise.
7361 * sysdeps/sh/preconfigure: Likewise.
7362 * sysdeps/sparc/preconfigure: Likewise.
7364 2014-06-25 Roland McGrath <roland@hack.frob.com>
7366 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7367 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7368 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7369 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7370 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7371 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7372 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7373 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7374 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7375 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7376 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7377 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7378 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7379 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7380 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7381 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7382 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7383 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7384 * sysdeps/sparc/sparc64/Makefile: ... appended here.
7386 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7387 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7388 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7389 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7390 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7391 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7392 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7393 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7394 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7395 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7396 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7397 * sysdeps/sparc/sparc32/sem_post.c: ... here.
7398 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7399 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7400 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7401 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7402 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7403 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7404 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7405 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7406 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7407 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7408 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7409 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7410 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7411 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7412 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7413 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7414 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7415 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7416 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7417 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7418 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7419 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7420 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7421 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7422 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7423 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7426 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7427 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7428 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7429 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7431 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7433 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7434 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7435 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7436 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7437 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7439 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7441 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7442 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7443 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7445 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7446 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7448 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7449 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7451 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7453 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7454 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7456 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7457 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7458 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7459 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7460 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7461 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7462 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7463 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7464 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7465 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7467 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7469 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7470 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7472 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7473 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7475 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7476 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7477 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7478 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7479 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7480 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7481 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7482 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7484 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7485 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7487 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7488 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7489 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7490 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7492 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7493 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7494 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7495 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7496 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7498 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7500 * timezone/checktab.awk: Update from tzcode 2014e.
7501 * timezone/private.h: Likewise.
7502 * timezone/tzfile.h: Likewise.
7503 * timezone/zdump.c: Likewise.
7504 * timezone/zic.c: Likewise.
7506 * sysdeps/unix/sysv/linux/kernel-features.h
7507 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7508 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7509 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7510 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7511 Remove conditional code.
7513 2014-06-25 Will Newton <will.newton@linaro.org>
7515 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7516 (_dl_arm_cap_flags): Add HWCAP2 values.
7517 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7518 (_DL_HWCAP_COUNT): Increase to 37.
7519 (_DL_HWCAP_LAST): New define.
7520 (_DL_HWCAP2_LAST): New define.
7521 (_dl_procinfo): Add support for printing
7523 (_dl_string_hwcap): Use _dl_hwcap_string.
7525 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7529 2014-06-25 Joseph Myers <joseph@codesourcery.com>
7531 * README: Do not mention ports directory.
7533 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7535 * sysdeps/unix/sysv/linux/futimes.c: Do not include
7536 <kernel-features.h>.
7537 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7538 conditional variable definition.
7539 (__futimes): Update comment.
7540 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7541 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7544 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7545 arguments close to 0.
7546 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7548 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7550 * math/auto-libm-test-in: Add more tests of exp10.
7551 * math/auto-libm-test-out: Regenerated.
7552 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7554 * sysdeps/unix/sysv/linux/kernel-features.h
7555 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7556 * sysdeps/unix/sysv/linux/readv.c: Do not include
7557 <kernel-features.h>.
7558 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7559 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7560 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7562 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7564 * sysdeps/unix/sysv/linux/writev.c: Do not include
7565 <kernel-features.h>.
7566 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7567 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7568 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7570 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7573 2014-06-25 Will Newton <will.newton@linaro.org>
7575 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7576 comment changes throughout the file. Remove checks
7577 for HAVE_*_H definitions that are not required.
7578 (__gen_tempname): Call abort if an unknown kind value is
7581 2014-06-25 Andreas Schwab <schwab@suse.de>
7584 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7585 scalbln, scalblnf, scalblnl in libc.
7587 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
7590 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7591 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7592 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7594 2014-06-24 Roland McGrath <roland@hack.frob.com>
7596 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7597 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7598 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7599 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7601 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7602 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7604 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7605 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7606 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7607 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7608 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7609 * sysdeps/x86/bits/pthreadtypes.h: ... here.
7610 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7611 * sysdeps/x86/bits/semaphore.h: ... here.
7612 * sysdeps/x86/nptl/elide.h: Moved ...
7613 * sysdeps/x86/elide.h: ... here.
7614 * sysdeps/x86_64/nptl/Implies: File removed.
7615 * sysdeps/i386/nptl/Implies: File removed.
7617 2014-06-24 Joseph Myers <joseph@codesourcery.com>
7620 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7621 return the argument for normal arguments with exponent below -64.
7622 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7624 * math/auto-libm-test-in: Add another test of expm1.
7625 * math/auto-libm-test-out: Regenerated.
7628 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7629 calling __erfcl for arguments at least 16.
7630 * math/auto-libm-test-in: Add more tests of erf.
7631 * math/auto-libm-test-out: Regenerated.
7633 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7634 individual architectures.
7635 * sysdeps/unix/sysv/linux/configure: Regenerated.
7636 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7637 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7638 * sysdeps/unix/sysv/linux/powerpc/configure.ac
7639 (ldd_rewrite_script): Define variable.
7640 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7645 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7646 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7647 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7648 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7649 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7650 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7651 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7652 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7654 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7657 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7658 Rename member __data.d to __data.__elision_data.
7660 2014-06-24 Wilco <wdijkstr@arm.com>
7662 * NEWS: Add 16918 to fixed bug list.
7664 2014-06-24 Wilco <wdijkstr@arm.com>
7666 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7668 2014-06-24 Wilco <wdijkstr@arm.com>
7670 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7671 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7672 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7673 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7674 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7675 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7676 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7679 2014-06-24 Wilco <wdijkstr@arm.com>
7681 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7683 2014-06-24 Wilco <wdijkstr@arm.com>
7685 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7686 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7687 * sysdeps/arm/fesetround.c (fesetround): Remove space.
7688 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7690 2014-06-24 Wilco <wdijkstr@arm.com>
7693 * sysdeps/arm/feupdateenv.c (feupdateenv):
7694 Rewrite to reduce FPSCR accesses and fix return value.
7696 2014-06-24 Wilco <wdijkstr@arm.com>
7698 * sysdeps/arm/fclrexcpt.c (feclearexcept):
7699 Optimize to avoid unnecessary FPSCR writes.
7700 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7701 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7702 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7703 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7705 2014-06-24 Wilco <wdijkstr@arm.com>
7707 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7708 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7709 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7710 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7711 Call libc_fetestexcept_vfp.
7712 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7713 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7714 __SOFTFP__ ifdef so that they can be built for softfp.
7716 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
7718 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7719 argument type signed char.
7721 * Makerules (check-abi): Dump diff of symlist if the test
7724 2014-06-23 Roland McGrath <roland@hack.frob.com>
7726 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7729 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7730 Remove unused variable ST.
7732 2014-06-23 Joseph Myers <joseph@codesourcery.com>
7736 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7737 small arguments before calling __expm1.
7738 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7739 small arguments before calling __expm1f.
7740 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7741 small arguments before calling __expm1l.
7742 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7744 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7745 * math/auto-libm-test-in: Add more cosh tests. Do not allow
7746 spurious underflow for some cosh tests.
7747 * math/auto-libm-test-out: Regenerated.
7748 * sysdeps/i386/fpu/libm-test-ulps: Update.
7751 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7752 (__ieee754_y1): Set errno if return value overflows.
7753 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7754 (__ieee754_y1f): Set errno if return value overflows.
7755 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7756 (__ieee754_y1l): Set errno if return value overflows.
7757 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7758 (__ieee754_y1l): Set errno if return value overflows.
7759 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7760 * math/auto-libm-test-out: Regenerated.
7762 * math/gen-auto-libm-tests.c: Document use of
7763 ignore-zero-inf-sign.
7764 (input_flag_type): Add value flag_ignore_zero_inf_sign.
7765 (input_flags): Add ignore-zero-inf-sign.
7766 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7767 * math/gen-libm-test.pl (generate_testfile): Handle
7768 ignore-zero-inf-sign.
7769 * math/auto-libm-test-in: Mark some cpow tests with
7770 ignore-zero-inf-sign and some with xfail-rounding.
7771 * math/auto-libm-test-out: Regenerated.
7772 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7773 * sysdeps/i386/fpu/libm-test-ulps: Update.
7774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7777 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7778 overflowing or underflowing operations take place with sign of
7780 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7781 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7782 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7783 (__ieee754_pow): Recompute overflowing and underflowing results in
7784 original rounding mode.
7785 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7786 (__powl_helper): Allow negative argument X and scale negated value
7787 as needed. Avoid passing value outside [-1, 1] to f2xm1.
7788 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7789 overflowing or underflowing operations take place with sign of
7791 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7793 * math/auto-libm-test-in: Add more tests of pow.
7794 * math/auto-libm-test-out: Regenerated.
7795 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7796 (pow_tonearest_test_data): Remove.
7797 (pow_test_tonearest): Likewise.
7798 (pow_towardzero_test_data): Likewise.
7799 (pow_test_towardzero): Likewise.
7800 (pow_downward_test_data): Likewise.
7801 (pow_test_downward): Likewise.
7802 (pow_upward_test_data): Likewise.
7803 (pow_test_upward): Likewise.
7804 (main): Don't call removed functions.
7805 * sysdeps/i386/fpu/libm-test-ulps: Update.
7806 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7808 2014-06-23 Roland McGrath <roland@hack.frob.com>
7810 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7816 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7818 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7824 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7826 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7834 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7836 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7838 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7842 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7846 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7855 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7856 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7859 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7864 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7868 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7870 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7874 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7908 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7911 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7917 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7956 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7959 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7961 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7973 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7984 2014-06-23 Will Newton <will.newton@linaro.org>
7985 Wilco <wdijkstr@arm.com>
7987 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7988 implementation. Include get-rounding-mode.h.
7989 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7990 [!libc_feholdsetround_noex_ctx]: Define
7991 libc_feholdsetround_noex_ctx.
7992 [!libc_feholdsetround_noexf_ctx]: Define
7993 libc_feholdsetround_noexf_ctx.
7994 [!libc_feholdsetround_noexl_ctx]: Define
7995 libc_feholdsetround_noexl_ctx.
7996 (libc_feholdsetround_ctx): New function.
7997 (libc_feresetround_ctx): New function.
7998 (libc_feholdsetround_noex_ctx): New function.
7999 (libc_feresetround_noex_ctx): New function.
8001 2014-06-23 Roland McGrath <roland@hack.frob.com>
8003 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
8004 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
8005 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
8006 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
8007 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
8008 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
8010 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
8011 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
8012 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
8013 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
8014 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
8015 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
8016 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
8017 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
8018 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
8019 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
8020 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
8022 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
8024 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
8025 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
8026 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
8027 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
8028 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
8030 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
8031 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
8032 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
8033 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
8034 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
8035 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
8036 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
8037 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
8039 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
8040 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
8042 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
8043 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
8044 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
8045 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
8047 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
8048 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
8049 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
8050 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
8051 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
8052 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
8053 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
8054 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
8055 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
8056 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
8058 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
8060 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
8061 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
8062 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
8063 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
8064 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
8065 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
8066 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
8067 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
8068 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
8069 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
8070 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
8071 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
8072 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
8074 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
8075 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
8076 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
8077 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
8078 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
8079 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
8081 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
8082 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
8083 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
8084 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
8085 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
8087 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
8088 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
8089 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
8090 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
8091 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
8092 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
8093 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
8094 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
8095 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
8096 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
8097 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
8098 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
8099 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
8100 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
8101 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
8102 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
8103 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
8104 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
8105 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
8106 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
8107 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
8108 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
8109 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
8110 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
8111 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
8112 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
8113 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
8114 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
8116 2014-06-23 Joseph Myers <joseph@codesourcery.com>
8118 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
8119 (FALLOC_FL_COLLAPSE_RANGE): New macro.
8120 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
8121 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
8122 (IPV6_PMTUDISC_INTERFACE): Likewise.
8123 (IPV6_PMTUDISC_OMIT): Likewise.
8125 2014-06-23 Andreas Schwab <schwab@suse.de>
8127 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
8128 Remove unused errout label.
8130 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8132 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
8133 macro: hardware supports Vector Crypto instructions.
8135 2014-06-23 Will Newton <will.newton@linaro.org>
8137 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
8138 rather than __builtin_expect.
8140 * elf/dl-lookup.c (undefined_msg): Remove variable.
8141 (_dl_lookup_symbol_x): Replace undefined_msg with string
8144 * elf/dl-lookup.c (do_lookup_unique): New function.
8145 (do_lookup_x): Move STB_GNU_UNIQUE handling code
8146 to a separate function.
8148 2014-06-23 Andreas Schwab <schwab@suse.de>
8151 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
8152 before reading the next line.
8154 2014-06-23 Will Newton <will.newton@linaro.org>
8156 * test-skeleton.c (signal_handler): Use printf and %m
8157 rather than perror. Use printf rather than fprintf to
8158 stderr. Use puts rather than fputs to stderr.
8161 2014-06-22 Ludovic Courtès <ludo@gnu.org>
8163 * nscd/nscd.c (thread_info_t): Remove typedef.
8164 (thread_info): Remove variable.
8166 2014-06-21 Allan McRae <allan@archlinux.org>
8168 * NEWS: Mention CVE-2014-4043.
8170 2014-06-20 Roland McGrath <roland@hack.frob.com>
8172 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8173 * nptl/smp.h: ... here.
8175 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8177 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8178 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8179 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8180 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8182 * nptl/allocatestack.c: Include <stack-aliasing.h>.
8183 * nptl/stack-aliasing.h: New file.
8184 * sysdeps/i386/i686/stack-aliasing.h: New file.
8185 * sysdeps/i386/i686/nptl/Makefile: File removed.
8186 * sysdeps/x86_64/stack-aliasing.h: New file.
8187 * sysdeps/x86_64/nptl/Makefile
8188 (CFLAGS-pthread_create.c): Variable removed.
8190 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8191 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8193 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8194 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8197 2014-06-21 Joseph Myers <joseph@codesourcery.com>
8199 * sysdeps/unix/sysv/linux/arm/kernel-features.h
8200 (__ASSUME_SIGFRAME_V2): Remove macro.
8201 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8202 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8203 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8204 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8205 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8206 Declare as function. Remove conditional macro definitions.
8207 (__default_rt_sa_restorer): Likewise.
8208 (__default_sa_restorer_v1): Remove declaration.
8209 (__default_sa_restorer_v2): Likewise.
8210 (__default_rt_sa_restorer_v1): Likewise.
8211 (__default_rt_sa_restorer_v2): Likewise.
8212 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8213 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8214 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8216 2014-06-20 Roland McGrath <roland@hack.frob.com>
8218 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8219 (libpthread-routines): Add sysdep.
8220 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8221 * sysdeps/unix/sysv/linux/sparc/Versions
8222 (libpthread: GLIBC_2.3.3): New version set.
8223 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8224 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8225 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8226 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8227 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
8228 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8230 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8231 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8232 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8233 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8234 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8235 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8236 * sysdeps/sparc/nptl/sem_init.c: ... here.
8237 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8238 * sysdeps/sparc/nptl/sem_post.c: ... here.
8239 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8240 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8241 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8242 * sysdeps/sparc/nptl/sem_wait.c: ... here.
8243 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8244 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8245 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8246 (libpthread-routines): Add cpu_relax.
8247 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8249 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8250 (librt: GLIBC_2.3.3): New version set.
8251 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8252 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8253 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8254 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8255 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8256 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8257 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8258 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8260 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8261 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8262 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8263 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8264 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8265 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8266 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8267 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8268 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8269 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8271 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8273 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8275 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8277 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8279 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8281 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8283 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8285 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8287 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8289 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8291 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8293 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8294 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8295 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8296 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8297 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8298 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8299 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8300 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8301 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8302 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8303 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8305 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8306 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8307 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8308 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8309 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8311 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8313 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8314 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8315 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8316 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8317 * nscd/nscd.c: Likewise.
8318 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8319 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8320 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8321 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8323 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8324 <kernel-features.h>.
8325 (init_mq_netlink): Remove conditional have_sock_cloexec
8326 definitions. Remove code conditional on have_sock_cloexec < 0.
8327 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8328 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8329 * sysdeps/unix/sysv/linux/opensock.c: Do not include
8330 <kernel-features.h>.
8331 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8332 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8334 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8336 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8337 Add tests for memset_chk and memset.
8339 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8342 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8345 * elf/tst-dl-iter-static.c: New file.
8346 * elf/Makefile (tests-static): Add tst-dl-iter-static.
8348 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8351 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8353 * sysdeps/unix/sysv/linux/kernel-features.h
8354 (__ASSUME_F_GETOWN_EX): Remove macro.
8355 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8356 <kernel-features.h>.
8357 (miss_F_GETOWN_EX): Remove variable or macro.
8358 (do_fcntl): Do not check miss_F_GETOWN_EX.
8359 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8361 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8363 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8364 [!__ASSUME_AT_RANDOM]: Remove conditional code.
8365 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8367 * sysdeps/unix/sysv/linux/kernel-features.h
8368 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8369 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8370 [ADJ_OFFSET_SS_READ]: Make code unconditional.
8371 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8373 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
8376 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8377 Fix calculation of the symbol's value.
8378 * sysdeps/arm/tst-armtlsdescloc.c: New file.
8379 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8380 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8381 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8382 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8383 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8384 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8385 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8386 (modules-names): Add `tst-armtlsdescmod',
8387 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8388 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8389 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8390 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8391 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8392 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8393 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8394 ($(objpfx)tst-armtlsdescloc): New dependency.
8395 ($(objpfx)tst-armtlsdescextnow): Likewise.
8396 ($(objpfx)tst-armtlsdescextlazy): Likewise.
8397 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8399 * sysdeps/arm/configure: Regenerate.
8401 2014-06-20 Joseph Myers <joseph@codesourcery.com>
8403 * include/fcntl.h (__atfct_seterrno): Remove prototype.
8404 (__atfct_seterrno_2): Likewise.
8405 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8406 <kernel-features.h>.
8407 (__ASSUME_ATFCTS): Do not undefine and redefine.
8408 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8409 (__have_atfcts): Remove conditional definition.
8410 (__fxstatat([__NR_fstatat64]: Make code unconditional.
8411 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8412 unreachable if [__ASSUME_ATFCTS].
8413 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8414 not undefine and redefine.
8415 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8416 <kernel-features.h>.
8417 (faccessat) [__NR_faccessat]: Make code unconditional.
8418 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8419 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8420 <kernel-features.h>.
8421 (fchmodat) [__NR_fchmodat]: Make code unconditional.
8422 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8423 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8424 <kernel-features.h>.
8425 (fchownat) [__NR_fchownat]: Make code unconditional.
8426 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8427 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8428 <kernel-features.h>.
8429 (futimesat) [__NR_futimesat]: Make code unconditional.
8430 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8431 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8432 <kernel-features.h>.
8433 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8434 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8435 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8436 <kernel-features.h>.
8437 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8438 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8439 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8440 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8441 <kernel-features.h>.
8442 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8443 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8444 * sysdeps/unix/sysv/linux/linkat.c: Do not include
8445 <kernel-features.h>.
8446 (linkat) [__NR_linkat]: Make code unconditional.
8447 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8448 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8449 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8450 <kernel-features.h>.
8451 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8452 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8453 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8454 <kernel-features.h>.
8455 (mkdirat) [__NR_mkdirat]: Make code unconditional.
8456 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8457 * sysdeps/unix/sysv/linux/openat.c: Do not include
8458 <kernel-features.h>.
8459 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8460 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8461 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8462 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8463 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8464 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8465 <kernel-features.h>.
8466 (readlinkat) [__NR_readlinkat]: Make code unconditional.
8467 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
8468 result of INLINE_SYSCALL directly, not via int variable.
8469 * sysdeps/unix/sysv/linux/renameat.c: Do not include
8470 <kernel-features.h>.
8471 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8472 (renameat) [__NR_renameat]: Make code unconditional.
8473 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8474 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8475 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8476 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8477 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8478 (__ASSUME_ATFCTS): Do not undefine and redefine.
8479 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8480 <kernel-features.h>.
8481 (symlinkat) [__NR_symlinkat]: Make code unconditional.
8482 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8483 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8484 <kernel-features.h>.
8485 (unlinkat) [__NR_unlinkat]: Make code unconditional.
8486 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8487 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8488 (__ASSUME_ATFCTS): Do not undefine and redefine.
8489 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8490 <kernel-features.h>.
8491 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8492 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8493 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8494 <kernel-features.h>.
8495 (__xmknodat) [__NR_mknodat]: Make code unconditional.
8496 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8498 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
8500 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8502 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
8505 * posix/regcomp.c (parse_reg_exp): Deallocate partially
8506 constructed tree before returning error.
8507 * posix/bug-regexp36.c: Expand test case.
8509 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8512 * math/libm-test.inc (scalbln_test_date):
8513 Add errno expectations.
8514 * math/w_scalblnf.c: New File.
8515 Add wrapper which checks for setting errno to ERANGE.
8516 Add weak_alias for corresponding scalbln function.
8517 * math/w_scalbln.c: Likewise.
8518 * math/w_scalblnl.c: Likewise.
8519 * math/Makefile (libm-calls): Add w_scalbln.
8520 * sysdeps/ieee754/flt-32/s_scalblnf.c:
8521 Remove weak_alias for corresponding scalbln function.
8522 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8523 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8524 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8525 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8526 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8527 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8528 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8529 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8530 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8531 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8532 Remove long_double_symbol for scalblnl function in libm, libc.
8533 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8534 Add wrapper which checks for setting errno to ERANGE.
8535 Add long_double_symbol for scalblnl function in libm, libc.
8536 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8537 Remove long_double_symbol for scalblnl in libm.
8538 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8539 Add wrapper which checks for setting errno to ERANGE.
8540 Add long_double_symbol for scalblnl function in libm.
8541 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8542 Do not use wrapper because of own implementation.
8544 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
8546 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8547 3 bytes for __pad1 for x32.
8548 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8550 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
8551 H.J. Lu <hongjiu.lu@intel.com>
8553 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8554 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8555 * sysdeps/x86_64/multiarch/memset.S: Likewise.
8556 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8557 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8559 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
8562 * posix/regcomp.c (parse_expression): Deallocate partially
8563 constructed tree before returning error.
8564 * posix/Makefile.c (tests): Add bug-regex36.
8565 (generated): Add bug-regex36.mtrace.
8566 (tests-special): Add $(objpfx)bug-regex36-mem.out
8567 (bug-regex36-ENV): New variable.
8568 ($(objpfx)bug-regex36-mem.out): New rule.
8569 * posix/bug-regex36.c: New file.
8571 2014-06-19 Will Newton <will.newton@linaro.org>
8573 * malloc/malloc.c (systrim): If extra is zero then return
8576 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
8578 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8580 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
8582 * sysdeps/aarch64/strchr.S: New file.
8584 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8587 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8588 from arguments -2 or below.
8589 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8590 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8592 2014-06-18 Andreas Schwab <schwab@suse.de>
8595 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8596 of a bracket expr not to run off the end of the string.
8597 * posix/Makefile (tests): Add tst-fnmatch3.
8598 * posix/tst-fnmatch3.c: New file.
8600 2014-06-18 Joseph Myers <joseph@codesourcery.com>
8602 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8603 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8604 [$(cross-compiling) = no]: Likewise.
8605 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8606 [$(cross-compiling) = no]: Likewise.
8608 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8611 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8612 double, adjusted for any remainder from the high double.
8613 * math/libm-test.inc (nearbyint): Add tests.
8616 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8618 * nptl/sysdeps/powerpc/Makefile: Moved ...
8619 * sysdeps/powerpc/nptl/Makefile: ... here.
8620 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8621 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8622 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8623 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8624 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8625 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8626 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8627 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8628 * nptl/sysdeps/powerpc/tls.h: Moved ...
8629 * sysdeps/powerpc/nptl/tls.h: ... here.
8631 2014-06-16 Joseph Myers <joseph@codesourcery.com>
8634 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8635 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8636 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8637 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8638 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8639 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8640 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8641 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8642 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8644 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
8646 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8648 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
8650 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8653 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8656 2014-06-16 Florian Weimer <fweimer@redhat.com>
8659 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8660 non-executed part of the test.
8662 2014-06-16 Andreas Schwab <schwab@suse.de>
8664 * string/bits/string2.h (strdup, strndup): Update feature guard.
8666 2014-06-14 David S. Miller <davem@davemloft.net>
8668 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8670 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
8672 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8673 that was previously under [RESET_PID].
8674 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8676 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8677 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8678 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8679 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8680 (__libc_vfork): New strong alias.
8681 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8683 2014-06-14 Andi Kleen <ak@linux.intel.com>
8685 * sysdeps/generic/elide.h: New file.
8687 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
8689 * Makefile (installed-headers): Adjust path of pthread.h header.
8691 2014-06-13 Roland McGrath <roland@hack.frob.com>
8693 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8694 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8695 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8696 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8698 * nptl/sysdeps/s390/Makefile: Moved ...
8699 * sysdeps/s390/nptl/Makefile: ... here.
8700 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8701 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8702 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8703 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8704 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8705 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8706 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8707 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8708 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8709 * sysdeps/s390/nptl/pthreaddef.h: ... here.
8710 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8711 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8712 * nptl/sysdeps/s390/tls.h: Moved ...
8713 * sysdeps/s390/nptl/tls.h: ... here.
8715 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8716 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8718 2014-06-13 David S. Miller <davem@davemloft.net>
8720 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8721 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8722 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8723 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8724 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8725 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8726 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8727 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8728 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8729 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8730 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8731 Remove RESET_PID cpp guards.
8732 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8733 Remove RESET_PID cpp guards.
8734 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8736 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
8738 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8741 2014-06-13 Andi Kleen <ak@linux.intel.com>
8743 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8744 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8745 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8746 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8747 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8748 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8749 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8750 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8751 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8752 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8753 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8754 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8755 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8756 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8757 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8758 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8759 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8760 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8761 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8762 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8764 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8765 (pthread_rwlock_rdlock): Add elision.
8766 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8767 (pthread_rwlock_wrlock): Add elision.
8768 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8769 (pthread_rwlock_trywrlock): Add elision.
8770 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8771 (pthread_rwlock_tryrdlock): Add elision.
8772 * nptl/pthread_rwlock_unlock.c: Include elide.h.
8773 (pthread_rwlock_tryrdlock): Add elision unlock.
8774 * nptl/sysdeps/pthread/pthread.h:
8775 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8776 (PTHREAD_RWLOCK_INITIALIZER,
8777 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8778 Handle new elision field.
8779 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8780 * sysdeps/arm/nptl/bits/pthreadtypes.h
8781 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8782 * sysdeps/sh/nptl/bits/pthreadtypes.h
8783 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8784 * sysdeps/tile/nptl/bits/pthreadtypes.h
8785 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8786 * sysdeps/a/nptl/bits/pthreadtypes.h
8787 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8788 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8789 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8790 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8791 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8792 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8793 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8794 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8795 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8796 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8797 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8798 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8799 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8800 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8801 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8802 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8803 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8804 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8805 (elision_init): Set try_xbegin to zero when no RTM.
8806 * sysdeps/x86/nptl/bits/pthreadtypes.h
8807 (pthread_rwlock_t): Change __pad1 to __rwelision.
8808 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8810 2014-06-13 Andi Kleen <ak@linux.intel.com>
8812 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8813 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8814 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8815 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8817 2014-06-13 Meador Inge <meadori@codesourcery.com>
8820 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8821 that the cached result has been set before returning it.
8823 2014-06-12 Roland McGrath <roland@hack.frob.com>
8825 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8826 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8827 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8828 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8829 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8830 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8832 * nptl/sysdeps/sparc/Makefile: Moved ...
8833 * sysdeps/sparc/nptl/Makefile: ... here.
8834 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8835 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8836 * nptl/sysdeps/sparc/tls.h: Moved ...
8837 * sysdeps/sparc/nptl/tls.h: ... here.
8838 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8839 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8840 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8841 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8842 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8843 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8844 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8845 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8846 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8847 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8848 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8849 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8850 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8851 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8852 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8853 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8854 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8855 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8857 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8858 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8860 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8861 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8863 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8864 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8867 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8869 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8870 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8872 * sysdeps/pthread/posix-timer.h: Include <list.h>.
8873 (struct list_links): Type removed.
8874 (struct thread_node, struct timer_node): Replace struct list_links
8875 with struct list_head.
8876 (list_unlink_ip): Likewise.
8877 * sysdeps/pthread/timer_routines.c
8878 (timer_free_list, thread_free_list, thread_active_list): Likewise.
8879 (list_append, list_insbefore): Likewise.
8880 (list_init): Function removed.
8881 (thread_init, init_module): Use INIT_LIST_HEAD instead.
8882 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8883 * sysdeps/pthread/Makefile: ... here, new file.
8885 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8886 * sysdeps/nptl/Implies: ... here.
8887 * sysdeps/unix/sysv/linux/Implies: Add nptl.
8888 * nptl/sysdeps/pthread/list.h: Moved ...
8889 * include/list.h: ... here.
8890 * nptl/sysdeps/pthread/createthread.c: Moved ...
8891 * nptl/createthread.c: ... here.
8892 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8893 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8894 * nptl/pt-longjmp.c: ... here.
8895 * nptl/sysdeps/pthread/Makefile: Moved ...
8896 * sysdeps/nptl/Makefile: ... here.
8897 * nptl/sysdeps/pthread/Subdirs: Moved ...
8898 * sysdeps/nptl/Subdirs: ... here.
8899 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8900 * sysdeps/nptl/aio_misc.h: ... here.
8901 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8902 * sysdeps/nptl/bits/libc-lock.h: ... here.
8903 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8904 * sysdeps/nptl/bits/libc-lockP.h: ... here.
8905 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8906 * sysdeps/nptl/bits/stdio-lock.h: ... here.
8907 * nptl/sysdeps/pthread/configure: Moved ...
8908 * sysdeps/nptl/configure: ... here.
8909 * nptl/sysdeps/pthread/configure.ac: Moved ...
8910 * sysdeps/nptl/configure.ac: ... here.
8911 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8912 * sysdeps/nptl/gai_misc.h: ... here.
8913 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8914 * sysdeps/nptl/librt-cancellation.c: ... here.
8915 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8916 * sysdeps/nptl/malloc-machine.h: ... here.
8917 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8918 * sysdeps/nptl/pthread-functions.h: ... here.
8919 * nptl/sysdeps/pthread/pthread.h: Moved ...
8920 * sysdeps/nptl/pthread.h: ... here.
8921 * nptl/sysdeps/pthread/setxid.h: Moved ...
8922 * sysdeps/nptl/setxid.h: ... here.
8923 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8924 * sysdeps/nptl/sigfillset.c: ... here.
8925 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8926 * sysdeps/nptl/tcb-offsets.h: ... here.
8927 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8928 * sysdeps/nptl/tst-mqueue8x.c: ... here.
8929 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8930 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8931 * nptl/sysdeps/pthread/allocalim.h: Moved ...
8932 * sysdeps/pthread/allocalim.h: ... here.
8933 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8934 * sysdeps/pthread/bits/sigthread.h: ... here.
8935 * nptl/sysdeps/pthread/flockfile.c: Moved ...
8936 * sysdeps/pthread/flockfile.c: ... here.
8937 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8938 * sysdeps/pthread/ftrylockfile.c: ... here.
8939 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8940 * sysdeps/pthread/funlockfile.c: ... here.
8941 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8942 * sysdeps/pthread/posix-timer.h: ... here.
8943 * nptl/sysdeps/pthread/timer_create.c: Moved ...
8944 * sysdeps/pthread/timer_create.c: ... here.
8945 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8946 * sysdeps/pthread/timer_delete.c: ... here.
8947 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8948 * sysdeps/pthread/timer_getoverr.c: ... here.
8949 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8950 * sysdeps/pthread/timer_gettime.c: ... here.
8951 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8952 * sysdeps/pthread/timer_routines.c: ... here.
8953 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8954 * sysdeps/pthread/timer_settime.c: ... here.
8955 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8956 * sysdeps/pthread/tst-timer.c: ... here.
8957 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8958 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8960 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8961 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8963 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8964 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8965 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8966 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8967 Update #include target.
8968 * nptl/sysdeps/i386/i686/Makefile: Moved ...
8969 * sysdeps/i386/i686/nptl/Makefile: ... here.
8970 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8971 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8972 Update #include target.
8973 * nptl/sysdeps/i386/i686/tls.h: Moved ...
8974 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
8975 * nptl/sysdeps/i386/Makefile: Moved ...
8976 * sysdeps/i386/nptl/Makefile: ... here.
8977 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8978 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8979 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8980 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8981 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8982 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8983 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8984 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8985 * sysdeps/i386/nptl/pthreaddef.h: ... here.
8986 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8987 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8988 * nptl/sysdeps/i386/tls.h: Moved ...
8989 * sysdeps/i386/nptl/tls.h: ... here.
8991 * sysdeps/sh/Makefile [$(subdir) = csu]
8992 (gen-as-const-headers): Add tcb-offsets.sym.
8993 * nptl/sysdeps/sh/Makefile: File removed.
8994 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8995 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8996 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8997 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8998 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8999 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
9000 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
9001 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
9002 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
9003 * sysdeps/sh/nptl/pthreaddef.h: ... here.
9004 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
9005 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
9006 * nptl/sysdeps/sh/tls.h: Moved ...
9007 * sysdeps/sh/nptl/tls.h: ... here.
9008 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
9009 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
9010 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
9011 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
9012 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
9013 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
9014 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
9015 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
9016 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
9017 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
9018 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
9019 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
9020 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
9021 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
9022 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
9023 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
9024 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
9025 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
9026 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
9027 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
9028 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
9029 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
9030 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
9031 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
9032 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
9034 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
9035 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
9037 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
9038 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
9039 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
9040 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
9041 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
9042 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
9043 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
9044 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
9045 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
9046 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
9047 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
9048 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
9049 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
9050 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
9051 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
9052 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
9053 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
9054 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
9055 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
9057 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
9059 * posix/spawn_faction_addopen.c: Include string.h.
9061 2014-06-11 Roland McGrath <roland@hack.frob.com>
9063 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
9064 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
9065 * nptl/sysdeps/x86_64/Makefile: Moved ...
9066 * sysdeps/x86_64/nptl/Makefile: ... here.
9067 * nptl/sysdeps/x86_64/configure: Moved ...
9068 * sysdeps/x86_64/nptl/configure: ... here.
9069 * nptl/sysdeps/x86_64/configure.ac: Moved ...
9070 * sysdeps/x86_64/nptl/configure.ac: ... here.
9071 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
9072 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
9073 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
9074 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
9075 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
9076 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
9077 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
9078 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
9079 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
9080 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
9081 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
9082 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
9083 * nptl/sysdeps/x86_64/tls.h: Moved ...
9084 * sysdeps/x86_64/nptl/tls.h: ... here.
9085 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
9086 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
9087 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
9088 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
9090 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
9092 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9096 2014-06-11 Joseph Myers <joseph@codesourcery.com>
9098 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
9100 [POSIX] (off_t): Likewise.
9101 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
9102 [POSIX] (S_ISBLK): Require macro.
9103 [POSIX] (S_ISCHR): Likewise.
9104 [POSIX] (S_ISDIR): Likewise.
9105 [POSIX] (S_ISFIFO): Likewise.
9106 [POSIX] (S_ISREG): Likewise.
9107 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
9109 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
9111 [POSIX] (time_t): Likewise.
9112 [POSIX] (timer_t): Likewise.
9114 2014-06-11 Florian Weimer <fweimer@redhat.com>
9117 * posix/spawn_int.h (struct __spawn_action): Make the path string
9118 non-const to support deallocation.
9119 * posix/spawn_faction_addopen.c
9120 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
9121 * posix/spawn_faction_destroy.c
9122 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
9123 path in all spawn_do_open actions.
9124 * posix/tst-spawn.c (do_test): Exercise the copy operation in
9125 posix_spawn_file_actions_addopen.
9127 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
9129 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
9130 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
9131 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
9132 conditional code always true.
9133 (__libc_vfork): New alias.
9135 2014-06-11 Roland McGrath <roland@hack.frob.com>
9137 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9138 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
9140 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
9142 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9143 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
9145 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
9146 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
9148 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9149 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
9151 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
9153 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
9154 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
9155 multiarch strcmp for PPC64.
9156 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
9157 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
9158 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
9159 multiarch optimizations.
9160 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9161 (__libc_ifunc_impl_list): Likewise.
9163 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9165 * benchtests/scripts/validate_benchout.py: New script.
9166 * benchtests/Makefile (bench-func): Call it.
9167 * benchtests/scripts/benchout.schema.json: New file.
9169 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
9171 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9172 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9173 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9174 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9175 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9176 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9177 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9178 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9179 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9180 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9181 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9182 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9183 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9184 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9185 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9186 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9187 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9189 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9191 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9193 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9194 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9196 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9198 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9200 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9202 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9204 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9205 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9207 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9209 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9211 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9213 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9215 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9216 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9218 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9220 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9222 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9224 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9226 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9228 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9230 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9231 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9233 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9235 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9237 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9239 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9241 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9243 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9245 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9246 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9248 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9250 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9252 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9254 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9256 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9257 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9259 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9261 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9263 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9264 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9266 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9267 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9269 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9271 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9273 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9275 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9277 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9279 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9281 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9282 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9284 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9286 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9288 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9290 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9291 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9292 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9293 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9294 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9296 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9298 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9299 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9300 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9301 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9302 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9303 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9304 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9305 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9306 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9307 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9308 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9309 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9310 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9312 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9313 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9315 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9316 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9317 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9318 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9320 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9321 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9322 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9323 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9324 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9325 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9326 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9328 2014-06-10 Wilco <wdijkstr@arm.com>
9330 * math/test-fenv-return.c: New file.
9331 * math/Makefile: Add new test test-fenv-return.
9333 2014-06-10 Joseph Myers <joseph@codesourcery.com>
9336 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9338 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9339 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9340 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9341 0.0L for an argument of 1.0L.
9342 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9344 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9345 value when x - 1 is zero.
9346 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9347 * sysdeps/i386/fpu/libm-test-ulps: Update.
9348 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9350 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
9353 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9355 2014-06-09 Roland McGrath <roland@hack.frob.com>
9357 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9358 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9360 2014-06-09 Roland McGrath <roland@hack.frob.com>
9362 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9363 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9365 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9366 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9368 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9369 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9371 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9372 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9374 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9375 if not already defined.
9376 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9377 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9378 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9379 (TLS_INIT_TP): Use it.
9380 (TLS_DEFINE_INIT_TP): New macro.
9381 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9383 2014-06-09 Joseph Myers <joseph@codesourcery.com>
9385 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9387 [POSIX] (IXANY): Likewise.
9388 [POSIX] (OLCUC): Likewise.
9389 [POSIX || POSIX2008] (CBAUD): Do not allow.
9390 [POSIX || POSIX2008] (DEFECHO): Likewise.
9391 [POSIX || POSIX2008] (ECHOCTL): Likewise.
9392 [POSIX || POSIX2008] (ECHOKE): Likewise.
9393 [POSIX || POSIX2008] (ECHOPRT): Likewise.
9394 [POSIX || POSIX2008] (EXTA): Likewise.
9395 [POSIX || POSIX2008] (EXTB): Likewise.
9396 [POSIX || POSIX2008] (FLUSHO): Likewise.
9397 [POSIX || POSIX2008] (LOBLK): Likewise.
9398 [POSIX || POSIX2008] (PENDIN): Likewise.
9399 [POSIX || POSIX2008] (SWTCH): Likewise.
9400 [POSIX || POSIX2008] (VDISCARD): Likewise.
9401 [POSIX || POSIX2008] (VDSUSP): Likewise.
9402 [POSIX || POSIX2008] (VLNEXT): Likewise.
9403 [POSIX || POSIX2008] (VREPRINT): Likewise.
9404 [POSIX || POSIX2008] (VSTATUS): Likewise.
9405 [POSIX || POSIX2008] (VWERASE): Likewise.
9406 (B*): Change to B[0123456789]*.
9407 * conform/data/time.h-data [POSIX || UNIX98]
9408 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9409 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9410 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9411 [POSIX] (tm_*): Do not allow.
9413 2014-06-07 Joseph Myers <joseph@codesourcery.com>
9415 * Makefile (install): Don't set LANGUAGE.
9416 * Makefile.in (install): Likewise.
9417 * assert/Makefile (test-assert-ENV): Remove variable.
9418 (test-assert-perr-ENV): Likewise.
9419 * elf/Makefile (neededtest4-ENV): Likewise.
9420 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9421 [$(cross-compiling) = no]: Don't set LANGUAGE.
9422 * io/ftwtest-sh (LANG): Remove variable.
9423 * libio/Makefile (tst-widetext-ENV): Likewise.
9424 * manual/install.texi (Running make install): Don't refer to
9425 environment settings for make install.
9426 * INSTALL: Regenerated.
9427 * nptl/tst-tls6.sh: Don't set LANG.
9428 * posix/globtest.sh (LANG): Remove variable.
9429 * string/Makefile (tester-ENV): Likewise.
9430 (inl-tester-ENV): Likewise.
9431 (noinl-tester-ENV): Likewise.
9432 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9433 [$(cross-compiling) = no]: Don't set LANGUAGE.
9434 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9435 without explicit environment settings.
9437 2014-06-06 Roland McGrath <roland@hack.frob.com>
9439 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9440 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9441 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9442 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9444 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
9446 * crypt/crypt-private.h [DOS]: Add some includes taken from the
9447 other files in the crypt directory.
9448 * crypt/crypt.c: Remove duplicate includes.
9449 * crypt/crypt-entry.c: Likewise.
9450 * crypt/crypt_util.c: Likewise.
9452 2014-06-06 Joseph Myers <joseph@codesourcery.com>
9454 * Makeconfig (run-program-env): New variable.
9455 (run-program-prefix-before-env): Likewise.
9456 (run-program-prefix-after-env): Likewise.
9457 (run-program-prefix): Define in terms of new variables.
9458 (built-program-cmd-before-env): New variable.
9459 (built-program-cmd-after-env): Likewise.
9460 (built-program-cmd): Define in terms of new variables.
9461 (test-program-prefix-before-env): New variable.
9462 (test-program-prefix-after-env): Likewise.
9463 (test-program-prefix): Define in terms of new variables.
9464 (test-program-cmd-before-env): New variable.
9465 (test-program-cmd-after-env): Likewise.
9466 (test-program-cmd): Define in terms of new variables.
9467 * Rules (make-test-out): Use $(run-program-env).
9468 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9469 (help): Do not mention environment variables. Mention
9470 --timeoutfactor option.
9471 (timeoutfactor): New variable.
9472 (blacklist_exports): Remove function.
9473 (exports): Remove variable.
9474 (command): Do not include ${exports}.
9475 * manual/install.texi (Configuring and compiling): Do not mention
9476 test wrappers preserving environment variables. Mention that last
9477 assignment to a variable must take precedence.
9478 * INSTALL: Regenerated.
9479 * benchtests/Makefile (run-bench): Use $(run-program-env).
9480 * catgets/Makefile ($(objpfx)test1.cat): Use
9481 $(built-program-cmd-before-env), $(run-program-env) and
9482 $(built-program-cmd-after-env).
9483 ($(objpfx)test2.cat): Do not specify environment variables
9485 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9486 $(run-program-env) and $(built-program-cmd-after-env).
9487 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9488 $(run-program-env) and $(test-program-cmd-after-env).
9489 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9491 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9492 run_program_env and test_program_cmd_after_env arguments.
9493 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9494 * elf/tst-pathopt.sh: Use run_program_env argument.
9495 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9496 $(test-wrapper-env) and $(run-program-env).
9497 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9498 run_program_env arguments.
9499 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9500 * intl/Makefile ($(objpfx)tst-gettext.out): Use
9501 $(test-program-prefix-before-env), $(run-program-env) and
9502 $(test-program-prefix-after-env).
9503 ($(objpfx)tst-gettext2.out): Likewise.
9504 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9505 run_program_env and test_program_prefix_after_env arguments.
9506 * intl/tst-gettext2.sh: Likewise.
9507 * intl/tst-gettext4.sh: Do not set environment variables
9509 * intl/tst-gettext6.sh: Likewise.
9510 * intl/tst-translit.sh: Likewise.
9511 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9512 $(test-program-prefix-before-env), $(run-program-env) and
9513 $(test-program-prefix-after-env).
9514 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9515 run_program_env and test_program_prefix_after_env arguments.
9516 * math/Makefile (run-regen-ulps): Use $(run-program-env).
9517 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9518 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
9519 explicitly with each use of ${test_wrapper_env}.
9520 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9521 $(test-program-prefix-before-env), $(run-program-env) and
9522 $(test-program-prefix-after-env).
9523 * posix/tst-getconf.sh: Do not set environment variables
9525 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9526 run_program_env and test_program_prefix_after_env arguments.
9527 * stdio-common/tst-printf.sh: Do not set environment variables
9529 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9530 $(test-program-prefix-before-env), $(run-program-env) and
9531 $(test-program-prefix-after-env).
9532 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9533 run_program_env and test_program_prefix_after_env arguments.
9534 Split $test calls into $test_pre and $test.
9535 * timezone/Makefile (build-testdata): Use
9536 $(built-program-cmd-before-env), $(run-program-env) and
9537 $(built-program-cmd-after-env).
9539 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9541 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9542 strlen for non SHARED builds.
9544 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
9546 * nptl/allocatestack.c (check_list): Inlined function...
9547 (__reclaim_stacks): ... here.
9549 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9552 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9555 2014-06-05 Joseph Myers <joseph@codesourcery.com>
9557 * Rules (make-test-out): Include
9558 LOCPATH=$(common-objpfx)localedata in default environment.
9559 * debug/Makefile (tst-chk1-ENV): Remove variable.
9560 (tst-chk2-ENV): Likewise.
9561 (tst-chk3-ENV): Likewise.
9562 (tst-chk4-ENV): Likewise.
9563 (tst-chk5-ENV): Likewise.
9564 (tst-chk6-ENV): Likewise.
9565 (tst-lfschk1-ENV): Likewise.
9566 (tst-lfschk2-ENV): Likewise.
9567 (tst-lfschk3-ENV): Likewise.
9568 (tst-lfschk4-ENV): Likewise.
9569 (tst-lfschk5-ENV): Likewise.
9570 (tst-lfschk6-ENV): Likewise.
9571 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9572 (tst-iconv7-ENV): Likewise.
9573 * intl/Makefile (LOCPATH-ENV): Likewise.
9574 (tst-codeset-ENV): Likewise.
9575 (tst-gettext3-ENV): Likewise.
9576 (tst-gettext5-ENV): Likewise.
9577 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9578 (tst-fopenloc-ENV): Likewise.
9579 (tst-fgetws-ENV): Remove variable.
9580 (tst-ungetwc1-ENV): Likewise.
9581 (tst-ungetwc2-ENV): Likewise.
9582 (bug-ungetwc2-ENV): Likewise.
9583 (tst-swscanf-ENV): Likewise.
9584 (bug-ftell-ENV): Likewise.
9585 (tst-fgetwc-ENV): Likewise.
9586 (tst-fseek-ENV): Likewise.
9587 (tst-ftell-partial-wide-ENV): Likewise.
9588 (tst-ftell-active-handler-ENV): Likewise.
9589 (tst-ftell-append-ENV): Likewise.
9590 * posix/Makefile (tst-fnmatch-ENV): Likewise.
9591 (tst-regexloc-ENV): Likewise.
9592 (bug-regex1-ENV): Likewise.
9593 (tst-regex-ENV): Likewise.
9594 (tst-regex2-ENV): Likewise.
9595 (bug-regex5-ENV): Likewise.
9596 (bug-regex6-ENV): Likewise.
9597 (bug-regex17-ENV): Likewise.
9598 (bug-regex18-ENV): Likewise.
9599 (bug-regex19-ENV): Likewise.
9600 (bug-regex20-ENV): Likewise.
9601 (bug-regex22-ENV): Likewise.
9602 (bug-regex23-ENV): Likewise.
9603 (bug-regex25-ENV): Likewise.
9604 (bug-regex26-ENV): Likewise.
9605 (bug-regex30-ENV): Likewise.
9606 (bug-regex32-ENV): Likewise.
9607 (bug-regex33-ENV): Likewise.
9608 (bug-regex34-ENV): Likewise.
9609 (bug-regex35-ENV): Likewise.
9610 (tst-rxspencer-ENV): Likewise.
9611 (tst-rxspencer-no-utf8-ENV): Likewise.
9612 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9613 (tst-sscanf-ENV): Likewise.
9614 (tst-swprintf-ENV): Likewise.
9615 (tst-swscanf-ENV): Likewise.
9616 (test-vfprintf-ENV): Likewise.
9617 (scanf13-ENV): Likewise.
9618 (bug14-ENV): Likewise.
9619 (tst-grouping-ENV): Likewise.
9620 * stdlib/Makefile (tst-strtod-ENV): Likewise.
9621 (tst-strtod3-ENV): Likewise.
9622 (tst-strtod4-ENV): Likewise.
9623 (tst-strtod5-ENV): Likewise.
9624 (testmb2-ENV): Likewise./
9625 * string/Makefile (tst-strxfrm-ENV): Likewise.
9626 (tst-strxfrm2-ENV): Likewise.
9627 (bug-strcoll1-ENV): Likewise.
9628 (test-strcasecmp-ENV): Likewise.
9629 (test-strncasecmp-ENV): Likewise.
9630 * time/Makefile (tst-strptime-ENV): Likewise.
9631 (tst-ftime_l-ENV): Likewise.
9632 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9633 (tst-mbrtowc-ENV): Likewise.
9634 (tst-wcrtomb-ENV): Likewise.
9635 (tst-mbrtowc2-ENV): Likewise.
9636 (tst-c16c32-1-ENV): Likewise.
9637 (tst-mbsnrtowcs-ENV): Likewise.
9639 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
9641 * manual/resource.texi (How to get information about the memory
9642 subsystem?): Fix typo.
9643 Reported by Peon de la Parra Ivan <peon@keba.com>
9645 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
9648 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9649 (pthread_spin_lock): Branch out of spin loop to proper location.
9650 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9651 (pthread_spin_lock): Likewise.
9653 * nptl/tst-spin4.c: New test.
9654 * nptl/Makefile (tests): Add tst-spin4.
9656 2014-06-03 Andreas Schwab <schwab@suse.de>
9659 * resolv/res_send.c (send_dg): Reload file descriptor after
9662 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
9664 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9666 2014-06-03 Richard Henderson <rth@redhat.com>
9668 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9669 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9670 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9671 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
9672 in the SAVE_PID block.
9673 (__libc_vfork): New alias.
9674 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9676 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9677 child in registers, not on the stack. Remove RESET_PID conditionals.
9678 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9680 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
9682 * sysdeps/aarch64/libm-test-ulps: Regenerate.
9684 2014-06-03 Wilco <wdijkstr@arm.com>
9686 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9687 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9688 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9689 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9690 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9693 2014-06-03 Wilco <wdijkstr@arm.com>
9695 * sysdeps/aarch64/fpu/math_private.h
9696 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9697 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9698 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9699 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9702 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
9704 * crypt/crypt-private.h: Include ufc-crypt.h.
9705 (__b64_from_24bit): Declare extern.
9706 * crypt/crypt_util.c(__b64_from_24bit): New function.
9707 (b64t): New static const variable.
9708 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9709 (b64t): Remove variable.
9710 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9711 * crypt/sha256-crypt.c: Include crypt-private.h.
9712 (b64t): Remove variable.
9713 (__sha256_crypt_r): Remove b64_from_24bit and replace
9714 with __b64_from_24bit.
9715 * crypt/sha512-crypt.c: Likewise.
9717 2014-06-02 Roland McGrath <roland@hack.frob.com>
9719 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9720 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9721 Label the code __libc_vfork rather than __vfork.
9722 [!NOT_IN_libc] (vfork): Define as weak alias.
9723 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9724 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9725 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9727 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
9729 * malloc/malloc.c (malloc_info): Fix format specifier for
9732 2014-06-02 Wilco <wdijkstr@arm.com>
9734 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9737 2014-06-02 Wilco <wdijkstr@arm.com>
9740 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9741 Rewrite to reduce FPCR/FPSR accesses.
9743 2014-06-01 David S. Miller <davem@davemloft.net>
9745 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9747 2014-05-31 David S. Miller <davem@davemloft.net>
9749 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9750 to occur in round to nearest mode when |x| >= 2.0
9752 2014-05-30 Richard Henderson <rth@twiddle.net>
9754 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9755 (PSEUDO_RET_NOERRNO): Remove.
9756 (ret): Don't redefine.
9757 (ret_NOERRNO): Define in terms of ret.
9758 (ret_ERRVAL): Likewise.
9760 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9761 use of PSEUDO_RET; perform the error check directly.
9763 2014-05-30 Marko Myllynen <myllynen@redhat.com>
9765 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9768 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9770 * malloc/malloc (malloc_info): Fix formatting.
9772 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9773 Roland McGrath <roland@hack.frob.com>
9775 * malloc/malloc (malloc_info): Also print mmapped statistics.
9777 2014-05-30 Roland McGrath <roland@hack.frob.com>
9779 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9780 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9782 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
9784 * malloc/malloc.c (malloc_info): Inline mi_arena.
9786 2014-05-29 Richard Henderson <rth@twiddle.net>
9788 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9789 Remove comma before expanding ASM_ARGS_##nr.
9790 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9791 Make _x0 a strict output; make _x8 a strict input; adjust expansion
9793 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9794 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9795 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9796 (ASM_ARGS_1): Add leading comma.
9798 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9799 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9800 to __errno_location.
9801 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9802 Remove the expected plt for __errno_location.
9804 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9805 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9808 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9809 Always allocate 64 bytes of stack frame. Use ldp/stp to create
9810 it and break it down.
9811 (DOCARGS_0, DOCARGS_1): Do nothing.
9812 (DOCARGS_2): Update to store into the new stack frame.
9813 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9814 (UNDOCARGS_1): Update to restore from the new stack frame.
9815 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9816 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9818 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9819 (SINGLE_THREAD_P): New parameter for result regno.
9820 (PSEUDO): Update to match; use cbz instead of beq.
9822 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9823 Use ENTRY to define the _nocancel entry point. Share the syscall
9824 and syscall error check paths with the cancel path.
9827 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9828 whitespace; tabs before and after asm mnemonics.
9830 2014-05-29 Eric Wong <normalperson@yhbt.net>
9833 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9834 Call fstat64 or stat64 internally, depending on arguments passed.
9835 Replace stat buffer argument with file descriptor argument.
9836 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9837 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9838 Pass fd to __internal_statvfs instead of calling fstat64.
9839 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9840 Pass fd to __internal_statvfs64 instead of calling fstat64.
9841 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9842 Pass -1 to __internal_statvfs instead of calling stat64.
9843 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9844 Pass -1 to __internal_statvfs64 instead of calling stat64.
9846 2014-05-28 Roland McGrath <roland@hack.frob.com>
9848 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9849 that was previously under [RESET_PID].
9850 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9852 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9853 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9855 2014-05-27 Roland McGrath <roland@hack.frob.com>
9857 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9859 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9860 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9862 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
9864 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9866 2014-05-27 Andreas Schwab <schwab@suse.de>
9868 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9870 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9871 * elf/rtld.c (init_tls, dl_main): Likewise.
9872 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9873 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9874 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9875 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9876 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9877 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9878 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9879 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9880 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9881 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9882 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9883 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9884 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9885 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9886 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9887 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9888 * sysdeps/generic/tls.h: Update description.
9890 2014-05-27 Will Newton <will.newton@linaro.org>
9893 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9894 and restore r2 rather than just restoring.
9896 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9899 * libio/tst-ftell-append.c: New test case.
9900 * libio/Makefile (tests): Add test case.
9901 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9903 * libio/wfileops.c (do_ftell_wide): Likewise.
9905 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9909 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9913 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9914 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9915 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9916 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9917 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9918 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9919 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9922 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9925 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9926 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9927 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9928 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9929 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9931 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9932 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9934 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9936 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9938 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9939 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9940 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9942 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9943 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9944 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9945 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9947 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9950 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9953 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9956 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9960 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9963 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9965 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9968 conditional [RESET_PID].
9969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9970 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9972 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9975 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9977 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9978 (__libc_vfork): New strong alias.
9979 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9981 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9986 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9987 (__libc_vfork): New strong alias.
9988 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9990 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9993 2014-05-26 Carlos O'Donell <carlos@redhat.com>
9995 * malloc/malloc.c (mi_arena): New function.
9996 (malloc_info): Remove nested function mi_arena. Call non-nosted
9999 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10001 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
10003 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
10004 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
10005 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
10006 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
10007 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
10008 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
10009 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
10011 2014-05-26 Andreas Schwab <schwab@suse.de>
10014 * locale/programs/repertoire.c (repertoire_read): Add slash
10015 between I18NPATH element and file name.
10016 * locale/programs/locfile.c (locfile_read): Likewise.
10018 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10020 * nptl/pthread_mutexattr_settype.c
10021 (__pthread_mutexattr_settype):
10022 Disable lock elision for PTHREAD_MUTEX_NORMAL.
10024 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
10026 * nptl/tst-mutex5 (do_test):
10027 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
10029 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10031 * benchtests/README: Document 'init' directive.
10032 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
10034 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
10035 (parse_file): Recognize 'init' directive.
10037 2014-05-26 Kyle McMartin <kyle@redhat.com>
10040 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
10041 alignment of struct pthread.
10043 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10046 * nscd/netgroupcache.c (addgetnetgrentX): Look for
10047 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10048 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
10049 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
10051 2014-05-25 Richard Henderson <rth@twiddle.net>
10053 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10054 (SINGLE_THREAD_P_PIC): Remove.
10055 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
10056 (SINGLE_THREAD_P_PIC): Remove.
10058 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
10059 branch to syscall error ...
10060 (PSEUDO): ... here.
10061 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
10062 from __local_syscall_error to .Lsyscall_error.
10063 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
10064 (SYSCALL_ERROR): Update label name.
10066 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10067 Do not use DOARGS/UNDOARGS.
10068 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
10069 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
10070 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
10071 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
10072 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
10074 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
10077 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
10078 define if !NOT_IN_libc.
10079 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
10080 define with non-default symbol versions.
10082 2014-05-23 Richard Henderson <rth@twiddle.net>
10084 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
10085 (vfork, __vfork): Define via compat_symbol.
10087 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
10088 [!HAVE_IFUNC] (vfork_compat): Remove.
10089 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
10091 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10094 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
10095 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
10098 2014-05-23 Richard Henderson <rth@twiddle.net>
10100 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
10101 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
10102 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
10103 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
10105 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
10106 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
10107 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
10108 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
10109 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
10110 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
10111 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
10112 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
10113 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
10114 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
10115 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
10116 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
10117 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
10118 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
10119 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
10120 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
10121 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
10122 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
10123 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
10124 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
10125 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
10126 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
10127 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
10128 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
10129 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
10130 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
10131 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
10132 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
10133 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
10134 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
10135 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
10136 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
10137 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
10138 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
10139 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
10140 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
10141 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
10142 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
10143 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
10144 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
10145 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
10146 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
10147 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
10148 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
10149 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
10150 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
10151 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
10152 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
10153 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
10154 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
10155 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
10156 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
10157 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
10158 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
10159 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10160 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10162 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10163 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10164 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
10165 before exiting on error.
10166 (__libc_vfork): New strong alias.
10167 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10168 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10170 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10171 that was previously under [RESET_PID].
10172 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10174 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10176 2014-05-23 Joseph Myers <joseph@codesourcery.com>
10179 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10180 value when x - 1 is zero.
10181 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10182 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10183 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10184 0.0L for an argument of 1.0L.
10185 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10187 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10188 value when x - 1 is zero.
10189 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10190 * sysdeps/i386/fpu/libm-test-ulps: Update.
10191 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10193 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
10195 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10196 alphasort and versionsort.
10198 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10200 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10202 [copysignf]: Likewise.
10204 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
10206 * crypt/md5-crypt.c: Fix formatting.
10208 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
10210 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10211 (b64_from_24bit): New function.
10213 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10215 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10216 libc_hidden_builtin_def to ifunc.
10217 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10218 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10220 2014-05-21 Roland McGrath <roland@hack.frob.com>
10222 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10223 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10225 2014-05-21 Joseph Myers <joseph@codesourcery.com>
10227 * nscd/Depend (linuxthreads): Remove.
10229 * resolv/Depend (linuxthreads): Remove.
10230 * rt/Depend (linuxthreads): Remove.
10232 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10233 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10234 $(common-objpfx)elf/.
10235 (link-libc-before-gnulib): Likewise.
10236 (elfobjdir): Remove variable.
10237 * Makefile (install): Use $(elf-objpfx) instead of
10238 $(common-objpfx)elf/.
10239 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10241 (link-libc-deps): Likewise.
10242 ($(common-objpfx)libc.so): Likewise.
10243 ($(common-objpfx)linkobj/libc.so): Likewise.
10244 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10245 instead of $(common-objpfx)elf/.
10246 (symbolic-link-list): Likewise.
10247 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10248 [$(cross-compiling) = no]: Likewise.
10249 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10251 (static-gnulib-arch): Likewise.
10252 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10253 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10254 $(common-objpfx)elf/.
10256 2014-05-21 Richard Henderson <rth@redhat.com>
10258 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10259 (SINGLE_THREAD_P): Use the correct width load. Fold
10260 into the ldr offset.
10262 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10263 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10265 2014-05-20 Joseph Myers <joseph@codesourcery.com>
10267 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10268 (libgcc_s_resume): Use __attribute_used__.
10269 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10272 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10274 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10275 optimization when used with float constants.
10277 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10279 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
10282 * locale/nl_langinfo_l.c: Make direct reference to every
10283 _nl_current_CATEGORY symbol.
10284 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10285 (tests-static): Add tst-langinfo-static.
10286 (tests-special): Add tst-langinfo-static.out.
10287 ($(objpfx)tst-langinfo.out): Redirect output.
10288 ($(objpfx)tst-langinfo-static.out): New.
10289 * localedata/tst-langinfo.sh: Send output to stdout.
10290 * localedata/tst-langinfo-static.c: New file.
10293 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10294 when the shift amount is modulo the limb size.
10296 2014-05-20 Richard Henderson <rth@redhat.com>
10299 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10300 Change type of sa_flags from unsigned int to int.
10303 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10305 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10307 2014-05-20 Will Newton <will.newton@linaro.org>
10309 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10310 Test the return value of the system call in the nocancel case.
10312 2014-05-20 Will Newton <will.newton@linaro.org>
10313 Yvan Roux <yvan.roux@linaro.org>
10315 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10316 #include of asm/ptrace.h.
10317 (PTRACE_GET_THREAD_AREA): Remove #undef.
10318 (PTRACE_GETHBPREGS): Likewise.
10319 (PTRACE_SETHBPREGS): Likewise.
10320 (struct user_regs_struct): New structure.
10321 (struct user_fpsimd_struct): New structure.
10322 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10323 #include of asm/ptrace.h and second #include of sys/user.h.
10324 (PTRACE_GET_THREAD_AREA): Remove #undef.
10325 (PTRACE_GETHBPREGS): Likewise.
10326 (PTRACE_SETHBPREGS): Likewise.
10327 (ELF_NGREG): Use new struct user_regs_struct.
10328 (elf_fpregset_t): Use new struct user_fpsimd_struct.
10330 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10332 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10333 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10335 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
10338 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10339 membar to avoid block loads/stores to overlap previous stores.
10341 2014-05-17 Richard Henderson <rth@redhat.com>
10343 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10344 Create the __##syscall_name##_nocancel entry point.
10345 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10346 Remove; let the sysdep-cancel.h code create it.
10348 2014-05-17 David S. Miller <davem@davemloft.net>
10350 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10351 Protect with __USE_GNU.
10352 (TIOCSET_TEMPT): Likewise.
10353 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10354 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10355 these are already provided in bits/ioctl-types.h
10357 2014-05-16 Roland McGrath <roland@hack.frob.com>
10359 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10360 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10362 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10363 Use wait4 regardless of [__NR_waitpid].
10365 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
10368 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10369 (_FP_NANSIGN_Q): Set the quiet bit.
10371 2014-05-16 Joseph Myers <joseph@codesourcery.com>
10373 * benchtests/Makefile
10374 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10375 not $(common-objpfx)math/libm.so.
10376 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10377 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10378 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10379 $(common-objpfx)dlfcn/libdl.so.
10380 ($(objpfx)tst-audit8): Depend on $(libm), not
10381 $(common-objpfx)math/libm.so.
10382 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10383 not $(common-objpfx)dlfcn/libdl.so.
10385 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10386 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
10387 [$(build-shared) = yes].
10388 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10389 $(common-objpfx)nptl/libpthread.so.
10390 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10391 $(common-objpfx)math/libm.so$(libm.so-version) or
10392 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10393 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10394 $(common-objpfx)dlfcn/libdl.so.
10395 * setjmp/Makefile (link-libm): Remove variable.
10396 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10397 * stdio-common/Makefile (link-libm): Remove variable.
10398 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10399 * stdlib/Makefile (link-libm): Remove variable.
10400 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10401 ($(objpfx)tst-strtod-round): Likewise.
10402 ($(objpfx)tst-tininess): Likewise.
10403 ($(objpfx)tst-strtod-underflow): Likewise.
10404 ($(objpfx)tst-strtod6): Likewise.
10405 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10406 $(libdl), not $(common-objpfx)nptl/libpthread.so and
10407 $(common-objpfx)dlfcn/libdl.so.
10409 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10411 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10412 BSD terminal modes definitions.
10414 2014-05-16 Roland McGrath <roland@hack.frob.com>
10416 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10417 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10419 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10420 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10421 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10422 Don't do #include_next.
10423 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10424 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10425 Don't do #include_next.
10426 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10427 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10428 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10429 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10431 2014-05-16 Allan McRae <allan@archlinux.org>
10433 * po/sv.po: Update Swedish translation from translation project.
10435 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10438 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
10441 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10442 errno if the TIOCGPTN ioctl fails with an error different than
10444 * login/tst-ptsname.c: New file.
10445 * login/Makefile (tests): Add tst-ptsname.
10448 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10451 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10454 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10455 herrno to return EAI_AGAIN.
10457 2014-05-14 Roland McGrath <roland@hack.frob.com>
10459 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10460 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10461 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10462 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10463 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10464 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10465 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10466 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10467 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10468 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10469 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10470 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10471 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10472 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10473 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10474 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10475 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10476 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10477 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10478 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10479 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10480 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10481 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10482 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10483 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10484 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10485 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10486 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10487 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10488 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10489 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10490 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10491 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10492 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10493 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10495 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10496 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10497 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10499 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10500 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10501 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10502 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10503 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10504 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10505 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10506 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10507 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10508 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10509 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10511 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10512 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10513 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10514 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10515 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10516 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10517 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10518 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10519 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10520 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10521 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10522 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10524 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10525 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10526 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10527 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10528 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10529 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10530 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10531 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10532 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10533 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10534 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10535 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10536 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10537 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10538 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10539 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10540 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10541 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10542 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10543 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10545 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10546 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10547 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10549 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10550 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10551 (libpthread-sysdep_routines): Add elision-related stuff here instead.
10552 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10553 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10554 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10555 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10556 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10557 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10558 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10559 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10560 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10561 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10562 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10563 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10564 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10565 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10566 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10567 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10568 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10569 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10570 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10571 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10572 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10573 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10574 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10575 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10576 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10577 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10578 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10579 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10581 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10582 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10584 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10585 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10586 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10587 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10588 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10589 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10591 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10592 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10594 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10595 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10597 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10598 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10600 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10601 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10602 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10603 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10605 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10606 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10607 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10608 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10609 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10610 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10611 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10612 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10614 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10615 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10617 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10619 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10620 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10621 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10622 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10623 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10625 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10627 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10629 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10630 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10631 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10632 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10633 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10634 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10636 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10637 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10639 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10640 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10642 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10643 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10645 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10646 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10647 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10648 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10650 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10651 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10652 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10653 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10654 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10655 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10656 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10657 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10659 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10660 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10662 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10664 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10665 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10666 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10667 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10668 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10670 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10672 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10674 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10675 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10676 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10677 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10678 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10679 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10680 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10681 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10682 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10683 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10685 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10686 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10688 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10689 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10691 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10692 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10694 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10695 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10696 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10697 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10698 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10699 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10701 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10702 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10703 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10704 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10705 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10706 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10707 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10708 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10710 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10711 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10713 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10715 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10716 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10717 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10718 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10719 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10721 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10723 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10725 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10726 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10727 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10728 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10729 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10730 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10731 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10732 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10733 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10734 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10735 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10737 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10738 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10740 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10741 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10743 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10744 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10745 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10746 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10747 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10748 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10749 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10750 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10751 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10752 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10753 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10754 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10755 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10756 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10757 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10758 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10759 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10760 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10762 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10763 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10764 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10765 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10767 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10768 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10769 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10770 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10771 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10772 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10773 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10774 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10776 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10777 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10779 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10780 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10781 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10782 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10783 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10784 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10785 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10786 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10787 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10788 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10789 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10790 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10791 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10792 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10793 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10794 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10795 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10797 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10798 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10799 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10800 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10801 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10803 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10804 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10805 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10806 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10807 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10808 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10809 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10810 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10811 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10812 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10814 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10815 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10817 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10818 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10819 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10820 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10821 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10822 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10823 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10824 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10825 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10826 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10827 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10828 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10829 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10830 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10831 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10833 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10835 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10837 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10839 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10841 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10843 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10845 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10847 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10849 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10851 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10852 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10853 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10854 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10855 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10856 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10857 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10858 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10859 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10860 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10861 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10862 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10863 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10864 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
10865 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
10867 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10868 that was previously under [RESET_PID].
10869 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10870 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10871 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10873 * sysdeps/i386/nptl/Implies: New file.
10874 * sysdeps/x86_64/nptl/Implies: New file.
10875 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10876 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10877 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10878 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10880 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10881 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10882 (__libc_vfork): New strong alias.
10883 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10884 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10886 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10887 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10888 (__libc_vfork): New strong alias.
10889 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10890 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10892 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10893 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10894 (__libc_vfork): New strong alias.
10895 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10896 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10897 * nptl/pt-vfork.c: New file.
10898 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10899 (libpthread: GLIBC_2.20): New version set (empty).
10901 2014-05-14 Will Newton <will.newton@linaro.org>
10903 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10906 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10909 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10910 arguments with exponent 65 or above.
10911 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10912 arguments 0x1p113L or above.
10913 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10914 to arguments 0x1p107L or above.
10915 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10916 positive arguments with exponent 65 or above.
10917 * math/auto-libm-test-in: Add more tests of log1p.
10918 * math/auto-libm-test-out: Regenerated.
10921 * math/s_cacos.c (__cacos): Ensure zero real part of result from
10922 non-finite arguments is +0.
10923 * math/s_cacosf.c (__cacosf): Likewise.
10924 * math/s_cacosl.c (__cacosl): Likewise.
10925 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10926 * sysdeps/i386/fpu/libm-test-ulps: Update.
10927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10930 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10932 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10933 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10934 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10935 for explicit high bit of mantissa when testing for argument equal
10937 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10938 * sysdeps/i386/fpu/libm-test-ulps: Update.
10939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10942 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10943 (__erf): Scale by 16 instead of 8 in potentially underflowing
10944 case. Ensure exception if result actually underflows.
10945 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10946 (__erff): Scale by 16 instead of 8 in potentially underflowing
10947 case. Ensure exception if result actually underflows.
10948 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10949 (efx8): Remove variable.
10950 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10951 case. Ensure exception if result actually underflows.
10952 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10953 (efx8): Remove variable.
10954 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10955 case. Ensure exception if result actually underflows.
10956 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10957 (efx8): Remove variable.
10958 (__erfl): Scale by 16 instead of 8 in potentially underflowing
10959 case. Ensure exception if result actually underflows.
10960 * math/auto-libm-test-in: Add more tests of erf.
10961 * math/auto-libm-test-out: Regenerated.
10963 2014-05-14 Andreas Schwab <schwab@suse.de>
10965 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10966 Remove code conditionalized on USE___THREAD.
10968 * config.h.in (HAVE_PT_CHOWN): Define as 0.
10969 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10972 2014-05-14 Joseph Myers <joseph@codesourcery.com>
10974 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10975 Define unconditionally.
10976 (__ASSUME_O_CLOEXEC): Likewise.
10977 (__ASSUME_SOCK_CLOEXEC): Likewise.
10978 (__ASSUME_IN_NONBLOCK): Likewise.
10979 (__ASSUME_PIPE2): Likewise.
10980 (__ASSUME_EVENTFD2): Likewise.
10981 (__ASSUME_SIGNALFD4): Likewise.
10982 (__ASSUME_DUP3): Likewise.
10983 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10984 (__ASSUME_DUP3): Do not define.
10985 (__ASSUME_EVENTFD2): Likewise.
10986 (__ASSUME_IN_NONBLOCK): Likewise.
10987 (__ASSUME_O_CLOEXEC): Likewise.
10988 (__ASSUME_PIPE2): Likewise.
10989 (__ASSUME_SIGNALFD4): Likewise.
10990 (__ASSUME_SOCK_CLOEXEC): Likewise.
10991 (__ASSUME_UTIMES): Undefine.
10992 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10993 (__ASSUME_UTIMES): Do not define.
10994 (__ASSUME_O_CLOEXEC): Likewise.
10995 (__ASSUME_SOCK_CLOEXEC): Likewise.
10996 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10997 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10999 (__ASSUME_PIPE2): Likewise.
11000 (__ASSUME_EVENTFD2): Likewise.
11001 (__ASSUME_SIGNALFD4): Likewise.
11002 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
11003 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
11005 (__ASSUME_EVENTFD2): Likewise.
11006 (__ASSUME_SIGNALFD4): Likewise.
11007 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
11008 (__ASSUME_32BITUIDS): Likewise.
11009 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
11010 (__ASSUME_IPC64): Likewise.
11011 (__ASSUME_ST_INO_64_BIT): Likewise.
11012 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
11013 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
11014 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11015 (__ASSUME_UTIMES): Do not define.
11016 (__ASSUME_PSELECT): Likewise.
11017 (__ASSUME_PPOLL): Likewise.
11018 (__ASSUME_O_CLOEXEC): Likewise.
11019 (__ASSUME_SOCK_CLOEXEC): Likewise.
11020 (__ASSUME_IN_NONBLOCK): Likewise.
11021 (__ASSUME_PIPE2): Likewise.
11022 (__ASSUME_EVENTFD2): Likewise.
11023 (__ASSUME_SIGNALFD4): Likewise.
11024 (__ASSUME_DUP3): Likewise.
11025 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11026 (__ASSUME_UTIMES): Likewise.
11027 (__ASSUME_O_CLOEXEC): Likewise.
11028 (__ASSUME_SOCK_CLOEXEC): Likewise.
11029 (__ASSUME_IN_NONBLOCK): Likewise.
11030 (__ASSUME_PIPE2): Likewise.
11031 (__ASSUME_EVENTFD2): Likewise.
11032 (__ASSUME_SIGNALFD4): Likewise.
11033 (__ASSUME_DUP3): Likewise.
11034 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11035 (__ASSUME_UTIMES): Likewise.
11036 (__ASSUME_O_CLOEXEC): Likewise.
11037 (__ASSUME_SOCK_CLOEXEC): Likewise.
11038 (__ASSUME_IN_NONBLOCK): Likewise.
11039 (__ASSUME_PIPE2): Likewise.
11040 (__ASSUME_EVENTFD2): Likewise.
11041 (__ASSUME_SIGNALFD4): Likewise.
11042 (__ASSUME_DUP3): Likewise.
11043 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
11045 (__ASSUME_UTIMES): Likewise.
11046 (__ASSUME_EVENTFD2): Likewise.
11047 (__ASSUME_SIGNALFD4): Likewise.
11048 * sysdeps/unix/sysv/linux/tile/kernel-features.h
11049 (__ASSUME_O_CLOEXEC): Likewise.
11050 (__ASSUME_SOCK_CLOEXEC): Likewise.
11051 (__ASSUME_IN_NONBLOCK): Likewise.
11052 (__ASSUME_PIPE2): Likewise.
11053 (__ASSUME_EVENTFD2): Likewise.
11054 (__ASSUME_SIGNALFD4): Likewise.
11055 (__ASSUME_DUP3): Likewise.
11056 (__ASSUME_UTIMES): Undefine.
11058 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
11059 feclearexcept. Remove symbol versioning code.
11060 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
11061 symbol versioning code.
11062 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
11063 symbol versioning code.
11064 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
11065 feupdateenv. Remove symbol versioning code.
11066 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
11067 fegetexceptflag. Remove symbol versioning code.
11068 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
11069 fesetexceptflag. Remove symbol versioning code.
11070 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
11071 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
11072 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
11073 (__posix_fadvise64_l32): Remove prototype.
11074 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
11077 2014-05-13 Roland McGrath <roland@hack.frob.com>
11079 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
11080 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
11081 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
11082 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
11084 2014-05-13 Sami Kerola <kerolasa@iki.fi>
11086 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
11087 current working directory
11089 2014-05-13 Roland McGrath <roland@hack.frob.com>
11091 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
11092 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
11093 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
11094 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
11095 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
11096 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
11097 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
11098 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
11099 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
11100 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
11101 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
11102 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
11103 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
11104 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
11105 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
11106 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
11107 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
11108 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
11109 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
11110 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
11111 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
11112 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
11113 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
11114 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
11115 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
11116 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
11117 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
11118 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
11119 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
11120 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
11121 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
11122 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
11123 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
11124 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
11125 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
11126 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
11127 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
11128 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
11129 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
11130 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
11131 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
11132 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
11134 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
11135 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
11137 * sysdeps/unix/sysv/linux/arm/Makefile
11138 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
11139 Add rt-aeabi_unwind_cpp_pr1.
11140 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
11141 Add nptl-aeabi_unwind_cpp_pr1.
11142 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
11143 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
11144 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
11145 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
11146 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
11147 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
11149 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
11150 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
11151 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
11152 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
11154 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
11155 Deconditionalize the code that was previously under [RESET_PID].
11156 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
11158 * sysdeps/generic/exit-thread.h: New file.
11159 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11160 * include/unistd.h (__exit_thread): Remove declaration.
11161 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11162 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11163 * csu/libc-start.c: Include <exit-thread.h>.
11164 (LIBC_START_MAIN): Pass no argument to __exit_thread.
11165 * nptl/pthread_create.c: Include <exit-thread.h>.
11166 (start_thread): Call __exit_thread in place of __exit_thread_inline.
11167 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11168 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11169 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11170 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11171 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11172 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11173 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11174 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11175 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11176 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11177 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11178 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11179 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11180 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11181 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11182 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11184 2014-05-13 Andreas Schwab <schwab@suse.de>
11186 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11188 2014-05-12 Joseph Myers <joseph@codesourcery.com>
11190 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11191 (__ASSUME_UTIMES): Do not condition on kernel version.
11192 (__ASSUME_PSELECT): Define unconditionally.
11193 (__ASSUME_PPOLL): Likewise.
11194 (__ASSUME_ATFCTS): Likewise.
11195 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11196 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11197 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11198 (__ASSUME_UTIMENSAT): Define unconditionally.
11199 (__ASSUME_PRIVATE_FUTEX): Likewise.
11200 (__ASSUME_FALLOCATE): Likewise.
11201 (__ASSUME_O_CLOEXEC): Likewise.
11202 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11203 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11204 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11205 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11206 (__ASSUME_IN_NONBLOCK): Likewise.
11207 (__ASSUME_PIPE2): Likewise.
11208 (__ASSUME_EVENTFD2): Likewise.
11209 (__ASSUME_SIGNALFD4): Likewise.
11210 (__ASSUME_DUP3): Likewise.
11211 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11212 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11213 (__ASSUME_AT_RANDOM): Likewise.
11214 (__ASSUME_PREADV): Likewise.
11215 (__ASSUME_PWRITEV): Likewise.
11216 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11217 (__ASSUME_F_GETOWN_EX): Define unconditionally.
11218 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11219 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11220 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11221 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11222 (__ASSUME_O_CLOEXEC): Define unconditionally.
11223 (__ASSUME_PSELECT): Do not undefine conditionally.
11224 (__ASSUME_PPOLL): Likewise.
11225 (__ASSUME_ATFCTS): Likewise.
11226 (__ASSUME_SET_ROBUST_LIST): Likewise.
11227 (__ASSUME_UTIMENSAT): Likewise.
11228 (__ASSUME_FDATASYNC): Define unconditionally.
11229 * sysdeps/unix/sysv/linux/arm/kernel-features.h
11230 (__ASSUME_SIGFRAME_V2): Likewise.
11231 )__ASSUME_EVENTFD2): Likewise.
11232 (__ASSUME_SIGNALFD4): Likewise.
11233 (__ASSUME_PSELECT): Do not undefine conditionally.
11234 (__ASSUME_PPOLL): Likewise.
11235 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11236 (__ASSUME_PSELECT): Define unconditionally.
11237 (__ASSUME_PPOLL): Likewise.
11238 (__ASSUME_O_CLOEXEC): Likewise.
11239 (__ASSUME_SOCK_CLOEXEC): Likewise.
11240 (__ASSUME_IN_NONBLOCK): Likewise.
11241 (__ASSUME_PIPE2): Likewise.
11242 (__ASSUME_EVENTFD2): Likewise.
11243 (__ASSUME_SIGNALFD4): Likewise.
11244 (__ASSUME_DUP3): Likewise.
11245 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11246 (__ASSUME_O_CLOEXEC): Likewise.
11247 (__ASSUME_SOCK_CLOEXEC): Likewise.
11248 (__ASSUME_IN_NONBLOCK): Likewise.
11249 (__ASSUME_PIPE2): Likewise.
11250 (__ASSUME_EVENTFD2): Likewise.
11251 (__ASSUME_SIGNALFD4): Likewise.
11252 (__ASSUME_DUP3): Likewise.
11253 * sysdeps/unix/sysv/linux/mips/kernel-features.h
11254 (__ASSUME_EVENTFD2): Likewise.
11255 (__ASSUME_SIGNALFD4): Likewise.
11256 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11258 2014-05-12 Andreas Schwab <schwab@suse.de>
11261 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11262 (_nss_nis_gethostbyname4_r): Return error if item length is larger
11263 than maximum RPC packet size.
11264 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11265 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11266 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11267 (_nss_nis_getservbyport_r): Likewise.
11269 2014-05-12 Will Newton <will.newton@linaro.org>
11271 * malloc/Makefile (tests): Add tst-mallopt.
11272 * malloc/tst-mallopt.c: New file.
11274 2014-05-09 Roland McGrath <roland@hack.frob.com>
11276 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11277 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11279 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11281 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11282 (tst-tlsmod6.so): Likewise.
11284 2014-05-09 Roland McGrath <roland@hack.frob.com>
11286 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11288 2014-05-09 Joseph Myers <joseph@codesourcery.com>
11291 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11292 and <dl-procinfo.h>.
11293 (__fegetenv): Save SSE state in envp->__eip if supported.
11294 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11295 envp->__eip if supported.
11296 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11297 and <dl-procinfo.h>.
11298 (__fesetenv): Always set __eip, __cs_selector, __opcode,
11299 __data_offset and __data_selector in environment to 0. Set SSE
11300 state if supported.
11301 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11303 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11305 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11307 2014-05-09 Will Newton <will.newton@linaro.org>
11309 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11310 and libc_relro_required for ARM.
11311 * sysdeps/arm/preconfigure: Regenerate.
11313 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
11314 Stefan Liebler <stli@linux.vnet.ibm.com>
11316 * config.make.in (enable-lock-elision): New Makefile variable.
11317 * configure.ac: Likewise.
11318 * configure: Regenerate.
11319 * sysdeps/s390/configure.ac:
11320 Add check for gcc transactions support.
11321 * sysdeps/s390/configure: Regenerate.
11322 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11323 Build elision files if enabled.
11324 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11325 Add lock elision support for s390.
11326 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11327 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11328 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11329 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11330 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11331 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11332 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11334 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11336 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11338 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11340 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11341 (__lll_timedlock_elision, __lll_lock_elision)
11342 (__lll_unlock_elision, __lll_trylock_elision)
11343 (lll_timedlock_elision, lll_lock_elision)
11344 (lll_unlock_elision, lll_trylock_elision): Add.
11345 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11346 (pthread_mutex_t): Add lock elision support for s390.
11348 2014-05-14 Wilco <wdijkstr@arm.com>
11350 * sysdeps/arm/fclrexcpt.c: Cleanup.
11351 * sysdeps/arm/fedisblxcpt.c: Cleanup.
11352 * sysdeps/arm/feenablxcpt.c: Cleanup.
11353 * sysdeps/arm/fegetenv.c: Cleanup.
11354 * sysdeps/arm/fegetexcept.c: Cleanup.
11355 * sysdeps/arm/fegetround.c: Cleanup.
11356 * sysdeps/arm/feholdexcpt.c: Cleanup.
11357 * sysdeps/arm/fesetenv.c: Cleanup.
11358 * sysdeps/arm/fesetround.c: Cleanup.
11359 * sysdeps/arm/feupdateenv.c: Cleanup.
11360 * sysdeps/arm/fgetexcptflg.c: Cleanup.
11361 * sysdeps/arm/fraiseexcpt.c: Cleanup.
11362 * sysdeps/arm/fsetexcptflg.c: Cleanup.
11363 * sysdeps/arm/ftestexcept.c: Cleanup.
11364 * sysdeps/arm/get-rounding-mode.h: Cleanup.
11365 * sysdeps/arm/setfpucw.c: Cleanup.
11367 2014-05-09 Will Newton <will.newton@linaro.org>
11369 * sysdeps/arm/armv7/strcmp.S: New file.
11370 * NEWS: Mention addition of ARMv7 optimized strcmp.
11372 2014-05-08 Roland McGrath <roland@hack.frob.com>
11374 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11375 look for %.ac rather than %.in.
11377 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11378 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11379 * sysdeps/mach/hurd/configure: Regenerated.
11380 * sysdeps/unix/sysv/linux/configure: Regenerated.
11382 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11384 2014-05-07 Steve Ellcey <sellcey@mips.com>
11387 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11391 2014-05-07 Andreas Schwab <schwab@suse.de>
11393 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11394 when skipping over non-matching result from nscd.
11396 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
11399 * nptl/sockperf.c (client): Check socket return value.
11402 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11403 nscd security class.
11405 2014-05-06 Roland McGrath <roland@hack.frob.com>
11407 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11408 * sysdeps/arm/unwind.h: ... here.
11410 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
11413 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11416 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
11418 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11419 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11420 multiarch strncpy for PPC64.
11421 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11422 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11423 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11424 multiarch optimizations.
11425 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11426 (__libc_ifunc_impl_list): Likewise.
11427 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11428 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11429 multiarch stpncpy for PPC64.
11430 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11431 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11433 2014-05-06 Andreas Schwab <schwab@suse.de>
11436 * gmon/mcount.c (_MCOUNT_DECL): Use
11437 atomic_compare_and_exchange_bool_acq instead of
11438 catomic_compare_and_exchange_bool_acq.
11440 2014-05-05 Roland McGrath <roland@hack.frob.com>
11442 * elf/Makefile (others, install-bin): Remove pldd.
11443 (pldd-modules): Variable removed.
11444 ($(objpfx)pldd): Target removed.
11445 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11446 (others, install-bin): Append pldd here.
11447 ($(objpfx)pldd): New target.
11449 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11450 to 0, so the first #if test emitted later doesn't see it undefined.
11451 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11452 * sysdeps/gnu/errlist.c: Regenerated.
11454 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11456 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11457 [libc_hidden_builtin_def]: Define to empty value.
11458 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11459 [libc_hidden_builtin_def]: Likewise.
11460 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11461 [libc_hidden_builtin_def]: Likewise.
11462 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11463 [libc_hidden_builtin_def]: Likewise.
11464 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11465 __redirect_memcpy and define ifunc as default hidden symbol.
11466 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11467 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11469 2014-05-04 Adam Conrad <adconrad@0c3.net>
11471 * locale/iso-4217.def: Reintroduce XDR currency.
11473 2014-05-04 Allan McRae <allan@archlinux.org>
11475 * po/eo.po: Update Esperanto translation from translation project.
11477 2014-05-02 Carlos O'Donell <carlos@redhat.com>
11479 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11480 and FEATURE_INDEX_MAX to 1.
11481 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11483 2014-05-01 Steve Ellcey <sellcey@mips.com>
11485 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11486 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11487 * iconvdata/big5.c (ONE_DIRECTION): Define.
11488 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11489 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11490 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11491 * iconvdata/cp932.c (ONE_DIRECTION): Define.
11492 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11493 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11494 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11495 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11496 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11497 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11498 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11499 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11500 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11501 * iconvdata/gbk.c (ONE_DIRECTION): Define.
11502 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11503 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11504 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11505 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11506 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11507 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11508 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11509 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11510 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11511 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11512 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11513 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11514 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11515 * iconvdata/iso646.c (ONE_DIRECTION): Define.
11516 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11517 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11518 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11519 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11520 * iconvdata/johab.c (ONE_DIRECTION): Define.
11521 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11522 * iconvdata/sjis.c (ONE_DIRECTION): Define.
11523 * iconvdata/t.61.c (ONE_DIRECTION): Define.
11524 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11525 * iconvdata/tscii.c (ONE_DIRECTION): Define.
11526 * iconvdata/uhc.c (ONE_DIRECTION): Define.
11527 * iconvdata/unicode.c (ONE_DIRECTION): Define.
11528 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11529 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11530 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11532 2014-05-01 Roland McGrath <roland@hack.frob.com>
11534 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11535 (_IO_JUMPS_OFFSET): Define to 0.
11537 * nptl/sysdeps/pthread/bits/libc-lock.h
11538 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11539 (__libc_lock_define_initialized_recursive): Always define using
11540 initializer. Modern compilers treat uninitialized (implicit zero) and
11541 explicit zero initializers the same (i.e. put the datum in bss).
11543 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11545 * nscd/nscd-client.h: Include <string.h>.
11547 2014-05-01 David S. Miller <davem@davemloft.net>
11550 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11551 multiple zero bytes exist at the end of a string.
11552 Reported by Aurelien Jarno <aurelien@aurel32.net>
11554 * string/test-strcmp.c (check): Add explicit test for situations where
11555 there are multiple zero bytes after the first.
11557 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
11560 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11561 when compiling wprintf.
11562 * stdio-common/tstdiomisc.c (t3): New function.
11565 2014-05-01 Steve Ellcey <sellcey@mips.com>
11567 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11568 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11569 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11570 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11572 2014-05-01 Steve Ellcey <sellcey@mips.com>
11574 * stdlib/longlong.h: Updated from GCC.
11576 2014-05-01 Will Newton <will.newton@linaro.org>
11577 Bernard Ogden <bernie.ogden@linaro.org>
11579 * NEWS: Update fixed bug list.
11582 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11584 2014-04-30 David S. Miller <davem@davemloft.net>
11586 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11587 (libc_feholdexcept_setround_sparc_ctx): New function.
11588 (libc_fesetenv_sparc_ctx): Likewise.
11589 (libc_feupdateenv_sparc_ctx): Likewise.
11590 (libc_feholdsetround_sparc_ctx): Likewise.
11591 (libc_feholdexcept_setround_ctx): Define.
11592 (libc_feholdexcept_setroundf_ctx): Likewise.
11593 (libc_feholdexcept_setroundl_ctx): Likewise.
11594 (libc_fesetenv_ctx): Likewise.
11595 (libc_fesetenvf_ctx): Likewise.
11596 (libc_fesetenvl_ctx): Likewise.
11597 (libc_feupdateenv_ctx): Likewise.
11598 (libc_feupdateenvf_ctx): Likewise.
11599 (libc_feupdateenvl_ctx): Likewise.
11600 (libc_feresetround_ctx): Likewise.
11601 (libc_feresetroundf_ctx): Likewise.
11602 (libc_feresetroundl_ctx): Likewise.
11603 (libc_feholdsetround_ctx): Likewise.
11604 (libc_feholdsetroundf_ctx): Likewise.
11605 (libc_feholdsetroundl_ctx): Likewise.
11607 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11608 with __USE_GNU instead of XOPEN cpp guards.
11610 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11613 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11614 with XOPEN cpp guards.
11616 2014-04-30 Julian Brown <julian@codesourcery.com>
11619 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11622 2014-04-30 Joseph Myers <joseph@codesourcery.com>
11625 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11627 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11628 * sysdeps/unix/sysv/linux/configure: Regenerated.
11629 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11630 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11631 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11632 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11633 * README: Update reference to required Linux kernel version.
11634 * manual/install.texi (Linux): Update reference to required Linux
11635 kernel headers version.
11636 * INSTALL: Regenerated.
11638 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11640 [POSIX] (limits.h): Likewise.
11641 [POSIX] (math.h): Likewise.
11642 [POSIX] (sys/wait.h): Likewise.
11643 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11645 [POSIX] (stddef.h): Do not allow header inclusion.
11647 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11649 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11651 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
11653 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11654 Return immediately after lll_futex_wake.
11656 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11659 * nscd/nscd-client.h (datahead_init_common): Initialize entire
11661 (datahead_init_pos): Call datahead_init_common early.
11662 (datahead_init_neg): Likewise.
11664 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11665 datahead_init_neg): New functions.
11666 * nscd/aicache.c (addhstaiX): Use them.
11667 * nscd/grpcache.c (cache_addgr): Likewise.
11668 * nscd/hstcache.c (cache_addhst): Likewise.
11669 * nscd/initgrcache.c (addinitgroupsX): Likewise.
11670 * nscd/netgroupcache.c (do_notfound): Likewise.
11671 (addgetnetgrentX): Likewise.
11672 (addinnetgrX): Likewise.
11673 * nscd/pwdcache.c (cache_addpw): Likewise.
11674 * nscd/servicescache.c (cache_addserv): Likewise.
11676 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
11677 Atsushi Onoe <atsushi@onoe.org>
11682 * resolv/res_query.c (__libc_res_nsearch): Return if at least
11683 one response is valid.
11684 * resolv/res_send.c (send_dg): Check for validity of other
11685 response if the current response is a referral.
11687 2014-04-29 Steve Ellcey <sellcey@mips.com>
11689 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11691 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
11694 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11695 Always divide by positive zero when computing -Inf result.
11696 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11697 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11699 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11701 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11702 FPSCR if value do not change.
11703 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11704 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11705 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11706 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11707 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11708 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11711 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
11713 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11714 * sysdeps/unix/sysv/linux/hppa: Move directory from
11715 ports/systeps/unix/sysv/linux/hppa.
11716 * README: Update listing for hppa-*-linux-gnu.
11718 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
11721 * manual/stdio.texi (Hook functions): Fix types of stream hook
11724 * socket/sys/socket.h: Fix typo in comment.
11726 2014-04-28 Wilco <wdijkstr@arm.com>
11728 * sysdeps/arm/fenv_private.h: New file.
11729 * sysdeps/arm/math_private.h: New file.
11730 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11732 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
11734 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11736 (La_x86_64_retval): Likewise.
11738 2014-04-24 Ian Bolton <ian.bolton@arm.com>
11740 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11741 fpsr if value didn't change.
11742 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11743 to fpcr if value didn't change.
11744 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11745 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11746 fpsr or fpcr if value didn't change.
11747 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11748 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11749 fpcr if value didn't change.
11750 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11751 to fpsr if value didn't change.
11753 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
11755 * nptl/tst-sem3.c: Use test-skeleton.c
11756 (main): Rename to do_test. Use return instead of
11758 * nptl/tst-sem4.c: Use test-skeleton.c
11759 (main): Rename to do_test.
11761 2014-04-22 David S. Miller <davem@davemloft.net>
11763 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11764 (struct sigaction): New struct member __glibc_reserved0, change
11765 type of sa_flags to int.
11767 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
11769 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11770 (COUNT_LEADING_ZEROS_0): Define for AArch64.
11772 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
11774 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11775 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11777 2014-04-22 Will Newton <will.newton@linaro.org>
11778 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
11780 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11781 (__longjmp): Add longjmp and longjmp_target SystemTap
11783 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11784 (__sigsetjmp): Add setjmp SystemTap probe.
11786 2014-04-17 Carlos O'Donell <carlos@redhat.com>
11788 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11789 match manual order.
11791 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11793 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11795 * sysdeps/powerpc/fpu/fenv_private.h
11796 (libc_feholdexcept_setroundl_ctx): Define to
11797 libc_feholdexcept_setround_ppc_ctx.
11798 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11799 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11800 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11801 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11803 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11805 * sysdeps/aarch64/math-tests.h: New file.
11807 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
11809 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11812 Check and set bit_AVX2_Usable.
11813 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11815 (bit_AVX2): Likewise.
11816 (index_AVX2_Usable): Likewise.
11817 (CPUID_AVX2): Likewise.
11818 (HAS_AVX2): Likewise.
11820 2014-04-17 Will Newton <will.newton@linaro.org>
11822 * manual/setjmp.texi (System V contexts): Add note that
11823 calling setcontext on a context created by a call to a
11824 signal handler is undefined. Update text to note that
11825 setcontext from a signal handler is possible but not
11829 * stdlib/tst-setcontext.c: Include signal.h.
11830 (main): Check that the signal stack before and
11831 after swapcontext is the same.
11833 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11834 Re-implement to restore registers in user code and avoid
11835 rt_sigreturn system call.
11837 2014-04-17 Wilco <wdijkstr@arm.com>
11839 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11840 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11841 * math/test-fenv.c: Skip exception trap tests on targets which only
11842 support non-stop mode.
11844 2014-04-17 Ian Bolton <ian.bolton@arm.com>
11845 Wilco Dijkstra <wilco.dijkstra@arm.com>
11847 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11848 (libc_feholdsetround_aarch64_ctx)
11849 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11850 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11851 (libc_feresetround_ctx, libc_feresetroundf_ctx)
11852 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11853 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11854 (libc_feresetround_noexl_ctx): Define.
11856 2014-04-16 Richard Henderson <rth@redhat.com>
11858 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11860 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11863 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11864 const from the non-libc, non-ldso copy.
11866 * sysdeps/alpha/libm-test-ulps: Regenerate.
11868 2014-04-16 Ian Bolton <ian.bolton@arm.com>
11869 Wilco Dijkstra <wilco.dijkstra@arm.com>
11871 * sysdeps/aarch64/fpu/math_private.h: New file.
11873 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
11875 * sysdeps/aarch64/libm-test-ulps: Regenerate.
11877 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
11880 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11881 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11882 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11883 Intel MPX bound registers before _dl_profile_fixup.
11884 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11885 registers after _dl_profile_fixup. Save and restore bound
11886 registers bnd0/bnd1 when calling _dl_call_pltexit.
11887 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11888 (LR_BND_OFFSET): Likewise.
11889 (LRV_BND0_OFFSET): Likewise.
11890 (LRV_BND1_OFFSET): Likewise.
11892 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11894 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11896 * sysdeps/mach/hurd/i386/tls.h: ... here.
11897 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11898 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11901 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
11903 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11905 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11907 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11909 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
11912 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11913 * sysdeps/s390/configure: Regenerate.
11916 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11917 Set round-to-nearest internally to reduce error accumulation.
11919 2014-04-16 Alan Modra <amodra@gmail.com>
11923 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11924 * math/libm-test.inc (frexp_test_data): Add tests.
11925 * NEWS: Update fixed bug list.
11927 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11929 * benchtests/Makefile: Depend on libraries in build directory.
11930 (bench-math): Separate out math tests.
11931 (bench-pthread): Separate out pthread tests.
11932 (bench): Include math and pthread tests.
11934 2014-04-14 Carlos O'Donell <carlos@redhat.com>
11937 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11938 _dl_debug_initialize.
11940 * configure.ac: Remove SELinux header check.
11941 * configure: Regenerate.
11942 * nscd/selinux.c (perms): Array of const char* to permission names.
11943 (nscd_request_avc_has_perm): Call security_deny_unknown to find
11944 default policy. Call string_to_security_class and string_to_av_perm to
11945 translate strings. Enforce default policy and call avs_has_perm with
11946 results of translated strings.
11948 2014-04-13 David S. Miller <davem@davemloft.net>
11950 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11952 2014-04-12 Allan McRae <allan@archlinux.org>
11955 * manual/string.texi (Collation Functions): Fix qsort argument
11957 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11959 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
11961 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11962 Make the test a no-op if there are no exceptions defined.
11964 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
11966 * elf/Makefile (tests): make tst-dlopen-aout conditional on
11967 enable-hardcoded-path-in-tests
11969 2014-04-11 Will Newton <will.newton@linaro.org>
11971 * benchtests/Makefile (extra-objs): Add json-lib.o.
11972 (bench-func): Tidy up JSON output.
11973 * benchtests/bench-skeleton.c: Include json-lib.h.
11974 (main): Use JSON library functions to do output of
11976 * benchtests/bench-timing-type.c (main): Output the
11977 timing type simply, leaving formatting to the user.
11978 * benchtests/json-lib.c: New file.
11979 * benchtests/json-lib.h: Likewise.
11981 2014-04-11 Torvald Riegel <triegel@redhat.com>
11984 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11985 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
11986 memory barriers. Add comments.
11987 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11988 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11989 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11990 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11991 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11992 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11994 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11996 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11997 * sysdeps/s390/s390-64/configure.ac: ... this ...
11998 * sysdeps/s390/configure.ac: ... to here.
11999 * sysdeps/s390/s390-32/configure: Delete file.
12000 * sysdeps/s390/s390-64/configure: Delete file.
12001 * sysdeps/s390/configure: Regenerate.
12003 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
12005 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
12007 2014-04-11 Will Newton <will.newton@linaro.org>
12009 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
12010 to zero if it is not defined elsewhere. (mtrim): Test
12011 the value of MALLOC_DEBUG with #if rather than #ifdef.
12013 2014-04-10 Torvald Riegel <triegel@redhat.com>
12015 * benchtests/pthread_once-inputs: New file.
12016 * benchtests/pthread_once-source.c: New file.
12017 * benchtests/README: Update documentation.
12019 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
12020 H.J. Lu <hongjiu.lu@intel.com>
12023 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
12024 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
12025 * sysdeps/x86_64/configure: Regenerated.
12026 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
12028 (REGISTER_SAVE_RAX): Likewise.
12029 (REGISTER_SAVE_RCX): Likewise.
12030 (REGISTER_SAVE_RDX): Likewise.
12031 (REGISTER_SAVE_RSI): Likewise.
12032 (REGISTER_SAVE_RDI): Likewise.
12033 (REGISTER_SAVE_R8): Likewise.
12034 (REGISTER_SAVE_R9): Likewise.
12035 (REGISTER_SAVE_BND0): Likewise.
12036 (REGISTER_SAVE_BND1): Likewise.
12037 (REGISTER_SAVE_BND2): Likewise.
12038 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
12039 bound registers when calling _dl_fixup.
12041 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12043 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
12044 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
12046 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
12047 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
12048 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
12049 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
12050 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
12051 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
12052 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
12054 2014-04-09 Peter Brett <peter@peter-b.co.uk>
12057 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
12058 pathconf(_PC_NAME_MAX).
12060 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12062 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
12063 Remove macro usage.
12064 (__PTHREAD_SPINS): Move definition to ...
12065 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12066 (__PTHREAD_SPINS): ... here.
12067 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12068 (__PTHREAD_SPIN): Likewise.
12069 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
12070 (__PTHREAD_SPIN): Likewise.
12071 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
12072 (__PTHREAD_SPIN): Likewise.
12073 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
12074 (__PTHREAD_SPIN): Likewise.
12075 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
12076 (__PTHREAD_SPIN): Likewise.
12077 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
12078 (__PTHREAD_SPIN): Likewise.
12079 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
12080 (__PTHREAD_SPIN): Likewise.
12081 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
12082 (__PTHREAD_SPIN): Likewise.
12083 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
12084 (__PTHREAD_SPIN): Likewise.
12085 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
12086 (__PTHREAD_SPIN): Likewise.
12087 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
12088 (__PTHREAD_SPIN): Likewise.
12089 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
12090 (__PTHREAD_SPIN): Likewise.
12092 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
12093 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
12094 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
12095 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
12097 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
12098 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
12099 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
12100 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
12101 correct imply path.
12102 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
12103 strlen symbol for non multi-arch builds.
12104 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
12105 missing hidden_def and weak_alias.
12107 2014-04-08 Carlos O'Donell <carlos@redhat.com>
12109 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
12111 2014-04-07 Will Newton <will.newton@linaro.org>
12113 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
12114 and contents. [!_LIBC] Remove #ifndef and contents.
12115 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
12116 * string/memccpy.c (__memccpy): Use ANSI prototype.
12117 * string/memfrob.c (memfrob): Likewise.
12118 * string/strcoll.c (STRCOLL): Likewise.
12119 * string/strlen.c (strlen): Likewise.
12120 * string/strtok.c (STRTOK): Likewise.
12121 * string/strcat.c: Remove unused #include of memcopy.h.
12122 (strcat): Use ANSI prototype.
12123 * string/strchr.c: Remove unused #include of memcopy.h.
12124 (strchr): Use ANSI prototype.
12125 * string/strcmp.c: Remove unused #include of memcopy.h.
12126 (strcmp): Use ANSI prototype.
12127 * string/strcpy.c: Remove unused #include of memcopy.h.
12128 (strcpy): Use ANSI prototype.
12130 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12132 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
12133 * config.make.in (config-extra-cppflags): Set it from
12134 libc_extra_cppflags.
12135 * configure.ac (libc_extra_cflags): Make it accumulate over
12136 configure fragments.
12137 (libc_extra_cppflags): New flag.
12138 * configure. Regenerate.
12139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
12140 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
12141 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
12142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
12145 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
12146 result for FE_DOWNWARD rounding mode.
12147 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
12149 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12151 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
12153 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
12154 in function argument name.
12156 2014-04-03 David Svoboda <svoboda@cert.org>
12159 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12162 2014-04-03 Roland McGrath <roland@hack.frob.com>
12164 * elf/dl-unmap-segments.h: New file.
12165 * sysdeps/generic/ldsodefs.h
12166 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12167 * elf/dl-close.c: Include <dl-unmap-segments.h>.
12168 * elf/dl-fptr.c: Likewise.
12169 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12170 * sysdeps/aarch64/tlsdesc.c: Likewise.
12171 * sysdeps/arm/tlsdesc.c: Likewise.
12172 * sysdeps/i386/tlsdesc.c: Likewise.
12173 * sysdeps/tile/dl-runtime.c: Likewise.
12174 * sysdeps/x86_64/tlsdesc.c: Likewise.
12175 * elf/dl-load.h: New file.
12176 * elf/dl-load.c: Include it.
12177 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12178 Macros moved to dl-load.h.
12179 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12180 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12181 Use _dl_unmap_segments in place of __munmap.
12182 Break out segment-mapping loop into ...
12183 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12185 2014-04-03 Will Newton <will.newton@linaro.org>
12187 * elf/dl-lookup.c (do_lookup_x): Remove comment
12188 referring to nested function and move variable
12189 declarations down to before first use.
12191 2014-04-02 Joseph Myers <joseph@codesourcery.com>
12195 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12197 * math/s_catanf.c (__catanf): Likewise.
12198 * math/s_catanh.c (__catanh): Likewise.
12199 * math/s_catanhf.c (__catanhf): Likewise.
12200 * math/s_catanhl.c (__catanhl): Likewise.
12201 * math/s_catanl.c (__catanl): Likewise.
12202 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12203 by positive zero when computing -Inf result.
12204 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12205 (catanh_test): Likewise.
12206 * sysdeps/i386/fpu/libm-test-ulps: Update.
12207 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12210 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12211 instead of using underflowing value in computing result.
12212 * math/s_clog10.c (__clog10): Likewise.
12213 * math/s_clog10f.c (__clog10f): Likewise.
12214 * math/s_clog10l.c (__clog10l): Likewise.
12215 * math/s_clogf.c (__clogf): Likewise.
12216 * math/s_clogl.c (__clogl): Likewise.
12217 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12218 (clog10_test): Likewise.
12219 * sysdeps/i386/fpu/libm-test-ulps: Update.
12220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12222 2014-04-02 Alan Modra <amodra@gmail.com>
12225 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12226 output when value is near a power of two. Use int64_t for lx and
12227 remove casts. Use decimal rather than hex exponent constants.
12228 Don't use long double multiplication when double will suffice.
12229 * math/libm-test.inc (nextafter_test_data): Add tests.
12230 * NEWS: Add 16739 and 16786 to bug list.
12232 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12234 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12236 2014-04-01 Will Newton <will.newton@linaro.org>
12238 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12239 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
12241 2014-04-01 Florian Weimer <fweimer@redhat.com>
12244 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12245 * nptl/tst-setuid2.c: New file.
12246 * nptl/Makefile (xtests): Add tst-setuid2.
12248 2014-04-01 Alan Modra <amodra@gmail.com>
12251 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12253 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12257 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12258 set errno as appropriate.
12259 * math/w_scalbf.c (__scalbf): Likewise.
12260 * math/w_scalbl.c (__scalbl): Likewise.
12261 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12262 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12263 * math/libm-test.inc (scalb_test_data): Add errno expectations.
12264 Add more NaN tests.
12267 * math/w_atan2.c: Include <errno.h>.
12268 (__atan2): Set errno for result underflowing to zero.
12269 * math/w_atan2f.c: Include <errno.h>.
12270 (__atan2f): Set errno for result underflowing to zero.
12271 * math/w_atan2l.c: Include <errno.h>.
12272 (__atan2l): Set errno for result underflowing to zero.
12273 * math/auto-libm-test-in: Don't allow missing errno for some atan2
12275 * math/auto-libm-test-out: Regenerated.
12277 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12279 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12280 Encode instruction correctly in little endian.
12281 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12283 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12285 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12287 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12290 2014-03-31 Joseph Myers <joseph@codesourcery.com>
12293 * sysdeps/unix/sysv/linux/kernel-features.h
12294 [__sparc__ && !__arch64__ && !__sparc_v9__]
12295 (__ASSUME_SET_ROBUST_LIST): Do not define.
12296 [__sparc__ && !__arch64__ && !__sparc_v9__]
12297 (__ASSUME_FUTEX_LOCK_PI): Likewise.
12298 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12300 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12301 (__ASSUME_FUTEX_LOCK_PI): Undefine.
12302 (__ASSUME_REQUEUE_PI): Likewise.
12303 (__ASSUME_SET_ROBUST_LIST): Likewise.
12304 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12305 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12307 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12308 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12310 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12312 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12314 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12315 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12317 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12318 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12322 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12323 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12324 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12326 2014-03-31 Will Newton <will.newton@linaro.org>
12328 * benchtests/Makefile (bench): Add ffs and ffsll to list
12330 * benchtests/ffs-inputs: New file.
12331 * benchtests/ffsll-inputs: Likewise.
12333 2014-03-29 Joseph Myers <joseph@codesourcery.com>
12336 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12337 too large before casting to int.
12338 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12339 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12340 * math/libm-test.inc (scalb_test_data): Add more tests.
12342 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12344 * benchtests/Makefile (DETAILED_OPT): New make option.
12345 (bench-func): Run benchmark program with -d if DETAILED_OPT is
12347 * benchtests/bench-skeleton.c: Include stdbool.h.
12348 (main): Store and print timings per input.
12349 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12350 member to each argument value.
12351 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12352 (_print_arg_data): Initialize per-input timing to 0.
12354 * benchtests/Makefile (timing-type): New binary.
12355 (bench-clean): Also remove bench-timing-type.
12356 (bench): New target for timing-type.
12357 (bench-func): Print output in JSON format.
12358 * benchtests/bench-skeleton.c (main): Print output in JSON
12360 * benchtests/bench-timing-type.c: New file.
12361 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12362 (TIMING_PRINT_STATS): Remove.
12363 * benchtests/scripts/bench.py (_print_arg_data): Store variant
12366 * benchtests/bench-modf.c: Remove.
12367 * benchtests/modf-inputs: New inputs file.
12369 2014-03-28 Joseph Myers <joseph@codesourcery.com>
12372 * math/s_clog10.c (M_PI_LOG10E): New macro.
12373 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12374 imaginary parts are 0.
12375 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12376 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12377 imaginary parts are 0.
12378 * math/s_clog10l.c (M_PI_LOG10El): New macro.
12379 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12380 imaginary parts are 0.
12381 * math/libm-test.inc (clog10_test_data): Update expected results
12382 for when real and imaginary parts are 0.
12384 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
12386 * elf/dl-load.c: Finish conversion of __builtin_expect into
12387 __glibc_{un}likely.
12389 2014-03-27 Joseph Myers <joseph@codesourcery.com>
12392 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12393 1+x for argument with exponent below -67.
12394 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12396 * math/auto-libm-test-in: Add more tests of exp.
12397 * math/auto-libm-test-out: Regenerated.
12399 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12402 * inet/getnetgrent_r.c (get_nonempty_val): New function.
12403 (nscd_getnetgrent): Use it.
12406 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12409 2014-03-27 Andi Kleen <ak@linux.intel.com>
12411 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12412 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12413 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12414 (lll_robust_unlock): Remove out of line section. Use cfi
12416 (LLL_STUB_UNWIND_INFO*): Remove.
12417 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12418 (lll_robust_lock, lll_cond_lock, lll_timedlock)
12419 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12420 (lll_robust_unlock): Remove out of line section. Use cfi
12422 (LLL_STUB_UNWIND_INFO*): Remove.
12424 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12427 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12430 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
12432 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12434 2014-03-26 Joseph Myers <joseph@codesourcery.com>
12437 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12439 * math/test-fenv-preserve.c: New file.
12440 * math/Makefile (tests): Add test-fenv-preserve.
12442 2014-03-26 Will Newton <will.newton@linaro.org>
12444 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12446 2014-03-25 Roland McGrath <roland@hack.frob.com>
12448 * scripts/versionlist.awk: Partition the version sets and emit all
12449 GLIBC_* (sorted) before all others (sorted).
12451 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12453 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12454 GLIBC_2.2.5 version.
12456 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12458 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12461 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12464 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12466 2014-03-25 Andreas Schwab <schwab@suse.de>
12468 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12469 label to be used after in6ailist is initialized.
12471 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12473 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12474 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12476 2014-03-25 Joseph Myers <joseph@codesourcery.com>
12480 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12482 (fp_formats): Update initializers.
12483 (init_fp_formats): Initialize new field.
12484 (output_for_one_input_case): Allow underflow for results up to
12486 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12487 * math/auto-libm-test-in: Don't mark some underflows from asin and
12489 * math/auto-libm-test-out: Regenerated.
12490 * sysdeps/i386/fpu/libm-test-ulps: Update.
12491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12493 2014-03-25 Andreas Schwab <schwab@suse.de>
12495 * libio/Makefile (tst-ftell-partial-wide-ENV)
12496 (tst-ftell-active-handler-ENV): Define.
12498 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
12500 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12502 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12504 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12506 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12508 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12509 * sysdeps/x86_64/fpu/multiarch/e_exp.c
12510 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12512 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
12515 * elf/dl-load.c (open_verify): Add mode parameter.
12516 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12517 (open_path): Change from boolean 'secure' to complete flag 'mode'
12518 (_dl_map_object): Adjust.
12519 * elf/Makefile (tests): Add tst-dlopen-aout.
12520 * elf/tst-dlopen-aout.c: New test.
12522 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
12525 * sysdeps/unix/sysv/linux/s390/bits/stat.h
12526 (struct stat): Rename member pad0 to __glibc_reserved0.
12529 * sysdeps/s390/s390-32/bits/wordsize.h
12530 (__WORDSIZE32_SIZE_ULONG): New define.
12531 * sysdeps/s390/s390-64/bits/wordsize.h
12532 (__WORDSIZE32_SIZE_ULONG): Likewise.
12533 * sysdeps/generic/stdint.h (SIZE_MAX):
12534 Define as UL if __WORDSIZE32_SIZE_ULONG.
12537 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12538 (__glibc_reserved0): New variable.
12539 (sa_flags): Change type to int.
12541 * posix/Makefile (before-compile): Use += before-compile instead
12544 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12545 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12547 2014-03-20 Andreas Schwab <schwab@suse.de>
12550 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12551 non-matching result from nscd.
12553 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
12555 * scripts/bench.py: Moved to ...
12556 * benchtests/scripts/bench.py: ... here.
12557 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12559 2014-03-24 Andreas Schwab <schwab@suse.de>
12562 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12563 alloca_account and account alloca use for struct in6ailist.
12565 2014-03-24 Joseph Myers <joseph@codesourcery.com>
12568 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12569 rounding mode to recompute results that overflow to infinity or
12571 * math/auto-libm-test-in: Don't mark tests as expected to fail for
12573 * math/auto-libm-test-out: Regenerated.
12574 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12575 (ccosh_test): Likewise.
12576 (csin_test_data): Use plus_oflow.
12577 (csin_test): Use ALL_RM_TEST.
12578 (csinh_test_data): Use plus_oflow.
12579 (csinh_test): Use ALL_RM_TEST.
12580 * sysdeps/i386/fpu/libm-test-ulps: Update.
12581 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12583 2014-03-21 Joseph Myers <joseph@codesourcery.com>
12585 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12586 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12587 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12590 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12591 when x - 1 is zero.
12592 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12593 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12594 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12595 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12597 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12598 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12600 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12601 * sysdeps/i386/fpu/libm-test-ulps: Update.
12602 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12604 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
12606 * scripts/bench.pl: Remove file.
12607 * scripts/bench.py: New benchmark script.
12608 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12609 * benchtests/README: Mention python dependency.
12610 * scripts/pylintrc: New file.
12611 * scripts/pylint: New file.
12613 * bits/mathdef.h: Use #ifdef instead of #if.
12614 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12615 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12616 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12617 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12618 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12619 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12621 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12622 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
12624 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12625 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12626 and strpbrk-ppc64 objects.
12627 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12628 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12629 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12630 multiarch strpbrk for POWER7.
12631 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12632 multiarch strpbrk for PPC64.
12633 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12635 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12636 strpbrk for POWER7.
12638 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12640 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12641 (atan_test): Likewise.
12642 (atanh_test_data): Use NO_TEST_INLINE for two tests.
12643 (atanh_test): Use ALL_RM_TEST.
12644 (atan2_test_data): Likewise.
12645 (cabs_test): Likewise.
12646 (cacosh_test): Likewise.
12647 (carg_test): Likewise.
12648 (casin_test): Likewise.
12649 (casinh_test): Likewise.
12650 (cbrt_test): Likewise.
12651 (csqrt_test): Likewise.
12652 (erf_test): Likewise.
12653 (erfc_test): Likewise.
12654 (pow10_test): Likewise.
12655 (exp2_test): Likewise.
12656 (hypot_test): Likewise.
12657 (j0_test): Likewise.
12658 (j1_test): Likewise.
12659 (lgamma_test): Likewise.
12660 (gamma_test): Likewise.
12661 (sincos_test): Likewise.
12662 (tanh_test): Likewise.
12663 (y0_test): Likewise.
12664 (y1_test): Likewise.
12665 * sysdeps/i386/fpu/libm-test-ulps: Update.
12666 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12668 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12670 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12671 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12672 and strcspn-ppc64 objects.
12673 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12674 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12675 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12676 multiarch strcspn for POWER7.
12677 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12678 multiarch strcspn for PPC64.
12679 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12681 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12682 strcspn for POWER7.
12684 2014-03-20 Joseph Myers <joseph@codesourcery.com>
12686 * math/gen-libm-test.pl (generate_testfile): Expect only function
12687 name as argument to AUTO_TESTS_* and pass results for all rounding
12688 modes to parse_args.
12689 (parse_auto_input): Separate inputs of automatic tests from
12690 outputs before storing in %auto_tests.
12691 * math/libm-test.inc (acos_test_data): Update call to
12693 (acos_test): Use ALL_RM_TEST.
12694 (acos_tonearest_test_data): Remove.
12695 (acos_test_tonearest): Likewise.
12696 (acos_towardzero_test_data): Likewise.
12697 (acos_test_towardzero): Likewise.
12698 (acos_downward_test_data): Likewise.
12699 (acos_test_downward): Likewise.
12700 (acos_upward_test_data): Likewise.
12701 (acos_test_upward): Likewise.
12702 (acosh_test_data): Update call to AUTO_TESTS_f_f.
12703 (asin_test_data): Likewise.
12704 (asin_test): Use ALL_RM_TEST.
12705 (asin_tonearest_test_data): Remove.
12706 (asin_test_tonearest): Likewise.
12707 (asin_towardzero_test_data): Likewise.
12708 (asin_test_towardzero): Likewise.
12709 (asin_downward_test_data): Likewise.
12710 (asin_test_downward): Likewise.
12711 (asin_upward_test_data): Likewise.
12712 (asin_test_upward): Likewise.
12713 (asinh_test_data): Update call to AUTO_TESTS_f_f.
12714 (atan_test_data): Likewise.
12715 (atanh_test_data): Likewise.
12716 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12717 (cabs_test_data): Update call to AUTO_TESTS_c_f.
12718 (carg_test_data): Likewise.
12719 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12720 (ccos_test_data): Update call to AUTO_TESTS_c_c.
12721 (ccosh_test_data): Likewise.
12722 (cexp_test_data): Likewise.
12723 (clog_test_data): Likewise.
12724 (clog10_test_data): Likewise.
12725 (cos_test_data): Update call to AUTO_TESTS_f_f.
12726 (cos_test): Use ALL_RM_TEST.
12727 (cos_tonearest_test_data): Remove.
12728 (cos_test_tonearest): Likewise.
12729 (cos_towardzero_test_data): Likewise.
12730 (cos_test_towardzero): Likewise.
12731 (cos_downward_test_data): Likewise.
12732 (cos_test_downward): Likewise.
12733 (cos_upward_test_data): Likewise.
12734 (cos_test_upward): Likewise.
12735 (cosh_test_data): Update call to AUTO_TESTS_f_f.
12736 (cosh_test): Use ALL_RM_TEST.
12737 (cosh_tonearest_test_data): Remove.
12738 (cosh_test_tonearest): Likewise.
12739 (cosh_towardzero_test_data): Likewise.
12740 (cosh_test_towardzero): Likewise.
12741 (cosh_downward_test_data): Likewise.
12742 (cosh_test_downward): Likewise.
12743 (cosh_upward_test_data): Likewise.
12744 (cosh_test_upward): Likewise.
12745 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12746 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12747 (ctan_test_data): Likewise.
12748 (ctan_test): Use ALL_RM_TEST.
12749 (ctan_tonearest_test_data): Remove.
12750 (ctan_test_tonearest): Likewise.
12751 (ctan_towardzero_test_data): Likewise.
12752 (ctan_test_towardzero): Likewise.
12753 (ctan_downward_test_data): Likewise.
12754 (ctan_test_downward): Likewise.
12755 (ctan_upward_test_data): Likewise.
12756 (ctan_test_upward): Likewise.
12757 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12758 (ctanh_test): Use ALL_RM_TEST.
12759 (ctanh_tonearest_test_data): Remove.
12760 (ctanh_test_tonearest): Likewise.
12761 (ctanh_towardzero_test_data): Likewise.
12762 (ctanh_test_towardzero): Likewise.
12763 (ctanh_downward_test_data): Likewise.
12764 (ctanh_test_downward): Likewise.
12765 (ctanh_upward_test_data): Likewise.
12766 (ctanh_test_upward): Likewise.
12767 (erf_test_data): Update call to AUTO_TESTS_f_f.
12768 (erfc_test_data): Likewise.
12769 (exp_test_data): Likewise.
12770 (exp_test): Use ALL_RM_TEST.
12771 (exp_tonearest_test_data): Remove.
12772 (exp_test_tonearest): Likewise.
12773 (exp_towardzero_test_data): Likewise.
12774 (exp_test_towardzero): Likewise.
12775 (exp_downward_test_data): Likewise.
12776 (exp_test_downward): Likewise.
12777 (exp_upward_test_data): Likewise.
12778 (exp_test_upward): Likewise.
12779 (exp10_test_data): Update call to AUTO_TESTS_f_f.
12780 (exp10_test): Use ALL_RM_TEST.
12781 (exp10_tonearest_test_data): Remove.
12782 (exp10_test_tonearest): Likewise.
12783 (exp10_towardzero_test_data): Likewise.
12784 (exp10_test_towardzero): Likewise.
12785 (exp10_downward_test_data): Likewise.
12786 (exp10_test_downward): Likewise.
12787 (exp10_upward_test_data): Likewise.
12788 (exp10_test_upward): Likewise.
12789 (exp2_test_data): Update call to AUTO_TESTS_f_f.
12790 (expm1_test_data): Likewise.
12791 (expm1_test): Use ALL_RM_TEST.
12792 (expm1_tonearest_test_data): Remove.
12793 (expm1_test_tonearest): Likewise.
12794 (expm1_towardzero_test_data): Likewise.
12795 (expm1_test_towardzero): Likewise.
12796 (expm1_downward_test_data): Likewise.
12797 (expm1_test_downward): Likewise.
12798 (expm1_upward_test_data): Likewise.
12799 (expm1_test_upward): Likewise.
12800 (fma_test_data): Update call to AUTO_TESTS_fff_f.
12801 (fma_test): Use ALL_RM_TEST.
12802 (fma_towardzero_test_data): Remove.
12803 (fma_test_towardzero): Likewise.
12804 (fma_downward_test_data): Likewise.
12805 (fma_test_downward): Likewise.
12806 (fma_upward_test_data): Likewise.
12807 (fma_test_upward): Likewise.
12808 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12809 (j0_test_data): Update call to AUTO_TESTS_f_f.
12810 (j1_test_data): Likewise.
12811 (jn_test_data): Update call to AUTO_TESTS_if_f.
12812 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12813 (log_test_data): Update call to AUTO_TESTS_f_f.
12814 (log10_test_data): Likewise.
12815 (log1p_test_data): Likewise.
12816 (log2_test_data): Likewise.
12817 (pow_test_data): Update call to AUTO_TESTS_ff_f.
12818 (pow_tonearest_test_data): Likewise.
12819 (sin_test_data): Update call to AUTO_TESTS_f_f.
12820 (sin_test): Use ALL_RM_TEST.
12821 (sin_tonearest_test_data): Remove.
12822 (sin_test_tonearest): Likewise.
12823 (sin_towardzero_test_data): Likewise.
12824 (sin_test_towardzero): Likewise.
12825 (sin_downward_test_data): Likewise.
12826 (sin_test_downward): Likewise.
12827 (sin_upward_test_data): Likewise.
12828 (sin_test_upward): Likewise.
12829 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12830 (sinh_test_data): Update call to AUTO_TESTS_f_f.
12831 (sinh_test): Use ALL_RM_TEST.
12832 (sinh_tonearest_test_data): Remove.
12833 (sinh_test_tonearest): Likewise.
12834 (sinh_towardzero_test_data): Likewise.
12835 (sinh_test_towardzero): Likewise.
12836 (sinh_downward_test_data): Likewise.
12837 (sinh_test_downward): Likewise.
12838 (sinh_upward_test_data): Likewise.
12839 (sinh_test_upward): Likewise.
12840 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12841 (sqrt_test): Use ALL_RM_TEST.
12842 (sqrt_tonearest_test_data): Remove.
12843 (sqrt_test_tonearest): Likewise.
12844 (sqrt_towardzero_test_data): Likewise.
12845 (sqrt_test_towardzero): Likewise.
12846 (sqrt_downward_test_data): Likewise.
12847 (sqrt_test_downward): Likewise.
12848 (sqrt_upward_test_data): Likewise.
12849 (sqrt_test_upward): Likewise.
12850 (tan_test_data): Update call to AUTO_TESTS_f_f.
12851 (tan_test): Use ALL_RM_TEST.
12852 (tan_tonearest_test_data): Remove.
12853 (tan_test_tonearest): Likewise.
12854 (tan_towardzero_test_data): Likewise.
12855 (tan_test_towardzero): Likewise.
12856 (tan_downward_test_data): Likewise.
12857 (tan_test_downward): Likewise.
12858 (tan_upward_test_data): Likewise.
12859 (tan_test_upward): Likewise.
12860 (tanh_test_data): Update call to AUTO_TESTS_f_f.
12861 (tgamma_test_data): Likewise.
12862 (y0_test_data): Likewise.
12863 (y1_test_data): Likewise.
12864 (yn_test_data): Update call to AUTO_TESTS_if_f.
12865 (main): Do not call removed functions.
12867 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12869 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12870 (ldexp_test_data): Remove.
12871 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
12873 (scalb_test): Use ALL_RM_TEST.
12875 2014-03-19 Andreas Schwab <schwab@suse.de>
12877 * nscd/nscd.service: Also invalidate netgroup cache on reload.
12879 2014-03-19 Joseph Myers <joseph@codesourcery.com>
12882 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12883 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12884 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12885 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12886 (__ASSUME_PREADV): Undefine.
12887 (__ASSUME_PWRITEV): Likewise.
12889 2014-03-18 Roland McGrath <roland@hack.frob.com>
12891 * bits/mman-linux.h: Add comment about non-Linux use.
12892 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12893 bits/mman-linux.h resting place.
12895 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12896 * bits/mman-linux.h: ... here.
12898 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12900 * conform/conformtest.pl: Add standard definition when calling C
12901 preprocessor on data files.
12902 (checknamespace): Remove unused variable.
12904 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12906 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12907 minus_oflow, plus_uflow and minus_uflow in expected results.
12908 * math/libm-test.inc (scalbn_test_data): Add more tests of
12909 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
12911 (scalbn_test): Use ALL_RM_TEST.
12912 (scalbln_test_data): Add more tests of negative arguments. Use
12913 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12914 (scalbln_test): Use ALL_RM_TEST.
12916 2014-03-18 Roland McGrath <roland@hack.frob.com>
12918 * scripts/abilist.awk: Ignore symbols marked with .hidden.
12920 2014-03-18 Will Newton <will.newton@linaro.org>
12922 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12923 inaccurate comment.
12925 2014-03-18 Joseph Myers <joseph@codesourcery.com>
12927 * Makerules [!subdir] (check-abi): Exit with error status if a
12930 2014-03-17 Joseph Myers <joseph@codesourcery.com>
12932 * math/libm-test.inc (nearbyint_test_data): Include all tests used
12933 for rint. Include results for all rounding modes.
12934 (nearbyint_test): Use ALL_RM_TEST.
12935 (rint_test_data): Include all tests used for nearbyint.
12937 2014-03-17 Will Newton <will.newton@linaro.org>
12939 * nptl/sysdeps/pthread/pthread.h: Revert previous
12942 * sysdeps/generic/ldsodefs.h: Revert previous
12945 * libio/genops.c: Revert previous change.
12946 * libio/libioP.h: Likewise.
12947 * stdio-common/vfprintf.c: Likewise.
12949 * sysdeps/generic/math_private.h: Revert previous
12952 * sysdeps/generic/math_private.h: Check whether
12953 HAVE_RM_CTX is defined with #ifdef rather
12956 * argp/argp-fmtstream.h: Check whether
12957 __STRICT_ANSI__ is defined with #ifdef rather
12959 * argp/argp.h: Likewise.
12961 * libio/genops.c: Check whether
12962 _IO_JUMPS_OFFSET is defined with #ifdef rather
12964 * libio/libioP.h: Likewise.
12965 * stdio-common/vfprintf.c: Likewise.
12967 * sysdeps/generic/ldsodefs.h: Check whether
12968 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12971 * nptl/sysdeps/pthread/pthread.h: Check
12972 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12975 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
12977 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12979 * libio/tst-ftell-active-handler.c (do_append_test): Add a
12983 * libio/fileops.c (_IO_file_open): Seek to end of file but
12984 don't cache the offset.
12985 (get_file_offset): Remove function.
12986 (do_ftell): Use cached offset when available.
12987 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12988 don't cache the offset.
12989 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12991 (do_one_test): Call it.
12992 (do_ftell_test): Fix up expected old offset for a+ mode.
12993 * libio/wfileops.c (do_ftell_wide): Used cached offset when
12996 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12997 up test status with function return status.
12998 (do_write_test): Likewise.
12999 (do_append_test): Likewise.
13001 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
13002 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
13005 2014-03-17 Joseph Myers <joseph@codesourcery.com>
13007 * math/gen-libm-test.pl (parse_args): Handle results specified for
13008 each rounding mode separately.
13009 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
13010 tests and results from lrint_tonearest_test_data,
13011 lrint_towardzero_test_data, lrint_downward_test_data and
13012 lrint_upward_test_data.
13013 (lrint_test): Use ALL_RM_TEST.
13014 (lrint_tonearest_test_data): Remove.
13015 (lrint_test_tonearest): Likewise.
13016 (lrint_towardzero_test_data): Likewise.
13017 (lrint_test_towardzero): Likewise.
13018 (lrint_downward_test_data): Likewise.
13019 (lrint_test_downward): Likewise.
13020 (lrint_upward_test_data): Likewise.
13021 (lrint_test_upward): Likewise.
13022 (llrint_test_data): Merge in per-rounding-mode tests and results
13023 from llrint_tonearest_test_data, llrint_towardzero_test_data,
13024 llrint_downward_test_data and llrint_upward_test_data.
13025 (llrint_test): Use ALL_RM_TEST.
13026 (llrint_tonearest_test_data): Remove.
13027 (llrint_test_tonearest): Likewise.
13028 (llrint_towardzero_test_data): Likewise.
13029 (llrint_test_towardzero): Likewise.
13030 (llrint_downward_test_data): Likewise.
13031 (llrint_test_downward): Likewise.
13032 (llrint_upward_test_data): Likewise.
13033 (llrint_test_upward): Likewise.
13034 (rint_test_data): Merge in per-rounding-mode tests and results
13035 from rint_tonearest_test_data, rint_towardzero_test_data,
13036 rint_downward_test_data and rint_upward_test_data. Add
13037 per-rounding-mode results for tests not in those arrays.
13038 (rint_test): Use ALL_RM_TEST.
13039 (rint_tonearest_test_data): Remove.
13040 (rint_test_tonearest): Likewise.
13041 (rint_towardzero_test_data): Likewise.
13042 (rint_test_towardzero): Likewise.
13043 (rint_downward_test_data): Likewise.
13044 (rint_test_downward): Likewise.
13045 (rint_upward_test_data): Likewise.
13046 (rint_test_upward): Likewise.
13047 (main): Don't call removed functions.
13049 2014-03-14 Roland McGrath <roland@hack.frob.com>
13051 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
13052 "Compiled on ..." crapola. It is anti-useful.
13054 2014-03-14 Joseph Myers <joseph@codesourcery.com>
13056 * scripts/evaluate-test.sh: Handle fourth argument to determine
13057 whether test run should stop on failure.
13058 * Makeconfig (stop-on-test-failure): New variable.
13059 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
13060 $(stop-on-test-failure).
13061 * Makefile (tests): Give a summary of results from testing and
13062 exit with failure status if they include an ERROR or FAIL.
13063 (xtests): Likewise.
13064 * manual/install.texi (Configuring and compiling): Mention
13065 stop-on-test-failure=y.
13066 * INSTALL: Regenerated.
13068 2014-03-14 Roland McGrath <roland@hack.frob.com>
13070 * scripts/versionlist.awk: New file.
13071 * Makerules [$(build-shared) = yes]
13072 (postclean-generated): Add Versions.def, not Versions.def.v and
13074 ($(common-objpfx)Versions.def.v.i): Target removed.
13075 ($(common-objpfx)Versions.def): New target.
13076 ($(common-objpfx)Versions.all): Depend on that rather that
13077 $(common-objpfx)Versions.def.v.
13078 * Versions.def: File removed.
13080 * Makeconfig (+gccwarn): Add -Wundef.
13081 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
13082 a dl-sysdep.h breaking its contract.
13083 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
13084 * include/stackinfo.h: New file.
13085 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
13086 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
13087 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
13088 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
13089 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
13090 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
13091 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13092 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13093 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13094 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13095 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13096 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
13097 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13098 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13099 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
13101 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13104 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
13106 * math/libm-test.inc (round_test_data): Add more tests.
13109 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
13111 * math/libm-test.inc (nearbyint_test_data): Add more tests.
13114 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
13116 * math/libm-test.inc (ceil_test_data): Add more tests.
13118 * math/libm-test.inc (trunc_test_data): Add more tests related to
13121 2014-03-14 Roland McGrath <roland@hack.frob.com>
13123 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
13124 with #if rather than #ifdef.
13125 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
13127 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
13129 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
13130 first. Disable AVX-512 GCC support if assembler doesn't support
13132 * sysdeps/x86_64/configure: Regenerated.
13134 2014-03-13 Carlos O'Donell <carlos@redhat.com>
13136 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
13137 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
13138 (__old_pthread_attr_setstack): Likewise.
13139 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
13140 [!_STACK_GROWS_DOWN]: Likewise.
13142 2014-03-13 Mike Frysinger <vapier@gentoo.org>
13144 * config.make.in (have-bash2): Delete.
13145 * configure.ac (libc_cv_have_bash2): Delete.
13146 * configure: Regenerate.
13147 * elf/Makefile (common-ldd-rewrite): Rename to ...
13148 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
13149 (sh-ldd-rewrite): Delete.
13150 (bash-ldd-rewrite): Delete.
13151 (have-bash2): Delete checks.
13152 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
13155 * config.make.in (have-ksh): Delete.
13157 * configure.ac (libc_cv_have_ksh): Delete.
13158 * configure: Regenerate.
13160 * elf/Makefile: Delete $(have-ksh) check.
13161 ($(objpfx)sotruss): Change KSH to BASH.
13162 * elf/sotruss.ksh: Rename to ...
13163 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
13164 function style to match POSIX. Drop ksh vim mode setting.
13166 * manual/time.texi (Specifying the Time Zone with TZ): Change
13167 Tuesday to Thursday.
13169 * debug/tst-longjmp_chk2.c: Update header comment.
13170 (stackoverflow_handler): Add comment. Call assert on pass value.
13172 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
13175 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13176 (HAVE_AVX512_ASM_SUPPORT): Likewise.
13177 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13178 (La_x86_64_vector): Add zmm.
13179 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13180 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13181 ($(objpfx)tst-audit10): New target.
13182 ($(objpfx)tst-audit10.out): Likewise.
13183 (tst-audit10-ENV): New.
13184 (AVX512-CFLAGS): Likewise.
13185 (CFLAGS-tst-audit10.c): Likewise.
13186 (CFLAGS-tst-auditmod10a.c): Likewise.
13187 (CFLAGS-tst-auditmod10b.c): Likewise.
13188 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13189 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13190 * sysdeps/x86_64/configure: Regenerated.
13191 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13192 AVX-512 zmm register support.
13193 (_dl_x86_64_save_sse): Likewise.
13194 (_dl_x86_64_restore_sse): Likewise.
13195 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13196 size vector registers.
13197 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13198 (ZMM_SIZE): Likewise.
13199 * sysdeps/x86_64/tst-audit10.c: New file.
13200 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13201 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13203 2014-03-13 Roland McGrath <roland@hack.frob.com>
13205 * configure.ac (HAVE_EHDR_START): New check.
13206 * configure: Regenerated.
13207 * config.h.in (HAVE_EHDR_START): New #undef.
13208 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13209 assuming the lowest-addressed segment maps the start of the file.
13211 2014-03-13 Joseph Myers <joseph@codesourcery.com>
13213 * INSTALL: Regenerated.
13215 2014-03-13 Will Newton <will.newton@linaro.org>
13217 * manual/setjmp.texi (System V contexts): Improve
13218 clarity and grammar of documentation.
13220 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
13223 * elf/Makefile (tests): Add tst-pie2.
13224 (tests-pie): Add tst-pie2.
13225 * elf/tst-pie2.c: New file.
13226 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13228 * elf/rtld.c (map_doit): Load executable as lt_executable.
13229 (dl_main): Likewise.
13231 2014-03-12 Joseph Myers <joseph@codesourcery.com>
13234 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13235 (__ASSUME_PSELECT): Undefine.
13237 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13240 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13241 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13243 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13244 selector for static builds.
13246 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
13249 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13252 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13254 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13255 IFUNC selector for static builds.
13257 2014-03-11 Joseph Myers <joseph@codesourcery.com>
13259 * sysdeps/mips/math_private.h [__mips_hard_float]
13260 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13261 libc_feresetround_mips_ctx.
13262 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13263 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13264 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13267 * math/s_nextafter.c (__nextafter): Do not return value from
13268 overflowing computation.
13269 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13270 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13271 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13273 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13275 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13276 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13278 2014-03-11 Roland McGrath <roland@hack.frob.com>
13280 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13281 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13282 Move sfi_sp use from the load-multiple (that no longer sets sp) to
13283 the new mov targetting sp.
13285 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13288 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13289 Define it for static builds as well.
13290 (NO_BZERO_IMPL): Likewise.
13292 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13294 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13295 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13296 multiarch strspn for PPC64.
13297 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13298 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13300 (__libc_ifunc_impl_list): Likewise.
13301 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13302 multiarch optimizations
13303 * string/strspn.c (strspn): Using macro to redefine symbol name.
13305 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
13306 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13308 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13309 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13310 multiarch strncat for PPC64.
13311 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13312 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13314 (__libc_ifunc_impl_list): Likewise.
13315 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13316 multiarch optimizations
13318 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
13321 * nscd/nscd.service: Make service type forking.
13323 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13325 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13326 sign in non default rounding modes.
13327 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13329 2014-03-08 Joseph Myers <joseph@codesourcery.com>
13331 * math/libm-test.inc (ALL_RM_TEST): New macro.
13332 (ceil_test): Use ALL_RM_TEST.
13333 (cimag_test): Likewise.
13334 (conj_test): Likewise.
13335 (copysign_test): Likewise.
13336 (cproj_test): Likewise.
13337 (creal_test): Likewise.
13338 (fabs_test): Likewise.
13339 (floor_test): Likewise.
13340 (fmax_test): Likewise.
13341 (fmin_test): Likewise.
13342 (fmod_test): Likewise.
13343 (fpclassify_test): Likewise.
13344 (frexp_test): Likewise.
13345 (ilogb_test): Likewise.
13346 (isfinite_test): Likewise.
13347 (finite_test): Likewise.
13348 (isgreater_test): Likewise.
13349 (isgreaterequal_test): Likewise.
13350 (isinf_test): Likewise.
13351 (isless_test): Likewise.
13352 (islessequal_test): Likewise.
13353 (islessgreater_test): Likewise.
13354 (isnan_test): Likewise.
13355 (isnormal_test): Likewise.
13356 (issignaling_test): Likewise.
13357 (isunordered_test): Likewise.
13358 (logb_test): Likewise.
13359 (logb_downward_test_data): Remove.
13360 (logb_test_downward): Likewise.
13361 (lround_test): Use ALL_RM_TEST.
13362 (llround_test): Likewise.
13363 (modf_test): Likewise.
13364 (nexttoward_test): Likewise.
13365 (remainder_test): Likewise.
13366 (drem_test): Likewise.
13367 (remainder_tonearest_test_data): Likewise.
13368 (remainder_test_tonearest): Likewise.
13369 (drem_test_tonearest): Likewise.
13370 (remainder_towardzero_test_data): Likewise.
13371 (remainder_test_towardzero): Likewise.
13372 (drem_test_towardzero): Likewise.
13373 (remainder_downward_test_data): Likewise.
13374 (remainder_test_downward): Likewise.
13375 (drem_test_downward): Likewise.
13376 (remainder_upward_test_data): Likewise.
13377 (remainder_test_upward): Likewise.
13378 (drem_test_upward): Likewise.
13379 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
13380 (round_test): Use ALL_RM_TEST.
13381 (signbit_test): Likewise.
13382 (trunc_test): Likewise.
13383 (significand_test): Likewise.
13384 (main): Don't call removed functions.
13386 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13389 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13390 || __USE_XOPEN2K8].
13391 (ILL_ILLOPN): Likewise.
13392 (ILL_ILLADR): Likewise.
13393 (ILL_ILLTRP): Likewise.
13394 (ILL_PRVOPC): Likewise.
13395 (ILL_PRVREG): Likewise.
13396 (ILL_COPROC): Likewise.
13397 (ILL_BADSTK): Likewise.
13398 (FPE_INTDIV): Likewise.
13399 (FPE_INTOVF): Likewise.
13400 (FPE_FLTDIV): Likewise.
13401 (FPE_FLTOVF): Likewise.
13402 (FPE_FLTUND): Likewise.
13403 (FPE_FLTRES): Likewise.
13404 (FPE_FLTINV): Likewise.
13405 (FPE_FLTSUB): Likewise.
13406 (SEGV_MAPERR): Likewise.
13407 (SEGV_ACCERR): Likewise.
13408 (BUS_ADRALN): Likewise.
13409 (BUS_ADRERR): Likewise.
13410 (BUS_OBJERR): Likewise.
13411 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13412 (TRAP_TRACE): Likewise.
13413 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13415 (CLD_KILLED): Likewise.
13416 (CLD_DUMPED): Likewise.
13417 (CLD_TRAPPED): Likewise.
13418 (CLD_STOPPED): Likewise.
13419 (CLD_CONTINUED): Likewise.
13420 (POLL_IN): Likewise.
13421 (POLL_OUT): Likewise.
13422 (POLL_MSG): Likewise.
13423 (POLL_ERR): Likewise.
13424 (POLL_PRI): Likewise.
13425 (POLL_HUP): Likewise.
13426 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13428 (ILL_ILLOPN): Likewise.
13429 (ILL_ILLADR): Likewise.
13430 (ILL_ILLTRP): Likewise.
13431 (ILL_PRVOPC): Likewise.
13432 (ILL_PRVREG): Likewise.
13433 (ILL_COPROC): Likewise.
13434 (ILL_BADSTK): Likewise.
13435 (FPE_INTDIV): Likewise.
13436 (FPE_INTOVF): Likewise.
13437 (FPE_FLTDIV): Likewise.
13438 (FPE_FLTOVF): Likewise.
13439 (FPE_FLTUND): Likewise.
13440 (FPE_FLTRES): Likewise.
13441 (FPE_FLTINV): Likewise.
13442 (FPE_FLTSUB): Likewise.
13443 (SEGV_MAPERR): Likewise.
13444 (SEGV_ACCERR): Likewise.
13445 (BUS_ADRALN): Likewise.
13446 (BUS_ADRERR): Likewise.
13447 (BUS_OBJERR): Likewise.
13448 (BUS_MCEERR_AR): Likewise.
13449 (BUS_MCEERR_AO): Likewise.
13450 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13451 (TRAP_TRACE): Likewise.
13452 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13454 (CLD_KILLED): Likewise.
13455 (CLD_DUMPED): Likewise.
13456 (CLD_TRAPPED): Likewise.
13457 (CLD_STOPPED): Likewise.
13458 (CLD_CONTINUED): Likewise.
13459 (POLL_IN): Likewise.
13460 (POLL_OUT): Likewise.
13461 (POLL_MSG): Likewise.
13462 (POLL_ERR): Likewise.
13463 (POLL_PRI): Likewise.
13464 (POLL_HUP): Likewise.
13465 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13466 (ILL_ILLOPN): Likewise.
13467 (ILL_ILLADR): Likewise.
13468 (ILL_ILLTRP): Likewise.
13469 (ILL_PRVOPC): Likewise.
13470 (ILL_PRVREG): Likewise.
13471 (ILL_COPROC): Likewise.
13472 (ILL_BADSTK): Likewise.
13473 (FPE_INTDIV): Likewise.
13474 (FPE_INTOVF): Likewise.
13475 (FPE_FLTDIV): Likewise.
13476 (FPE_FLTOVF): Likewise.
13477 (FPE_FLTUND): Likewise.
13478 (FPE_FLTRES): Likewise.
13479 (FPE_FLTINV): Likewise.
13480 (FPE_FLTSUB): Likewise.
13481 (SEGV_MAPERR): Likewise.
13482 (SEGV_ACCERR): Likewise.
13483 (BUS_ADRALN): Likewise.
13484 (BUS_ADRERR): Likewise.
13485 (BUS_OBJERR): Likewise.
13486 (BUS_MCEERR_AR): Likewise.
13487 (BUS_MCEERR_AO): Likewise.
13488 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13489 (TRAP_TRACE): Likewise.
13490 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13492 (CLD_KILLED): Likewise.
13493 (CLD_DUMPED): Likewise.
13494 (CLD_TRAPPED): Likewise.
13495 (CLD_STOPPED): Likewise.
13496 (CLD_CONTINUED): Likewise.
13497 (POLL_IN): Likewise.
13498 (POLL_OUT): Likewise.
13499 (POLL_MSG): Likewise.
13500 (POLL_ERR): Likewise.
13501 (POLL_PRI): Likewise.
13502 (POLL_HUP): Likewise.
13503 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
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 (ILL_BADIADDR): Likewise.
13513 (ILL_BREAK): Likewise.
13514 (FPE_INTDIV): Likewise.
13515 (FPE_INTOVF): Likewise.
13516 (FPE_FLTDIV): Likewise.
13517 (FPE_FLTOVF): Likewise.
13518 (FPE_FLTUND): Likewise.
13519 (FPE_FLTRES): Likewise.
13520 (FPE_FLTINV): Likewise.
13521 (FPE_FLTSUB): Likewise.
13522 (FPE_DECOVF): Likewise.
13523 (FPE_DECDIV): Likewise.
13524 (FPE_DECERR): Likewise.
13525 (FPE_INVASC): Likewise.
13526 (FPE_INVDEC): Likewise.
13527 (SEGV_MAPERR): Likewise.
13528 (SEGV_ACCERR): Likewise.
13529 (SEGV_PSTKOVF): Likewise.
13530 (BUS_ADRALN): Likewise.
13531 (BUS_ADRERR): Likewise.
13532 (BUS_OBJERR): Likewise.
13533 (BUS_MCEERR_AR): Likewise.
13534 (BUS_MCEERR_AO): Likewise.
13535 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13536 (TRAP_TRACE): Likewise.
13537 (TRAP_BRANCH): Likewise.
13538 (TRAP_HWBKPT): Likewise.
13539 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13541 (CLD_KILLED): Likewise.
13542 (CLD_DUMPED): Likewise.
13543 (CLD_TRAPPED): Likewise.
13544 (CLD_STOPPED): Likewise.
13545 (CLD_CONTINUED): Likewise.
13546 (POLL_IN): Likewise.
13547 (POLL_OUT): Likewise.
13548 (POLL_MSG): Likewise.
13549 (POLL_ERR): Likewise.
13550 (POLL_PRI): Likewise.
13551 (POLL_HUP): Likewise.
13552 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13553 (ILL_ILLOPN): Likewise.
13554 (ILL_ILLADR): Likewise.
13555 (ILL_ILLTRP): Likewise.
13556 (ILL_PRVOPC): Likewise.
13557 (ILL_PRVREG): Likewise.
13558 (ILL_COPROC): Likewise.
13559 (ILL_BADSTK): Likewise.
13560 (FPE_INTDIV): Likewise.
13561 (FPE_INTOVF): Likewise.
13562 (FPE_FLTDIV): Likewise.
13563 (FPE_FLTOVF): Likewise.
13564 (FPE_FLTUND): Likewise.
13565 (FPE_FLTRES): Likewise.
13566 (FPE_FLTINV): Likewise.
13567 (FPE_FLTSUB): Likewise.
13568 (SEGV_MAPERR): Likewise.
13569 (SEGV_ACCERR): Likewise.
13570 (BUS_ADRALN): Likewise.
13571 (BUS_ADRERR): Likewise.
13572 (BUS_OBJERR): Likewise.
13573 (BUS_MCEERR_AR): Likewise.
13574 (BUS_MCEERR_AO): Likewise.
13575 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13576 (TRAP_TRACE): Likewise.
13577 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13579 (CLD_KILLED): Likewise.
13580 (CLD_DUMPED): Likewise.
13581 (CLD_TRAPPED): Likewise.
13582 (CLD_STOPPED): Likewise.
13583 (CLD_CONTINUED): Likewise.
13584 (POLL_IN): Likewise.
13585 (POLL_OUT): Likewise.
13586 (POLL_MSG): Likewise.
13587 (POLL_ERR): Likewise.
13588 (POLL_PRI): Likewise.
13589 (POLL_HUP): Likewise.
13590 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13591 (ILL_ILLOPN): Likewise.
13592 (ILL_ILLADR): Likewise.
13593 (ILL_ILLTRP): Likewise.
13594 (ILL_PRVOPC): Likewise.
13595 (ILL_PRVREG): Likewise.
13596 (ILL_COPROC): Likewise.
13597 (ILL_BADSTK): Likewise.
13598 (FPE_INTDIV): Likewise.
13599 (FPE_INTOVF): Likewise.
13600 (FPE_FLTDIV): Likewise.
13601 (FPE_FLTOVF): Likewise.
13602 (FPE_FLTUND): Likewise.
13603 (FPE_FLTRES): Likewise.
13604 (FPE_FLTINV): Likewise.
13605 (FPE_FLTSUB): Likewise.
13606 (SEGV_MAPERR): Likewise.
13607 (SEGV_ACCERR): Likewise.
13608 (BUS_ADRALN): Likewise.
13609 (BUS_ADRERR): Likewise.
13610 (BUS_OBJERR): Likewise.
13611 (BUS_MCEERR_AR): Likewise.
13612 (BUS_MCEERR_AO): Likewise.
13613 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13614 (TRAP_TRACE): Likewise.
13615 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13617 (CLD_KILLED): Likewise.
13618 (CLD_DUMPED): Likewise.
13619 (CLD_TRAPPED): Likewise.
13620 (CLD_STOPPED): Likewise.
13621 (CLD_CONTINUED): Likewise.
13622 (POLL_IN): Likewise.
13623 (POLL_OUT): Likewise.
13624 (POLL_MSG): Likewise.
13625 (POLL_ERR): Likewise.
13626 (POLL_PRI): Likewise.
13627 (POLL_HUP): Likewise.
13628 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13629 (ILL_ILLOPN): Likewise.
13630 (ILL_ILLADR): Likewise.
13631 (ILL_ILLTRP): Likewise.
13632 (ILL_PRVOPC): Likewise.
13633 (ILL_PRVREG): Likewise.
13634 (ILL_COPROC): Likewise.
13635 (ILL_BADSTK): Likewise.
13636 (FPE_INTDIV): Likewise.
13637 (FPE_INTOVF): Likewise.
13638 (FPE_FLTDIV): Likewise.
13639 (FPE_FLTOVF): Likewise.
13640 (FPE_FLTUND): Likewise.
13641 (FPE_FLTRES): Likewise.
13642 (FPE_FLTINV): Likewise.
13643 (FPE_FLTSUB): Likewise.
13644 (SEGV_MAPERR): Likewise.
13645 (SEGV_ACCERR): Likewise.
13646 (BUS_ADRALN): Likewise.
13647 (BUS_ADRERR): Likewise.
13648 (BUS_OBJERR): Likewise.
13649 (BUS_MCEERR_AR): Likewise.
13650 (BUS_MCEERR_AO): Likewise.
13651 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13652 (TRAP_TRACE): Likewise.
13653 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13655 (CLD_KILLED): Likewise.
13656 (CLD_DUMPED): Likewise.
13657 (CLD_TRAPPED): Likewise.
13658 (CLD_STOPPED): Likewise.
13659 (CLD_CONTINUED): Likewise.
13660 (POLL_IN): Likewise.
13661 (POLL_OUT): Likewise.
13662 (POLL_MSG): Likewise.
13663 (POLL_ERR): Likewise.
13664 (POLL_PRI): Likewise.
13665 (POLL_HUP): Likewise.
13666 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13667 (ILL_ILLOPN): Likewise.
13668 (ILL_ILLADR): Likewise.
13669 (ILL_ILLTRP): Likewise.
13670 (ILL_PRVOPC): Likewise.
13671 (ILL_PRVREG): Likewise.
13672 (ILL_COPROC): Likewise.
13673 (ILL_BADSTK): Likewise.
13674 (ILL_DBLFLT): Likewise.
13675 (ILL_HARDWALL): Likewise.
13676 (FPE_INTDIV): Likewise.
13677 (FPE_INTOVF): Likewise.
13678 (FPE_FLTDIV): Likewise.
13679 (FPE_FLTOVF): Likewise.
13680 (FPE_FLTUND): Likewise.
13681 (FPE_FLTRES): Likewise.
13682 (FPE_FLTINV): Likewise.
13683 (FPE_FLTSUB): Likewise.
13684 (SEGV_MAPERR): Likewise.
13685 (SEGV_ACCERR): Likewise.
13686 (BUS_ADRALN): Likewise.
13687 (BUS_ADRERR): Likewise.
13688 (BUS_OBJERR): Likewise.
13689 (BUS_MCEERR_AR): Likewise.
13690 (BUS_MCEERR_AO): Likewise.
13691 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13692 (TRAP_TRACE): Likewise.
13693 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13695 (CLD_KILLED): Likewise.
13696 (CLD_DUMPED): Likewise.
13697 (CLD_TRAPPED): Likewise.
13698 (CLD_STOPPED): Likewise.
13699 (CLD_CONTINUED): Likewise.
13700 (POLL_IN): Likewise.
13701 (POLL_OUT): Likewise.
13702 (POLL_MSG): Likewise.
13703 (POLL_ERR): Likewise.
13704 (POLL_PRI): Likewise.
13705 (POLL_HUP): Likewise.
13706 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13707 (ILL_ILLOPN): Likewise.
13708 (ILL_ILLADR): Likewise.
13709 (ILL_ILLTRP): Likewise.
13710 (ILL_PRVOPC): Likewise.
13711 (ILL_PRVREG): Likewise.
13712 (ILL_COPROC): Likewise.
13713 (ILL_BADSTK): Likewise.
13714 (FPE_INTDIV): Likewise.
13715 (FPE_INTOVF): Likewise.
13716 (FPE_FLTDIV): Likewise.
13717 (FPE_FLTOVF): Likewise.
13718 (FPE_FLTUND): Likewise.
13719 (FPE_FLTRES): Likewise.
13720 (FPE_FLTINV): Likewise.
13721 (FPE_FLTSUB): Likewise.
13722 (SEGV_MAPERR): Likewise.
13723 (SEGV_ACCERR): Likewise.
13724 (BUS_ADRALN): Likewise.
13725 (BUS_ADRERR): Likewise.
13726 (BUS_OBJERR): Likewise.
13727 (BUS_MCEERR_AR): Likewise.
13728 (BUS_MCEERR_AO): Likewise.
13729 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13730 (TRAP_TRACE): Likewise.
13731 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13733 (CLD_KILLED): Likewise.
13734 (CLD_DUMPED): Likewise.
13735 (CLD_TRAPPED): Likewise.
13736 (CLD_STOPPED): Likewise.
13737 (CLD_CONTINUED): Likewise.
13738 (POLL_IN): Likewise.
13739 (POLL_OUT): Likewise.
13740 (POLL_MSG): Likewise.
13741 (POLL_ERR): Likewise.
13742 (POLL_PRI): Likewise.
13743 (POLL_HUP): Likewise.
13744 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13745 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13748 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13749 before #include of <time.h>.
13750 [!__USE_XOPEN2K] (__need_timespec): Likewise.
13751 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13752 (test-xfail-UNIX98/sched.h/conform): Likewise.
13754 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
13756 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13757 error absence of trapping exception support.
13758 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13760 2014-03-07 Joseph Myers <joseph@codesourcery.com>
13762 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13763 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13764 * timezone/Makefile (testdata): Move definition above include of
13766 (test-zones): New variable.
13767 (tests-special): Add zone files.
13768 (build-testdata): Use $(evaluate-test).
13770 * elf/Makefile (tests-special): Rename tests to end with .out.
13771 ($(objpfx)noload-mem): Likewise.
13772 ($(objpfx)tst-leaks1-mem): Likewise.
13773 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13774 * iconv/Makefile (xtests-special): Change test-iconvconfig to
13775 $(objpfx)test-iconvconfig.out.
13776 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
13777 set -e inside subshell and redirect output to file.
13778 * iconvdata/Makefile (generated): Rename tests to end with .out.
13780 (tests-special): Rename tests to end with .out.
13781 ($(objpfx)mtrace-tst-loading): Likewise.
13782 * intl/Makefile (generated): Likewise.
13783 (tests-special): Likewise.
13784 ($(objpfx)mtrace-tst-gettext): Likewise.
13785 * misc/Makefile (generated): Likewise.
13786 (tests-special): Likewise.
13787 ($(objpfx)tst-error1-mem): Likewise.
13788 * nptl/Makefile (tests-special): Likewise.
13789 ($(objpfx)tst-stack3-mem): Likewise.
13790 (generated): Likewise.
13791 * posix/Makefile (generated): Likewise.
13792 (tests-special): Likewise.
13793 (xtests-special): Likewise.
13794 ($(objpfx)tst-fnmatch-mem): Likewise.
13795 ($(objpfx)bug-regex2-mem): Likewise.
13796 ($(objpfx)bug-regex14-mem): Likewise.
13797 ($(objpfx)bug-regex21-mem): Likewise.
13798 ($(objpfx)bug-regex31-mem): Likewise.
13799 ($(objpfx)tst-vfork3-mem): Likewise.
13800 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13801 ($(objpfx)tst-pcre-mem): Likewise.
13802 ($(objpfx)tst-boost-mem): Likewise.
13803 ($(objpfx)bug-ga2-mem): Likewise.
13804 ($(objpfx)bug-glob2-mem): Likewise.
13805 * resolv/Makefile (generate): Likewise.
13806 (tests-special): Likewise.
13807 (xtests-special): Likewise.
13808 (generated): Likewise.
13809 ($(objpfx)mtrace-tst-leaks): Likewise.
13810 ($(objpfx)mtrace-tst-leaks2): Likewise.
13812 * scripts/merge-test-results.sh: New file.
13813 * Makefile (tests-special-notdir): New variable.
13814 (tests): Run merge-test-results.sh.
13815 (xtests): Likewise.
13816 * Rules (tests-special-notdir): New variable.
13817 (xtests-special-notdir): Likewise.
13818 (tests): Run merge-test-results.sh
13819 (xtests): Likewise.
13821 * Makeconfig (test-xfail-name): New variable.
13822 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13823 compute variable name for expected failures.
13824 * conform/Makefile (conformtest-headers-data): New variable.
13825 (conformtest-standards): Likewise.
13826 (conformtest-headers-ISO): Likewise.
13827 (conformtest-headers-ISO99): Likewise.
13828 (conformtest-headers-ISO11): Likewise.
13829 (conformtest-headers-POSIX): Likewise.
13830 (conformtest-headers-XPG3): Likewise.
13831 (conformtest-headers-XPG4): Likewise.
13832 (conformtest-headers-UNIX98): Likewise.
13833 (conformtest-headers-XOPEN2K): Likewise.
13834 (conformtest-headers-POSIX2008): Likewise.
13835 (conformtest-headers-XOPEN2K8): Likewise.
13836 (conformtest-header-list-base): Likewise.
13837 (conformtest-header-list-tests): Likewise.
13838 (conformtest-header-base): Likewise.
13839 (conformtest-header-tests): Likewise.
13840 (tests-special): Add $(conformtest-header-list-tests). If
13841 [$(fast-check) && !$(cross-compiling)], add
13842 $(conformtest-header-tests) instead of
13843 $(objpfx)run-conformtest.out.
13844 (generated): Add $(conformtest-header-list-base). If
13845 [$(fast-check) && !$(cross-compiling)], add
13846 $(conformtest-header-base). Remove previous setting.
13847 ($(conformtest-header-list-tests)): New target.
13848 (test-xfail-run-conformtest): Remove variable.
13849 ($(objpfx)run-conformtest.out): Remove target.
13850 (test-xfail-ISO11/complex.h/conform): New variable.
13851 (test-xfail-ISO11/stdalign.h/conform): Likewise.
13852 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13853 (test-xfail-XPG3/varargs.h/conform): Likewise.
13854 (test-xfail-XPG4/varargs.h/conform): Likewise.
13855 (test-xfail-UNIX98/varargs.h/conform): Likewise.
13856 (test-xfail-XPG4/ndbm.h/conform): Likewise.
13857 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13858 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13859 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13860 (test-xfail-XPG3/fcntl.h/conform): Likewise.
13861 (test-xfail-XPG3/ftw.h/conform): Likewise.
13862 (test-xfail-XPG3/grp.h/conform): Likewise.
13863 (test-xfail-XPG3/langinfo.h/conform): Likewise.
13864 (test-xfail-XPG3/limits.h/conform): Likewise.
13865 (test-xfail-XPG3/pwd.h/conform): Likewise.
13866 (test-xfail-XPG3/search.h/conform): Likewise.
13867 (test-xfail-XPG3/signal.h/conform): Likewise.
13868 (test-xfail-XPG3/stdio.h/conform): Likewise.
13869 (test-xfail-XPG3/stdlib.h/conform): Likewise.
13870 (test-xfail-XPG3/string.h/conform): Likewise.
13871 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13872 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13873 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13874 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13875 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13876 (test-xfail-XPG3/sys/types.h/conform): Likewise.
13877 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13878 (test-xfail-XPG3/termios.h/conform): Likewise.
13879 (test-xfail-XPG3/time.h/conform): Likewise.
13880 (test-xfail-XPG3/unistd.h/conform): Likewise.
13881 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13882 (test-xfail-XPG4/fcntl.h/conform): Likewise.
13883 (test-xfail-XPG4/langinfo.h/conform): Likewise.
13884 (test-xfail-XPG4/netdb.h/conform): Likewise.
13885 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13886 (test-xfail-XPG4/signal.h/conform): Likewise.
13887 (test-xfail-XPG4/stdio.h/conform): Likewise.
13888 (test-xfail-XPG4/stdlib.h/conform): Likewise.
13889 (test-xfail-XPG4/stropts.h/conform): Likewise.
13890 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13891 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13892 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13893 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13894 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13895 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13896 (test-xfail-XPG4/sys/time.h/conform): Likewise.
13897 (test-xfail-XPG4/sys/types.h/conform): Likewise.
13898 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13899 (test-xfail-XPG4/termios.h/conform): Likewise.
13900 (test-xfail-XPG4/ucontext.h/conform): Likewise.
13901 (test-xfail-XPG4/unistd.h/conform): Likewise.
13902 (test-xfail-XPG4/utmpx.h/conform): Likewise.
13903 (test-xfail-POSIX/sched.h/conform): Likewise.
13904 (test-xfail-POSIX/signal.h/conform): Likewise.
13905 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13906 (test-xfail-POSIX/tar.h/conform): Likewise.
13907 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13908 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13909 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13910 (test-xfail-UNIX98/netdb.h/conform): Likewise.
13911 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13912 (test-xfail-UNIX98/sched.h/conform): Likewise.
13913 (test-xfail-UNIX98/signal.h/conform): Likewise.
13914 (test-xfail-UNIX98/stdio.h/conform): Likewise.
13915 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13916 (test-xfail-UNIX98/stropts.h/conform): Likewise.
13917 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13918 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13919 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13920 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13921 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13922 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13923 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13924 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13925 (test-xfail-UNIX98/unistd.h/conform): Likewise.
13926 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13927 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13928 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13929 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13930 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13931 (test-xfail-XOPEN2K/math.h/conform): Likewise.
13932 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13933 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13934 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13935 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13936 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13937 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13938 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13939 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13940 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13941 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13942 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13943 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13944 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13945 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13946 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13947 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13948 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13949 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13950 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13951 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13952 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13953 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13954 (test-xfail-POSIX2008/signal.h/conform): Likewise.
13955 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13956 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13957 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13958 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13959 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13960 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13961 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13962 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13963 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13964 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13965 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13966 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13967 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13968 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13969 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13970 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13971 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13972 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13973 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13974 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13975 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13976 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13977 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13978 (conformtest-cc-flags): Likewise.
13979 ($(conformtest-header-tests): New target.
13980 * conform/check-header-lists.sh: New file.
13981 * conform/run-conformtest.sh: Remove.
13983 * conform/conformtest.pl: Allow ' and \ in values given for
13985 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13987 [POSIX] (sys/types.h): Likewise.
13988 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13990 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13992 * conform/data/signal.h-data (SIGIO): Remove expectation.
13993 [XPG3] (SIGBUS): Do not expect.
13994 [POSIX || XPG3] (SIGPOLL): Likewise.
13995 [POSIX || XPG3] (SIGPROF): Likewise.
13996 [POSIX || XPG3] (SIGSYS): Likewise.
13997 [XPG3] (SIGTRAP): Likewise.
13998 [POSIX || XPG3] (SIGURG): Likewise.
13999 [POSIX || XPG3] (SIGVTALRM): Likewise.
14000 [POSIX || XPG3] (SIGXCPU): Likewise.
14001 [POSIX || XPG3] (SIGXFSZ): Likewise.
14002 [POSIX] (SA_SIGINFO): Expect.
14003 [XPG3] (siginfo_t): Do not expect type or contents.
14004 [POSIX] (si_pid): Do not expect element.
14005 [POSIX] (si_uid): Likewise.
14006 [POSIX] (si_addr): Likewise.
14007 [POSIX] (si_status): Likewise.
14008 [POSIX] (si_band): Likewise.
14009 [XPG4] (si_value): Likewise.
14010 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
14011 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
14012 [POSIX || XPG3] (ILL_ILLADR): Likewise.
14013 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
14014 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
14015 [POSIX || XPG3] (ILL_PRVREG): Likewise.
14016 [POSIX || XPG3] (ILL_COPROC): Likewise.
14017 [POSIX || XPG3] (ILL_BADSTK): Likewise.
14018 [POSIX || XPG3] (FPE_INTDIV): Likewise.
14019 [POSIX || XPG3] (FPE_INTOVF): Likewise.
14020 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
14021 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
14022 [POSIX || XPG3] (FPE_FLTUND): Likewise.
14023 [POSIX || XPG3] (FPE_FLTRES): Likewise.
14024 [POSIX || XPG3] (FPE_FLTINV): Likewise.
14025 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
14026 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
14027 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
14028 [POSIX || XPG3] (BUS_ADRALN): Likewise.
14029 [POSIX || XPG3] (BUS_ADRERR): Likewise.
14030 [POSIX || XPG3] (BUS_OBJERR): Likewise.
14031 [POSIX || XPG3] (CLD_EXITED): Likewise.
14032 [POSIX || XPG3] (CLD_KILLED): Likewise.
14033 [POSIX || XPG3] (CLD_DUMPED): Likewise.
14034 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
14035 [POSIX || XPG3] (CLD_STOPPED): Likewise.
14036 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
14037 [POSIX || XPG3] (POLL_IN): Likewise.
14038 [POSIX || XPG3] (POLL_OUT): Likewise.
14039 [POSIX || XPG3] (POLL_MSG): Likewise.
14040 [POSIX || XPG3] (POLL_ERR): Likewise.
14041 [POSIX || XPG3] (POLL_PRI): Likewise.
14042 [POSIX || XPG3] (POLL_HUP): Likewise.
14043 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
14044 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
14045 (SIG*): Do not allow.
14046 [XPG3] (si_*): Likewise.
14047 [XPG3] (SI_*): Likewise.
14048 [XPG3 || XPG4] (sigev_*): Likewise.
14049 [XPG3 || XPG4] (SIGEV_*): Likewise.
14050 [XPG3 || XPG4] (sival_*): Likewise.
14051 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
14052 [POSIX || XPG3] (BUS_*): Likewise.
14053 [POSIX || XPG3] (CLD_*): Likewise.
14054 [POSIX || XPG3] (FPE_*): Likewise.
14055 [POSIX || XPG3] (ILL_*): Likewise.
14056 [POSIX || XPG3] (POLL_*): Likewise.
14057 [POSIX || XPG3] (SEGV_*): Likewise.
14058 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
14059 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
14060 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
14061 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
14062 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
14063 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
14064 Specify type and value.
14065 (TVERSLEN): Likewise.
14066 (REGTYPE): Likewise.
14067 (AREGTYPE): Likewise.
14068 (LNKTYPE): Likewise.
14069 (SYMTYPE): Likewise.
14070 (CHRTYPE): Likewise.
14071 (BLKTYPE): Likewise.
14072 (DIRTYPE): Likewise.
14073 (FIFOTYPE): Likewise.
14074 (CONTTYPE): Likewise.
14078 (TUREAD): Likewise.
14079 (TUWRITE): Likewise.
14080 (TUEXEC): Likewise.
14081 (TGREAD): Likewise.
14082 (TGWRITE): Likewise.
14083 (TGEXEC): Likewise.
14084 (TOREAD): Likewise.
14085 (TOWRITE): Likewise.
14086 (TOEXEC): Likewise.
14087 [POSIX] (TSVTX): Expect constant.
14089 2014-03-06 Joseph Myers <joseph@codesourcery.com>
14091 * Makefile (tests): Change dependencies to ....
14092 (tests-special): ... additions to this variable.
14093 (tests): Depend on $(tests-special).
14094 * Makerules (check-abi-list): New variable.
14095 (check-abi): Depend on $(check-abi-list).
14096 [$(subdir) = elf] (tests-special): Add
14097 $(objpfx)check-abi-libc.out.
14098 [$(build-shared) = yes && subdir] (tests-special): Add
14100 [$(build-shared) = yes && subdir] (tests): Do not depend on
14102 * Rules (tests): Depend on $(tests-special).
14103 (xtests): Depend on $(xtests-special).
14104 * catgets/Makefile (tests): Change dependencies to ....
14105 (tests-special): ... additions to this variable.
14106 * conform/Makefile (tests): Change dependencies to ....
14107 (tests-special): ... additions to this variable.
14108 * elf/Makefile (tests): Change dependencies to ....
14109 (tests-special): ... additions to this variable.
14110 * grp/Makefile (tests): Change dependencies to ....
14111 (tests-special): ... additions to this variable.
14112 * iconv/Makefile (xtests): Change dependencies to ....
14113 (xtests-special): ... additions to this variable.
14114 * iconvdata/Makefile (tests): Change dependencies to ....
14115 (tests-special): ... additions to this variable.
14116 * intl/Makefile (tests): Change dependencies to ....
14117 (tests-special): ... additions to this variable. Also add
14118 $(objpfx)tst-gettext.out.
14119 * io/Makefile (tests): Change dependencies to ....
14120 (tests-special): ... additions to this variable.
14121 * libio/Makefile (tests): Change dependencies to ....
14122 (tests-special): ... additions to this variable.
14123 * malloc/Makefile (tests): Change dependencies to ....
14124 (tests-special): ... additions to this variable.
14125 * misc/Makefile (tests): Change dependencies to ....
14126 (tests-special): ... additions to this variable.
14127 * nptl/Makefile (tests): Change dependencies to ....
14128 (tests-special): ... additions to this variable.
14129 * nptl_db/Makefile (tests): Change dependencies to ....
14130 (tests-special): ... additions to this variable.
14131 * posix/Makefile (tests): Change dependencies to ....
14132 (tests-special): ... additions to this variable.
14133 (xtests): Change dependencies to ....
14134 (xtests-special): ... additions to this variable.
14135 * resolv/Makefile (tests): Change dependencies to ....
14136 (tests-special): ... additions to this variable.
14137 (xtests): Change dependencies to ....
14138 (xtests-special): ... additions to this variable.
14139 * stdio-common/Makefile (tests): Change dependencies to ....
14140 (tests-special): ... additions to this variable.
14141 (do-tst-unbputc): Remove target.
14142 (do-tst-printf): Likewise.
14143 * stdlib/Makefile (tests): Change dependencies to ....
14144 (tests-special): ... additions to this variable.
14145 * string/Makefile (tests): Change dependencies to ....
14146 (tests-special): ... additions to this variable.
14147 * sysdeps/x86/Makefile (tests): Change dependencies to ....
14148 (tests-special): ... additions to this variable.
14150 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
14152 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
14154 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
14155 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
14157 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
14158 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
14159 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14160 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14161 * conform/data/libgen.h-data [XPG3]: Likewise.
14162 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14163 * conform/data/ndbm.h-data [XPG3]: Likewise.
14164 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14165 * conform/data/netdb.h-data [XPG3]: Likewise.
14166 * conform/data/netinet/in.h-data [XPG3]: Likewise.
14167 * conform/data/poll.h-data [XPG3]: Likewise.
14168 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14169 * conform/data/strings.h-data [XPG3]: Likewise.
14170 * conform/data/stropts.h-data [XPG3]: Likewise.
14171 * conform/data/sys/mman.h-data [XPG3]: Likewise.
14172 * conform/data/sys/resource.h-data [XPG3]: Likewise.
14173 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14175 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14176 * conform/data/sys/time.h-data [XPG3]: Likewise.
14177 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14178 * conform/data/sys/uio.h-data [XPG3]: Likewise.
14179 * conform/data/sys/un.h-data [XPG3]: Likewise.
14180 * conform/data/syslog.h-data [XPG3]: Likewise.
14181 * conform/data/ucontext.h-data [XPG3]: Likewise.
14182 * conform/data/utmpx.h-data [XPG3]: Likewise.
14183 * conform/data/varargs.h-data [UNIX98]: Enable file.
14185 * manual/Makefile (INSTALL_INFO): Remove variable setting.
14187 * math/libm-test.inc (struct test_f_f_data): Move expected results
14188 into structure for each rounding mode.
14189 (struct test_ff_f_data): Likewise.
14190 (struct test_ff_f_data_nexttoward): Likewise.
14191 (struct test_fi_f_data): Likewise.
14192 (struct test_fl_f_data): Likewise.
14193 (struct test_if_f_data): Likewise.
14194 (struct test_fff_f_data): Likewise.
14195 (struct test_c_f_data): Likewise.
14196 (struct test_f_f1_data): Likewise.
14197 (struct test_fF_f1_data): Likewise.
14198 (struct test_ffI_f1_data): Likewise.
14199 (struct test_c_c_data): Likewise.
14200 (struct test_cc_c_data): Likewise.
14201 (struct test_f_i_data): Likewise.
14202 (struct test_ff_i_data): Likewise.
14203 (struct test_f_l_data): Likewise.
14204 (struct test_f_L_data): Likewise.
14205 (struct test_fFF_11_data): Likewise.
14207 (RM_FE_DOWNWARD): Likewise.
14208 (RM_FE_TONEAREST): Likewise.
14209 (RM_FE_TOWARDZERO): Likewise.
14210 (RM_FE_UPWARD): Likewise.
14211 (RUN_TEST_LOOP_f_f): Update references to expected results.
14212 (RUN_TEST_LOOP_2_f): Likewise.
14213 (RUN_TEST_LOOP_fff_f): Likewise.
14214 (RUN_TEST_LOOP_c_f): Likewise.
14215 (RUN_TEST_LOOP_f_f1): Likewise.
14216 (RUN_TEST_LOOP_fF_f1): Likewise.
14217 (RUN_TEST_LOOP_fI_f1): Likewise.
14218 (RUN_TEST_LOOP_ffI_f1): Likewise.
14219 (RUN_TEST_LOOP_c_c): Likewise.
14220 (RUN_TEST_LOOP_cc_c): Likewise.
14221 (RUN_TEST_LOOP_f_i): Likewise.
14222 (RUN_TEST_LOOP_f_i_tg): Likewise.
14223 (RUN_TEST_LOOP_ff_i_tg): Likewise.
14224 (RUN_TEST_LOOP_f_b): Likewise.
14225 (RUN_TEST_LOOP_f_b_tg): Likewise.
14226 (RUN_TEST_LOOP_f_l): Likewise.
14227 (RUN_TEST_LOOP_f_L): Likewise.
14228 (RUN_TEST_LOOP_fFF_11): Likewise.
14229 * math/gen-libm-test.pl (parse_args): Output four copies of
14230 expected results for each test.
14232 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14233 (__ASSUME_UTIMES): Remove.
14234 * sysdeps/unix/sysv/linux/tile/kernel-features.h
14235 (__ASSUME_UTIMES): Likewise.
14237 * math/gen-auto-libm-tests.c: Update comment on output format.
14238 (output_for_one_input_case): Generate before-rounding and
14239 after-rounding information as conditions on output flags not
14240 floating-point format.
14241 * math/auto-libm-test-out: Regenerated.
14242 * math/gen-libm-test.pl (cond_value): New function.
14243 (or_cond_value): Use cond_value.
14244 (generate_testfile): Handle conditional exceptions.
14246 2014-03-05 Joseph Myers <joseph@codesourcery.com>
14248 * math/libm-test.inc (max_valid_error): New variable.
14249 (init_max_error): Take new argument specifying whether function
14250 results are exactly determined. Set max_valid_error and bound
14251 other variables for errors based on this argument.
14252 (set_max_error): Do not record results above max_valid_error.
14253 (check_float_internal): Only accept errors of up to 0.5ulps if
14254 also at most max_valid_error.
14255 (START): Take new argument EXACT and pass it to init_max_error.
14256 (acos_test): Update call to START.
14257 (acos_test_tonearest): Likewise.
14258 (acos_test_towardzero): Likewise.
14259 (acos_test_downward): Likewise.
14260 (acos_test_upward): Likewise.
14261 (acosh_test): Likewise.
14262 (asin_test): Likewise.
14263 (asin_test_tonearest): Likewise.
14264 (asin_test_towardzero): Likewise.
14265 (asin_test_downward): Likewise.
14266 (asin_test_upward): Likewise.
14267 (asinh_test): Likewise.
14268 (atan_test): Likewise.
14269 (atanh_test): Likewise.
14270 (atan2_test): Likewise.
14271 (cabs_test): Likewise.
14272 (cacos_test): Likewise.
14273 (cacosh_test): Likewise.
14274 (carg_test): Likewise.
14275 (casin_test): Likewise.
14276 (casinh_test): Likewise.
14277 (catan_test): Likewise.
14278 (catanh_test): Likewise.
14279 (cbrt_test): Likewise.
14280 (ccos_test): Likewise.
14281 (ccosh_test): Likewise.
14282 (ceil_test): Likewise.
14283 (cexp_test): Likewise.
14284 (cimag_test): Likewise.
14285 (clog_test): Likewise.
14286 (clog10_test): Likewise.
14287 (conj_test): Likewise.
14288 (copysign_test): Likewise.
14289 (cos_test): Likewise.
14290 (cos_test_tonearest): Likewise.
14291 (cos_test_towardzero): Likewise.
14292 (cos_test_downward): Likewise.
14293 (cos_test_upward): Likewise.
14294 (cosh_test): Likewise.
14295 (cosh_test_tonearest): Likewise.
14296 (cosh_test_towardzero): Likewise.
14297 (cosh_test_downward): Likewise.
14298 (cosh_test_upward): Likewise.
14299 (cpow_test): Likewise.
14300 (cproj_test): Likewise.
14301 (creal_test): Likewise.
14302 (csin_test): Likewise.
14303 (csinh_test): Likewise.
14304 (csqrt_test): Likewise.
14305 (ctan_test): Likewise.
14306 (ctan_test_tonearest): Likewise.
14307 (ctan_test_towardzero): Likewise.
14308 (ctan_test_downward): Likewise.
14309 (ctan_test_upward): Likewise.
14310 (ctanh_test): Likewise.
14311 (ctanh_test_tonearest): Likewise.
14312 (ctanh_test_towardzero): Likewise.
14313 (ctanh_test_downward): Likewise.
14314 (ctanh_test_upward): Likewise.
14315 (erf_test): Likewise.
14316 (erfc_test): Likewise.
14317 (exp_test): Likewise.
14318 (exp_test_tonearest): Likewise.
14319 (exp_test_towardzero): Likewise.
14320 (exp_test_downward): Likewise.
14321 (exp_test_upward): Likewise.
14322 (exp10_test): Likewise.
14323 (exp10_test_tonearest): Likewise.
14324 (exp10_test_towardzero): Likewise.
14325 (exp10_test_downward): Likewise.
14326 (exp10_test_upward): Likewise.
14327 (pow10_test): Likewise.
14328 (exp2_test): Likewise.
14329 (expm1_test): Likewise.
14330 (expm1_test_tonearest): Likewise.
14331 (expm1_test_towardzero): Likewise.
14332 (expm1_test_downward): Likewise.
14333 (expm1_test_upward): Likewise.
14334 (fabs_test): Likewise.
14335 (fdim_test): Likewise.
14336 (floor_test): Likewise.
14337 (fma_test): Likewise.
14338 (fma_test_towardzero): Likewise.
14339 (fma_test_downward): Likewise.
14340 (fma_test_upward): Likewise.
14341 (fmax_test): Likewise.
14342 (fmin_test): Likewise.
14343 (fmod_test): Likewise.
14344 (fpclassify_test): Likewise.
14345 (frexp_test): Likewise.
14346 (hypot_test): Likewise.
14347 (ilogb_test): Likewise.
14348 (isfinite_test): Likewise.
14349 (finite_test): Likewise.
14350 (isgreater_test): Likewise.
14351 (isgreaterequal_test): Likewise.
14352 (isinf_test): Likewise.
14353 (isless_test): Likewise.
14354 (islessequal_test): Likewise.
14355 (islessgreater_test): Likewise.
14356 (isnan_test): Likewise.
14357 (isnormal_test): Likewise.
14358 (issignaling_test): Likewise.
14359 (isunordered_test): Likewise.
14360 (j0_test): Likewise.
14361 (j1_test): Likewise.
14362 (jn_test): Likewise.
14363 (ldexp_test): Likewise.
14364 (lgamma_test): Likewise.
14365 (gamma_test): Likewise.
14366 (lrint_test): Likewise.
14367 (lrint_test_tonearest): Likewise.
14368 (lrint_test_towardzero): Likewise.
14369 (lrint_test_downward): Likewise.
14370 (lrint_test_upward): Likewise.
14371 (llrint_test): Likewise.
14372 (llrint_test_tonearest): Likewise.
14373 (llrint_test_towardzero): Likewise.
14374 (llrint_test_downward): Likewise.
14375 (llrint_test_upward): Likewise.
14376 (log_test): Likewise.
14377 (log10_test): Likewise.
14378 (log1p_test): Likewise.
14379 (log2_test): Likewise.
14380 (logb_test): Likewise.
14381 (logb_test_downward): Likewise.
14382 (lround_test): Likewise.
14383 (llround_test): Likewise.
14384 (modf_test): Likewise.
14385 (nearbyint_test): Likewise.
14386 (nextafter_test): Likewise.
14387 (nexttoward_test): Likewise.
14388 (pow_test): Likewise.
14389 (pow_test_tonearest): Likewise.
14390 (pow_test_towardzero): Likewise.
14391 (pow_test_downward): Likewise.
14392 (pow_test_upward): Likewise.
14393 (remainder_test): Likewise.
14394 (drem_test): Likewise.
14395 (remainder_test_tonearest): Likewise.
14396 (drem_test_tonearest): Likewise.
14397 (remainder_test_towardzero): Likewise.
14398 (drem_test_towardzero): Likewise.
14399 (remainder_test_downward): Likewise.
14400 (drem_test_downward): Likewise.
14401 (remainder_test_upward): Likewise.
14402 (drem_test_upward): Likewise.
14403 (remquo_test): Likewise.
14404 (rint_test): Likewise.
14405 (rint_test_tonearest): Likewise.
14406 (rint_test_towardzero): Likewise.
14407 (rint_test_downward): Likewise.
14408 (rint_test_upward): Likewise.
14409 (round_test): Likewise.
14410 (scalb_test): Likewise.
14411 (scalbn_test): Likewise.
14412 (scalbln_test): Likewise.
14413 (signbit_test): Likewise.
14414 (sin_test): Likewise.
14415 (sin_test_tonearest): Likewise.
14416 (sin_test_towardzero): Likewise.
14417 (sin_test_downward): Likewise.
14418 (sin_test_upward): Likewise.
14419 (sincos_test): Likewise.
14420 (sinh_test): Likewise.
14421 (sinh_test_tonearest): Likewise.
14422 (sinh_test_towardzero): Likewise.
14423 (sinh_test_downward): Likewise.
14424 (sinh_test_upward): Likewise.
14425 (sqrt_test): Likewise.
14426 (sqrt_test_tonearest): Likewise.
14427 (sqrt_test_towardzero): Likewise.
14428 (sqrt_test_downward): Likewise.
14429 (sqrt_test_upward): Likewise.
14430 (tan_test): Likewise.
14431 (tan_test_tonearest): Likewise.
14432 (tan_test_towardzero): Likewise.
14433 (tan_test_downward): Likewise.
14434 (tan_test_upward): Likewise.
14435 (tanh_test): Likewise.
14436 (tgamma_test): Likewise.
14437 (trunc_test): Likewise.
14438 (y0_test): Likewise.
14439 (y1_test): Likewise.
14440 (yn_test): Likewise.
14441 (significand_test): Likewise.
14443 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14444 individual tests in comment.
14445 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14446 (prev_max_error): New variable.
14447 (prev_real_max_error): Likewise.
14448 (prev_imag_max_error): Likewise.
14449 (compare_ulp_data): Don't refer to test names in comment.
14450 (find_test_ulps): Remove function.
14451 (find_function_ulps): Likewise.
14452 (find_complex_function_ulps): Likewise.
14453 (init_max_error): Take function name as argument. Look up ulps
14455 (print_ulps): Remove function.
14456 (print_max_error): Use prev_max_error instead of calling
14457 find_function_ulps.
14458 (print_complex_max_error): Use prev_real_max_error and
14459 prev_imag_max_error instead of calling find_complex_function_ulps.
14460 (check_float_internal): Take max_ulp parameter instead of calling
14461 find_test_ulps. Don't call print_ulps.
14462 (check_float): Update call to check_float_internal.
14463 (check_complex): Update calls to check_float_internal.
14464 (START): Pass argument to init_max_error.
14465 * math/gen-libm-test.pl (%results): Don't include "kind"
14467 (parse_ulps): Don't handle ulps of individual tests.
14468 (print_ulps_file): Likewise.
14469 (output_ulps): Likewise.
14470 * math/README.libm-test: Update.
14471 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14473 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14474 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14475 * sysdeps/arm/libm-test-ulps: Likewise.
14476 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14477 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14478 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14479 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14480 * sysdeps/microblaze/libm-test-ulps: Likewise.
14481 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14482 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14483 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14484 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14485 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14486 * sysdeps/sh/libm-test-ulps: Likewise.
14487 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14488 * sysdeps/tile/libm-test-ulps: Likewise.
14489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14491 2014-03-04 Joseph Myers <joseph@codesourcery.com>
14493 * math/libm-test.inc (print_complex_max_error): Check separately
14494 whether real and imaginary errors are within allowed range and
14495 pass 0 to print_complex_function_ulps instead of value within
14498 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
14500 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14502 (get_handles_fopen): Likewise.
14503 (do_write_test): Likewise.
14505 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14507 * libio/fileops.c (do_ftell): Use cached offset when
14509 * libio/iofwide.c (do_ftell_wide): Likewise.
14510 * libio/iofdopen.c (_IO_new_fdopen): Don't use
14512 * libio/wfileops.c (_IO_fwide): Don't cache offset.
14515 * libio/libioP.h (get_file_offset): New function.
14516 * libio/fileops.c (get_file_offset): Likewise.
14517 (do_ftell): Likewise.
14518 (_IO_new_file_seekoff): Split out ftell logic.
14519 * libio/wfileops.c (do_ftell_wide): Likewise.
14520 (_IO_wfile_seekoff): Split out ftell logic.
14521 * libio/tst-ftell-active-handler.c: New test case.
14522 * libio/Makefile (tests): Add it.
14524 2014-03-03 Roland McGrath <roland@hack.frob.com>
14526 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14527 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14529 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
14532 * nscd/connections.c (nscd_init): Call do_exit.
14533 (start_threads): Call do_exit and notify_parent.
14534 (begin_drop_privileges): Call do_exit.
14535 (finish_drop_privileges): Likewise.
14536 * nscd/selinux.c (preserve_capabilities): Likewise.
14537 (install_real_capabilities): Likewise.
14538 (nscd_selinux_enabled): Likewise.
14539 (avc_create_thread): Likewise.
14540 (avc_alloc_lock): Likewise.
14541 (nscd_avc_init): Likewise.
14542 * nscd/nscd.c (parent_fd): New static variable.
14543 (main): Create a pipe between parent and child processes.
14544 Skip closing parent_fd.
14545 (monitor_child): New function.
14546 (do_exit): Likewise.
14547 (notify_parent): Likewise.
14548 * nscd/nscd.h (notify_parent): Likewise.
14549 (do_exit): Likewise.
14551 2014-03-03 Carlos O'Donell <carlos@redhat.com>
14553 * malloc/malloc.c (__libc_calloc): Revert last change.
14555 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14557 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14559 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14561 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14562 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14564 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14565 (__libc_ifunc_impl_list): Likewise.
14566 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14567 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14568 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14569 * string/strrchr.c: Define STRRCHR.
14571 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
14573 * benchtest/bench-strtok.c (simple_strtok): Delete.
14574 (strtok_string): Use as benchmark.
14575 * string/strtok (STRTOK): New macro.
14577 2014-02-28 Carlos O'Donell <carlos@redhat.com>
14579 * manual/threads.texi: Add header and standard comments to all
14582 * elf/dl-lookup.c (check_match): New function.
14583 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14584 (do_lookup_x): Remove nested function check_match. Use non-nested
14585 function check_match.
14587 2014-02-28 Roland McGrath <roland@hack.frob.com>
14589 * csu/Makefile (generated, before-compile): Use += rather than =.
14590 * catgets/Makefile (generated, generated-dirs): Likewise.
14591 * debug/Makefile (generated): Likewise.
14592 * dlfcn/Makefile (generated): Likewise.
14593 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14594 * iconvdata/Makefile (before-compile, generated): Likewise.
14595 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14596 * libio/Makefile (generated): Likewise.
14597 * malloc/Makefile (generated): Likewise.
14598 * manual/Makefile (generated, generated-dirs): Likewise.
14599 * misc/Makefile (generated): Likewise.
14600 * posix/Makefile (generated): Likewise.
14601 * resolv/Makefile (generated): Likewise.
14602 * sunrpc/Makefile (generated, generated-dirs): Likewise.
14603 * timezone/Makefile (generated, generated-dirs): Likewise.
14605 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14607 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14609 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14610 power8 implementation.
14611 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14612 file: POWER8 llround ifunc implementation.
14613 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14614 (__lllround): Add POWER8 implementation.
14615 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14616 POWER8 llround implementation.
14618 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14619 power8 implementation.
14620 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14621 file: POWER8 llrint ifunc implementation.
14622 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14623 Add POWER8 implementation.
14624 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14625 POWER8 llrint implementation.
14627 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14628 power8 implementation.
14629 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14630 file: POWER8 finite ifunc implementation.
14631 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14632 Add POWER8 implementation.
14633 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14635 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14636 POWER8 finite implementation.
14637 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14639 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14640 power8 implementation.
14641 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14642 file: POWER8 isinf ifunc implementation.
14643 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14644 POWER8 implementation.
14645 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14647 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14648 isinf implementation.
14649 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14651 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14652 (INIT_ARCH): Add hwcap2 initialization.
14653 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14654 power8 implementation.
14655 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14656 file: POWER8 isnan ifunc implementation.
14657 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14658 POWER8 implementation.
14659 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14661 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14662 isnan implementation.
14663 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14665 2014-02-27 Joey Ye <joey.ye@arm.com>
14667 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14668 (_FP_NANFRAC_Q): Set to zero.
14670 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
14673 * math/auto-libm-test-in: New test inputs.
14674 * math/auto-libm-test-out: Regenerate.
14675 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14678 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14680 2014-02-27 Joseph Myers <joseph@codesourcery.com>
14682 * scripts/evaluate-test.sh: Take new argument indicating whether
14683 failure is expected.
14684 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14685 indicating whether failure is expected.
14686 * conform/Makefile (test-xfail-run-conformtest): New variable.
14687 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14689 * posix/Makefile (test-xfail-annexc): New variable.
14690 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14692 2014-02-26 Joseph Myers <joseph@codesourcery.com>
14694 * argp/Makefile: Include Makeconfig immediately after defining
14696 * assert/Makefile: Likewise.
14697 * benchtests/Makefile: Likewise.
14698 * catgets/Makefile: Likewise.
14699 * conform/Makefile: Likewise.
14700 * crypt/Makefile: Likewise.
14701 * csu/Makefile: Likewise.
14702 (all): Remove target.
14703 * ctype/Makefile: Include Makeconfig immediately after defining
14705 * debug/Makefile: Likewise.
14706 * dirent/Makefile: Likewise.
14707 * dlfcn/Makefile: Likewise.
14708 * gmon/Makefile: Likewise.
14709 * gnulib/Makefile: Likewise.
14710 * grp/Makefile: Likewise.
14711 * gshadow/Makefile: Likewise.
14712 * hesiod/Makefile: Likewise.
14713 * hurd/Makefile: Likewise.
14714 (all): Remove target.
14715 * iconvdata/Makefile: Include Makeconfig immediately after
14717 * inet/Makefile: Likewise.
14718 * intl/Makefile: Likewise.
14719 * io/Makefile: Likewise.
14720 * libio/Makefile: Likewise.
14721 (all): Remove target.
14722 * locale/Makefile: Include Makeconfig immediately after defining
14724 * login/Makefile: Likewise.
14725 * mach/Makefile: Likewise.
14726 (all): Remove target.
14727 * malloc/Makefile: Include Makeconfig immediately after defining
14729 (all): Remove target.
14730 * manual/Makefile: Include Makeconfig immediately after defining
14732 * math/Makefile: Likewise.
14733 * misc/Makefile: Likewise.
14734 * nis/Makefile: Likewise.
14735 * nss/Makefile: Likewise.
14736 * po/Makefile: Likewise.
14737 (all): Remove target.
14738 * posix/Makefile: Include Makeconfig immediately after defining
14740 * pwd/Makefile: Likewise.
14741 * resolv/Makefile: Likewise.
14742 * resource/Makefile: Likewise.
14743 * rt/Makefile: Likewise.
14744 * setjmp/Makefile: Likewise.
14745 * shadow/Makefile: Likewise.
14746 * signal/Makefile: Likewise.
14747 * socket/Makefile: Likewise.
14748 * soft-fp/Makefile: Likewise.
14749 * stdio-common/Makefile: Likewise.
14750 * stdlib/Makefile: Likewise.
14751 * streams/Makefile: Likewise.
14752 * string/Makefile: Likewise.
14753 * sunrpc/Makefile: Likewise.
14754 (all): Remove target.
14755 * sysvipc/Makefile: Include Makeconfig immediately after defining
14757 * termios/Makefile: Likewise.
14758 * time/Makefile: Likewise.
14759 * timezone/Makefile: Likewise.
14760 (all): Remove target.
14761 * wcsmbs/Makefile: Include Makeconfig immediately after defining
14763 * wctype/Makefile: Likewise.
14765 2014-02-26 Steve Ellcey <sellcey@mips.com>
14767 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14768 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14769 (libc_feholdexcept_setround_mips): Ditto.
14770 (libc_feholdsetround): New.
14771 (libc_feholdsetroundf): New.
14772 (libc_feholdsetroundl): New.
14773 (libc_feupdateenv_test_mips): New.
14774 (libc_feupdateenv_test): New.
14775 (libc_feupdateenv_testf): New.
14776 (libc_feupdateenv_testl): New.
14777 (libc_feresetround): New.
14778 (libc_feresetroundf): New.
14779 (libc_feresetroundl): New.
14780 (libc_fetestexcept_mips): New.
14781 (libc_fetestexcept): New.
14782 (libc_fetestexceptf): New.
14783 (libc_fetestexceptl): New.
14784 (HAVE_RM_CTX): New.
14785 (libc_feholdexcept_setround_mips_ctx): New.
14786 (libc_feholdexcept_setround_ctx): New.
14787 (libc_feholdexcept_setroundf_ctx): New.
14788 (libc_feholdexcept_setroundl_ctx): New.
14789 (libc_fesetenv_mips_ctx): New.
14790 (libc_fesetenv_ctx): New.
14791 (libc_fesetenv_ctxf): New.
14792 (libc_fesetenv_ctxl): New.
14793 (libc_feupdateenv_mips_ctx): New.
14794 (libc_feupdateenv_ctx): New.
14795 (libc_feupdateenvf_ctx): New.
14796 (libc_feupdateenvl_ctx): New.
14797 (libc_feholdsetround_mips_ctx): New.
14798 (libc_feholdsetround_ctx): New.
14799 (libc_feholdsetroundf_ctx): New.
14800 (libc_feholdsetroundl_ctx): New.
14801 (libc_feresetround_mips_ctx): New.
14802 (libc_feresetround_ctx): New.
14803 (libc_feresetroundf_ctx): New.
14804 (libc_feresetroundl_ctx): New.
14806 2014-02-26 Carlos O'Donell <carlos@redhat.com>
14808 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14810 * manual/ipc.texi: New file.
14811 * manual/Makefile (chapters): Add ipc.
14812 * manual/job.texi: Add "Inter-Process Communication" to next.
14813 * manual/process.texi: Add "Inter-Process Communication" to prev.
14815 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14817 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14819 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
14821 * malloc/malloc.c (__libc_calloc): Simplify implementation.
14823 * manual/arith.texi: Fix spaces after sentences.
14824 * manual/charset.texi: Likewise.
14825 * manual/errno.texi: Likewise.
14826 * manual/install.texi: Likewise.
14827 * manual/llio.texi: Likewise.
14828 * manual/locale.texi: Likewise.
14829 * manual/maint.texi: Likewise.
14830 * manual/math.texi: Likewise.
14831 * manual/memory.texi: Likewise.
14832 * manual/message.texi: Likewise.
14833 * manual/probes.texi: Likewise.
14834 * manual/resource.texi: Likewise.
14835 * manual/signal.texi: Likewise.
14836 * manual/socket.texi: Likewise.
14837 * manual/stdio.texi: Likewise.
14838 * manual/string.texi: Likewise.
14839 * manual/time.texi: Likewise.
14840 * manual/users.texi: Likewise.
14842 2014-02-25 Carlos O'Donell <carlos@redhat.com>
14845 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14846 _DEFAULT_SOURCE is defined.
14848 2014-02-25 Ulrich Drepper <drepper@gmail.com>
14849 Carlos O'Donell <carlos@redhat.com>
14852 * elf/dl-tls.c (_dl_count_modids): New function.
14853 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14854 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14855 audit library and increment generation counter.
14856 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14857 * elf/tst-audit9.c: New file.
14858 * elf/tst-auditmod9a.c: New file.
14859 * elf/tst-auditmod9b.c: New file.
14860 * elf/Makefile: Add rules to build and run tst-audit9.
14862 2014-02-25 Florian Weimer <fweimer@redhat.com>
14865 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14867 2014-02-25 Will Newton <will.newton@linaro.org>
14869 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14870 (__longjmp): Restore sp and lr before restoring callee
14871 saved registers. Add longjmp and longjmp_target
14872 SystemTap probe point.
14873 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14874 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14875 Define to zero to match jmpbuf layout.
14876 * sysdeps/arm/setjmp.S: Include stap-probe.h.
14877 (__sigsetjmp): Save sp and lr before saving callee
14878 saved registers. Add setjmp SystemTap probe point.
14880 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
14882 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14884 2014-02-24 Andreas Schwab <schwab@suse.de>
14887 * elf/pldd.c (wait_for_ptrace_stop): New function.
14888 (main): Call it after attaching.
14890 2014-02-22 Roland McGrath <roland@hack.frob.com>
14892 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14893 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14894 Versions files is now verboten.
14895 * hurd/Versions (libc: GLIBC_2.0):
14896 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14897 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14898 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14899 * mach/Versions: Likewise.
14901 * csu/Versions: Remove unused %include.
14902 * resolv/Versions: Likewise.
14904 2014-02-21 Joseph Myers <joseph@codesourcery.com>
14906 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14907 ($(objpfx)check-local-headers.out): Likewise.
14908 ($(objpfx)begin-end-check.out): Likewise.
14909 * Makerules (check-abi-%.out): Likewise.
14910 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14911 ($(objpfx)test2.cat): Likewise.
14912 ($(objpfx)de/libc.cat): Likewise.
14913 ($(objpfx)test-gencat.out): Likewise.
14914 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14915 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14916 ($(objpfx)noload-mem): Likewise.
14917 ($(objpfx)tst-pathopt.out): Likewise.
14918 ($(objpfx)tst-rtld-load-self.out): Likewise.
14919 ($(objpfx)tst-array1-cmp.out): Likewise.
14920 ($(objpfx)tst-array1-static-cmp.out): Likewise.
14921 ($(objpfx)tst-array2-cmp.out): Likewise.
14922 ($(objpfx)tst-array3-cmp.out): Likewise.
14923 ($(objpfx)tst-array4-cmp.out): Likewise.
14924 ($(objpfx)tst-array5-cmp.out): Likewise.
14925 ($(objpfx)tst-array5-static-cmp.out): Likewise.
14926 ($(objpfx)check-textrel.out): Likewise.
14927 ($(objpfx)check-execstack.out): Likewise.
14928 ($(objpfx)check-localplt.out): Likewise.
14929 ($(objpfx)order2-cmp.out): Likewise.
14930 ($(objpfx)tst-leaks1-mem): Likewise.
14931 ($(objpfx)tst-leaks1-static-mem): Likewise.
14932 ($(objpfx)tst-initorder-cmp.out): Likewise.
14933 ($(objpfx)tst-initorder2-cmp.out): Likewise.
14934 ($(objpfx)tst-unused-dep.out): Likewise.
14935 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14936 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14937 * iconv/Makefile (test-iconvconfig): Likewise.
14938 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14939 ($(objpfx)iconv-test.out): Likewise.
14940 ($(objpfx)tst-tables.out): Likewise.
14941 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14942 ($(objpfx)tst-gettext.out): Likewise.
14943 ($(objpfx)tst-translit.out): Likewise.
14944 ($(objpfx)tst-gettext2.out): Likewise.
14945 ($(objpfx)tst-gettext4.out): Likewise.
14946 ($(objpfx)tst-gettext6.out): Likewise.
14947 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14948 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14949 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14950 ($(objpfx)tst-fopenloc-mem.out): Likewise.
14951 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14952 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14953 * posix/Makefile ($(objpfx)globtest.out): Likewise.
14954 ($(objpfx)wordexp-tst.out): Likewise.
14955 ($(objpfx)annexc.out): Likewise.
14956 ($(objpfx)tst-fnmatch-mem): Likewise.
14957 ($(objpfx)bug-regex2-mem): Likewise.
14958 ($(objpfx)bug-regex14-mem): Likewise.
14959 ($(objpfx)bug-regex21-mem): Likewise.
14960 ($(objpfx)bug-regex31-mem): Likewise.
14961 ($(objpfx)tst-vfork3-mem): Likewise.
14962 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14963 ($(objpfx)tst-pcre-mem): Likewise.
14964 ($(objpfx)tst-boost-mem): Likewise.
14965 ($(objpfx)tst-getconf.out): Likewise.
14966 ($(objpfx)bug-ga2-mem): Likewise.
14967 ($(objpfx)bug-glob2-mem): Likewise.
14968 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14969 ($(objpfx)mtrace-tst-leaks2): Likewise.
14970 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14971 ($(objpfx)tst-printf.out): Likewise.
14972 ($(objpfx)tst-setvbuf1.out): Likewise.
14973 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14974 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14975 ($(objpfx)tst-fmtmsg.out): Likewise.
14976 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14977 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14979 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14980 * bits/sigaction.h [__USE_MISC]: Likewise.
14981 * bits/waitstatus.h: Update #endif comments.
14982 * ctype/ctype.h: Likewise.
14983 * dirent/dirent.h: Likewise.
14984 [__USE_MISC]: Remove redundant conditionals.
14985 * grp/grp.h: Update #endif comments.
14986 [__USE_GNU]: Remove redundant conditionals.
14987 [__USE_MISC]: Likewise.
14988 * inet/netinet/in.h [__USE_GNU]: Likewise.
14989 * io/sys/stat.h [__USE_MISC]: Likewise.
14990 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14991 * libio/bits/stdio.h: Update #endif comments.
14992 [__USE_MISC]: Remove redundant conditionals.
14993 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14994 * libio/stdio.h: Update #endif comments.
14995 [__USE_MISC]: Remove redundant conditionals.
14996 * math/bits/math-finite.h [__USE_MISC]: Likewise.
14997 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14998 * math/math.h: Update #else and #endif comments.
14999 [__USE_MISC]: Remove redundant conditionals.
15000 * misc/sys/uio.h: Update #endif comments.
15001 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
15002 * posix/glob.h [__USE_MISC]: Likewise.
15003 * posix/sys/types.h: Update #endif comments.
15004 [__USE_MISC]: Remove redundant conditionals.
15005 * posix/sys/wait.h: Update #endif comments.
15006 [__USE_MISC]: Remove redundant conditionals.
15007 * posix/unistd.h: Update #endif comments.
15008 [__USE_MISC]: Remove redundant conditionals.
15009 * pwd/pwd.h [__USE_GNU]: Likewise.
15010 [__USE_MISC]: Likewise.
15011 * resolv/netdb.h [__USE_GNU]: Likewise.
15012 * signal/signal.h: Update #endif comments.
15013 [__USE_MISC]: Remove redundant conditionals.
15014 * stdlib/stdlib.h: Update #else and #endif comments.
15015 [__USE_MISC]: Remove redundant conditionals.
15016 [__USE_GNU]: Likewise.
15017 * string/bits/string2.h [__USE_MISC]: Likewise.
15018 * string/string.h: Update #endif comments.
15019 [__USE_MISC]: Remove redundant conditionals.
15020 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
15022 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
15023 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
15024 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
15026 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
15028 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
15030 [__USE_MISC]: Remove redundant conditionals.
15031 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
15032 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
15033 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
15034 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
15035 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
15037 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
15038 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
15040 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
15041 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
15043 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
15045 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
15046 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
15048 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
15050 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
15051 * sysdeps/x86/bits/string.h: Update #endif comments.
15052 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
15054 * time/sys/time.h: Update #endif comments.
15055 * time/time.h: Likewise.
15056 [__USE_MISC]: Remove redundant conditionals.
15058 2014-02-21 Yury Gribov <y.gribov@samsung.com>
15061 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
15063 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
15065 * Versions.def (librt): Add GLIBC_2.17.
15067 2014-02-21 Adam Conrad <adconrad@0c3.net>
15069 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
15070 synonym for _SYS_AUXV_H to allow direct inclusion.
15071 * sysdeps/sparc/bits/hwcap.h: Likewise.
15072 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
15073 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
15074 * sysdeps/sparc/sysdep.h: Likewise.
15076 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15078 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
15080 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
15082 * benchtests/bench-strrchr.c: Print length instead of position.
15084 2014-02-20 Joseph Myers <joseph@codesourcery.com>
15087 * sysdeps/unix/sysv/linux/kernel-features.h
15088 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
15089 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
15090 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
15091 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
15093 [__i386__ || __powerpc__ || __sh__ || __sparc__]
15094 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15095 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
15096 (__ASSUME_SENDMMSG): Define instead of using previous
15097 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
15098 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15099 (__ASSUME_SENDMMSG_SYSCALL): Define.
15100 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15101 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
15103 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15104 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15106 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15107 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15109 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
15110 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15111 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15112 [__ASSUME_SENDMMSG]: Change conditionals to
15113 [__ASSUME_SENDMMSG_SOCKETCALL].
15114 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15115 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
15117 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15118 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
15120 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
15121 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
15122 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
15123 [!__ASSUME_SENDMMSG]: Change conditional to
15124 [!__ASSUME_SENDMMSG_SOCKETCALL].
15125 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15126 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
15130 * sysdeps/unix/sysv/linux/kernel-features.h
15131 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
15132 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
15133 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
15134 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
15135 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
15136 [__i386__ || __sparc__]
15137 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15138 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
15139 (__ASSUME_RECVMMSG): Define instead of using previous
15140 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
15141 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15142 (__ASSUME_RECVMMSG_SYSCALL): Define.
15143 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15144 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15146 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15147 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15149 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15150 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15152 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
15153 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15154 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15155 [__ASSUME_RECVMMSG]: Change condition to
15156 [__ASSUME_RECVMMSG_SOCKETCALL].
15157 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15158 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15160 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15161 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15162 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15164 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15165 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15166 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15167 [!__ASSUME_RECVMMSG]: Change condition to
15168 [!__ASSUME_RECVMMSG_SOCKETCALL].
15169 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15170 (__ASSUME_RECVMMSG_SYSCALL): Define.
15173 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15174 __powerpc__ || __s390__ || __sh__ || __sparc__]
15175 (__ASSUME_SOCKETCALL): Define.
15176 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15177 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15178 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15179 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15180 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15181 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15182 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15183 (__ASSUME_ACCEPT4): Define instead of using previous
15184 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15185 __powerpc__ || __sparc__ || __s390__)] condition.
15186 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15187 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15188 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15189 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15190 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15191 [!__ASSUME_ACCEPT4]: Change condition to
15192 [!__ASSUME_ACCEPT4_SOCKETCALL].
15193 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15194 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
15195 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15196 * sysdeps/unix/sysv/linux/arm/kernel-features.h
15197 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15198 __ASSUME_ACCEPT4_SYSCALL.
15199 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15200 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15201 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15202 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15203 __ASSUME_ACCEPT4_SYSCALL.
15204 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15205 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15206 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15207 [__ASSUME_ACCEPT4]: Change condition to
15208 [__ASSUME_ACCEPT4_SOCKETCALL].
15209 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15210 (__ASSUME_SOCKETCALL): Define.
15211 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15212 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15213 (__ASSUME_SOCKETCALL): Define.
15214 (__ASSUME_ACCEPT4): Remove.
15215 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15217 * sysdeps/unix/sysv/linux/mips/kernel-features.h
15218 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15220 * sysdeps/unix/sysv/linux/tile/kernel-features.h
15221 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15223 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15225 (HWCAP_ARM_LPAE): Likewise.
15226 (HWCAP_ARM_EVTSTRM): Likewise.
15227 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15228 Add vpfd32, lpae and evtstrm.
15229 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15232 2014-02-19 Joseph Myers <joseph@codesourcery.com>
15234 * math/auto-libm-test-in: Add tests of clog10.
15235 * math/auto-libm-test-out: Regenerated.
15236 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15237 * sysdeps/i386/fpu/libm-test-ulps: Update.
15238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15240 2014-02-18 Andreas Schwab <schwab@suse.de>
15243 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15244 Store non-zero if the second buffer was newly allocated.
15245 (send_dg): Likewise.
15246 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15247 to send_vc and send_dg.
15248 (res_nsend): Pass NULL for ansp2_malloced.
15249 * resolv/res_query.c (__libc_res_nquery): Add parameter
15250 answerp2_malloced and pass it down to __libc_res_nsend.
15251 (res_nquery): Pass additional NULL to __libc_res_nquery.
15252 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15253 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
15254 second answer buffer if answerp2_malloced was set.
15255 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15256 (__libc_res_nquerydomain): Add parameter
15257 answerp2_malloced and pass it down to __libc_res_nquery.
15258 (res_nquerydomain): Pass additional NULL to
15259 __libc_res_nquerydomain.
15260 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15261 additional NULL to __libc_res_nsend and __libc_res_nquery.
15262 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15263 additional NULL to __libc_res_nsearch.
15264 (_nss_dns_gethostbyname4_r): Revert last change. Use new
15265 parameter of __libc_res_nsearch to check for separately allocated
15267 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15269 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15270 additional NULL to __libc_res_nquery.
15271 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15272 __libc_res_nsearch.
15273 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15274 * include/resolv.h: Update prototypes of __libc_res_nquery,
15275 __libc_res_nsearch, __libc_res_nsend.
15277 2014-02-18 Joseph Myers <joseph@codesourcery.com>
15279 * math/auto-libm-test-in: Add tests of fma.
15280 * math/auto-libm-test-out: Regenerated.
15281 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15282 (fma_towardzero_test_data): Likewise.
15283 (fma_downward_test_data): Likewise.
15284 (fma_upward_test_data): Likewise.
15285 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15287 (rounding_modes): Add values for new field.
15288 (func_calc_method): Add value mpfr_fff_f.
15289 (func_calc_desc): Add mpfr_fff_f union field.
15290 (test_function): Add field exact_args.
15291 (FUNC): Add macro argument EXACT_ARGS.
15292 (FUNC_mpfr_f_f): Update call to FUNC.
15293 (FUNC_mpfr_f_f): Likewise.
15294 (FUNC_mpfr_ff_f): Likewise.
15295 (FUNC_mpfr_if_f): Likewise.
15296 (FUNC_mpc_c_f): Likewise.
15297 (FUNC_mpc_c_c): Likewise.
15298 (test_functions): Add fma. Update calls to FUNC.
15299 (handle_input_arg): Add argument exact_args.
15300 (add_test): Update call to handle_input_arg.
15301 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
15302 (output_for_one_input_case): Update call to calc_generic_results.
15303 Recalculate exact zero results in each rounding mode.
15305 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15306 non-negative before setting low bit.
15307 * math/auto-libm-test-in: Mark one asin test possibly having
15308 spurious underflow.
15309 * math/auto-libm-test-out: Regenerated.
15310 * sysdeps/i386/fpu/libm-test-ulps: Update.
15311 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15313 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
15315 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15316 * sysdeps/unix/sysv/linux/microblaze: Move directory from
15317 ports/sysdeps/unix/sysv/linux/microblaze.
15318 * README: Add missing listing for microblaze*-*-linux-gnu.
15320 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
15322 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15325 2014-02-16 Mike Frysinger <vapier@gentoo.org>
15327 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15328 * sysdeps/unix/sysv/linux/ia64: Move directory from
15329 ports/sysdeps/unix/sysv/linux/ia64.
15330 * README: Update listing for ia64-*-linux-gnu.
15332 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
15333 Joseph Myers <joseph@codesourcery.com>
15335 * Makeconfig (test-name): New variable.
15336 (evaluate-test): Likewise.
15337 * Makerules (do-test-clean): Remove .test-result files.
15338 (common-mostlyclean): Likewise.
15339 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15340 * scripts/evaluate-test.sh: New file.
15342 2014-02-14 Joseph Myers <joseph@codesourcery.com>
15344 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15345 separate $(objpfx)tst-fopenloc-cmp.out and
15346 $(objpfx)tst-fopenloc-mem.out targets.
15347 (tests): Update dependencies.
15348 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15349 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15350 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15351 (tst-rxspencer-no-utf8-ARGS): New variable.
15352 (tst-rxspencer-no-utf8-ENV): Likewise.
15353 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15354 instead of $(objpfx)tst-rxspencer-mem.
15355 ($(objpfx)tst-rxspencer-mem): Change target to
15356 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
15357 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15358 * posix/tst-rxspencer-no-utf8.c: New file.
15360 * elf/Makefile ($(objpfx)order.out): Remove rule.
15361 [$(run-built-tests) = yes] (tests): Depend on
15362 $(objpfx)order-cmp.out.
15363 ($(objpfx)order-cmp.out): New rule.
15364 [$(run-built-tests) = yes] (tests): Depend on
15365 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15366 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15367 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15368 $(objpfx)tst-array5-static-cmp.out.
15369 ($(objpfx)tst-array1.out): Remove rule.
15370 ($(objpfx)tst-array1-cmp.out): New rule.
15371 ($(objpfx)tst-array1-static.out): Remove rule.
15372 ($(objpfx)tst-array1-static-cmp.out): New rule.
15373 ($(objpfx)tst-array2.out): Remove rule.
15374 ($(objpfx)tst-array2-cmp.out): New rule.
15375 ($(objpfx)tst-array3.out): Remove rule.
15376 ($(objpfx)tst-array3-cmp.out): New rule.
15377 ($(objpfx)tst-array4.out): Remove rule.
15378 ($(objpfx)tst-array4-cmp.out): New rule.
15379 ($(objpfx)tst-array5.out): Remove rule.
15380 ($(objpfx)tst-array5-cmp.out): New rule.
15381 ($(objpfx)tst-array5-static.out): Remove rule.
15382 ($(objpfx)tst-array5-static-cmp.out): New rule.
15383 [$(run-built-tests) = yes] (tests): Depend on
15384 $(objpfx)order2-cmp.out.
15385 ($(objpfx)order2.out): Remove rule.
15386 ($(objpfx)order2-cmp.out): New rule.
15387 ($(objpfx)tst-initorder.out): Remove rule.
15388 [$(run-built-tests) = yes] (tests): Depend on
15389 $(objpfx)tst-initorder-cmp.out.
15390 ($(objpfx)tst-initorder-cmp.out): New rule.
15391 ($(objpfx)tst-initorder2.out): Remove rule.
15392 [$(run-built-tests) = yes] (tests): Depend on
15393 $(objpfx)tst-initorder2-cmp.out.
15394 ($(objpfx)tst-initorder2-cmp.out): New rule.
15395 [$(run-built-tests) = yes] (tests): Depend on
15396 $(objpfx)tst-unused-dep-cmp.out.
15397 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15398 ($(objpfx)tst-unused-dep-cmp.out): New rule.
15399 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15400 on $(objpfx)tst-setvbuf1-cmp.out.
15401 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15402 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15403 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15404 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15405 ($(objpfx)tst-svc.out): Remove rule.
15406 ($(objpfx)tst-svc-cmp.out): New rule.
15408 2014-02-13 Joseph Myers <joseph@codesourcery.com>
15410 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15411 * ctype/ctype.h [__USE_MISC]: Likewise.
15412 * dirent/dirent.h [__USE_MISC]: Likewise.
15413 * grp/grp.h [__USE_MISC]: Likewise.
15414 * io/fcntl.h [__USE_MISC]: Likewise.
15415 * io/sys/stat.h [__USE_MISC]: Likewise.
15416 * libio/stdio.h [__USE_MISC]: Likewise.
15417 * posix/unistd.h [__USE_MISC]: Likewise.
15418 * pwd/pwd.h [__USE_MISC]: Likewise.
15419 * stdlib.h [__USE_MISC]: Likewise.
15420 * string/bits/string2.h [__USE_MISC]: Likewise.
15421 * string/string.h [__USE_MISC]: Likewise.
15422 * time/time.h [__USE_MISC]: Likewise.
15424 2014-02-13 Andreas Schwab <schwab@suse.de>
15427 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15428 second answer buffer if it was separately allocated.
15430 2014-02-12 Joseph Myers <joseph@codesourcery.com>
15432 * sysdeps/mips/math-tests.h: Include <features.h>.
15433 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15434 (ROUNDING_TESTS_long_double): Do not define.
15435 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15436 (EXCEPTION_TESTS_long_double): Likewise.
15437 * sysdeps/mips/mips64/libm-test-ulps: Update.
15439 * include/features.h (__USE_BSD): Remove macro definitions.
15440 (__USE_SVID): Likewise.
15441 (_BSD_SOURCE): Likewise.
15442 (_SVID_SOURCE): Likewise.
15443 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15444 from definition of _DEFAULT_SOURCE.
15445 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15447 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15448 * bits/mman.h [__USE_BSD]: Likewise.
15449 * bits/termios.h [__USE_BSD]: Likewise.
15450 * bits/waitstatus.h [__USE_BSD]: Likewise.
15451 * ctype/ctype.h [__USE_SVID]: Likewise.
15452 * dirent/dirent.h [__USE_BSD]: Likewise.
15453 * grp/grp.h [__USE_SVID]: Likewise.
15454 [__USE_BSD]: Likewise.
15455 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15456 * io/fcntl.h [__USE_BSD]: Likewise.
15457 * io/ftw.h [__USE_BSD]: Likewise.
15458 * io/sys/stat.h [__USE_BSD]: Likewise.
15459 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15460 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15461 * libio/stdio.h [__USE_SVID]: Likewise.
15462 [__USE_BSD]: Likewise.
15463 * math/math.h [__USE_SVID]: Likewise.
15464 [__USE_BSD]: Likewise.
15465 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15466 * misc/bits/syslog.h [__USE_BSD]: Likewise.
15467 * misc/search.h [__USE_SVID]: Likewise.
15468 * misc/sys/mman.h [__USE_BSD]: Likewise.
15469 * misc/sys/syslog.h [__USE_BSD]: Likewise.
15470 * misc/sys/uio.h [__USE_BSD]: Likewise.
15471 * posix/bits/unistd.h [__USE_BSD]: Likewise.
15472 * posix/glob.h [__USE_BSD]: Likewise.
15473 * posix/regex.h [__USE_BSD]: Likewise.
15474 * posix/sys/types.h [__USE_BSD]: Likewise.
15475 [__USE_SVID]: Likewise.
15476 * posix/sys/utsname.h [__USE_SVID]: Likewise.
15477 * posix/sys/wait.h [__USE_BSD]: Likewise.
15478 [__USE_SVID]: Likewise.
15479 * posix/unistd.h [__USE_BSD]: Likewise.
15480 [__USE_SVID]: Likewise.
15481 * pwd/pwd.h [__USE_SVID]: Likewise.
15482 * resolv/netdb.h [__USE_BSD]: Likewise.
15483 * setjmp/setjmp.h [__USE_BSD]: Likewise.
15484 * signal/signal.h [__USE_BSD]: Likewise.
15485 [__USE_SVID]: Likewise.
15486 * socket/sys/socket.h [__USE_BSD]: Likewise.
15487 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15488 * stdlib/stdlib.h [__USE_BSD]: Likewise.
15489 [__USE_SVID]: Likewise.
15490 * string/bits/string2.h [__USE_BSD]: Likewise.
15491 [__USE_SVID]: Likewise.
15492 * string/bits/string3.h [__USE_BSD]: Likewise.
15493 * string/endian.h [__USE_BSD]: Likewise.
15494 * string/string.h [__USE_SVID]: Likewise.
15495 [__USE_BSD]: Likewise.
15496 * string/strings.h [__USE_BSD]: Likewise.
15497 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15498 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15499 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15500 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15501 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15502 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15504 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15506 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15507 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15509 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15510 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15512 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15514 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15515 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15516 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15518 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15520 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15521 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15522 * termios/termios.h [__USE_BSD]: Likewise.
15523 * time/sys/time.h [__USE_BSD]: Likewise.
15524 * time/time.h [__USE_BSD]: Likewise.
15525 [__USE_SVID]: Likewise.
15527 * Makefile (subdir_targets): Remove subdir_lint.out.
15529 * stdio-common/Makefile (do-tst-unbputc): Remove target.
15530 (do-tst-printf): Likewise.
15531 (tests): Depend directly on $(objpfx)tst-unbputc.out and
15532 $(objpfx)tst-printf.out.
15534 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15536 * Makerules (check-abi-%): Change target to
15537 $(objpfx)check-abi-%.out.
15538 (check-abi target): Update dependencies.
15539 (check-abi-pattern variable): Redirect output of diff to $@.
15540 (check-abi variable): Likewise.
15541 * elf/Makefile (check-abi): Update dependencies.
15543 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15545 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15546 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15548 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15549 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15550 value has largest subnormal exponent.
15551 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15552 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15553 * sysdeps/aarch64/soft-fp/sfp-machine.h
15554 (_FP_TININESS_AFTER_ROUNDING): New macro.
15555 * sysdeps/alpha/soft-fp/sfp-machine.h
15556 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15557 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15559 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15560 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15561 * sysdeps/mips/soft-fp/sfp-machine.h
15562 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15563 * sysdeps/powerpc/soft-fp/sfp-machine.h
15564 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15565 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15567 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15568 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15569 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15570 (_FP_TININESS_AFTER_ROUNDING): Likewise.
15571 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15574 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
15577 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15580 2014-02-12 Richard Henderson <rth@redhat.com>
15582 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15583 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15584 * sysdeps/unix/sysv/linux/alpha: Move directory from
15585 ports/sysdeps/unix/sysv/linux/alpha.
15586 * README: Update listing for alpha-*-linux-gnu.
15588 2014-02-11 Joseph Myers <joseph@codesourcery.com>
15590 * include/features.h: Update comment documenting feature test
15592 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
15594 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15595 (_SVID_SOURCE): Likewise.
15596 (_DEFAULT_SOURCE): Update description of default features.
15597 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15599 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15600 (S_ISVTX): Likewise.
15601 * manual/math.texi (Mathematical Constants): Likewise.
15602 * manual/signal.texi (Interrupted Primitives): Likewise.
15603 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15604 * math/test-matherr.c (_SVID_SOURCE): Do not define.
15605 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15606 Don't refer to _SVID_SOURCE in warning text.
15608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15610 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15612 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15613 * sysdeps/mips/dl-lookup.c: Remove.
15614 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15616 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
15619 * math/auto-libm-test-in: Add testcase for expl.
15620 * math/auto-libm-test-out: Regenerate.
15621 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15622 calculation of unsafe.
15623 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15625 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
15627 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15628 * sysdeps/unix/sysv/linux/aarch64: Move directory from
15629 ports/sysdeps/unix/sysv/linux/aarch64.
15630 * README: Update listing for aarch64*-*-linux-gnu.
15632 2014-02-11 Will Newton <will.newton@linaro.org>
15634 * manual/probes.texi (Mathematical Function Probes): Use
15635 "triggered" instead of "hit".
15637 * manual/probes.texi (Internal Probes): Add documentation
15638 of setjmp, longjmp and longjmp_target probes.
15640 * include/stap-probe.h: Add comment about probe argument
15643 * malloc/mtrace.c (attribute_hidden): Remove unused macro
15644 definition. (tr_where, tr_freehook, tr_mallochook,
15645 tr_reallochook, tr_memalignhook): Use ANSI protoype.
15647 2014-02-11 David S. Miller <davem@davemloft.net>
15649 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15650 processing int_tests.
15652 2014-02-10 Joseph Myers <joseph@codesourcery.com>
15654 * sysdeps/mips: Move directory from ports/sysdeps/mips.
15655 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15656 * sysdeps/unix/sysv/linux/mips: Move directory from
15657 ports/sysdeps/unix/sysv/linux/mips.
15658 * README: Update listing for mips-*-linux-gnu and
15659 mips64-*-linux-gnu.
15661 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
15663 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15664 * sysdeps/unix/sysv/linux/m68k: Move directory from
15665 ports/sysdeps/unix/sysv/linux/m68k.
15666 * README: Update listing for m68k-*-linux-gnu.
15668 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
15670 * sysdeps/tile: Move directory from ports/sysdeps/tile.
15671 * sysdeps/unix/sysv/linux/generic: Move directory from
15672 ports/sysdeps/unix/sysv/linux/generic.
15673 * sysdeps/unix/sysv/linux/tile: Move directory from
15674 ports/sysdeps/unix/sysv/linux/tile.
15675 * README: Update listing for tile*-*-linux-gnu.
15677 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
15679 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15681 * benchtests/bench-memmem.c (simple_memmem): Likewise.
15682 * catgets/open_catalog.c (__open_catalog): Likewise.
15683 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15684 * debug/confstr_chk.c: Likewise.
15685 * debug/fread_chk.c (__fread_chk): Likewise.
15686 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15687 * debug/getgroups_chk.c: Likewise.
15688 * debug/mbsnrtowcs_chk.c: Likewise.
15689 * debug/mbsrtowcs_chk.c: Likewise.
15690 * debug/mbstowcs_chk.c: Likewise.
15691 * debug/memcpy_chk.c: Likewise.
15692 * debug/memmove_chk.c: Likewise.
15693 * debug/mempcpy_chk.c: Likewise.
15694 * debug/memset_chk.c: Likewise.
15695 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15696 * debug/strcat_chk.c (__strcat_chk): Likewise.
15697 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15698 * debug/strncat_chk.c (__strncat_chk): Likewise.
15699 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15700 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15701 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15702 * debug/wcpncpy_chk.c: Likewise.
15703 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15704 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15705 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15706 * debug/wcsncpy_chk.c: Likewise.
15707 * debug/wcsnrtombs_chk.c: Likewise.
15708 * debug/wcsrtombs_chk.c: Likewise.
15709 * debug/wcstombs_chk.c: Likewise.
15710 * debug/wmemcpy_chk.c: Likewise.
15711 * debug/wmemmove_chk.c: Likewise.
15712 * debug/wmempcpy_chk.c: Likewise.
15713 * debug/wmemset_chk.c: Likewise.
15714 * dirent/scandirat.c (SCANDIRAT): Likewise.
15715 * dlfcn/dladdr1.c (dladdr1): Likewise.
15716 * dlfcn/dladdr.c (dladdr): Likewise.
15717 * dlfcn/dlclose.c (dlclose_doit): Likewise.
15718 * dlfcn/dlerror.c (__dlerror): Likewise.
15719 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15720 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15721 * dlfcn/dlopen.c (dlopen_doit): Likewise.
15722 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15723 * dlfcn/dlsym.c (dlsym_doit): Likewise.
15724 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15725 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15726 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15728 * elf/dl-conflict.c: Likewise.
15729 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15730 * elf/dl-dst.h: Likewise.
15731 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15732 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15733 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15734 * elf/dl-init.c (call_init, _dl_init): Likewise.
15735 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15736 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15737 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15739 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15741 * elf/dl-minimal.c (__libc_memalign): Likewise.
15742 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15743 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15744 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15745 * elf/dl-sym.c (do_sym): Likewise.
15746 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15747 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15748 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15749 * elf/dl-writev.h (_dl_writev): Likewise.
15750 * elf/ldconfig.c (search_dir): Likewise.
15751 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15752 (dl_main): Likewise.
15753 * elf/setup-vdso.h (setup_vdso): Likewise.
15754 * grp/compat-initgroups.c (compat_call): Likewise.
15755 * grp/fgetgrent.c (fgetgrent): Likewise.
15756 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15757 * grp/putgrent.c (putgrent): Likewise.
15758 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15760 * hurd/hurdinit.c: Likewise.
15761 * iconvdata/8bit-gap.c (struct): Likewise.
15762 * iconvdata/ansi_x3.110.c : Likewise.
15763 * iconvdata/big5.c : Likewise.
15764 * iconvdata/big5hkscs.c : Likewise.
15765 * iconvdata/cp1255.c: Likewise.
15766 * iconvdata/cp1258.c : Likewise.
15767 * iconvdata/cp932.c : Likewise.
15768 * iconvdata/euc-cn.c: Likewise.
15769 * iconvdata/euc-jisx0213.c : Likewise.
15770 * iconvdata/euc-jp.c: Likewise.
15771 * iconvdata/euc-jp-ms.c : Likewise.
15772 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15773 * iconvdata/gb18030.c : Likewise.
15774 * iconvdata/gbbig5.c (const): Likewise.
15775 * iconvdata/gbgbk.c: Likewise.
15776 * iconvdata/gbk.c : Likewise.
15777 * iconvdata/ibm1364.c : Likewise.
15778 * iconvdata/ibm930.c : Likewise.
15779 * iconvdata/ibm932.c: Likewise.
15780 * iconvdata/ibm933.c : Likewise.
15781 * iconvdata/ibm935.c : Likewise.
15782 * iconvdata/ibm937.c : Likewise.
15783 * iconvdata/ibm939.c : Likewise.
15784 * iconvdata/ibm943.c: Likewise.
15785 * iconvdata/iso_11548-1.c: Likewise.
15786 * iconvdata/iso-2022-cn.c : Likewise.
15787 * iconvdata/iso-2022-cn-ext.c : Likewise.
15788 * iconvdata/iso-2022-jp-3.c: Likewise.
15789 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15790 * iconvdata/iso-2022-kr.c : Likewise.
15791 * iconvdata/iso646.c (gconv_end): Likewise.
15792 * iconvdata/iso_6937-2.c : Likewise.
15793 * iconvdata/iso_6937.c : Likewise.
15794 * iconvdata/iso8859-1.c: Likewise.
15795 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15796 * iconvdata/shift_jisx0213.c : Likewise.
15797 * iconvdata/sjis.c : Likewise.
15798 * iconvdata/t.61.c : Likewise.
15799 * iconvdata/tcvn5712-1.c : Likewise.
15800 * iconvdata/tscii.c: Likewise.
15801 * iconvdata/uhc.c : Likewise.
15802 * iconvdata/unicode.c (gconv_end): Likewise.
15803 * iconvdata/utf-16.c (gconv_end): Likewise.
15804 * iconvdata/utf-32.c (gconv_end): Likewise.
15805 * iconvdata/utf-7.c (base64): Likewise.
15806 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15807 * iconv/gconv_close.c (__gconv_close): Likewise.
15808 * iconv/gconv_open.c (__gconv_open): Likewise.
15809 * iconv/gconv_simple.c (internal_ucs4_loop_single)
15810 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15811 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15812 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15813 (ucs4le_internal_loop_single): Likewise.
15814 * iconv/iconv.c (iconv): Likewise.
15815 * iconv/iconv_close.c: Likewise.
15816 * iconv/loop.c (SINGLE): Likewise.
15817 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15818 * include/atomic.h: Likewise.
15819 * inet/inet6_option.c (option_alloc): Likewise.
15820 * intl/bindtextdom.c (set_binding_values): Likewise.
15821 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15822 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15823 * intl/localealias.c (read_alias_file): Likewise.
15824 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15825 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15826 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15827 * libio/fmemopen.c (fmemopen): Likewise.
15828 * libio/iofgets.c (_IO_fgets): Likewise.
15829 * libio/iofgets_u.c (fgets_unlocked): Likewise.
15830 * libio/iofgetws.c (fgetws): Likewise.
15831 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15832 * libio/iogetdelim.c (_IO_getdelim): Likewise.
15833 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15834 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15835 * locale/findlocale.c (_nl_find_locale): Likewise.
15836 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15837 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15839 * locale/setlocale.c (setlocale): Likewise.
15840 * login/programs/pt_chown.c (main): Likewise.
15841 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15842 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15843 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15844 (mmap, mmap64, mremap, munmap): Likewise.
15845 * math/e_exp2l.c: Likewise.
15846 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15847 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15848 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15849 * math/s_catan.c (__catan): Likewise.
15850 * math/s_catanf.c (__catanf): Likewise.
15851 * math/s_catanh.c (__catanh): Likewise.
15852 * math/s_catanhf.c (__catanhf): Likewise.
15853 * math/s_catanhl.c (__catanhl): Likewise.
15854 * math/s_catanl.c (__catanl): Likewise.
15855 * math/s_ccosh.c (__ccosh): Likewise.
15856 * math/s_ccoshf.c (__ccoshf): Likewise.
15857 * math/s_ccoshl.c (__ccoshl): Likewise.
15858 * math/s_cexp.c (__cexp): Likewise.
15859 * math/s_cexpf.c (__cexpf): Likewise.
15860 * math/s_cexpl.c (__cexpl): Likewise.
15861 * math/s_clog10.c (__clog10): Likewise.
15862 * math/s_clog10f.c (__clog10f): Likewise.
15863 * math/s_clog10l.c (__clog10l): Likewise.
15864 * math/s_clog.c (__clog): Likewise.
15865 * math/s_clogf.c (__clogf): Likewise.
15866 * math/s_clogl.c (__clogl): Likewise.
15867 * math/s_csin.c (__csin): Likewise.
15868 * math/s_csinf.c (__csinf): Likewise.
15869 * math/s_csinh.c (__csinh): Likewise.
15870 * math/s_csinhf.c (__csinhf): Likewise.
15871 * math/s_csinhl.c (__csinhl): Likewise.
15872 * math/s_csinl.c (__csinl): Likewise.
15873 * math/s_csqrt.c (__csqrt): Likewise.
15874 * math/s_csqrtf.c (__csqrtf): Likewise.
15875 * math/s_csqrtl.c (__csqrtl): Likewise.
15876 * math/s_ctan.c (__ctan): Likewise.
15877 * math/s_ctanf.c (__ctanf): Likewise.
15878 * math/s_ctanh.c (__ctanh): Likewise.
15879 * math/s_ctanhf.c (__ctanhf): Likewise.
15880 * math/s_ctanhl.c (__ctanhl): Likewise.
15881 * math/s_ctanl.c (__ctanl): Likewise.
15882 * math/w_pow.c: Likewise.
15883 * math/w_powf.c: Likewise.
15884 * math/w_powl.c: Likewise.
15885 * math/w_scalb.c (sysv_scalb): Likewise.
15886 * math/w_scalbf.c (sysv_scalbf): Likewise.
15887 * math/w_scalbl.c (sysv_scalbl): Likewise.
15888 * misc/error.c (error_tail): Likewise.
15889 * misc/pselect.c (__pselect): Likewise.
15890 * nis/nis_callback.c (__nis_create_callback): Likewise.
15891 * nis/nis_call.c (__nisfind_server): Likewise.
15892 * nis/nis_creategroup.c (nis_creategroup): Likewise.
15893 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15894 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15895 * nis/nis_getservlist.c (nis_getservlist): Likewise.
15896 * nis/nis_lookup.c (nis_lookup): Likewise.
15897 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15898 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15899 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15900 * nis/nis_xdr.c (xdr_endpoint): Likewise.
15901 * nis/nss_compat/compat-grp.c (getgrent_next_file)
15902 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15903 * nis/nss_compat/compat-initgroups.c (add_group)
15904 (internal_getgrent_r): Likewise.
15905 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15906 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15907 * nis/nss_compat/compat-spwd.c (getspent_next_file)
15908 (internal_getspnam_r): Likewise.
15909 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15910 (_nss_nis_getaliasbyname_r): Likewise.
15911 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15912 (_nss_nis_getntohost_r): Likewise.
15913 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15914 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15915 (_nss_nis_getgrgid_r): Likewise.
15916 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15917 (internal_nis_gethostent_r, internal_gethostbyname2_r)
15918 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15919 (_nss_nis_gethostbyname4_r): Likewise.
15920 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15921 (initgroups_netid): Likewise.
15922 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15923 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15924 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15925 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15926 (_nss_nis_getprotobynumber_r): Likewise.
15927 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15928 (_nss_nis_getsecretkey): Likewise.
15929 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15930 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15931 (_nss_nis_getpwuid_r): Likewise.
15932 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15933 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15934 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15935 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15936 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15937 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15938 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15940 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15941 (_nss_nisplus_getntohost_r): Likewise.
15942 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15943 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15944 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15945 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15947 * nis/nss_nisplus/nisplus-initgroups.c
15948 (_nss_nisplus_initgroups_dyn): Likewise.
15949 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15950 (_nss_nisplus_getnetbyaddr_r): Likewise.
15951 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15952 (_nss_nisplus_getprotobynumber_r): Likewise.
15953 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15954 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15955 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15957 * nis/nss_nisplus/nisplus-service.c
15958 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15959 (_nss_nisplus_getservbyport_r): Likewise.
15960 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15961 (_nss_nisplus_getspnam_r): Likewise.
15962 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15964 * nscd/aicache.c (addhstaiX): Likewise.
15965 * nscd/cache.c (cache_search, prune_cache): Likewise.
15966 * nscd/connections.c (register_traced_file, send_ro_fd)
15967 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15968 (main_loop_epoll): Likewise.
15969 * nscd/grpcache.c (addgrbyX): Likewise.
15970 * nscd/hstcache.c (addhstbyX): Likewise.
15971 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15972 * nscd/mem.c (gc, mempool_alloc): Likewise.
15973 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15974 (addinnetgrX): Likewise.
15975 * nscd/nscd-client.h (__nscd_acquire_maplock)
15976 (__nscd_drop_map_ref): Likewise.
15977 * nscd/nscd_getai.c (__nscd_getai): Likewise.
15978 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15979 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15981 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15982 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15983 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15984 (__nscd_get_map_ref): Likewise.
15985 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15986 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15988 * nscd/pwdcache.c (addpwbyX): Likewise.
15989 * nscd/selinux.c (preserve_capabilities): Likewise.
15990 * nscd/servicescache.c (addservbyX): Likewise.
15991 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15992 * posix/fnmatch.c (fnmatch): Likewise.
15993 * posix/getopt.c (_getopt_internal_r): Likewise.
15994 * posix/glob.c (glob, glob_in_dir): Likewise.
15995 * posix/wordexp.c (exec_comm_child): Likewise.
15996 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15997 (getanswer_r, gaih_getanswer_slice): Likewise.
15998 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15999 * resolv/res_init.c: Likewise.
16000 * resolv/res_mkquery.c (res_nmkquery): Likewise.
16001 * resolv/res_query.c (__libc_res_nquery): Likewise.
16002 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
16004 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
16005 * stdio-common/perror.c (perror): Likewise.
16006 * stdio-common/printf_fp.c (___printf_fp): Likewise.
16007 * stdio-common/tmpnam.c (tmpnam): Likewise.
16008 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
16009 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
16010 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
16012 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
16013 * stdlib/putenv.c (putenv): Likewise.
16014 * stdlib/setenv.c (__add_to_environ): Likewise.
16015 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
16016 * stdlib/strtol_l.c (INTERNAL): Likewise.
16017 * string/memmem.c (memmem): Likewise.
16018 * string/strerror.c (strerror): Likewise.
16019 * string/strnlen.c (__strnlen): Likewise.
16020 * string/test-memmem.c (simple_memmem): Likewise.
16021 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
16022 * sunrpc/pm_getport.c (__get_socket): Likewise.
16023 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
16024 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
16025 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
16026 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
16028 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
16029 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16030 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
16031 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
16032 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
16033 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
16035 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
16037 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
16038 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
16039 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
16040 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16041 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
16042 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
16043 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
16044 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
16045 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
16046 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
16047 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
16048 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
16050 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
16052 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
16054 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
16055 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16056 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
16057 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
16058 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
16059 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
16060 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16061 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
16062 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
16063 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
16064 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
16065 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16066 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
16067 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
16068 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16069 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16071 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
16073 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
16075 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
16077 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16078 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16079 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
16081 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
16082 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
16083 * sysdeps/posix/opendir.c (__opendirat): Likewise.
16084 * sysdeps/posix/sleep.c: Likewise.
16085 * sysdeps/posix/tempname.c: Likewise.
16086 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
16087 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
16089 * sysdeps/powerpc/powerpc32/dl-machine.h
16090 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
16091 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
16092 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
16093 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
16094 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
16096 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
16097 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
16098 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16099 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
16100 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
16101 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
16102 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
16103 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
16104 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
16105 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
16106 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
16107 (elf_machine_lazy_rel): Likewise.
16108 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
16109 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
16110 (elf_machine_lazy_rel): Likewise.
16111 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
16112 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
16113 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
16114 * sysdeps/unix/grantpt.c (grantpt): Likewise.
16115 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
16116 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
16117 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
16118 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
16120 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
16121 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
16122 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
16123 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
16124 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
16125 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
16126 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
16127 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
16128 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
16129 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
16130 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16132 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
16133 (__posix_fallocate64_l64): Likewise.
16134 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
16135 (posix_fallocate): Likewise.
16136 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
16138 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
16139 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
16140 (getifaddrs_internal): Likewise.
16141 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
16142 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
16143 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
16144 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
16145 * sysdeps/unix/sysv/linux/posix_fallocate64.c
16146 (__posix_fallocate64_l64): Likewise.
16147 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
16149 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
16150 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
16151 (__get_clockfreq): Likewise.
16152 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
16153 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
16154 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
16155 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16156 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16157 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
16158 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
16159 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16161 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16162 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16163 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16164 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16165 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16166 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16167 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16169 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16170 (posix_fallocate): Likewise.
16171 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16172 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16173 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16174 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16175 (elf_machine_rela, elf_machine_rela_relative)
16176 (elf_machine_lazy_rel): Likewise.
16177 * time/asctime.c (asctime_internal): Likewise.
16178 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16179 * time/tzset.c (__tzset_parse_tz): Likewise.
16180 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16181 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16182 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16183 * wcsmbs/wcsmbsload.h: Likewise.
16186 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16188 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16189 (arena_get2): Remove THREAD_STATS conditionals.
16190 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16191 (__malloc_stats, int): Likewise.
16193 2014-02-08 Mike Frysinger <vapier@gentoo.org>
16195 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16196 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
16198 * manual/setjmp.texi: Fix typos/grammar errors.
16200 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16201 Only return early when n is <= 0. Delete unused return statement.
16203 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16204 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16205 * debug/tst-longjmp_chk3.c: New file.
16207 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16208 (test_main): Replace code with set_fortify_handler call.
16209 * debug/test-strcpy_chk.c: Likewise.
16210 * debug/tst-chk1.c: Likewise.
16211 * debug/tst-longjmp_chk.c: Likewise.
16212 * test-skeleton.c: Include fcntl.h & paths.h
16213 (set_fortify_handler): Define.
16215 * debug/tst-longjmp_chk.c: Add header comment and include
16216 ../test-skeleton.c.
16217 (do_test): Mark static.
16218 (TEST_FUNCTION): Define.
16220 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16221 (IP_PMTUDISC_INTERFACE): Likewise.
16222 (IP_MULTICAST_IF): Likewise.
16223 (IP_MULTICAST_TTL): Likewise.
16224 (IP_MULTICAST_LOOP): Likewise.
16225 (IP_ADD_MEMBERSHIP): Likewise.
16226 (IP_DROP_MEMBERSHIP): Likewise.
16227 (IP_UNBLOCK_SOURCE): Likewise.
16228 (IP_BLOCK_SOURCE): Likewise.
16229 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16230 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16231 (IP_MSFILTER): Likewise.
16232 (MCAST_JOIN_GROUP): Likewise.
16233 (MCAST_BLOCK_SOURCE): Likewise.
16234 (MCAST_UNBLOCK_SOURCE): Likewise.
16235 (MCAST_LEAVE_GROUP): Likewise.
16236 (MCAST_JOIN_SOURCE_GROUP): Likewise.
16237 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16238 (MCAST_MSFILTER): Likewise.
16239 (IP_MULTICAST_ALL): Likewise.
16240 (IP_UNICAST_IF): Likewise.
16242 * timezone/Makefile: Delete $(have-ksh) check.
16243 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16244 * timezone/tzselect.ksh: Add +x mode bits.
16246 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16247 (ANON_INODE_FS_MAGIC): Likewise.
16248 (BDEVFS_MAGIC): Likewise.
16249 (BINFMTFS_MAGIC): Likewise.
16250 (BTRFS_TEST_MAGIC): Likewise.
16251 (CRAMFS_MAGIC_WEND): Likewise.
16252 (DEBUGFS_MAGIC): Likewise.
16253 (ECRYPTFS_SUPER_MAGIC): Likewise.
16254 (EXT3_SUPER_MAGIC): Likewise.
16255 (EXT4_SUPER_MAGIC): Likewise.
16256 (FUTEXFS_SUPER_MAGIC): Likewise.
16257 (HOSTFS_SUPER_MAGIC): Likewise.
16258 (HUGETLBFS_MAGIC): Likewise.
16259 (MINIX3_SUPER_MAGIC): Likewise.
16260 (MTD_INODE_FS_MAGIC): Likewise.
16261 (NILFS_SUPER_MAGIC): Likewise.
16262 (OPENPROM_SUPER_MAGIC): Likewise.
16263 (PIPEFS_MAGIC): Likewise.
16264 (PSTOREFS_MAGIC): Likewise.
16265 (QNX6_SUPER_MAGIC): Likewise.
16266 (RAMFS_MAGIC): Likewise.
16267 (REISERFS_SUPER_MAGIC_STRING): Likewise.
16268 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16269 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16270 (SECURITYFS_MAGIC): Likewise.
16271 (SELINUX_MAGIC): Likewise.
16272 (SMACK_MAGIC): Likewise.
16273 (SOCKFS_MAGIC): Likewise.
16274 (SQUASHFS_MAGIC): Likewise.
16275 (STACK_END_MAGIC): Likewise.
16276 (TMPFS_MAGIC): Likewise.
16277 (USBDEVICE_SUPER_MAGIC): Likewise.
16278 (V9FS_MAGIC): Likewise.
16279 (XENFS_SUPER_MAGIC): Likewise.
16280 (CRAMFS_MAGIC): Fix typo in comment.
16281 (EXT2_SUPER_MAGIC): Update comment.
16282 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16284 2014-02-08 Joseph Myers <joseph@codesourcery.com>
16286 * sysdeps/arm: Move directory from ports/sysdeps/arm.
16287 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16288 * sysdeps/unix/sysv/linux/arm: Move directory from
16289 ports/sysdeps/unix/sysv/linux/arm.
16290 * README: Update listing for arm-*-linux-gnueabi.
16292 * README: Remove mention of am33.
16294 2014-02-07 Roland McGrath <roland@hack.frob.com>
16296 * bits/sigset.h (__sigemptyset): Use a statement expression rather
16297 than the comma operator, to avoid "rhs of comma has no effect"
16299 (__sigfillset, __sigandset, __sigorset): Likewise.
16300 * include/signal.h (__sigemptyset): Likewise.
16301 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16303 2014-02-07 Allan McRae <allan@archlinux.org>
16305 * version.h (RELEASE): Set to "development".
16306 (VERSION): Set to "2.19.90"
16307 * NEWS: Add 2.20 section.
16309 2014-02-06 Carlos O'Donell <carlos@redhat.com>
16312 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16314 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
16316 * manual/contrib.texi: Update entry for Carlos O'Donell,
16317 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16319 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
16321 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16323 * sysdeps/unix/sysv/linux/kernel-features.h
16324 [__LINUX_KERNEL_VERSION >= 0x020621]
16325 (__ASSUME_PROC_PID_TASK_COMM): Define.
16327 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
16330 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16331 conversion when destination buffer does not have enough space.
16332 * libio/tst-ftell-partial-wide.c: New test case.
16333 * libio/Makefile (tests): Add tst-ftell-partial-wide.
16335 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16336 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
16337 Leonard and Allan McRae.
16339 2014-02-04 David S. Miller <davem@davemloft.net>
16341 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16344 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16354 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16358 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16362 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16373 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16375 * nptl/shlib-versions: Change powerpc*le start to 2.17.
16376 * shlib-versions: Likewise.
16378 2014-02-04 Roland McGrath <roland@hack.frob.com>
16379 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16381 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16382 (abilist-pattern): New variable, set to %-le.abilist.
16384 * Makerules (abilist-pattern): New variable.
16385 (vpath): Use $(abilist-pattern) in place of %.abilist.
16386 (check-abi-% pattern rule): Likewise.
16387 (check-abi, update-abi): Likewise.
16389 2014-02-04 Eric Wong <normalperson@yhbt.net>
16391 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16393 2014-02-03 Carlos O'Donell <carlos@redhat.com>
16395 * manual/startup.texi: Add next, previous, and top entries for
16396 the `Program Arguments' and `Environment Variables' nodes.
16398 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
16400 * manual/macros.texi: Add comments before MTASC-safety macros.
16402 * manual/users.texi: Document MTASC-safety properties.
16404 * manual/threads.texi (pthread_key_create, pthread_key_delete)
16405 (pthread_getspecific, pthread_setspecific): Format with
16406 @deftypefun, and add @safety note.
16407 * manual/signal.texi: Move comments that analyze the above
16408 functions to their home place.
16410 2014-02-03 Allan McRae <allan@archlinux.org>
16412 * po/sl.po: Update Slovenian translation from translation project.
16414 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
16416 * manual/time.texi (timegm): Add missing blank after @c.
16417 Reported by Joseph Myers <joseph@codesourcery.com>.
16419 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
16421 * manual/check-safety.sh: New.
16422 * manual/Makefile ($(objpfx)stamp-summary): Run it.
16424 * manual/terminal.texi: Document MTASC-safety properties.
16426 * manual/filesys.texi: Document MTASC-safety properties.
16428 * manual/errno.texi: Document MTASC-safety properties.
16430 * manual/intro.texi: Document safety identifiers and
16433 * manual/string.texi (wcstok): Fix prototype.
16434 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16436 * manual/time.texi: Document MTASC-safety properties.
16438 * manual/string.texi: Document MTASC-safety properties.
16440 * manual/threads.texi: Document MTASC-safety properties.
16442 * manual/stdio.texi: Document MTASC-safety properties.
16444 * manual/syslog.texi: Document MTASC-safety properties.
16446 * manual/sysinfo.texi: Document MTASC-safety properties.
16448 * manual/startup.texi: Document MTASC-safety properties.
16450 * manual/socket.texi: Document MTASC-safety properties.
16452 * manual/signal.texi: Document MTASC-safety properties.
16454 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
16456 * manual/setjmp.texi: Document MTASC-safety properties.
16458 * manual/search.texi: Document MTASC-safety properties.
16460 * manual/resource.texi: Document MTASC-safety properties.
16462 * manual/process.texi: Document MTASC-safety properties.
16464 * manual/platform.texi: Document MTASC-safety properties.
16466 * manual/pipe.texi: Document MTASC-safety properties.
16468 * manual/pattern.texi: Document MTASC-safety properties.
16470 * manual/message.texi: Document MTASC-safety properties.
16473 * manual/memory.texi: Document MTASC-safety properties.
16475 * manual/math.texi: Document MTASC-safety properties.
16477 * manual/locale.texi: Document MTASC-safety properties.
16479 * manual/llio.texi: Document MTASC-safety properties.
16481 * manual/libdl.texi: New.
16483 * manual/lang.texi: Document MTASC-safety properties.
16485 * manual/job.texi: Document MTASC-safety properties.
16487 * manual/getopt.texi: Document MTASC-safety properties.
16489 * manual/ctype.texi: Document MTASC-safety properties.
16491 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
16494 * csu/libc-tls.c (static_map): Remove variable.
16495 (__libc_setup_tls): Use main executable's link map for TLS data.
16496 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16497 casing for LM_ID_BASE and GL(dl_nns).
16498 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16499 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
16500 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16501 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16502 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16504 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16507 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
16509 * manual/debug.texi: Document MTASC-safety properties.
16511 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
16514 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16515 of __x86_64__ when disabling x87 inline functions.
16517 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
16519 * manual/charset.texi: Document MTASC-safety properties.
16521 * manual/crypt.texi: Document MTASC-safety properties.
16523 * manual/conf.texi: Document MTASC-safety properties.
16525 * manual/arith.texi: Document MTASC-safety properties.
16527 * manual/argp.texi: Document MTASC-safety properties.
16529 * manual/macros.texi: Introduce macros to document multi
16530 thread, asynchronous signal and asynchronous cancellation
16532 * manual/intro.texi: Introduce the properties themselves.
16534 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16536 * sysdeps/sh/sh4/Makefile: New file.
16538 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
16540 * math/gen-libm-test.pl ($srcdir): New variable.
16541 ($auto_input): Use it.
16543 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16546 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16547 access beyond array bounds when parsing netgroups file.
16549 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16550 the old buffer before realloc.
16552 2014-01-27 Allan McRae <allan@archlinux.org>
16554 * po/fr.po: Update French translation from translation project.
16556 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16558 * sysdeps/sh/libm-test-ulps: Regenerate.
16560 2014-01-24 David S. Miller <davem@davemloft.net>
16562 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16564 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16566 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16567 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16569 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
16572 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16573 string pointers after reallocation.
16575 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16577 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16578 __SH4A__ instead of __SH_FPU_ANY__.
16580 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16582 * sysdeps/sh/fpu_control.h: New file.
16583 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16584 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16585 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16586 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16587 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16588 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16589 * sysdeps/sh/sys/ucontext.h: Remove.
16590 * sysdeps/sh/sys: Remove directory.
16592 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16594 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16595 s390/sys/ucontext.h.
16596 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16597 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16599 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
16602 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16604 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16607 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16608 Adjust the vDSO correctly for internal calls.
16609 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16611 2014-01-20 Allan McRae <allan@archlinux.org>
16613 * po/ca.po: Update Catalan translation from translation project.
16615 2014-01-16 Mike Frysinger <vapier@gentoo.org>
16617 * sysdeps/s390/sotruss-lib.c: New file.
16619 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16622 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16623 (__GI___gettimeofday): Alias for a different internal symbol to avoid
16624 local calls issues by not having a PLT stub required for IFUNC calls.
16625 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16627 2014-01-16 Joseph Myers <joseph@codesourcery.com>
16629 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16630 * math/test-fpucw-static.c: Likewise.
16632 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
16635 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16637 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16639 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16640 implementation for powerpc.
16642 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
16645 * sysdeps/posix/system.c (__libc_system): Do not enable
16646 asynchronous cancellation.
16648 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16651 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16652 handling only for numbers special also in the IEEE case.
16654 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16656 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16658 2014-01-11 Allan McRae <allan@archlinux.org>
16660 * po/bg.po: Update Bulgarian translation from translation project.
16662 * po/de.po: Update German translation from translation project.
16664 2014-01-10 Roland McGrath <roland@hack.frob.com>
16666 * sysdeps/generic/gcc-compat.h: New file.
16668 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
16670 * benchtests/asin-inputs: Correct slow inputs.
16671 * benchtests/acos-inputs: Likewise.
16673 2014-01-10 Allan McRae <allan@archlinux.org>
16675 * po:sv.po: Update Swedish translation from translation project.
16677 * po/vi.po: Update Vietnamese translation from translation project.
16679 * po/eo.po: Update Esperanto translation from translation project.
16681 * po/cs.po: Update Czech translation from translation project.
16683 * po/nl.po: Update Dutch translation from translation project.
16685 * po/pl.po: Update Polish translation from translation project.
16687 * po/ru.po: Update Russian translation from translation project.
16689 * po/uk.po: Update Ukrainian translation from translation project.
16691 2014-01-08 Brooks Moses <bmoses@google.com>
16693 * elf/dl-load.c: Fix comment typo.
16695 2014-01-08 Carlos O'Donell <carlos@redhat.com>
16697 * po/header.pot: Rename to...
16698 * po/pot.header: ... this.
16699 * po/Makefile: Use pot.header.
16701 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
16702 Maxim Kuvyrkov <maxim@kugelworks.com>
16705 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16706 SRC and DEST against LEN.
16708 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16711 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16713 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16715 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16717 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16719 2014-01-08 Joseph Myers <joseph@codesourcery.com>
16722 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16723 for large positive arguments.
16725 2014-01-07 Joseph Myers <joseph@codesourcery.com>
16727 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16729 * math/auto-libm-test-in: Mark various tests with
16730 xfail-rounding:ldbl-128ibm.
16731 * math/auto-libm-test-out: Regenerated.
16734 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16735 Increase overflow threshold.
16737 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
16740 * stdio-common/vfprintf.c: Check for integer overflow.
16742 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16744 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16745 the first argument and return value of __tls_get_addr_internal.
16747 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16749 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16750 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16752 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16754 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16755 * sysdeps/s390/rtld-global-offsets.sym: New file.
16756 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16758 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16759 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16760 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16762 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16763 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16765 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16767 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16769 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16770 halfs of GPRs for high_gprs contexts.
16771 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16772 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
16774 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16776 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16778 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16779 for high GPRs (uc_high_gprs) and for future extensions
16781 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16782 for future extensions (__reserved).
16783 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16785 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16786 SC_HIGHGPRS offset definition.
16787 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16788 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16790 * Versions.def: Add GLIBC_2.19 for libpthread.
16791 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16792 siglongjmp for libpthread with GLIBC_2.19 symver.
16793 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16794 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16795 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16796 * sysdeps/s390/__longjmp.c: New file.
16797 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16798 * sysdeps/s390/longjmp.c: New file.
16799 * sysdeps/s390/setjmp.S: New file.
16800 * sysdeps/s390/sigjmp.S: New file.
16801 * sysdeps/s390/v1-longjmp.c: New file.
16802 * sysdeps/s390/v1-setjmp.h: New file.
16803 * sysdeps/s390/v1-sigjmp.c: New file.
16804 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16805 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16806 GLIBC_2.19 version.
16807 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16808 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16809 versioned symbols for ____longjmp_chk.
16810 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16812 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16814 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16816 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16818 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16820 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16821 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16822 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16823 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16824 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16825 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16826 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16827 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16828 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16829 * sysdeps/s390/rtld-__longjmp.c: New file.
16830 * sysdeps/s390/rtld-setjmp.S: New file.
16832 2014-01-06 Joseph Myers <joseph@codesourcery.com>
16835 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16836 Return -__logl (x) for small positive arguments without evaluating
16839 2014-01-06 Mike Frysinger <vapier@gentoo.org>
16841 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16843 (__ptrace_peeksiginfo_args): ... this.
16844 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16845 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16846 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16848 2014-01-06 Allan McRae <allan@archlinux.org>
16850 * inet/netinet/in.h: Fix typo in comment.
16852 2014-01-05 Andreas Jaeger <aj@suse.de>
16854 * sysdeps/i386/fpu/libm-test-ulps: Update.
16856 2014-01-05 Allan McRae <allan@archlinux.org>
16858 * po/libc.pot: Regenerated.
16860 * malloc/memusagestat.c: Fix gettext call formatting.
16862 2014-01-04 Sami Kerola <kerolasa@iki.fi>
16864 * nscd/nscd.c: Improve usage() output.
16866 2014-01-04 Mike Frysinger <vapier@gentoo.org>
16868 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16869 * sysdeps/unix/sysv/linux/configure: Regenerated.
16870 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16871 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16873 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16876 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16877 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16879 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16881 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16882 extra tokens at end of #undef directive.
16883 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16884 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16885 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16887 2014-01-03 Joseph Myers <joseph@codesourcery.com>
16889 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16891 * math/auto-libm-test-in: Mark various tests with
16892 xfail-rounding:ldbl-128ibm.
16893 * math/auto-libm-test-out: Regenerated.
16895 2014-01-02 Joseph Myers <joseph@codesourcery.com>
16898 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16899 numbers with subnormal high part when calculating exponent.
16902 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16906 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16908 (__ieee754_acoshl): Use __log1pl not __log1p.
16910 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
16912 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16913 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16914 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16915 (grow_heap, heap_trim, _int_new_arena, get_free_list)
16916 (reused_arena, arena_get2): Convert to GNU style.
16917 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16918 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16919 (memalign_check, __malloc_set_state): Likewise.
16920 * malloc/mallocbug.c (main): Likewise.
16921 * malloc/malloc.c (__malloc_assert, malloc_init_state)
16922 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16923 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16924 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16925 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16926 (__posix_memalign, malloc_info): Likewise.
16927 * malloc/malloc.h: Likewise.
16928 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16929 (mallochook, memalignhook, reallochook, mabort): Likewise.
16930 * malloc/mcheck.h: Likewise.
16931 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16932 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16933 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16934 * malloc/morecore.c (__default_morecore): Likewise.
16935 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16936 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16937 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16938 (print_and_abort): Likewise.
16939 * malloc/obstack.h: Likewise.
16940 * malloc/set-freeres.c (__libc_freeres): Likewise.
16941 * malloc/tst-mallocstate.c (main): Likewise.
16942 * malloc/tst-mtrace.c (main): Likewise.
16943 * malloc/tst-realloc.c (do_test): Likewise.
16945 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
16948 * nscd/netgroupcache.c (do_notfound): New function.
16949 (addgetnetgrentX): Use it.
16952 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16953 NSS_STATUS_NOTFOUND.
16955 2014-01-01 Joseph Myers <joseph@codesourcery.com>
16957 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16958 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16960 2014-01-01 Allan McRae <allan@archlinux.org>
16962 * scripts/update-copyrights: Update configure input file suffix.
16964 * NEWS: Update copyright year.
16965 * catgets/gencat.c: Likewise.
16966 * csu/version.c: Likewise.
16967 * debug/catchsegv.sh: Likewise.
16968 * debug/pcprofiledump.c: Likewise.
16969 * debug/xtrace.sh: Likewise.
16970 * elf/ldconfig.c: Likewise.
16971 * elf/ldd.bash.in: Likewise.
16972 * elf/pldd.c: Likewise.
16973 * elf/sotruss.ksh: Likewise.
16974 * elf/sprof.c: Likewise.
16975 * iconv/iconv_prog.c: Likewise.
16976 * iconv/iconvconfig.c: Likewise.
16977 * locale/programs/locale.c: Likewise.
16978 * locale/programs/localedef.c: Likewise.
16979 * login/programs/pt_chown.c: Likewise.
16980 * malloc/memusage.sh: Likewise.
16981 * malloc/memusagestat.c: Likewise.
16982 * malloc/mtrace.pl: Likewise.
16983 * manual/libc.texinfo: Likewise.
16984 * nscd/nscd.c: Likewise.
16985 * nss/getent.c: Likewise.
16986 * nss/makedb.c: Likewise.
16987 * posix/getconf.c: Likewise.
16988 * scripts/test-installation.pl: Likewise.
16990 * All files with FSF copyright notices: Update copyright dates
16991 using scripts/update-copyrights.
16992 * intl/plural.c: Regenerated.
16993 * locale/programs/charmap-kw.h: Likewise.
16994 * locale/programs/locfile-kw.h: Likewise.
16996 2013-12-31 Mike Frysinger <vapier@gentoo.org>
16998 * sysdeps/unix/sysv/linux/configure: Regenerated.
16999 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
17000 the linux/fanotify.h header.
17001 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
17002 HAVE_LINUX_FANOTIFY_H is defined.
17004 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
17006 * benchtests/cos-inputs: New inputs.
17007 * benchtests/sin-inputs: Likewise.
17009 * benchtests/atan-inputs: New inputs. Fix name of multiple
17010 precision fallback inputs.
17012 * benchtests/atanh-inputs: New inputs.
17013 * benchtests/tanh-inputs: Likewise.
17015 * benchtests/acosh-inputs: New inputs.
17016 * benchtests/asinh-inputs: Likewise.
17018 * benchtests/cosh-inputs: New inputs.
17019 * benchtests/sinh-inputs: Likewise.
17021 * benchtests/acos-inputs: Add more inputs.
17022 * benchtests/asin-inputs: Likewise.
17024 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
17027 * manual/arith.texi: Fix spelling.
17028 * manual/charset.texi: Likewise.
17029 * manual/errno.texi: Likewise.
17030 * manual/filesys.texi: Likewise.
17031 * manual/lang.texi: Likewise.
17032 * manual/llio.texi: Likewise.
17033 * manual/locale.texi: Likewise.
17034 * manual/message.texi: Likewise.
17035 * manual/resource.texi: Likewise.
17036 * manual/search.texi: Likewise.
17037 * manual/setjmp.texi: Likewise.
17038 * manual/stdio.texi: Likewise.
17039 * manual/string.texi: Likewise.
17040 * manual/sysinfo.texi: Likewise.
17041 * manual/time.texi: Likewise.
17043 2013-12-27 Carlos O'Donell <carlos@redhat.com>
17045 * po/sl.po: New file.
17047 2013-12-27 Mike Frysinger <vapier@gentoo.org>
17049 * .gitignore: Add core/.gdbinit/.gdb_history.
17051 2013-12-27 Allan McRae <allan@archlinux.org>
17054 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
17055 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
17057 2013-12-24 Brooks Moses <bmoses@google.com>
17059 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
17060 all compilers that claim C++98 compliance, not just GCC.
17061 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
17064 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17066 * NEWS: Restore accidentally deleted bug-fix entries.
17068 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
17069 Ondřej Bílka <neleai@seznam.cz>
17072 * malloc/malloc.c (_int_free): Perform sanity check only if we
17075 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
17078 * manual/stdio.texi (String Input Conversions): Clarify that character
17079 classes are not supported.
17081 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17085 2013-12-22 Joseph Myers <joseph@codesourcery.com>
17088 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
17089 Calculate results for small negative arguments directly rather
17090 than using reflection formula with special underflow handling.
17092 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
17093 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
17094 sysdeps/unix/bsd/bsd4.4/syscalls.list.
17095 (fchflags): Likewise.
17096 (revoke): Likewise.
17097 (setlogin): Likewise.
17098 (sigaltstack): Likewise.
17100 (sigblock): Remove.
17101 (sigsetmask): Likewise.
17103 (waitpid): Likewise.
17104 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
17105 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
17107 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
17108 * sysdeps/unix/bsd/Makefile: ... here.
17109 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
17110 * sysdeps/unix/bsd/Versions: ... here.
17111 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
17112 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
17113 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
17114 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
17115 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
17116 * sysdeps/unix/bsd/sigblock.c: ... here.
17117 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
17118 * sysdeps/unix/bsd/sigsetmask.c: ... here.
17119 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
17120 * sysdeps/unix/bsd/sigvec.c: ... here.
17121 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
17122 * sysdeps/unix/bsd/tcdrain.c: ... here.
17123 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
17124 * sysdeps/unix/bsd/tcgetattr.c: ... here.
17125 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
17126 * sysdeps/unix/bsd/tcsetattr.c: ... here.
17127 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
17128 * sysdeps/unix/bsd/wait.c: ... here.
17129 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
17130 * sysdeps/unix/bsd/wait3.c: ... here.
17131 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
17132 * sysdeps/unix/bsd/waitpid.c: ... here.
17134 2013-12-21 Joseph Myers <joseph@codesourcery.com>
17137 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
17138 round-to-nearest for [!USE_AS_EXPM1L].
17139 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17140 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
17141 more tests of exp and exp10. Expect some exp10 tests to miss
17142 exceptions or fail in directed rounding modes.
17143 * math/auto-libm-test-out: Regenerated.
17144 * math/libm-test.inc (exp10_tonearest_test_data): New array.
17145 (exp10_test_tonearest): New function.
17146 (exp10_towardzero_test_data): New array.
17147 (exp10_test_towardzero): New function.
17148 (exp10_downward_test_data): New array.
17149 (exp10_test_downward): New function.
17150 (exp10_upward_test_data): New array.
17151 (exp10_test_upward): New function.
17152 (main): Call the new functions.
17153 * sysdeps/i386/fpu/libm-test-ulps: Update.
17154 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17156 2013-12-20 Joseph Myers <joseph@codesourcery.com>
17158 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
17159 asinh, atan, atan2, atanh, cbrt, cos and cosh.
17160 * math/auto-libm-test-out: Regenerated.
17161 * math/libm-test.inc (acosh_test_data): Add more tests.
17162 (atanh_test_data): Likewise.
17163 (ceil_test_data): Likewise.
17164 (copysign_test_data): Likewise.
17165 * sysdeps/i386/fpu/libm-test-ulps: Update.
17166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17168 * timezone/checktab.awk: Update from tzcode 2013i.
17169 * timezone/private.h: Likewise.
17170 * timezone/scheck.c: Likewise.
17171 * timezone/tzfile.h: Likewise.
17172 * timezone/tzselect.ksh: Likewise.
17173 * timezone/zdump.c: Likewise.
17174 * timezone/zic.c: Likewise.
17176 * math/auto-libm-test-in: Add tests of cpow.
17177 * math/auto-libm-test-out: Regenerated.
17178 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17179 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17181 (func_calc_desc): Add mpc_cc_c union field.
17182 (test_functions): Add cpow.
17183 (special_fill_2pi): New function.
17184 (special_real_inputs): Add 2pi.
17185 (calc_generic_results): Handle mpc_cc_c.
17186 * sysdeps/i386/fpu/libm-test-ulps: Update.
17187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17189 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17190 csqrt, ctan and ctanh.
17191 * math/auto-libm-test-out: Regenerated.
17192 * math/libm-test.inc (TEST_COND_x86_64): New macro.
17193 (TEST_COND_x86): Likewise.
17194 (ccos_test_data): Use AUTO_TESTS_c_c.
17195 (ccosh_test_data): Likewise.
17196 (cexp_test_data): Likewise.
17197 (clog_test_data): Likewise.
17198 (csqrt_test_data): Likewise.
17199 (ctan_test_data): Likewise.
17200 (ctan_tonearest_test_data): Likewise.
17201 (ctan_towardzero_test_data): Likewise.
17202 (ctan_downward_test_data): Likewise.
17203 (ctan_upward_test_data): Likewise.
17204 (ctanh_test_data): Likewise.
17205 (ctanh_tonearest_test_data): Likewise.
17206 (ctanh_towardzero_test_data): Likewise.
17207 (ctanh_downward_test_data): Likewise.
17208 (ctanh_upward_test_data): Likewise.
17209 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17211 (func_calc_desc): Add mpc_c_c union field.
17212 (FUNC_mpc_c_c): New macro.
17213 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17214 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17216 (special_fill_min_subnorm_p120): New function.
17217 (special_real_inputs): Add min_subnorm_p120.
17218 (calc_generic_results): Handle mpc_c_c.
17219 * sysdeps/i386/fpu/libm-test-ulps: Update.
17220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17222 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17224 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17225 (do_sin_slow): New functions.
17226 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17227 (cslow2, csloww1, csloww2): Use the new functions.
17229 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17230 Use M to change sign of result instead of X. Assume X is
17232 (csloww1): Likewise.
17236 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17237 arguments A and DA.
17241 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17243 (sloww1): Don't adjust sign of DX.
17244 (csloww1): Likewise.
17245 (sloww2): Use X directly and don't adjust sign of DX.
17246 (csloww2): Likewise.
17248 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17250 * math/auto-libm-test-in: Add tests of cabs and carg.
17251 * math/auto-libm-test-out: Regenerated.
17252 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17253 (carg_test_data): Likewise.
17254 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17256 (func_calc_desc): Add mpc_c_f union field.
17257 (test_functions): Add cabs and carg.
17258 (calc_generic_results): Handle mpc_c_f.
17260 * sysdeps/powerpc/powerpc32/libgcc-compat.S
17261 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17262 as a macro and a compat symbol.
17263 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17264 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17265 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17266 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17267 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17268 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17270 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17272 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17274 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17276 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17278 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17280 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17281 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17284 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17286 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17288 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17290 * manual/texinfo.tex: Update to version 2013-11-26.10 with
17291 trailing whitespace removed.
17292 * scripts/config.guess: Update to version 2013-11-29.
17293 * scripts/config.sub: Update to version 2013-10-01.
17295 * math/auto-libm-test-in: Add tests of sincos.
17296 * math/auto-libm-test-out: Regenerated.
17297 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17298 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17300 (func_calc_desc): Add mpfr_f_11 union field.
17301 (test_functions): Add sincos.
17302 (calc_generic_results): Handle mpfr_f_11.
17303 * sysdeps/i386/fpu/libm-test-ulps: Update.
17304 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17306 2013-12-19 Andreas Schwab <schwab@suse.de>
17308 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17310 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17311 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17312 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17314 2013-12-19 Joseph Myers <joseph@codesourcery.com>
17316 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17317 * sysdeps/i386/fpu/libm-test-ulps: Update.
17318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17321 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17322 round-to-nearest mode when using frndint.
17323 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17324 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17325 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17327 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
17329 * math/auto-libm-test-out: Regenerated.
17330 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17331 (TEST_COND_x86): Likewise.
17332 (expm1_tonearest_test_data): New array.
17333 (expm1_test_tonearest): New function.
17334 (expm1_towardzero_test_data): New array.
17335 (expm1_test_towardzero): New function.
17336 (expm1_downward_test_data): New array.
17337 (expm1_test_downward): New function.
17338 (expm1_upward_test_data): New array.
17339 (expm1_test_upward): New function.
17340 (main): Run the new test functions.
17341 * sysdeps/i386/fpu/libm-test-ulps: Update.
17342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17344 * include/features.h: Update comment documenting feature test
17345 macros. Mention _DEFAULT_SOURCE in comment.
17346 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17347 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17348 _BSD_SOURCE and _SVID_SOURCE.
17349 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17350 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17351 !_SVID_SOURCE]: Likewise.
17352 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17353 (__USE_POSIX_IMPLICITLY): Define.
17354 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17355 (_POSIX_SOURCE): Undefine and redefine.
17356 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17357 (_POSIX_C_SOURCE): Likewise.
17358 * manual/creature.texi (_DEFAULT_SOURCE): Document.
17359 (Feature Test Macros): Update documentation of default features.
17361 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
17363 * benchtests/Makefile: Add bench-strtok.
17364 * benchtests/bench-strtok.c: New file: strtok benchtest.
17366 2013-12-19 Allan McRae <allan@archlinux.org>
17368 * manual/install.texi: Suppress menu for plain text output.
17369 * INSTALL: Regenerated.
17371 2013-12-18 Brooks Moses <bmoses@google.com>
17374 * misc/getauxval.c: Include errno.h.
17375 (__getauxval): Set errno to ENOENT if the requested type is not
17377 * misc/sys/auxv.h (getauxval): Document that it may set errno;
17378 don't declare with __attribute_const__.
17379 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17380 * manual/startup.texi: Document that getauxval sets errno.
17382 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17384 * math/auto-libm-test-in: Add tests of jn and yn.
17385 * math/auto-libm-test-out: Regenerated.
17386 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17387 (yn_test_data): Likewise.
17388 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17390 (func_calc_desc): Add mpfr_if_f union field.
17391 (FUNC_mpfr_if_f): New macro.
17392 (test_functions): Add jn and yn.
17393 (calc_generic_results): Assert type of second input for
17394 mpfr_ff_f. Handle mpfr_if_f.
17395 (output_for_one_input_case): Disable all checking for arguments
17396 fitting floating-point types in case of an integer argument.
17397 * sysdeps/i386/fpu/libm-test-ulps: Update.
17398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17401 Don't expect fegetround reference in libm.so.
17403 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
17405 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17406 $(config-cflags-nofma).
17408 2013-12-18 Joseph Myers <joseph@codesourcery.com>
17410 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17411 * math/auto-libm-test-out: Regenerated.
17414 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17415 to determine exponent and adjust argument to have exponent of -1.
17416 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17418 * math/auto-libm-test-out: Regenerated.
17419 * sysdeps/i386/fpu/libm-test-ulps: Update.
17420 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17422 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
17424 * manual/probes.texi: Remove cases when per-thread arenas are
17427 2013-12-18 Andreas Schwab <schwab@suse.de>
17429 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17430 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17431 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17432 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17433 * sysdeps/i386/i686/multiarch/Makefile: Update.
17434 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17436 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17438 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17439 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17441 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
17444 Support TZ transition times < 00:00:00.
17445 This is needed for version-3 tz-format files; it supports time
17446 stamps past 2037 for America/Godthab (the only entry in the tz
17447 database for which this change is relevant).
17448 * manual/time.texi (TZ Variable): Document transition times
17449 from -167:59:59 through -00:00:01.
17450 * time/tzset.c (tz_rule): Time of day is now signed.
17451 (__tzset_parse_tz): Parse negative time of day.
17453 Document TZ transition times >= 25:00:00.
17454 * manual/time.texi (TZ Variable): Document transition times from
17455 25:00:00 through 167:59:59. These are already supported, and this
17456 support will help with version-3 tz-format files.
17458 * manual/time.texi (TZ Variable): Modernize North America example
17459 to reflect current (i.e., 2007-and-later) daylight saving rules.
17461 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17463 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17465 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17466 * sysdeps/unix/bsd/bits/stat.h: Likewise.
17467 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17468 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17469 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17470 * sysdeps/unix/bsd/bsdstat.h: Likewise.
17471 * sysdeps/unix/bsd/clock.c: Likewise.
17472 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17473 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17474 * sysdeps/unix/bsd/init-posix.c: Likewise.
17475 * sysdeps/unix/bsd/poll.c: Likewise.
17476 * sysdeps/unix/bsd/ptsname.c: Likewise.
17477 * sysdeps/unix/bsd/seekdir.c: Likewise.
17478 * sysdeps/unix/bsd/setegid.c: Likewise.
17479 * sysdeps/unix/bsd/seteuid.c: Likewise.
17480 * sysdeps/unix/bsd/setgid.c: Likewise.
17481 * sysdeps/unix/bsd/setrgid.c: Likewise.
17482 * sysdeps/unix/bsd/setruid.c: Likewise.
17483 * sysdeps/unix/bsd/setsid.c: Likewise.
17484 * sysdeps/unix/bsd/setuid.c: Likewise.
17485 * sysdeps/unix/bsd/sigaction.c: Likewise.
17486 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17487 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17488 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17489 * sysdeps/unix/bsd/telldir.c: Likewise.
17490 * sysdeps/unix/bsd/times.c: Likewise.
17491 * sysdeps/unix/bsd/usleep.c: Likewise.
17493 * misc/Makefile (install-lib): Remove libbsd-compat.a.
17494 ($(objpfx)libbsd-compat.a): Remove rule.
17496 * include/features.h (__FAVOR_BSD): Do not define.
17497 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17498 features conflicting with POSIX.
17499 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17500 (_BSD_SOURCE): Remove description of not being a subset of other
17501 feature test macros.
17502 * manual/job.texi (getpgrp): Do not document BSD version.
17503 (getpgid): Do not document by reference to BSD getpgrp.
17504 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17505 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17506 * signal/signal.h [__FAVOR_BSD]: Likewise.
17507 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17508 instead of making contents conditional on [__FAVOR_BSD].
17509 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17511 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17513 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17515 2013-12-17 Joseph Myers <joseph@codesourcery.com>
17518 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17519 values below 2**-450, not 2**-500.
17520 * math/auto-libm-test-in: Don't allow spurious underflow from
17522 * math/auto-libm-test-out: Regenerated.
17526 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17527 values of ha and hb and sort them after adjusting subnormal
17529 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17531 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17532 values of ea and eb and sort them after adjusting subnormal
17534 * math/auto-libm-test-in: Do not expect some hypot tests of
17535 subnormals to fail. Add more hypot tests.
17536 * math/auto-libm-test-out: Regenerated.
17538 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17541 * sysdeps/sh/s_fma.c: New file.
17542 * sysdeps/sh/s_fmaf.c: New file.
17543 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
17545 * sysdeps/sh/Implies: Add sh/soft-fp.
17547 2013-12-16 Roland McGrath <roland@hack.frob.com>
17549 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
17550 level of indirection to members `objname', `errstring', `malloced'.
17551 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17552 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
17553 it as the __longjmp argument (just pass 1 instead).
17554 (_dl_catch_error): Initialize C with argument pointers and address of
17555 volatile local ERRCODE rather than copying values out of C at return.
17557 2013-12-16 Joseph Myers <joseph@codesourcery.com>
17559 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17560 * math/auto-libm-test-out: Regenerated.
17561 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17562 (hypot_test_data): Likewise.
17563 (pow_test_data): Likewise.
17564 (pow_tonearest_test_data): Likewise.
17565 * math/gen-auto-libm-tests.c (func_calc_method): Add value
17567 (func_calc_desc): Add mpfr_ff_f union field.
17568 (FUNC_mpfr_ff_f): New macro.
17569 (test_functions): Add atan2, hypot and pow.
17570 (special_fill_min): New function.
17571 (special_fill_minus_min): Likewise.
17572 (special_fill_min_subnorm): Likewise.
17573 (special_fill_minus_min_subnorm): Likewise.
17574 (special_real_inputs): Add min, -min, min_subnorm and
17576 (calc_generic_results): Handle mpfr_ff_f.
17577 * sysdeps/i386/fpu/libm-test-ulps: Update.
17578 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17580 2013-12-16 Will Newton <will.newton@linaro.org>
17582 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17583 (Aligned Memory Blocks): Add documentation for aligned_alloc
17584 and suggest it as an alternative to posix_memalign.
17585 (Hooks for Malloc): Document __memalign_hook is also called
17586 for aligned_alloc. (Summary of Malloc): Add summary for
17587 aligned alloc. Document __memalign_hook is also called
17590 2013-12-16 Will Newton <will.newton@linaro.org>
17592 * manual/memory.texi (Malloc Examples): Clarify default
17593 alignment documentation. Suggest posix_memalign rather
17594 than memalign or valloc.
17595 (Aligned Memory Blocks): Remove suggestion to use memalign
17596 or valloc. Remove obsolete comment about BSD.
17597 Document memalign errno values and mark the function obsolete.
17598 Document posix_memalign returned error codes. Mark valloc
17599 as obsolete. (Hooks for Malloc): __memalign_hook is also
17600 called for posix_memalign and valloc.
17601 (Summary of Malloc): Add posix_memalign to function summary.
17602 __memalign_hook is also called for posix_memalign and valloc.
17604 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
17606 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17610 (sloww): Use mynumber union. Expand ternary operator into
17611 if-else statements.
17612 (cslow): use mynumber union.
17614 2013-12-16 Allan McRae <allan@archlinux.org>
17616 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17617 * configure: Regenerated.
17619 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17622 * configure.ac: Added --enable-maintainer-mode. Check for
17623 autoconf when enabled.
17624 * configure: Regenerated.
17626 * nscd/nscd.service: New file.
17627 * nscd/nscd.tmpfiles: New file.
17629 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
17632 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17633 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17634 * sysdeps/x86_64/multiarch/strstr.c: ... here.
17635 (strstr): Add __strstr_sse2_unaligned ifunc.
17636 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17637 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17638 (strcasestr): Remove __strcasestr_sse42 ifunc.
17639 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17640 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17641 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17643 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
17645 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17646 * sysdeps/sh/bits/fenv.h: ... here.
17647 * sysdeps/sh/sh4/fpu/bits: Remove directory.
17649 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17651 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17653 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17654 hypotf multiarch implementations.
17655 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17656 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17657 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17658 multiarch hypot for PPC64.
17659 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17660 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17661 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17662 multiarch hypotf for PPC64.
17664 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17665 modff multiarch implementations.
17666 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17667 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17668 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17669 multiarch modf for PPC64.
17670 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17671 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17673 multiarch modff for PPC64.
17675 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17676 and logl multiarch implementations.
17677 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17678 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17679 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17680 multiarch logb for PPC64.
17681 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17682 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17684 multiarch logb for PPC64.
17685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17686 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17687 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17688 multiarch logb for PPC64.
17690 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17691 isinff multiarch implementation.
17692 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17696 multiarch isinf for PPC64.
17697 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17699 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17700 multiarch isinff for PPC64.
17702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17703 finitef multiarch implementation.
17704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17707 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17708 multiarch finite for PPC64.
17709 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17711 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17712 multiarch finitef for PPC64.
17714 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17715 lrint multiarch implementation.
17716 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17718 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17720 multiarch llrint for PPC64.
17721 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17722 multiarch lrint for PPC64.
17724 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17725 copysignf multiarch implementation.
17726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17730 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17731 multiarch copysign for PPC64.
17732 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17733 multiarch copysignf for PPC64.
17735 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17736 multiarch implementation.
17737 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17739 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17741 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17743 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17745 multiarch llround for PPC64.
17746 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17747 multiarch trunc for PPC64.
17748 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17749 multiarch truncf for PPC64.
17751 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17752 multiarch implementation.
17753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17761 multiarch llround for PPC64.
17762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17763 multiarch round for PPC64.
17764 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17765 multiarch roundf for PPC64.
17767 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17768 multiarch implementation.
17769 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17773 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17777 multiarch llround for PPC64.
17778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17779 multiarch floor for PPC64.
17780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17781 multiarch floorf for PPC64.
17783 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17784 multiarch implementation.
17785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17793 multiarch llround for PPC64.
17794 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17795 multiarch ceil for PPC64.
17796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17797 multiarch ceilf for PPC64.
17799 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17800 multiarch implementation.
17801 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17803 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17805 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17808 multiarch llround for PPC64.
17809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17810 multiarch lround for PPC64.
17812 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17813 multiarch implementation.
17814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17815 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17821 multiarch isnan for PPC64.
17822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17823 multiarch isnanf for PPC64.
17825 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17826 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17827 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17828 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17829 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17832 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17833 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17834 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17835 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17837 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17838 multiarch implementations.
17839 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17840 (__libc_ifunc_impl_list): Likewise.
17841 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17842 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17843 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17844 multiarch stpcpy for PPC64.
17846 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17847 multiarch implementations.
17848 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17849 (__libc_ifunc_impl_list): Likewise.
17850 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17851 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17852 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17853 multiarch strcpy for PPC64.
17855 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17856 redefine function name.
17857 (_wordcopy_fwd_dest_aligned): Likewise.
17858 (_wordcopy_bwd_aligned): Likewise.
17859 (_wordcopy_bwd_dest_aligned): Likewise.
17860 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17861 multiarch implementations.
17862 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17863 (__libc_ifunc_impl_list): Likewise.
17864 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17865 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17866 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17867 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17868 multiarch wcscpy for PPC64.
17870 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17871 multiarch implementations.
17872 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17873 (__libc_ifunc_impl_list): Likewise.
17874 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17875 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17876 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17877 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17878 multiarch wcscpy for PPC64.
17880 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17881 multiarch implementations.
17882 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17883 (__libc_ifunc_impl_list): Likewise.
17884 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17885 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17886 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17887 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17888 multiarch wcsrchr for PPC64.
17890 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17891 multiarch implementations.
17892 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17893 (__libc_ifunc_impl_list): Likewise.
17894 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17895 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17896 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17897 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17898 multiarch wcschr for PPC64.
17900 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17901 multiarch implementations.
17902 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17903 (__libc_ifunc_impl_list): Likewise.
17904 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17905 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17906 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17907 multiarch strchrnul for PPC64.
17909 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17912 (__libc_ifunc_impl_list): Likewise.
17913 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17914 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17915 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17916 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17919 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17921 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17922 (__libc_ifunc_impl_list): Likewise.
17923 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17924 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17925 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17926 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17929 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17930 multiarch implementations.
17931 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17932 (__libc_ifunc_impl_list): Likewise.
17933 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17934 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17935 strncasecmp for PPC64.
17936 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17937 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17938 multiarch strncasecmp_l for PPC64.
17940 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17941 multiarch implementations.
17942 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17943 (__libc_ifunc_impl_list): Likewise.
17944 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17945 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17946 multiarch strcasecmp for PPC64.
17947 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17949 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17950 multiarch strcasecmp_l for PPC64.
17952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17955 (__libc_ifunc_impl_list): Likewise.
17956 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17957 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17958 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17961 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17963 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17964 (__libc_ifunc_impl_list): Likewise.
17965 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17966 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17967 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17970 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17972 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17973 (__libc_ifunc_impl_list): Likewise.
17974 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17975 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17976 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17977 rawmemrchr for PPC64.
17979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17982 (__libc_ifunc_impl_list): Likewise.
17983 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17984 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17985 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17988 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17991 (__libc_ifunc_impl_list): Likewise.
17992 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17993 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17994 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17997 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18000 (__libc_ifunc_impl_list): Likewise.
18001 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
18002 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
18003 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
18006 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
18007 avoid cretion of __bzero symbol.
18008 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
18010 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
18012 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
18014 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
18015 multiarch implementations.
18016 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18017 (__libc_ifunc_impl_list): Likewise.
18018 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
18019 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
18020 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18021 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
18023 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
18024 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
18025 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
18026 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
18027 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
18029 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
18031 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
18032 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
18034 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
18035 (__libc_ifunc_impl_list): Likewise.
18036 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
18037 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
18038 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
18039 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
18042 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
18043 multiarch for POWER/PPC64.
18044 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
18045 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
18046 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
18047 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
18048 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
18049 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
18050 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
18051 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
18052 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
18055 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
18056 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
18057 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
18058 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
18059 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
18060 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
18061 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
18062 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
18063 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
18064 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
18065 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
18066 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
18067 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
18068 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
18069 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
18071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
18072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
18073 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
18074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
18075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
18076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
18078 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18080 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
18082 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
18084 * benchtests/Makefile (bench): Add exp2 and log2.
18085 (LDLIBS-bench-exp2): Add -lm.
18086 (LDLIBS-bench-log2): Likewise.
18087 * benchtests/exp2-inputs: New inputs file.
18088 * benchtests/log2-inputs: New inputs file.
18089 * benchtests/log-inputs: Add new inputs.
18090 * benchtests/tan-inputs: Likewise.
18092 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
18094 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
18096 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
18097 (csloww2): ... from here.
18099 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
18100 instead of structures.
18101 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
18102 (POLYNOMIAL): Likewise.
18103 (TAYLOR_SLOW): Likewise.
18109 (sloww1); Likewise.
18110 (sloww2): Likewise.
18111 (bsloww1): Likewise.
18112 (bsloww2): Likewise.
18113 (cslow2): Likewise.
18114 (csloww): Likewise.
18115 (csloww1): Likewise.
18116 (csloww2): Likewise.
18118 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
18120 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
18121 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
18122 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
18123 * malloc/hooks.c (realloc_check): Likewise.
18125 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
18126 * malloc/arena.c: Remove PER_THREAD conditional.
18127 [!PER_THREAD]: Remove code.
18128 (ptmalloc_unlock_all2): Likewise.
18129 (ptmalloc_init): Likewise.
18130 (_int_new_arena): Likewise.
18131 (arena_get2): Likewise.
18132 * malloc/hooks.c (__malloc_get_state): Likewise.
18133 (__malloc_set_state): Likewise.
18134 * malloc/malloc.c: Likewise.
18135 (struct malloc_state): Likewise.
18136 (struct malloc_par): Likewise.
18137 (__libc_realloc): Likewise.
18138 (__libc_mallopt): Likewise.
18140 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18142 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
18144 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
18146 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
18147 macro to a function. Check for zero perturb_byte.
18148 (_int_malloc, _int_free): Remove zero perturb_byte checks.
18150 * malloc/malloc.c: (force_reg): Remove.
18151 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
18152 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
18153 force_reg by atomic_forced_read.
18154 * malloc/arena.c (ptmalloc_init): Likewise.
18155 * malloc/hooks.c (top_check): Likewise.
18157 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18161 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
18163 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18165 2013-12-08 Joseph Myers <joseph@codesourcery.com>
18167 * math/auto-libm-test-in: Add tests of lgamma.
18168 * math/auto-libm-test-out: Regenerated.
18169 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18170 (M_LOG_2_SQRT_PIl): Likewise.
18171 (lgamma_test_data): Use AUTO_TESTS_f_f1.
18172 * math/gen-auto-libm-tests.c (func_calc_method): Add value
18174 (func_calc_desc): Add mpfr_f_f1 union field.
18175 (ARGS1): New macro.
18183 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18184 (test_functions): Add lgamma.
18185 (calc_generic_results): Handle mpfr_f_f1.
18186 * sysdeps/i386/fpu/libm-test-ulps: Update.
18187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18189 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18191 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18192 __mpn_add_n for PowerPC64/POWER7.
18193 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18194 __mpn_sub_n for PowerPC64/POWER7.
18196 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18197 __mpn_addmul_1 for PowerPC64.
18198 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18199 __mpn_submul_1 for PowerPC64.
18200 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18202 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18205 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
18208 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18210 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18212 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18214 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18215 add multiarch folders.
18216 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18217 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18218 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18219 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18220 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18221 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18222 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18223 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18224 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18225 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18226 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18231 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18234 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18235 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18236 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18238 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18240 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18241 multiarch __ieee754_hypot for PowerPC32.
18242 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18244 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18246 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18247 multiarch __ieee754_hypotf for PowerPC32.
18249 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18250 long_double_symbol only if __logbl is defined.
18251 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18252 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18253 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18254 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18255 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18256 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18257 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18258 path for implementation.
18259 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18260 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18261 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18262 logb, and logbl multiarch implementations for PowerPC32.
18263 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18265 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18267 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18268 multiarch logb for PowerPC32.
18269 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18271 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18273 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18274 multiarch logbf for PowerPC32.
18275 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18276 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18278 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18279 multiarch logbl implementation for PowerPC32.
18281 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18282 and modff multiarch implementations.
18283 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18285 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18287 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18288 multiarch modf for PowerPC32.
18289 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18291 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18293 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18294 multiarch modff for PowerPC32.
18296 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18297 and lrintf multiarch implementations.
18298 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18300 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18302 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18303 multiarch lrint for PowerPC32.
18304 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18305 file: multiarch lrintf for PowerPC32.
18307 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18308 and lroundf multiarch implementations.
18309 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18311 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18313 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18315 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18316 multiarch lround for PowerPC32.
18317 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18318 file: multiarch lroundf for PowerPC32.
18320 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18321 copysign and copysignf multiarch implementations.
18322 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18324 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18326 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18327 file: multiarch copysign for PowerPC32.
18328 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18329 file: multiarch copysignf for PowerPC32.
18331 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18332 and truncf multiarch implementations.
18333 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18335 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18337 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18338 multiarch trunc for PowerPC32.
18339 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18341 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18343 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18344 multiarch truncf for PowerPC32.
18346 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18347 and roundf multiarch implementations.
18348 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18350 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18352 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18353 multiarch round for PowerPC32.
18354 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18356 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18358 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18359 multiarch roundf for PowerPC32.
18361 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18362 and floorf multiarch implementations.
18363 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18365 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18367 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18368 multiarch floor for PowerPC32.
18369 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18371 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18373 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18374 multiarch floorf for PowerPC32.
18376 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18377 and ceilf multiarch implementations.
18378 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18380 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18382 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18383 multiarch ceil for PowerPC32.
18384 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18386 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18388 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18389 multiarch ceilf for PowerPC32.
18391 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18393 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18394 FINITEF is defined.
18395 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18396 and finitef multiarch implementations.
18397 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18399 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18401 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18402 multiarch finite for PowerPC32.
18403 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18405 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18406 file: multiarch finitef for PowerPC32.
18408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18409 and isinff multiarch implementations.
18410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18414 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18415 multiarch isinf for PowerPC32.
18416 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18418 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18419 multiarch isinff for PowerPC32.
18421 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18422 alias when __isnan is defined.
18423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18424 and isnanf multiarch implementations.
18425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18434 multiarch isnan for PowerPC32.
18435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18440 multiarch isnanf for PowerPC32.
18442 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18443 and sqrtf multiarch implementations.
18444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18448 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18449 multiarch sqrt for PowerPC32.
18450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18455 multiarch sqrtf for PowerPC32.
18457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18458 and llroundf multiarch implementations.
18459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18466 file: multiarch llround for PowerPC32.
18467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18468 file: multiarch llroundf for PowerPC32.
18470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18471 multiarch PowerPC32 fpu implementations.
18472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18477 multiarch llrint for PowerPC32.
18478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18485 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18487 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18489 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18491 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18493 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18494 multiarch wordcopy for PPC32.
18495 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18497 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18498 (__libc_ifunc_impl_list): Likewise.
18499 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18500 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18501 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18502 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18503 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18504 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18506 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18507 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18509 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18511 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18513 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18514 multiarch wcscpy for PPC32.
18515 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18517 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18518 (__libc_ifunc_impl_list): Likewise.
18519 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18520 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18521 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18522 sysdeps/powerpc/power6/wcscpy.c.
18524 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18525 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18529 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18531 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18532 multiarch wcsrchr for PPC32.
18533 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18535 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18536 (__libc_ifunc_impl_list): Likewise.
18537 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18538 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18539 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18540 sysdeps/powerpc/power6/wcsrchr.c.
18542 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18544 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18546 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18547 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18548 multiarch wcschr for PPc32.
18549 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18551 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18552 (__libc_ifunc_impl_list): Likewise.
18553 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18554 * sysdeps/powerpc/power6/wcschr.c: ... to here.
18555 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18556 sysdeps/powerpc/power6/wcschr.c.
18558 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18559 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18561 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18562 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18563 file: multiarch strchr for PPC32.
18564 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18566 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18567 (__libc_ifunc_impl_list): Likewise.
18569 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18571 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18573 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18575 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18576 multiarch strchrnul for PPC32.
18577 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18579 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18580 (__libc_ifunc_impl_list): Likewise.
18582 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18584 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18585 multiarch strncasecmp for PPC32.
18586 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18588 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18589 multiarch strncasecmp_l for PPC32.
18590 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18591 strncasecmp multiarch objects.
18592 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18593 (__libc_ifunc_impl_list): Likewise.
18595 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18597 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18598 multiarch strncasecmp for PPC32.
18599 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18601 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18602 multiarch strcasecmp_l for PPC32.
18603 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18605 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18606 (__libc_ifunc_impl_list): Likewise.
18608 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18610 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18612 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18613 multiarch strncmp for PPC32.
18614 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18616 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18617 (__libc_ifunc_impl_list): Likewise.
18619 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18620 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18622 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18623 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18624 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18626 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18627 (__libc_ifunc_impl_list): Likewise.
18629 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18631 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18633 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18634 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18636 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18637 (__libc_ifunc_impl_list): Likewise.
18639 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18641 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18643 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18644 multiarch rawmemchr for PPC32.
18645 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18647 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18648 (__libc_ifunc_impl_list): Likewise.
18650 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18652 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18654 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18655 file: memrchr multiarch for PPC32.
18656 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18658 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18659 (__libc_ifunc_impl_list): Likewise.
18661 * string/memchr.c (__memchr): Using macro to redefine symbol name.
18662 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18664 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18665 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18666 multiarch memchr for PPC32.
18667 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18669 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18670 (__libc_ifunc_impl_list): Likewise.
18672 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18673 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18675 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18677 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18678 file: multiarch mempcpy for PPC32.
18679 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18681 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18682 (__libc_ifunc_impl_list): Likewise.
18684 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18685 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18686 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18687 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18688 multiarch bzero for PPC32.
18689 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18691 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18693 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18694 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18695 file: multiarch memset for PPC32.
18696 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18697 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18698 memset multiarch objects.
18699 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18700 (__libc_ifunc_impl_list): Likewise.
18702 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18704 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18705 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18707 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18708 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18710 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18711 (__libc_ifunc_impl_list): Likewise.
18713 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18714 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18715 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18717 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18719 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18721 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18722 multiarch memcpy for PPC32.
18723 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18725 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18726 (__libc_ifunc_impl_list): Likewise.
18728 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18729 support multiarch for POWER/PPC32.
18730 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18732 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18734 Implies file to make multiarch folder appers before the fpu and
18735 default folder for power4 configuration.
18737 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
18739 * scripts/bench.pl: Append volatile keyword to type.
18741 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
18743 * sysdeps/sh/sotruss-lib.c: New file.
18744 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18746 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18748 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18750 2013-12-05 Joseph Myers <joseph@codesourcery.com>
18753 * math/w_tgamma.c: Include <errno.h>.
18754 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
18755 * math/w_tgammaf.c: Include <errno.h>.
18756 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
18757 * math/w_tgammal.c: Include <errno.h>.
18758 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
18759 * math/auto-libm-test-in: Do not allow missing errno on tgamma
18760 underflow. Add more tgamma tests.
18761 * math/auto-libm-test-out: Regenerated.
18762 * sysdeps/i386/fpu/libm-test-ulps: Update.
18763 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18765 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18766 sin, sinh, tan, tanh, tgamma, y0 and y1.
18767 * math/auto-libm-test-out: Regenerated.
18768 * math/libm-test.inc (TEST_COND_x86_64): New macro.
18769 (TEST_COND_x86): Likewise.
18770 (M_E2l): Remove macro.
18772 (M_2_SQRT_PIl): Likewise.
18773 (M_SQRT_PIl): Likewise.
18774 (M_1_DIV_El): Likewise.
18775 (log_test_data): Use AUTO_TESTS_f_f.
18776 (log10_test_data): Likewise.
18777 (log1p_test_data): Likewise.
18778 (log2_test_data): Likewise.
18779 (sin_test_data): Likewise.
18780 (sin_tonearest_test_data): Likewise.
18781 (sin_towardzero_test_data): Likewise.
18782 (sin_downward_test_data): Likewise.
18783 (sin_upward_test_data): Likewise.
18784 (sinh_test_data): Likewise.
18785 (sinh_tonearest_test_data): Likewise.
18786 (sinh_towardzero_test_data): Likewise.
18787 (sinh_downward_test_data): Likewise.
18788 (sinh_upward_test_data): Likewise.
18789 (tan_test_data): Likewise.
18790 (tan_tonearest_test_data): Likewise.
18791 (tan_towardzero_test_data): Likewise.
18792 (tan_downward_test_data): Likewise.
18793 (tan_upward_test_data): Likewise.
18794 (tanh_test_data): Likewise.
18795 (tgamma_test_data): Likewise.
18796 (y0_test_data): Likewise.
18797 (y1_test_data): Likewise.
18798 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18799 (special_real_inputs): Add pi/4.
18800 * sysdeps/i386/fpu/libm-test-ulps: Update.
18801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18803 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18805 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18806 "longjmp_target" static probes.
18807 (__longjmp): Rename to __longjmp_symbol.
18808 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18809 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18810 on which longjmp to generate.
18811 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18812 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18814 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18815 (__sigjmp_save): Rename to __sigjmp_save_symbol.
18816 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18817 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18818 and __sigjmp_save_symbol based on which sigsetjmp to generated.
18819 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18821 __longjmp_symbol based on which __longjmp to generate.
18822 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18824 (setjmp): Rename to setjmp_symbol.
18825 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18826 (_setjmp): Rename to _setjmp_symbol.
18827 (__sigsetjmp): Rename to __sigsetjmp_symbol.
18828 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18829 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18830 which setjmp to generate.
18831 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18832 "longjmp_target" static probes.
18834 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
18836 * benchtests/README: Add note about output arguments.
18837 * benchtests/bench-sincos.c: Remove file.
18838 * benchtests/sincos-inputs: New file.
18839 * scripts/bench.pl: Identify output arguments and define
18840 static variables for them.
18842 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18845 * Makefile (INSTALL): Add install-plain.texi as the primary
18847 * manual/install-plain.texi: New file.
18848 * manual/install.texi: Include node directive only for
18849 non-plaintext output.
18851 2013-12-04 Joseph Myers <joseph@codesourcery.com>
18853 * stdlib/longlong.h: Update from GCC.
18857 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18858 * math/w_j0f.c (y0f): Likewise.
18859 * math/w_j0l.c (__y0l): Likewise.
18860 * math/w_j1.c (y1): Likewise.
18861 * math/w_j1f.c (y1f): Likewise.
18862 * math/w_j1l.c (__y1l): Likewise
18863 * math/w_jn.c (yn): Likewise.
18864 * math/w_jnf.c (ynf): Likewise.
18865 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18866 Bessel function pole errors in _POSIX_ mode. Use NAN as return
18867 value for Bessel function domain errors outside _SVID_ mode.
18868 Adjust sign of return value for yn (negative integer, 0).
18869 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18870 by zero in return for negative x and set sign appropriately for
18872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18873 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18874 * math/libm-test.inc (y0_test_data): Add more tests and adjust
18875 expectations in error cases.
18876 (y1_test_data): Likewise.
18877 (yn_test_data): Likewise.
18878 * sysdeps/i386/fpu/libm-test-ulps: Update.
18879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18881 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18883 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18884 "64" to "64-v1". Add "64-v2".
18885 (abi-64-options): Rename to ...
18886 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
18887 (abi-64-condition): Rename to ...
18888 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
18889 (abi-64-ld-soname): Rename to ...
18890 (abi-64-v1-ld-soname): ... this.
18891 (abi-64-v2-options): Define.
18892 (abi-64-v2-condition): Likewise.
18893 (abi-64-v2-ld-soname): Likewise.
18894 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18895 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18900 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18901 Alan Modra <amodra@gmail.com>
18903 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18904 New versions for use with the ELFv2 ABI.
18905 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18906 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18908 (struct La_ppc64v2_retval): Likewise.
18909 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18910 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18911 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18912 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18913 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18914 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18915 Do not save or restore CR.
18916 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18917 (_dl_profile_resolve): Do no save or restore CR. Support extended
18918 return values for ELFv2 ABI. Fix location of FPR return registers.
18919 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18920 updated values for _CALL_ELF == 2.
18921 (La_regs, La_retval, int_retval): Likewise.
18923 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18925 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18926 (FRAME_MIN_SIZE_PARM): Likewise.
18927 (FRAME_BACKCHAIN): Likewise.
18928 (FRAME_CR_SAVE): Likewise.
18929 (FRAME_LR_SAVE): Likewise.
18930 (FRAME_TOC_SAVE): Likewise.
18931 (FRAME_PARM_SAVE): Likewise.
18932 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18933 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18934 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18935 (call_mcount_parm_offset): New macro.
18936 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18937 (PROF): Use symbolic stack frame offsets.
18938 (TAIL_CALL_SYSCALL_ERROR): Likewise.
18939 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18940 Redefine in terms of FRAME_MIN_SIZE.
18941 (_dl_runtime_resolve): Use symbolic stack frame offsets.
18942 (_dl_profile_resolve): Likewise. Update comment.
18943 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18944 symbols stack frame offsets.
18945 (__sigsetjmp): Likewise.
18946 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18947 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18948 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18949 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18952 (FRAME_BACKCHAIN): Remove.
18953 (FRAME_CR_SAVE): Likewise.
18954 (FRAME_LR_SAVE): Likewise.
18955 (FRAME_COMPILER_DW): Likewise.
18956 (FRAME_LINKER_DW): Likewise.
18957 (FRAME_TOC_SAVE): Likewise.
18958 (FRAME_PARM_SAVE): Likewise.
18959 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18960 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18961 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18963 (CHECK_SP): Use symbolic stack frame offsets.
18964 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18965 zone" instead of caller's parameter save area for temp storage.
18966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18967 Likewise. Also, use symbolic stack frame offsets.
18968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18969 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18970 our own stack frame instead of the caller's.
18971 (__socket): Use symbolic stack frame offsets.
18973 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18974 Alan Modra <amodra@gmail.com>
18976 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18978 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18979 (PPC64_LOCAL_ENTRY_OFFSET): Define.
18980 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18982 (elf_machine_fixup_plt): Call it.
18983 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
18985 (elf_machine_rela): Update call to elf_machine_plt_conflict.
18986 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18987 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18988 r2 before calling target.
18990 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
18991 Alan Modra <amodra@gmail.com>
18993 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18994 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18995 versions of macros to support ELFv2 ABI.
18996 (LOCALENTRY): New macro.
18997 (ENTRY, EALIGN): Use it.
18998 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18999 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
19000 fall through into ENTRY entry point.
19001 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
19002 Only define if _CALL_ELF != 2.
19004 (elf_machine_matches_host): Verify ABI version matches.
19005 (RTLD_START): Use LOCALENTRY.
19006 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
19007 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
19008 (PLT_ENTRY_WORDS): New macro.
19009 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
19010 (elf_machine_runtime_setup): Support ELFv2 ABI.
19011 (elf_machine_fixup_plt): Likewise.
19012 (elf_machine_plt_conflict): Likewise.
19013 (resolve_ifunc): Likewise.
19014 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
19015 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
19018 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
19019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19020 (makecontext): Support ELFv2 ABI.
19021 * elf/elf.h (EF_PPC64_ABI): Define.
19023 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19025 * sysdeps/powerpc/powerpc64/sysdep.h
19026 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
19027 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
19028 (ENTRY) [ASSEMBLER]: ... but instead here ...
19029 (EALIGN) [ASSEMBLER]: ... and here.
19030 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
19031 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
19032 (ENTRY_2) [!ASSEMBLER]: Use it.
19033 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
19034 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
19035 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
19036 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
19037 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
19038 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
19039 Use PPC64_LOAD_FUNCPTR.
19041 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
19043 2013-12-04 Alan Modra <amodra@gmail.com>
19045 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
19046 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
19047 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
19048 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
19050 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
19051 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
19052 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
19053 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
19054 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
19055 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
19057 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
19059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19060 (__makecontext): Fix incorrect CFI when backtracing out of
19061 context created via makecontext.
19062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
19063 (__setcontext): Fix incorrect CFI during switch to new context.
19064 (__novec_setcontext): Likewise.
19066 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19069 * time/strptime_l.c (__strptime_internal): Allow modifiers
19071 * time/tst-strptime.c (day_tests): Add testcase.
19073 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19075 * scripts/bench.pl: Skip over blank lines.
19077 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
19080 * manual/time.texi (Calendar Time): Clarify what timezone functions
19083 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19087 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
19089 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
19091 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
19092 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
19093 * debug/memset_chk.c (__memset_chk): Likewise.
19094 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
19095 * debug/strncpy_chk.c: Likewise.
19097 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19101 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
19102 (__ieee754_exp): For possibly underflowing results, check size of
19103 result and force underflow exception if required.
19104 * math/auto-libm-test-in: Add more tests of exp.
19105 * math/auto-libm-test-out: Regenerated.
19106 * sysdeps/i386/fpu/libm-test-ulps: Update.
19107 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19110 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
19111 * math/w_exp2f.c (__exp2f): Likewise.
19112 * math/w_exp2l.c (__exp2l): Likewise.
19113 * math/auto-libm-test-in: Do not allow missing errno on exp2
19115 * math/auto-libm-test-out: Regenerated.
19117 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
19120 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
19121 handle filename validation.
19122 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
19125 2013-12-03 Joseph Myers <joseph@codesourcery.com>
19128 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
19129 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
19130 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
19132 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
19133 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
19134 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19135 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
19136 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19137 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
19138 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
19139 * math/auto-libm-test-in: Don't allow missing errno from erfc.
19140 Add more erfc tests.
19141 * math/auto-libm-test-out: Regenerated.
19142 * sysdeps/i386/fpu/libm-test-ulps: Update.
19143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19145 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
19146 exp2, expm1, j0 and j1.
19147 * math/auto-libm-test-out: Regenerated.
19148 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
19149 (erfc_test_data): Likewise.
19150 (exp_test_data): Likewise.
19151 (exp_tonearest_test_data): Likewise.
19152 (exp_towardzero_test_data): Likewise.
19153 (exp_downward_test_data): Likewise.
19154 (exp_upward_test_data): Likewise.
19155 (exp10_test_data): Likewise.
19156 (exp2_test_data): Likewise.
19157 (expm1_test_data): Likewise.
19158 (j0_test_data): Likewise.
19159 (j1_test_data): Likewise.
19160 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19161 (input_flag_type): Add flag_xfail_rounding.
19162 (input_flags): Add xfail-rounding.
19163 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19164 (output_for_one_input_case): Handle flag_xfail_rounding.
19165 * sysdeps/i386/fpu/libm-test-ulps: Update.
19166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19168 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
19171 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19174 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
19177 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19178 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19179 (STAP_PROBE0): New macro.
19180 (STAP_PROBE1): Likewise.
19181 (STAP_PROBE2): Likewise.
19182 (STAP_PROBE3): Likewise.
19183 (STAP_PROBE4): Likewise.
19185 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
19187 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19189 2013-12-02 Steve Ellcey <sellcey@mips.com>
19191 * benchtests/Makefile (bench): Add sqrt.
19192 (LDLIBS-bench-sqrt): New.
19193 * benchtests/sqrt-input: New.
19195 2013-12-02 Pavel Simerda <psimerda@redhat.com>
19197 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19198 (GAIH_EAI): Likewise.
19199 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19200 (gaih_inet): Likewise.
19201 (getaddrinfo): Don't use GAIH_EAI.
19203 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19204 (struct gaih): Remove definition.
19206 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19208 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19209 Use HERRNOP directly.
19211 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19215 2013-11-30 Joseph Myers <joseph@codesourcery.com>
19217 * math/gen-auto-libm-tests.c (test_functions): Add more
19218 single-argument functions.
19219 (special_fill_pi_2): New function.
19220 (special_fill_minus_pi_2): Likewise.
19221 (special_fill_pi_6): Likewise.
19222 (special_fill_minus_pi_6): Likewise.
19223 (special_fill_pi_3): Likewise.
19224 (special_fill_2pi_3): Likewise.
19225 (special_fill_e): Likewise.
19226 (special_fill_1_e): Likewise.
19227 (special_fill_e_minus_1): Likewise.
19228 (special_real_inputs): Add more special inputs.
19229 (output_for_one_input_case): Do not require ERANGE on underflow to
19230 zero if round-to-nearest result does not underflow to zero, unless
19231 exact results required.
19232 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19233 atan, atanh, cbrt, cos and cosh.
19234 * math/auto-libm-test-out: Regenerated.
19235 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19236 (acos_tonearest_test_data): Likewise.
19237 (acos_towardzero_test_data): Likewise.
19238 (acos_downward_test_data): Likewise.
19239 (acos_upward_test_data): Likewise.
19240 (acosh_test_data): Likewise.
19241 (asin_test_data): Likewise.
19242 (asin_tonearest_test_data): Likewise.
19243 (asin_towardzero_test_data): Likewise.
19244 (asin_upward_test_data): Likewise.
19245 (asinh_test_data): Likewise.
19246 (atan_test_data): Likewise.
19247 (atanh_test_data): Likewise.
19248 (cbrt_test_data): Likewise.
19249 (cos_test_data): Likewise.
19250 (cos_tonearest_test_data): Likewise.
19251 (cos_towardzero_test_data): Likewise.
19252 (cos_downward_test_data): Likewise.
19253 (cos_upward_test_data): Likewise.
19254 (cosh_test_data): Likewise.
19255 (cosh_tonearest_test_data): Likewise.
19256 (cosh_towardzero_test_data): Likewise.
19257 (cosh_downward_test_data): Likewise.
19258 (cosh_upward_test_data): Likewise.
19259 * sysdeps/i386/fpu/libm-test-ulps: Update.
19260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19262 2013-11-29 Joseph Myers <joseph@codesourcery.com>
19265 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19266 * math/w_exp10f.c (__exp10f): Likewise.
19267 * math/w_exp10l.c (__exp10l): Likewise.
19268 * math/libm-test.inc (exp10_test_data): Add more tests and expect
19269 errno settings in existing tests.
19272 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19273 precision control set to double precision.
19274 * sysdeps/i386/fpu/w_sqrt.c: New file.
19275 * math/auto-libm-test-in: Add more tests.
19276 * math/auto-libm-test-out: Update.
19278 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19279 (sqrt_test_tonearest): New function.
19280 (sqrt_towardzero_test_data): New variable.
19281 (sqrt_test_towardzero): New function.
19282 (sqrt_downward_test_data): New variable.
19283 (sqrt_test_downward): New function.
19284 (sqrt_upward_test_data): New variable.
19285 (sqrt_test_upward): New function.
19286 (main): Call the new functions.
19288 * math/gen-auto-libm-tests.c: New file.
19289 * math/auto-libm-test-in: Likewise.
19290 * math/auto-libm-test-out: New generated file.
19291 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19293 (%beautify): Add generated representations of zero.
19294 (top level): Set $auto_input and call parse_auto_input.
19295 (beautify): Remove trailing "f" from hex float constants.
19296 (parse_args): Handle XFAIL_TEST.
19297 (convert_condition): New function.
19298 (or_value): Likewise.
19299 (or_cond_value): Likewise.
19300 (generate_testfile): Handle AUTO_TESTS_* lines.
19301 (parse_auto_input): New function.
19302 * math/libm-test.inc (XFAIL_TEST): New macro.
19303 (ERRNO_UNCHANGED): Update value.
19304 (ERRNO_EDOM): Likewise.
19305 (ERRNO_ERANGE): Likewise.
19306 (IGNORE_RESULT): Likewise.
19307 (TEST_COND_flt_32): New macro.
19308 (TEST_COND_dbl_64): Likewise.
19309 (TEST_COND_ldbl_96_intel): Likewise.
19310 (TEST_COND_ldbl_96_m68k): Likewise.
19311 (TEST_COND_ldbl_128): Likewise.
19312 (TEST_COND_ldbl_128ibm): Likewise.
19313 (TEST_COND_long32): Likewise.
19314 (TEST_COND_long64): Likewise.
19315 (TEST_COND_before_rounding): Likewise.
19316 (TEST_COND_after_rounding): Likewise.
19317 (enable_test): Handle XFAIL_TEST flag.
19318 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19319 with finite results.
19320 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19321 auto-libm-test-out.
19323 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19324 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19327 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19328 __tls_get_addr_internal instead of __tls_get_offset in order to
19329 avoid GOT pointer dependency. Make rtld export
19330 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19331 __tls_get_addr since we are a __tls_get_offset platform.
19332 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19333 GOT pointer being set up before.
19334 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19336 2013-11-28 Joseph Myers <joseph@codesourcery.com>
19338 * manual/math.texi (Errors in Math Functions): Document accuracy
19342 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19343 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19344 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19345 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19346 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19347 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19348 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19349 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19350 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19351 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19352 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19353 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19354 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19355 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19356 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19357 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19359 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19360 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19361 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19362 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19363 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19365 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19367 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19369 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19370 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19371 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19372 atomic-feupdateenv and flt-rounds.
19373 * sysdeps/powerpc/nofpu/Versions (libc): Add
19374 __atomic_feholdexcept, __atomic_feclearexcept,
19375 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19376 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19377 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19378 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19379 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19384 * manual/arith.texi (FP Exceptions): Document that exceptions may
19385 not be raised when matherr is used.
19386 (Math Error Reporting): Document overflow in directed rounding
19387 modes. Document that errno may not be set when finite values are
19388 returned on overflow. Document intent to set errno on underflow
19389 only for underflow to zero.
19392 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19393 round-to-nearest then adjust result for other rounding modes.
19394 * include/fenv.h (fegetround): Use libm_hidden_proto.
19395 * math/fegetround.c (fegetround): Use libm_hidden_def.
19396 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19397 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19398 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19399 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19401 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19402 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19403 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19404 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19406 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19409 * nss/Versions (libnss_files): Add
19410 _nss_files_gethostbyname3_r.
19411 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19413 (HOST_DB_LOOKUP): Remove macro.
19414 (_nss_files_gethostbyname_r): Implement function without the
19415 HOST_DB_LOOKUP macro.
19416 (_nss_files_gethostbyname2_r): Likewise.
19418 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
19420 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19422 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
19424 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19425 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19428 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19430 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19431 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19432 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19433 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19434 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19435 __fe_nomask_env_priv and attribute_hidden.
19436 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19437 (libc_feupdateenv_test_ppc): Likewise.
19438 (libc_feresetround_ppc): Likewise.
19439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19440 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19441 compat_symbol macro.
19442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19443 (__fe_nomask_env): Likewise.
19444 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19446 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19448 * string/Makefile: Remove ifunc tests.
19449 * string/test-string.h: Define TEST_IFUNC.
19450 * string/test-bcopy-ifunc.c: Remove.
19451 * string/test-bzero-ifunc.c: Likewise.
19452 * string/test-memccpy-ifunc.c: Likewise.
19453 * string/test-memchr-ifunc.c: Likewise.
19454 * string/test-memcmp-ifunc.c: Likewise.
19455 * string/test-memcpy-ifunc.c: Likewise.
19456 * string/test-memmem-ifunc.c: Likewise.
19457 * string/test-memmove-ifunc.c: Likewise.
19458 * string/test-mempcpy-ifunc.c: Likewise.
19459 * string/test-memrchr-ifunc.c: Likewise.
19460 * string/test-memset-ifunc.c: Likewise.
19461 * string/test-rawmemchr-ifunc.c: Likewise.
19462 * string/test-stpcpy-ifunc.c: Likewise.
19463 * string/test-stpncpy-ifunc.c: Likewise.
19464 * string/test-strcasecmp-ifunc.c: Likewise.
19465 * string/test-strcasestr-ifunc.c: Likewise.
19466 * string/test-strcat-ifunc.c: Likewise.
19467 * string/test-strchr-ifunc.c: Likewise.
19468 * string/test-strchrnul-ifunc.c: Likewise.
19469 * string/test-strcmp-ifunc.c: Likewise.
19470 * string/test-strcpy-ifunc.c: Likewise.
19471 * string/test-strcspn-ifunc.c: Likewise.
19472 * string/test-strlen-ifunc.c: Likewise.
19473 * string/test-strncasecmp-ifunc.c: Likewise.
19474 * string/test-strncat-ifunc.c: Likewise.
19475 * string/test-strncmp-ifunc.c: Likewise.
19476 * string/test-strncpy-ifunc.c: Likewise.
19477 * string/test-strnlen-ifunc.c: Likewise.
19478 * string/test-strpbrk-ifunc.c: Likewise.
19479 * string/test-strrchr-ifunc.c: Likewise.
19480 * string/test-strspn-ifunc.c: Likewise.
19481 * string/test-strstr-ifunc.c: Likewise.
19483 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19485 * benchtests/Makefile: Remove ifunc tests.
19486 * benchtests/bench-string.h: Define TEST_IFUNC.
19487 * benchtests/bench-bcopy-ifunc.c: Remove.
19488 * benchtests/bench-bzero-ifunc.c: Likewise.
19489 * benchtests/bench-memccpy-ifunc.c: Likewise.
19490 * benchtests/bench-memchr-ifunc.c: Likewise.
19491 * benchtests/bench-memcmp-ifunc.c: Likewise.
19492 * benchtests/bench-memcpy-ifunc.c: Likewise.
19493 * benchtests/bench-memmem-ifunc.c: Likewise.
19494 * benchtests/bench-memmove-ifunc.c: Likewise.
19495 * benchtests/bench-mempcpy-ifunc.c: Likewise.
19496 * benchtests/bench-memrchr-ifunc.c: Likewise.
19497 * benchtests/bench-memset-ifunc.c: Likewise.
19498 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19499 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19500 * benchtests/bench-stpcpy-ifunc.c: Likewise.
19501 * benchtests/bench-stpncpy-ifunc.c: Likewise.
19502 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19503 * benchtests/bench-strcasestr-ifunc.c: Likewise.
19504 * benchtests/bench-strcat-ifunc.c: Likewise.
19505 * benchtests/bench-strchr-ifunc.c: Likewise.
19506 * benchtests/bench-strchrnul-ifunc.c: Likewise.
19507 * benchtests/bench-strcmp-ifunc.c: Likewise.
19508 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19509 * benchtests/bench-strcpy-ifunc.c: Likewise.
19510 * benchtests/bench-strcspn-ifunc.c: Likewise.
19511 * benchtests/bench-strlen-ifunc.c: Likewise.
19512 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19513 * benchtests/bench-strncat-ifunc.c: Likewise.
19514 * benchtests/bench-strncmp-ifunc.c: Likewise.
19515 * benchtests/bench-strncpy-ifunc.c: Likewise.
19516 * benchtests/bench-strnlen-ifunc.c: Likewise.
19517 * benchtests/bench-strpbrk-ifunc.c: Likewise.
19518 * benchtests/bench-strrchr-ifunc.c: Likewise.
19519 * benchtests/bench-strsep-ifunc.c: Likewise.
19520 * benchtests/bench-strspn-ifunc.c: Likewise.
19521 * benchtests/bench-strstr-ifunc.c: Likewise.
19523 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19525 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19527 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
19529 * resolv/netdb.h: Use __glibc_reserved instead __unused.
19530 * rt/aio.h: Likewise.
19531 * sysdeps/gnu/bits/utmp.h: Likewise.
19532 * sysdeps/gnu/bits/utmpx.h: Likewise.
19533 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19534 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19535 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19536 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19537 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19538 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19539 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19540 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19541 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19542 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19543 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19544 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19545 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19547 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19548 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19549 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19550 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19551 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19552 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19553 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19554 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19555 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19556 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19557 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19558 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19559 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19560 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19561 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19562 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19563 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19564 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19565 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19566 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19567 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19568 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19569 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19570 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19571 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19572 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19573 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19574 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19576 2013-11-25 Carlos O'Donell <carlos@redhat.com>
19579 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19580 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19582 2013-11-25 Joseph Myers <joseph@codesourcery.com>
19584 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19585 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19588 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19590 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19591 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19592 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19593 (__fesetround): Remove define.
19594 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19595 rounding and exceptions handling.
19596 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19597 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19598 (__fe_nomask_env): Likewise.
19599 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19600 __fegetround instead of fegetround.
19601 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19602 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19604 2013-11-21 Roland McGrath <roland@hack.frob.com>
19606 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19609 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19611 2013-11-21 Meador Inge <meadori@codesourcery.com>
19614 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19615 (encrypt_r): Likewise.
19616 * malloc/obstack.h (obstack_free): Likewise.
19617 * posix/unistd.h (encrypt): Likewise.
19619 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
19621 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19622 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19623 DL_CALL_DT_FINI() that call the functions directly.
19624 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19625 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19626 * elf/dl-fini.c: Likewise.
19628 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
19630 * malloc/hooks.c (memalign_check): Add alignment rounding.
19631 * malloc/malloc.c (_mid_memalign): New function.
19632 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19633 Implement by calling _mid_memalign.
19634 * manual/probes.texi (Memory Allocation Probes): Remove
19635 memory_valloc_retry and memory_pvalloc_retry.
19637 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
19639 * locale/programs/locarchive.c (open_archive): Add const
19640 qualifier to ARCHIVEFNAME and copy default fname to
19644 * libio/tst-widetext.input: Rename Oriya to Odia.
19645 * locale/iso-639.def: Likewise.
19647 * manual/probes.texi (Mathematical Function Probes): Add
19648 documentation for sin, cos, asin and acos probes.
19649 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19650 (__sin32): Add slowasin probe.
19651 (__cos32): Add slowacos probe.
19652 (__mpsin): Add slowsin probe.
19653 (__mpcos): Add slowcos probe.
19655 2013-11-19 Joseph Myers <joseph@codesourcery.com>
19658 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19659 thread-local __sim_exceptions_thread and global
19660 __sim_exceptions_global.
19661 (__sim_disabled_exceptions): Change to thread-local
19662 __sim_disabled_exceptions_thread and global
19663 __sim_disabled_exceptions_global.
19664 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19665 and global __sim_round_mode_global.
19666 (__simulate_exceptions): Use thread-local floating-point state and
19667 set global state from it as needed.
19668 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19669 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19670 __sim_round_mode_thread.
19671 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19672 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19673 and global __sim_exceptions_global.
19674 (__sim_disabled_exceptions): Change to thread-local
19675 __sim_disabled_exceptions_thread and global
19676 __sim_disabled_exceptions_global.
19677 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19678 and global __sim_round_mode_global.
19679 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19680 (SIM_SET_GLOBAL): Likewise.
19681 * sysdeps/powerpc/soft-fp/sfp-machine.h
19682 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19683 __sim_round_mode_thread.
19684 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19685 __sim_disabled_exceptions_thread.
19686 (__sim_exceptions): Change to __sim_exceptions_thread.
19687 (__sim_disabled_exceptions): Change to
19688 __sim_disabled_exceptions_thread.
19689 (__sim_round_mode): Change to __sim_round_mode_thread.
19690 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19691 thread-local floating-point state and set global state from it as
19693 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19694 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19695 (__sim_disabled_exceptions): Remove extern declaration.
19696 (feenableexcept): Use thread-local floating-point state and set
19697 global state from it as needed.
19698 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19699 extern declaration.
19700 (__sim_disabled_exceptions): Likewise.
19701 (__sim_round_mode): Likewise.
19702 (__fegetenv): Use thread-local floating-point state.
19703 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19704 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19705 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19706 floating-point state and set global state from it as needed.
19707 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19708 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19709 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19711 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19712 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19714 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19715 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19716 Use __sim_round_mode_thread.
19717 * math/test-fenv-tls.c: New file.
19718 * math/Makefile (tests): Add test-fenv-tls.
19719 ($(objpfx)test-fenv-tls): Depend on
19720 $(common-objpfx)nptl/libpthread.so.
19722 2013-11-19 Andreas Schwab <schwab@suse.de>
19724 * locale/programs/locale.c (show_info): Decode wordarray elements.
19725 * locale/categories.def (LC_MONETARY): Add element for
19726 _NL_MONETARY_CRNCYSTR.
19727 * locale/C-monetary.c (conversion_rate): New variable.
19728 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19731 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
19733 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19734 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19736 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
19738 * elf/Makefile (tst-auxv): New test.
19739 * elf/tst-auxv.c: New
19740 * elf/rtld.c (dl_main): Adjust AT_EXECFN
19742 2013-11-18 Joseph Myers <joseph@codesourcery.com>
19744 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19745 (hidden_proto): Caller changed.
19746 (hidden_tls_proto): New macro.
19747 (libc_hidden_tls_proto): Likewise.
19748 (rtld_hidden_tls_proto): Likewise.
19749 (libm_hidden_tls_proto): Likewise.
19750 (libresolv_hidden_tls_proto): Likewise.
19751 (librt_hidden_tls_proto): Likewise.
19752 (libdl_hidden_tls_proto): Likewise.
19753 (libnss_files_hidden_tls_proto): Likewise.
19754 (libnsl_hidden_tls_proto): Likewise.
19755 (libnss_nisplus_hidden_tls_proto): Likewise.
19756 (libutil_hidden_tls_proto): Likewise.
19758 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
19761 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19762 (decompose_rpath): Defer expansion to fillin_rpath.
19763 (_dl_init_paths): Pass linkmap to fillin_rpath.
19765 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
19767 * benchtests/Makefile: Add strsep.
19768 * benchtests/bench-strsep.c: New file: strsep benchtest.
19769 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19771 2013-11-18 Andreas Schwab <schwab@suse.de>
19773 * locale/programs/locale.c (show_info) [case byte]: Check for
19774 '\377' instead of '\177'.
19775 * locale/C-monetary.c (not_available): Always use "\377".
19776 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19777 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
19778 detect unavailable sign_posn locale elements.
19779 * locale/localeconv.c (__localeconv): For grouping and
19780 mon_grouping handle "\177" and "\377" like no grouping.
19781 (INT_ELEM): New macro. Use it to set all numeric members.
19782 * locale/programs/ld-monetary.c (monetary_read)
19783 <tok_mon_grouping>: Normalize single -1 to the empty string.
19784 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19787 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
19790 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19791 when we match (nil).
19792 * stdio-common/tst-sscanf.c (struct test): Add testcase.
19794 2013-11-16 Joseph Myers <joseph@codesourcery.com>
19796 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19797 (NO_TEST_INLINE): Update value.
19798 (ERRNO_UNCHANGED): Likewise.
19799 (ERRNO_EDOM): Likewise.
19800 (ERRNO_ERANGE): Likewise.
19801 (IGNORE_RESULT): Likewise.
19802 (check_float_internal): Check signs of NaN results if
19803 TEST_NAN_SIGN used.
19804 (check_complex): Pass TEST_NAN_SIGN flag through to second
19805 check_float_internal call.
19806 (copysign_test_data): Add tests with quiet NaNs as second
19807 argument. Use TEST_NAN_SIGN.
19808 (fabs_test_data): Add test of negative quiet NaN argument. Use
19810 (signbit_test_data): Add tests of quiet NaN argument.
19811 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19813 * math/gen-libm-test.pl (show_exceptions): Take extra argument
19815 (parse_args): Handle function results specified as IGNORE.
19816 * math/libm-test.inc (IGNORE_RESULT): New macro.
19817 (check_float_internal): Do not check numerical result if flag
19819 (check_complex): Pass through IGNORE_RESULT to second
19820 check_float_internal call.
19821 (check_int): Do not check numerical result if flag IGNORE_RESULT
19823 (check_long): Likewise.
19824 (check_bool): Likewise.
19825 (check_longlong): Likewise.
19826 (lrint_test_data): Add tests of infinite and NaN arguments.
19827 (lrint_tonearest_test_data): Likewise.
19828 (lrint_towardzero_test_data): Likewise.
19829 (lrint_downward_test_data): Likewise.
19830 (lrint_upward_test_data): Likewise.
19831 (llrint_test_data): Likewise.
19832 (llrint_tonearest_test_data): Likewise.
19833 (llrint_towardzero_test_data): Likewise.
19834 (llrint_downward_test_data): Likewise.
19835 (llrint_upward_test_data): Likewise.
19836 (lround_test_data): Likewise.
19837 (llround_test_data): Likewise.
19839 * math/libm-test.inc (NO_TEST_INLINE): New macro.
19840 (ERRNO_UNCHANGED): Update value.
19841 (ERRNO_EDOM): Likewise.
19842 (ERRNO_ERANGE): Likewise.
19843 (NO_TEST_INLINE_FLOAT): New macro.
19844 (NO_TEST_INLINE_DOUBLE): Likewise.
19845 (enable_test): New function.
19846 (RUN_TEST_f_f): Check enable_test before running test.
19847 (RUN_TEST_2_f): Likewise.
19848 (RUN_TEST_fff_f): Likewise.
19849 (RUN_TEST_c_f): Likewise.
19850 (RUN_TEST_f_f1): Likewise.
19851 (RUN_TEST_fF_f1): Likewise.
19852 (RUN_TEST_fI_f1): Likewise.
19853 (RUN_TEST_ffI_f1): Likewise.
19854 (RUN_TEST_c_c): Likewise.
19855 (RUN_TEST_cc_c): Likewise.
19856 (RUN_TEST_f_i): Likewise.
19857 (RUN_TEST_f_i_tg): Likewise.
19858 (RUN_TEST_ff_i_tg): Likewise.
19859 (RUN_TEST_f_b): Likewise.
19860 (RUN_TEST_f_b_tg): Likewise.
19861 (RUN_TEST_f_l): Likewise.
19862 (RUN_TEST_f_L): Likewise.
19863 (RUN_TEST_fFF_11): Likewise.
19864 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19866 (cosh_test_data): Likewise.
19867 (exp_test_data): Likewise.
19868 (expm1_test_data): Likewise.
19869 (hypot_test_data): Likewise.
19870 (pow_test_data): Likewise.
19871 (sinh_test_data): Likewise.
19872 (tanh_test_data): Likewise.
19873 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19876 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19877 tests with quiet NaN input and output.
19878 (acosh_test_data): Likewise.
19879 (asin_test_data): Likewise.
19880 (asinh_test_data): Likewise.
19881 (atan_test_data): Likewise.
19882 (atanh_test_data): Likewise.
19883 (atan2_test_data): Likewise.
19884 (cbrt_test_data): Likewise.
19885 (cos_test_data): Likewise.
19886 (cosh_test_data): Likewise.
19887 (erf_test_data): Likewise.
19888 (erfc_test_data): Likewise.
19889 (exp_test_data): Likewise.
19890 (exp10_test_data): Likewise.
19891 (exp2_test_data): Likewise.
19892 (expm1_test_data): Likewise.
19893 (hypot_test_data): Likewise.
19894 (j0_test_data): Likewise.
19895 (j1_test_data): Likewise.
19896 (jn_test_data): Likewise.
19897 (lgamma_test_data): Likewise.
19898 (log_test_data): Likewise.
19899 (log10_test_data): Likewise.
19900 (log1p_test_data): Likewise.
19901 (log2_test_data): Likewise.
19902 (pow_test_data): Likewise.
19903 (scalb_test_data): Likewise.
19904 (sin_test_data): Likewise.
19905 (sincos_test_data): Likewise.
19906 (sinh_test_data): Likewise.
19907 (tan_test_data): Likewise.
19908 (tanh_test_data): Likewise.
19909 (tgamma_test_data): Likewise.
19910 (y0_test_data): Likewise.
19911 (y1_test_data): Likewise.
19912 (yn_test_data): Likewise.
19915 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19916 argument being NaN and avoid computations with second argument in
19918 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19919 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19920 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19922 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
19924 * locale/iso-639.def: Add Chitwani Tharu (the).
19926 2013-11-14 Andreas Schwab <schwab@suse.de>
19928 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19929 word instead of empty string.
19931 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19934 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19936 (__fe_nomask_env): Likewise.
19938 2013-11-13 Steve Ellcey <sellcey@mips.com>
19940 * benchtests/bench-timing.h: Include time.h.
19942 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
19945 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19947 * sysdeps/unix/sysv/linux/configure: Regenerated.
19949 2013-11-13 Joseph Myers <joseph@codesourcery.com>
19952 * stdlib/strtod_l.c (round_and_return): Do not consider
19953 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19954 exponent one less than half the least subnormal exponent.
19955 * stdlib/test-strtod-round-data: Add more tests.
19956 * stdlib/tst-strtod-round.c (tests): Regenerated.
19958 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19961 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19962 (__fe_mask_env): Likewise.
19963 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19964 libm_hidden_proto and add function prototype.
19965 (__fe_mask_env): Add function prototype.
19966 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19967 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19969 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19971 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19973 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19975 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19976 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19978 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19980 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19981 of htab_find_slot().
19983 2013-11-11 David S. Miller <davem@davemloft.net>
19986 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19987 symbol in the non-vis3 case in static builds.
19988 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19989 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19990 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19991 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19993 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
19996 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19999 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20001 * benchtests/Makefile: Add bench-strtod.
20002 * benchtests/bench-strtod.c: New file: strtod benchtest
20004 2013-11-11 Andreas Schwab <schwab@suse.de>
20007 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
20008 terminating NUL in key length.
20010 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20012 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20013 Add artificial ODP entry for vDSO symbol for PPC64.
20014 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
20015 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
20017 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
20020 * nss/getent.c (services_keys): Recognize services starting with digit.
20022 2013-11-06 David S. Miller <davem@davemloft.net>
20025 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
20026 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
20028 2013-11-06 Will Newton <will.newton@linaro.org>
20030 * manual/memory.texi (Malloc Examples): Remove register
20031 keyword from examples.
20033 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
20035 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
20037 2013-11-04 Joseph Myers <joseph@codesourcery.com>
20040 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
20041 depending on [__GCC_IEC_559 > 0].
20042 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
20043 depending on [__GCC_IEC_559_COMPLEX > 0].
20045 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
20047 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
20050 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
20052 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
20054 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
20057 * malloc/malloc (malloc_info): Do not handle first bin as
20060 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
20062 * locale/iso-639.def: Add Central Nahuatl (nhn).
20064 2013-11-01 Bruno Haible <bruno@clisp.org>
20067 * manual/math.texi (BSD Random): Specify range upper bound as
20070 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
20072 * locale/iso-639.def: Add Meadow Mari (mhr).
20074 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
20076 [BZ #14752], [BZ #15763]
20077 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
20079 * rt/tst_shm.c: Add test for escaping directory.
20081 2013-10-31 Andreas Schwab <schwab@suse.de>
20084 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
20085 followed by 'x' as part of digit sequence.
20086 * stdio-common/tst-sscanf.c (double_tests2): New tests.
20088 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
20091 * configure.ac: allow GNU Make 4.0 and greater.
20092 * configure: Regenerated.
20094 2013-10-30 Will Newton <will.newton@linaro.org>
20097 * malloc/hooks.c (memalign_check): Limit alignment to the
20098 maximum representable power of two.
20099 * malloc/malloc.c (__libc_memalign): Likewise.
20100 * malloc/tst-memalign.c (do_test): Add test for very
20101 large alignment values.
20102 * malloc/tst-posix_memalign.c (do_test): Likewise.
20104 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20107 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
20108 (munmap_chunk): Likewise.
20109 (mremap_chunk): Likewise.
20111 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
20114 * stdlib/div.c (div): Remove obsolete code.
20115 * stdlib/ldiv.c (ldiv): Likewise.
20116 * stdlib/lldiv.c (lldiv): Likewise.
20118 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20121 * nss/nss_files/files-XXX.c (get_contents_ret): New
20123 (get_contents): New function.
20124 (internal_getent): Use it. Expand size of LINEBUFLEN.
20126 2013-10-30 Mike Frysinger <vapier@gentoo.org>
20128 * configure.in: Moved to ...
20129 * configure.ac: ... here. Change reference to configure.in
20131 * sysdeps/arm/preconfigure.ac: ... here.
20132 configure.in to configure.ac.
20133 * sysdeps/gnu/configure.in: Moved to ...
20134 * sysdeps/gnu/configure.ac: ... here.
20135 * sysdeps/i386/configure.in: Moved to ...
20136 * sysdeps/i386/configure.ac: ... here.
20137 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
20138 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
20139 * sysdeps/mach/configure.in: Moved to ...
20140 * sysdeps/mach/configure.ac: ... here.
20141 * sysdeps/mach/hurd/configure.in: Moved to ...
20142 * sysdeps/mach/hurd/configure.ac: ... here.
20143 * sysdeps/powerpc/configure.in: Moved to ...
20144 * sysdeps/powerpc/configure.ac: ... here.
20145 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
20146 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
20147 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
20148 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
20149 * sysdeps/s390/s390-32/configure.in: Moved to ...
20150 * sysdeps/s390/s390-32/configure.ac: ... here.
20151 * sysdeps/s390/s390-64/configure.in: Moved to ...
20152 * sysdeps/s390/s390-64/configure.ac: ... here.
20153 * sysdeps/sh/configure.in: Moved to ...
20154 * sysdeps/sh/configure.ac: ... here.
20155 * sysdeps/sparc/configure.in: Moved to ...
20156 * sysdeps/sparc/configure.ac: ... here.
20157 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
20158 * sysdeps/unix/sysv/linux/configure.ac: ... here.
20159 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20160 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20161 * sysdeps/x86_64/configure.in: Moved to ...
20162 * sysdeps/x86_64/configure.ac: ... here.
20163 * sysdeps/x86_64/preconfigure.in: Moved to ...
20164 * sysdeps/x86_64/preconfigure.ac: ... here.
20165 * aclocal.m4: Change reference to configure.in to configure.ac.
20166 * config.h.in: Likewise.
20167 * manual/install.texi: Likewise.
20168 * manual/maint.texi: Likewise.
20169 * Makefile: Likewise.
20170 * malloc/Makefile: Likewise.
20171 * nscd/Makefile: Likewise.
20172 * Makeconfig: Change reference to configure.in and
20173 preconfigure.in to configure.ac and preconfigure.ac
20175 * INSTALL: Regenerated.
20176 * configure: Likewise.
20177 * sysdeps/gnu/configure: Likewise.
20178 * sysdeps/i386/configure: Likewise.
20179 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20180 * sysdeps/mach/configure: Likewise.
20181 * sysdeps/mach/hurd/configure: Likewise.
20182 * sysdeps/powerpc/configure: Likewise.
20183 * sysdeps/powerpc/powerpc32/configure: Likewise.
20184 * sysdeps/powerpc/powerpc64/configure: Likewise.
20185 * sysdeps/s390/s390-32/configure: Likewise.
20186 * sysdeps/s390/s390-64/configure: Likewise.
20187 * sysdeps/sh/configure: Likewise.
20188 * sysdeps/sparc/configure: Likewise.
20189 * sysdeps/unix/sysv/linux/configure: Likewise.
20190 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20191 * sysdeps/x86_64/configure: Likewise.
20192 * sysdeps/x86_64/preconfigure: Likewise.
20194 2013-10-29 Andreas Schwab <schwab@suse.de>
20196 * stdio-common/Makefile (tst-swscanf-ENV): Define.
20198 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20200 * benchtests/pow-inputs: Add new inputs.
20202 * benchtests/exp-inputs: Add new inputs.
20204 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20205 conditional check for return value.
20206 (__cos32): Likewise.
20208 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20210 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20211 to provide a boost for large inputs with word alignment.
20212 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20213 implementation based on optimized PPC64 strcpy.
20214 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20215 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20216 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20217 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20219 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20222 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20224 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20227 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20228 * time/tst-strptime.c (day_tests): Add testcase.
20230 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
20233 * manual/pattern.texi: Acknowledge that fnmatch can fail.
20235 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
20238 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20239 MAP_FAILED on error.
20241 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20244 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20245 heap for large requests.
20247 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
20250 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20251 result if the result has no associated interface.
20252 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20253 interface for all 127.X.Y.Z addresses.
20255 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
20257 * locale/iso-639.def: Add Ligurian (lij)
20259 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
20262 * sunrpc/rpc_main.c: Document rpcgen -5.
20264 2013-10-19 Michael Stahl <mstahl@redhat.com>
20266 * elf/rtld.c (do_preload): Print the reason why preloading failed.
20268 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20271 * posix/glob.c: Match only directories when trailing slash is present.
20272 * posix/tst-gnuglob.c (my_opendir): Do not open files.
20273 (main): Add testcase.
20275 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
20278 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20280 2013-10-18 Carlos O'Donell <carlos@redhat.com>
20282 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20283 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20284 AUTH_DES and cindex for FIPS 140-2.
20285 (DES Encryption): Add cindex FIPS 46-3.
20287 * locale/locarchive.h (struct locarhandle): Add fname.
20288 * locale/programs/localedef.c (main): Pass ARGV[remaining]
20289 if an optional argument was specified to --list-archive,
20291 * locale/programs/locarchive.c (show_archive_content): Take new
20292 argument fname and pass it via ah.fname to open_archive.
20293 * locale/programs/localedef.h: Update decl.
20294 (open_archive): If AH->fname is non-null, open that file
20295 rather than the default file name, and don't ignore ENOENT.
20296 (create_archive): Set AH.fname to NULL.
20297 (delete_locales_from_archive): Likewise.
20298 (add_locales_to_archive): Likewise.
20299 * locale/programs/locfile.c (write_all_categories): Likewise.
20301 2013-10-18 Joseph Myers <joseph@codesourcery.com>
20302 Aldy Hernandez <aldyh@redhat.com>
20304 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20305 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20306 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20307 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20308 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20309 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20310 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20311 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20312 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20313 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20314 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20315 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20316 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20317 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20318 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20320 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20322 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20324 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20326 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20327 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20329 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20330 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20331 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20332 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20334 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20335 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20336 * sysdeps/powerpc/preconfigure: Likewise.
20337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20339 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20340 Replace contents of file by #include of <fenv_libc.h>.
20341 * sysdeps/powerpc/soft-fp/sfp-machine.h
20342 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20344 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20345 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20346 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20347 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20348 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20349 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20351 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20352 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20353 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20354 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20355 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20356 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20357 Allow copysignl PLT reference to be missing.
20359 2013-10-18 Richard Sandiford <richard@codesourcery.com>
20360 Joseph Myers <joseph@codesourcery.com
20363 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20365 (add_to_tablewc): Assert sequence of wide characters is nonempty.
20367 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
20369 * elf/tst-tls-dlinfo.c: Don't include tls.h.
20370 * elf/tst-tls1.c: Likewise.
20371 * elf/tst-tls10.h: Likewise.
20372 * elf/tst-tls14.c: Likewise.
20373 * elf/tst-tls2.c: Likewise.
20374 * elf/tst-tls3.c: Likewise.
20375 * elf/tst-tls4.c: Likewise.
20376 * elf/tst-tls5.c: Likewise.
20377 * elf/tst-tls6.c: Likewise.
20378 * elf/tst-tls7.c: Likewise.
20379 * elf/tst-tls8.c: Likewise.
20380 * elf/tst-tls9.c: Likewise.
20381 * elf/tst-tlsmod1.c: Likewise.
20382 * elf/tst-tlsmod13.c: Likewise.
20383 * elf/tst-tlsmod13a.c: Likewise.
20384 * elf/tst-tlsmod14a.c: Likewise.
20385 * elf/tst-tlsmod16a.c: Likewise.
20386 * elf/tst-tlsmod16b.c: Likewise.
20387 * elf/tst-tlsmod2.c: Likewise.
20388 * elf/tst-tlsmod3.c: Likewise.
20389 * elf/tst-tlsmod4.c: Likewise.
20390 * elf/tst-tlsmod5.c: Likewise.
20391 * elf/tst-tlsmod6.c: Likewise.
20393 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
20396 * malloc/malloc.c: remove checks for statistics.
20398 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20401 * inet/inet_net.c (inet_network): Detect additional invalid strings.
20402 * inet/tst-network.c: Add testcase.
20404 2013-10-17 Andreas Schwab <schwab@suse.de>
20407 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20408 to determine canonical name.
20410 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
20412 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20413 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20415 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20417 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20418 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20419 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20420 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20421 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20422 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20423 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20424 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20425 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20426 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20427 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20428 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20429 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20430 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20431 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20432 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20434 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20435 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20436 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20437 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20438 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20439 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20440 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20441 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20442 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20443 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20444 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20445 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20446 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20447 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20448 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20449 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20450 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20451 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20452 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20453 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20454 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20455 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20456 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20457 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20458 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20459 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20460 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20461 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20462 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20463 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20464 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20465 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20466 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20467 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20468 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20469 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20471 2013-10-17 Joseph Myers <joseph@codesourcery.com>
20474 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20475 make result into a quiet NaN.
20477 2013-10-16 Joseph Myers <joseph@codesourcery.com>
20479 * soft-fp/adddf3.c: Fix horizontal whitespace.
20480 * soft-fp/addsf3.c: Likewise.
20481 * soft-fp/addtf3.c: Likewise.
20482 * soft-fp/divdf3.c: Likewise.
20483 * soft-fp/divsf3.c: Likewise.
20484 * soft-fp/divtf3.c: Likewise.
20485 * soft-fp/double.h: Likewise.
20486 * soft-fp/eqdf2.c: Likewise.
20487 * soft-fp/eqsf2.c: Likewise.
20488 * soft-fp/eqtf2.c: Likewise.
20489 * soft-fp/extenddftf2.c: Likewise.
20490 * soft-fp/extended.h: Likewise.
20491 * soft-fp/extendsfdf2.c: Likewise.
20492 * soft-fp/extendsftf2.c: Likewise.
20493 * soft-fp/extendxftf2.c: Likewise.
20494 * soft-fp/fixdfdi.c: Likewise.
20495 * soft-fp/fixdfsi.c: Likewise.
20496 * soft-fp/fixdfti.c: Likewise.
20497 * soft-fp/fixsfdi.c: Likewise.
20498 * soft-fp/fixsfsi.c: Likewise.
20499 * soft-fp/fixsfti.c: Likewise.
20500 * soft-fp/fixtfdi.c: Likewise.
20501 * soft-fp/fixtfsi.c: Likewise.
20502 * soft-fp/fixtfti.c: Likewise.
20503 * soft-fp/fixunsdfdi.c: Likewise.
20504 * soft-fp/fixunsdfsi.c: Likewise.
20505 * soft-fp/fixunsdfti.c: Likewise.
20506 * soft-fp/fixunssfdi.c: Likewise.
20507 * soft-fp/fixunssfsi.c: Likewise.
20508 * soft-fp/fixunssfti.c: Likewise.
20509 * soft-fp/fixunstfdi.c: Likewise.
20510 * soft-fp/fixunstfsi.c: Likewise.
20511 * soft-fp/fixunstfti.c: Likewise.
20512 * soft-fp/floatdidf.c: Likewise.
20513 * soft-fp/floatdisf.c: Likewise.
20514 * soft-fp/floatditf.c: Likewise.
20515 * soft-fp/floatsidf.c: Likewise.
20516 * soft-fp/floatsisf.c: Likewise.
20517 * soft-fp/floatsitf.c: Likewise.
20518 * soft-fp/floattidf.c: Likewise.
20519 * soft-fp/floattisf.c: Likewise.
20520 * soft-fp/floattitf.c: Likewise.
20521 * soft-fp/floatundidf.c: Likewise.
20522 * soft-fp/floatundisf.c: Likewise.
20523 * soft-fp/floatunditf.c: Likewise.
20524 * soft-fp/floatunsidf.c: Likewise.
20525 * soft-fp/floatunsisf.c: Likewise.
20526 * soft-fp/floatunsitf.c: Likewise.
20527 * soft-fp/floatuntidf.c: Likewise.
20528 * soft-fp/floatuntisf.c: Likewise.
20529 * soft-fp/floatuntitf.c: Likewise.
20530 * soft-fp/fmadf4.c: Likewise.
20531 * soft-fp/fmasf4.c: Likewise.
20532 * soft-fp/fmatf4.c: Likewise.
20533 * soft-fp/gedf2.c: Likewise.
20534 * soft-fp/gesf2.c: Likewise.
20535 * soft-fp/getf2.c: Likewise.
20536 * soft-fp/ledf2.c: Likewise.
20537 * soft-fp/lesf2.c: Likewise.
20538 * soft-fp/letf2.c: Likewise.
20539 * soft-fp/muldf3.c: Likewise.
20540 * soft-fp/mulsf3.c: Likewise.
20541 * soft-fp/multf3.c: Likewise.
20542 * soft-fp/negdf2.c: Likewise.
20543 * soft-fp/negsf2.c: Likewise.
20544 * soft-fp/negtf2.c: Likewise.
20545 * soft-fp/op-1.h: Likewise.
20546 * soft-fp/op-2.h: Likewise.
20547 * soft-fp/op-4.h: Likewise.
20548 * soft-fp/op-8.h: Likewise.
20549 * soft-fp/op-common.h: Likewise.
20550 * soft-fp/quad.h: Likewise.
20551 * soft-fp/single.h: Likewise.
20552 * soft-fp/soft-fp.h: Likewise.
20553 * soft-fp/sqrtdf2.c: Likewise.
20554 * soft-fp/sqrtsf2.c: Likewise.
20555 * soft-fp/sqrttf2.c: Likewise.
20556 * soft-fp/subdf3.c: Likewise.
20557 * soft-fp/subsf3.c: Likewise.
20558 * soft-fp/subtf3.c: Likewise.
20559 * soft-fp/truncdfsf2.c: Likewise.
20560 * soft-fp/trunctfdf2.c: Likewise.
20561 * soft-fp/trunctfsf2.c: Likewise.
20562 * soft-fp/trunctfxf2.c: Likewise.
20563 * soft-fp/unorddf2.c: Likewise.
20564 * soft-fp/unordsf2.c: Likewise.
20565 * soft-fp/unordtf2.c: Likewise.
20567 2013-10-15 Joseph Myers <joseph@codesourcery.com>
20569 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20570 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20572 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
20574 * elf/dl-libc.c: Clear initfini list after freeing.
20576 2013-10-14 Joseph Myers <joseph@codesourcery.com>
20578 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20579 * soft-fp/addsf3.c: Likewise.
20580 * soft-fp/addtf3.c: Likewise.
20581 * soft-fp/divdf3.c: Likewise.
20582 * soft-fp/divsf3.c: Likewise.
20583 * soft-fp/divtf3.c: Likewise.
20584 * soft-fp/double.h: Likewise.
20585 * soft-fp/eqdf2.c: Likewise.
20586 * soft-fp/eqsf2.c: Likewise.
20587 * soft-fp/eqtf2.c: Likewise.
20588 * soft-fp/extenddftf2.c: Likewise.
20589 * soft-fp/extended.h: Likewise.
20590 * soft-fp/extendsfdf2.c: Likewise.
20591 * soft-fp/extendsftf2.c: Likewise.
20592 * soft-fp/extendxftf2.c: Likewise.
20593 * soft-fp/fixdfdi.c: Likewise.
20594 * soft-fp/fixdfsi.c: Likewise.
20595 * soft-fp/fixdfti.c: Likewise.
20596 * soft-fp/fixsfdi.c: Likewise.
20597 * soft-fp/fixsfsi.c: Likewise.
20598 * soft-fp/fixsfti.c: Likewise.
20599 * soft-fp/fixtfdi.c: Likewise.
20600 * soft-fp/fixtfsi.c: Likewise.
20601 * soft-fp/fixtfti.c: Likewise.
20602 * soft-fp/fixunsdfdi.c: Likewise.
20603 * soft-fp/fixunsdfsi.c: Likewise.
20604 * soft-fp/fixunsdfti.c: Likewise.
20605 * soft-fp/fixunssfdi.c: Likewise.
20606 * soft-fp/fixunssfsi.c: Likewise.
20607 * soft-fp/fixunssfti.c: Likewise.
20608 * soft-fp/fixunstfdi.c: Likewise.
20609 * soft-fp/fixunstfsi.c: Likewise.
20610 * soft-fp/fixunstfti.c: Likewise.
20611 * soft-fp/floatdidf.c: Likewise.
20612 * soft-fp/floatdisf.c: Likewise.
20613 * soft-fp/floatditf.c: Likewise.
20614 * soft-fp/floatsidf.c: Likewise.
20615 * soft-fp/floatsisf.c: Likewise.
20616 * soft-fp/floatsitf.c: Likewise.
20617 * soft-fp/floattidf.c: Likewise.
20618 * soft-fp/floattisf.c: Likewise.
20619 * soft-fp/floattitf.c: Likewise.
20620 * soft-fp/floatundidf.c: Likewise.
20621 * soft-fp/floatundisf.c: Likewise.
20622 * soft-fp/floatunsidf.c: Likewise.
20623 * soft-fp/floatunsisf.c: Likewise.
20624 * soft-fp/floatuntidf.c: Likewise.
20625 * soft-fp/floatuntisf.c: Likewise.
20626 * soft-fp/floatuntitf.c: Likewise.
20627 * soft-fp/fmadf4.c: Likewise.
20628 * soft-fp/fmasf4.c: Likewise.
20629 * soft-fp/fmatf4.c: Likewise.
20630 * soft-fp/gedf2.c: Likewise.
20631 * soft-fp/gesf2.c: Likewise.
20632 * soft-fp/getf2.c: Likewise.
20633 * soft-fp/ledf2.c: Likewise.
20634 * soft-fp/lesf2.c: Likewise.
20635 * soft-fp/letf2.c: Likewise.
20636 * soft-fp/muldf3.c: Likewise.
20637 * soft-fp/mulsf3.c: Likewise.
20638 * soft-fp/multf3.c: Likewise.
20639 * soft-fp/negdf2.c: Likewise.
20640 * soft-fp/negsf2.c: Likewise.
20641 * soft-fp/negtf2.c: Likewise.
20642 * soft-fp/op-1.h: Likewise.
20643 * soft-fp/op-2.h: Likewise.
20644 * soft-fp/op-4.h: Likewise.
20645 * soft-fp/op-8.h: Likewise.
20646 * soft-fp/op-common.h: Likewise.
20647 * soft-fp/quad.h: Likewise.
20648 * soft-fp/single.h: Likewise.
20649 * soft-fp/soft-fp.h: Likewise.
20650 * soft-fp/sqrtdf2.c: Likewise.
20651 * soft-fp/sqrtsf2.c: Likewise.
20652 * soft-fp/sqrttf2.c: Likewise.
20653 * soft-fp/subdf3.c: Likewise.
20654 * soft-fp/subsf3.c: Likewise.
20655 * soft-fp/subtf3.c: Likewise.
20656 * soft-fp/truncdfsf2.c: Likewise.
20657 * soft-fp/trunctfdf2.c: Likewise.
20658 * soft-fp/trunctfsf2.c: Likewise.
20659 * soft-fp/trunctfxf2.c: Likewise.
20660 * soft-fp/unorddf2.c: Likewise.
20661 * soft-fp/unordsf2.c: Likewise.
20662 * soft-fp/unordtf2.c: Likewise.
20664 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
20667 * misc/error.c (error_tail): Fix possible buffer overflow.
20669 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
20672 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20675 2013-10-14 P. J. McDermott <pj@pehjota.net>
20678 * elf/ldd.bash.in (try_trace): New function. Delete previous code
20679 testing pipefail option.
20681 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20683 * soft-fp/double.h: Indent preprocessor directives inside #if.
20684 * soft-fp/extended.h: Likewise.
20685 * soft-fp/op-2.h: Likewise.
20686 * soft-fp/op-4.h: Likewise.
20687 * soft-fp/op-common.h: Likewise.
20688 * soft-fp/quad.h: Likewise.
20689 * soft-fp/single.h: Likewise.
20690 * soft-fp/soft-fp.h: Likewise.
20692 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
20694 * iconv/iconv_prog.c: Fix typos.
20695 * stdio-common/psiginfo-data.h: Likewise.
20697 2013-10-12 Reuben Thomas <rrt@sc3d.org>
20700 * locale/setlocale.c: Fix typo.
20702 2013-10-12 Joseph Myers <joseph@codesourcery.com>
20705 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20706 signaling NaN arguments.
20707 * soft-fp/unordsf2.c (__unordsf2): Likewise.
20708 * soft-fp/unordtf2.c (__unordtf2): Likewise.
20711 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20712 unordered operands.
20713 * soft-fp/gesf2.c (__gesf2): Likewise.
20714 * soft-fp/getf2.c (__getf2): Likewise.
20715 * soft-fp/ledf2.c (__ledf2): Likewise.
20716 * soft-fp/lesf2.c (__lesf2): Likewise.
20717 * soft-fp/letf2.c (__letf2): Likewise.
20719 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20720 * soft-fp/eqsf2.c (__eqsf2): Likewise.
20721 * soft-fp/eqtf2.c (__eqtf2): Likewise.
20722 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20723 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20724 * soft-fp/fixdfti.c (__fixdfti): Likewise.
20725 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20726 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20727 * soft-fp/fixsfti.c (__fixsfti): Likewise.
20728 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20729 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20730 * soft-fp/fixtfti.c (__fixtfti): Likewise.
20731 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20732 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20733 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20734 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20735 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20736 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20737 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20738 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20739 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20740 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20741 * soft-fp/floatdisf.c (__floatdisf): Likewise.
20742 * soft-fp/floatsisf.c (__floatsisf): Likewise.
20743 * soft-fp/floattidf.c (__floattidf): Likewise.
20744 * soft-fp/floattisf.c (__floattisf): Likewise.
20745 * soft-fp/floattitf.c (__floattitf): Likewise.
20746 * soft-fp/floatundidf.c (__floatundidf): Likewise.
20747 * soft-fp/floatundisf.c (__floatundisf): Likewise.
20748 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20749 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20750 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20751 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20752 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20753 * soft-fp/gesf2.c (__gesf2): Likewise.
20754 * soft-fp/getf2.c (__getf2): Likewise.
20755 * soft-fp/ledf2.c (__ledf2): Likewise.
20756 * soft-fp/lesf2.c (__lesf2): Likewise.
20757 * soft-fp/letf2.c (__letf2): Likewise.
20759 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20760 Undefine and redefine.
20761 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20762 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20763 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20764 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20765 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20766 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20767 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20768 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20769 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20770 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20771 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20772 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20773 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20774 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20775 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20778 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20779 without decrementing exponent if mantissa >= that for the
20780 denominator, not >.
20781 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20782 denominator, not >. Decrement exponent in < case instead of
20783 incrementing in >= case.
20784 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20785 without decrementing exponent if mantissa >= that for the
20786 denominator, not >.
20788 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20789 computing saturated result for unsigned overflow.
20791 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
20792 Jeff Law <law@redhat.com>
20794 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20795 (atan2Mp): Add systemtap probe marker.
20796 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20797 (__ieee754_log): Add systemtap probe marker.
20798 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20799 (atanMp): Add systemtap probe marker.
20800 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20801 (tanMp): Add systemtap probe marker.
20802 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20803 (__slowexp): Add systemtap probe marker.
20804 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20805 (__slowpow): Add systemtap probe marker.
20806 * manual/probes.texi: Document probes.
20808 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
20811 * libio/fileops.c (_IO_new_file_write): Return count of bytes
20813 (_IO_new_file_xsputn): Don't return EOF if nothing has been
20815 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20816 written to buffer but not flushed.
20817 * libio/iofwrite_u.c: Likewise.
20818 * libio/iopadn.c: Return bytes returned even if EOF was
20820 * libio/iowpadn.c: Likewise.
20821 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20822 if _IO_padn does not write the whole buffer.
20823 [!COMPILE_WPRINTF] (PAD): Likewise.
20825 2013-10-10 David S. Miller <davem@davemloft.net>
20827 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20830 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20832 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
20833 instead of FSF address.
20834 * soft-fp/fixdfti.c: Likewise.
20835 * soft-fp/fixsfti.c: Likewise.
20836 * soft-fp/fixtfti.c: Likewise.
20837 * soft-fp/fixunsdfti.c: Likewise.
20838 * soft-fp/fixunssfti.c: Likewise.
20839 * soft-fp/fixunstfti.c: Likewise.
20840 * soft-fp/floattidf.c: Likewise.
20841 * soft-fp/floattisf.c: Likewise.
20842 * soft-fp/floattitf.c: Likewise.
20843 * soft-fp/floatuntidf.c: Likewise.
20844 * soft-fp/floatuntisf.c: Likewise.
20845 * soft-fp/floatuntitf.c: Likewise.
20846 * soft-fp/trunctfxf2.c: Likewise.
20848 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
20849 * soft-fp/fixdfti.c: Likewise.
20850 * soft-fp/fixsfti.c: Likewise.
20851 * soft-fp/fixtfti.c: Likewise.
20852 * soft-fp/fixunsdfti.c: Likewise.
20853 * soft-fp/fixunssfti.c: Likewise.
20854 * soft-fp/fixunstfti.c: Likewise.
20855 * soft-fp/floattidf.c: Likewise.
20856 * soft-fp/floattisf.c: Likewise.
20857 * soft-fp/floattitf.c: Likewise.
20858 * soft-fp/floatuntidf.c: Likewise.
20859 * soft-fp/floatuntisf.c: Likewise.
20860 * soft-fp/floatuntitf.c: Likewise.
20861 * soft-fp/trunctfxf2.c: Likewise.
20863 2013-10-10 David S. Miller <davem@davemloft.net>
20865 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20867 2013-10-10 Joseph Myers <joseph@codsourcery.com>
20869 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20870 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20871 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20872 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20873 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20874 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20875 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20877 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20878 for NaNs before doing comparisons on argument.
20879 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20882 2013-10-10 Will Newton <will.newton@linaro.org>
20884 * malloc/hooks.c (memalign_check): Ensure the value of bytes
20885 passed to _int_memalign does not overflow.
20887 2013-10-10 Torvald Riegel <triegel@redhat.com>
20889 * scripts/bench.pl: Add include-sources directive.
20890 * benchtests/README: Update documentation.
20892 2013-10-10 Joseph Myers <joseph@codesourcery.com>
20894 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20895 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20896 instead of FP_INIT_ROUNDMODE.
20897 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20898 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20901 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
20902 copy class of input value.
20903 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
20904 not handle exceptions.
20905 * soft-fp/negsf2.c (__negsf2): Likewise.
20906 * soft-fp/negtf2.c (__negtf2): Likewise.
20907 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20909 2013-10-09 Joseph Myers <joseph@codesourcery.com>
20911 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20912 semicolon. From Linux kernel.
20914 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
20916 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20918 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
20921 * manual/socket.texi: Added statement about buffer
20922 for gethostbyname2_r.
20924 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
20926 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20927 Use .p2align directive instead, throughout.
20928 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20929 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20930 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20931 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20932 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20933 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20934 * sysdeps/x86_64/strchr.S: Likewise.
20935 * sysdeps/x86_64/strrchr.S: Likewise.
20937 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
20939 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20941 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20943 * sysdeps/generic/math_private.h (__mpsin1): Remove
20945 (__mpcos1): Likewise.
20946 (__mpsin): New argument __range_reduce.
20947 (__mpcos): Likewise.
20948 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20949 (slow): Use __mpsin and __mpcos.
20953 (sloww1): Likewise.
20954 (sloww2): Likewise.
20955 (bsloww): Likewise.
20956 (bsloww1): Likewise.
20957 (bsloww2): Likewise.
20958 (cslow2): Likewise.
20959 (csloww): Likewise.
20960 (csloww1): Likewise.
20961 (csloww2): Likewise.
20962 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20963 range_reduce. Merge in __mpsin1.
20964 (__mpcos): Likewise.
20965 (__mpsin1): Remove.
20966 (__mpcos1): Likewise.
20968 2013-10-07 Joseph Myers <joseph@codesourcery.com>
20970 * locale/loadlocale.c (_nl_intern_locale_data): Use
20972 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20973 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20974 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20975 obstack data is appropriately aligned.
20976 (obstack_int32_grow_fast): Likewise.
20977 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20978 * locale/programs/locfile.c (add_locale_uint32): Likewise.
20979 (add_locale_uint32_array): Likewise.
20981 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
20983 * benchtests/Makefile: Remove ARGLIST and RET variables.
20984 ($(objpfx)bench-%.c): Pass only function name to the script.
20985 * benchtests/README: Update documentation.
20986 * benchtests/acos-inputs: Add new directives.
20987 * benchtests/acosh-inputs: Likewise.
20988 * benchtests/asin-inputs: Likewise.
20989 * benchtests/asinh-inputs: Likewise.
20990 * benchtests/atan-inputs: Likewise.
20991 * benchtests/atanh-inputs: Likewise.
20992 * benchtests/cos-inputs: Likewise.
20993 * benchtests/cosh-inputs: Likewise.
20994 * benchtests/exp-inputs: Likewise.
20995 * benchtests/log-inputs: Likewise.
20996 * benchtests/pow-inputs: Likewise.
20997 * benchtests/rint-inputs: Likewise.
20998 * benchtests/sin-inputs: Likewise.
20999 * benchtests/sinh-inputs: Likewise.
21000 * benchtests/tan-inputs: Likewise.
21001 * benchtests/tanh-inputs: Likewise.
21002 * scripts/bench.pl: Add support for new directives.
21004 2013-10-07 Alan Modra <amodra@gmail.com>
21006 * README: Fix careless merge.
21008 2013-10-05 Alan Modra <amodra@gmail.com>
21010 * NEWS: Mention powerpc64le support and bugs fixed.
21011 * README: Both big-endian and little-endian powerpc64 supported.
21013 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21015 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
21016 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
21017 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
21018 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
21020 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
21022 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
21025 2013-10-04 Joseph Myers <joseph@codesourcery.com>
21027 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
21028 Move -mhard-float appending from
21029 ports/sysdeps/powerpc/powerpc32/Makefile.
21030 [$(with-fp) = yes] (ASFLAGS): Likewise.
21031 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
21032 * sysdeps/powerpc/nofpu: Move directory from
21033 ports/sysdeps/powerpc/nofpu.
21034 * sysdeps/powerpc/soft-fp: Move directory from
21035 ports/sysdeps/powerpc/soft-fp.
21036 * sysdeps/powerpc/powerpc32/405: Move directory from
21037 ports/sysdeps/powerpc/powerpc32/405.
21038 * sysdeps/powerpc/powerpc32/440: Move directory from
21039 ports/sysdeps/powerpc/powerpc32/440.
21040 * sysdeps/powerpc/powerpc32/464: Move directory from
21041 ports/sysdeps/powerpc/powerpc32/464.
21042 * sysdeps/powerpc/powerpc32/476: Move directory from
21043 ports/sysdeps/powerpc/powerpc32/476.
21044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
21045 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
21046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
21047 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
21048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
21049 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
21050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
21051 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
21052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
21053 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
21054 * README: Update for powerpc-*-linux-gnu software floating point
21057 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
21058 case to powerpc/powerpc32*.
21059 * sysdeps/unix/sysv/linux/configure: Regenerated.
21061 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
21062 (_FPU_MASK_OM): Define as 0x04.
21063 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
21064 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
21066 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
21068 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
21070 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
21071 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
21074 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
21076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
21077 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
21078 and setcontext_e500.
21080 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
21082 * locale/iso-3166.def: Update iso-1366.def and related occurrences
21084 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
21086 * manual/threads.texi (Default Thread Attributes): Fix typo.
21088 2013-10-04 Will Newton <will.newton@linaro.org>
21090 * malloc/Makefile: Add tst-memalign.
21091 * malloc/tst-memalign.c: New file.
21093 * malloc/tst-posix_memalign.c: Add comments.
21094 (do_test): Add comments and call free on all potentially
21095 allocated pointers. Add space after cast.
21097 * malloc/tst-pvalloc.c: Add comments.
21098 (do_test): Add comments and call free on all potentially
21099 allocated pointers. Remove duplicate check for NULL pointer.
21100 Add space after cast.
21102 * malloc/tst-valloc.c: Add comments.
21103 (do_test): Add comments and call free on all potentially
21104 allocated pointers. Remove duplicate check for NULL pointer.
21105 Add space after cast.
21107 2013-10-04 Alan Modra <amodra@gmail.com>
21109 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21110 Use stdint types in rather than __attribute__((mode())).
21111 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21113 2013-10-04 Alan Modra <amodra@gmail.com>
21115 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
21116 Correct handling of unaligned relocs for little-endian.
21117 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21119 2013-10-04 Alan Modra <amodra@gmail.com>
21121 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
21122 * configure: Regenerate.
21123 * nptl/shlib-versions: Powerpc*le starts at 2.18.
21124 * shlib-versions: Likewise.
21126 2013-10-04 Alan Modra <amodra@gmail.com>
21128 * string/tester.c (test_memrchr): Increment reported test cycle.
21130 2013-10-04 Alan Modra <amodra@gmail.com>
21132 * string/test-memcpy.c (do_one_test): When reporting errors, print
21133 string address and don't overrun end of string.
21135 2013-10-04 Alan Modra <amodra@gmail.com>
21137 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
21138 insrdi. Make better use of reg selection to speed exit slightly.
21139 Schedule entry path a little better. Remove useless "are we done"
21140 checks on entry to main loop. Handle wrapping around zero address.
21141 Correct main loop count. Handle single left-over word from main
21142 loop inline rather than by using loop_small. Remove extra word
21143 case in loop_small caused by wrong loop count. Add little-endian
21145 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21146 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
21148 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21149 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
21150 support. Avoid rlwimi.
21151 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
21153 2013-10-04 Alan Modra <amodra@gmail.com>
21155 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
21156 insrdi. Formatting.
21157 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
21158 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
21159 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21160 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21161 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21162 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21164 2013-10-04 Alan Modra <amodra@gmail.com>
21166 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21167 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21168 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21169 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21170 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21171 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21172 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21173 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21174 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
21175 use of regs. Use power7 mtocrf. Tidy function tails.
21177 2013-10-04 Alan Modra <amodra@gmail.com>
21179 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21180 Formatting. Consistently use rXXX register defines or rN defines.
21181 Use early exit labels that avoid restoring unused non-volatile regs.
21182 Make cr field use more consistent with rWORDn compares. Rename
21183 regs used as shift registers for unaligned loop, using rN defines
21184 for short lifetime/multiple use regs.
21185 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21186 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
21187 addi 1,1,64 to pop stack frame. Simplify return value code.
21188 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21190 2013-10-04 Alan Modra <amodra@gmail.com>
21192 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21193 support. Correct typos, formatting. Optimize tail. Use insrdi
21194 rather than rlwimi.
21195 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21196 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21197 little-endian support. Correct typos.
21198 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
21199 rather than rlwimi.
21200 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
21201 in loop and entry code to keep "and." results.
21202 (strchr): Add little-endian support. Comment. Move cntlzd
21204 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21206 2013-10-04 Alan Modra <amodra@gmail.com>
21208 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21209 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21210 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21211 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21213 2013-10-04 Alan Modra <amodra@gmail.com>
21215 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21216 (rTMP): Define as r11.
21217 (strcmp): Add little-endian support. Optimise tail.
21218 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21219 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21220 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21221 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21222 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21223 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21224 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21226 2013-10-04 Alan Modra <amodra@gmail.com>
21228 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21229 little-endian support. Remove unnecessary "are we done" tests.
21230 Handle "s" wrapping around zero and extremely large "size".
21231 Correct main loop count. Handle single left-over word from main
21232 loop inline rather than by using small_loop. Correct comments.
21233 Delete "zero" tail, use "end_max" instead.
21234 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21236 2013-10-04 Alan Modra <amodra@gmail.com>
21238 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21239 support. Don't branch over align.
21240 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21241 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21242 support. Rearrange tmp reg use to suit. Comment.
21243 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21245 2013-10-04 Alan Modra <amodra@gmail.com>
21247 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21249 2013-10-04 Alan Modra <amodra@gmail.com>
21251 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21252 conditional form of branch and link when obtaining pc.
21253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21255 2013-10-04 Alan Modra <amodra@gmail.com>
21257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21262 2013-10-04 Alan Modra <amodra@gmail.com>
21264 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21265 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21266 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21267 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21268 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21269 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21270 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21271 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21272 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21273 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21275 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21276 Alistair Popple <alistair@ozlabs.au.ibm.com>
21277 Alan Modra <amodra@gmail.com>
21280 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21281 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21282 _dl_hwcap access for little-endian.
21283 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
21284 destroy vmx regs when saving unaligned.
21285 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21286 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
21287 destroy vmx regs when saving unaligned.
21289 2013-10-04 Alan Modra <amodra@gmail.com>
21291 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21292 Don't use a union to pack hi/low value.
21294 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21296 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21298 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21299 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21300 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21301 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21302 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21304 2013-10-04 Alan Modra <amodra@gmail.com>
21306 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21307 constants to usual value for .cst8 section, and remove redundant
21309 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21310 constant for 0x1p52. Load little-endian words of double from
21311 correct stack offsets.
21313 2013-10-04 Alan Modra <amodra@gmail.com>
21315 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21316 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21317 words of double from correct stack offsets.
21318 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21319 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21320 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21321 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21322 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21323 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21324 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21325 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21326 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21327 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21328 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21329 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21330 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21331 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21332 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21333 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21334 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21336 2013-10-04 Alan Modra <amodra@gmail.com>
21338 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21339 64-bit int/double union.
21340 (_FPU_SETCW): Likewise.
21341 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21342 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21344 2013-10-04 Alan Modra <amodra@gmail.com>
21346 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21347 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21349 2013-10-04 Alan Modra <amodra@gmail.com>
21351 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21352 use vector int constants.
21353 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21355 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21357 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21358 array with long long.
21359 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21360 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21361 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21362 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21363 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21364 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21365 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21366 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21367 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21368 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21369 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21370 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21371 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21373 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
21375 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21376 (__signbit): Likewise. Correct for little-endian.
21377 (__signbitl): Call __signbit.
21378 (lrint): Correct for little-endian.
21379 (lrintf): Call lrint.
21381 2013-10-04 Alan Modra <amodra@gmail.com>
21383 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21384 union 32-bit int array member with 64-bit int array.
21385 (t515, tm256): Double rather than long double.
21386 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21388 2013-10-04 Alan Modra <amodra@gmail.com>
21390 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21392 (IEEE854_LONG_DOUBLE_BIAS): Delete.
21393 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21394 version of math_ldbl.h.
21396 2013-10-04 Alan Modra <amodra@gmail.com>
21398 [BZ #15734], [BZ #15735]
21399 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21400 all uses of ieee875 long double macros and unions. Simplify test
21401 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
21402 ldbl_extract_mantissa value for ix,iy exponents. Properly
21403 normalize after ldbl_extract_mantissa, and don't add hidden bit
21404 already handled. Don't treat low word of ieee854 mantissa like
21405 low word of IBM long double and mask off bit when testing for
21407 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21408 all uses of ieee875 long double macros and unions. Simplify tests
21409 for 0.0L and inf. Correct double adjustment of k. Delete dead code
21410 adjusting ha,hb. Simplify code setting kld. Delete two600 and
21411 two1022, instead use their values. Recognise that tests for large
21412 "a" and small "b" are mutually exclusive. Rename vars. Comment.
21413 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21414 Rewrite all uses of ieee875 long double macros and unions. Simplify
21415 test for 0.0L and nan. Correct negation.
21416 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21417 ieee875 long double macros and unions. Correct output for large
21418 magnitude x. Correct absolute value calculation.
21419 (__erfcl): Likewise.
21420 * math/libm-test.inc: Add tests for errors discovered in IBM long
21421 double versions of fmodl, remainderl, erfl and erfcl.
21423 2013-10-04 Alan Modra <amodra@gmail.com>
21425 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21426 all uses of ieee854 long double macros and unions. Simplify tests
21427 for long doubles that are fully specified by the high double.
21428 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21430 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21431 Remove dead code too.
21432 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21433 (__ieee754_ynl): Likewise.
21434 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21435 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21436 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21437 Remove dead code too.
21438 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21439 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21440 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21441 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21443 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21445 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21446 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21447 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21448 Comment on variable precision.
21449 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21450 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21452 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21453 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21454 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21455 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21456 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21458 2013-10-04 Alan Modra <amodra@gmail.com>
21460 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21461 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21462 all uses of ieee854 long double macros and unions.
21463 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21464 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21465 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21466 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21467 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21468 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21470 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21471 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21472 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21473 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21474 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21475 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21476 Simplify sign and nan test too.
21477 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21478 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21479 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21480 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21482 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21483 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21485 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21486 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21487 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21488 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21489 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21490 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21492 2013-10-04 Alan Modra <amodra@gmail.com>
21494 * stdio-common/printf_size.c (__printf_size): Don't use
21495 union ieee854_long_double in fpnum union.
21496 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
21497 signbit macro to retrieve sign from long double.
21498 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21499 retrieve sign from long double.
21500 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21501 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21502 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21503 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21504 * math/test-misc.c (main): Don't use union ieee854_long_double.
21506 2013-10-04 Alan Modra <amodra@gmail.com>
21509 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21510 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21511 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21512 calculation. Remove unnecessary test for denormal exponent.
21513 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21514 Correct handling of denormals. Avoid undefined shift behaviour.
21515 Correct normalisation of low mantissa when low double is denormal.
21516 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21517 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
21518 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21519 Correct normalisation of low mantissa. Test for overflow of high
21520 mantissa and normalise.
21521 (ldbl_nearbyint): Use more readable constant for two52.
21522 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21523 (__mpn_construct_long_double): Fix test for overflow of high
21524 mantissa and correct normalisation. Avoid undefined shift.
21526 2013-10-04 Alan Modra <amodra@gmail.com>
21528 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21529 (union ibm_extended_long_double): Define as an array of ieee754_double.
21530 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21531 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21532 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21533 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21534 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21535 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21536 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21537 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21538 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21539 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21540 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21542 2013-10-03 Joseph Myers <joseph@codesourcery.com>
21544 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21545 page size instead of calling getpagesize.
21547 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21548 (LOCFILE_ALIGN_MASK): Likewise.
21549 (LOCFILE_ALIGN_UP): Likewise.
21550 (LOCFILE_ALIGNED_P): Likewise.
21551 * locale/programs/ld-collate.c (collate_output): Use the new
21552 macros instead of __alignof__ (int32_t).
21553 * locale/weight.h (findidx): Likewise.
21555 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
21558 * manual/string.texi: Fix strncat and wcsncat.
21560 2013-10-03 Brooks Moses <bmoses@google.com>
21563 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21564 * Makerules: ...here, and adjust associated comments.
21566 2013-10-02 Will Newton <will.newton@linaro.org>
21568 * malloc/Makefile: Add tst-pvalloc.
21569 * malloc/tst-pvalloc.c: New file.
21571 2013-10-02 Will Newton <will.newton@linaro.org>
21573 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21574 improve test coverage.
21576 2013-10-02 Will Newton <will.newton@linaro.org>
21578 * malloc/Makefile: Add tst-posix_memalign.
21579 * malloc/tst-posix_memalign.c: New file.
21581 2013-10-01 Eric Blake <eblake@redhat.com>
21583 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21584 Use __THROWNL rather than __THROW on static functions.
21586 2013-09-30 Petr Machata <pmachata@redhat.com>
21588 * elf/elf.h (R_AARCH64_ABS16): New macro.
21589 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21590 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21591 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21592 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21593 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21594 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21595 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21596 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21597 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21598 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21599 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21600 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21601 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21602 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21603 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21604 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21605 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21606 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21607 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21608 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21609 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21610 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21611 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21612 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21613 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21614 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21615 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21616 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21617 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21618 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21619 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21620 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21621 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21622 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21623 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21624 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21625 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21626 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21627 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21628 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21629 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21630 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21631 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21632 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21633 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21634 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21635 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21636 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21637 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21638 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21639 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21640 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21641 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21642 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21643 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21644 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21645 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21646 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21647 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21648 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21649 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21650 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21651 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21652 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21653 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21654 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21655 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21656 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21657 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21658 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21659 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21660 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21661 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21662 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21663 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21664 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21665 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21666 (R_AARCH64_TLSDESC_LDR): Likewise.
21667 (R_AARCH64_TLSDESC_ADD): Likewise.
21668 (R_AARCH64_TLSDESC_CALL): Likewise.
21670 2013-09-30 Andreas Schwab <schwab@suse.de>
21673 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21674 the nss database lookup.
21675 * nscd/initgrcache.c (addinitgroupsX): Likewise.
21676 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21678 2013-09-28 Mike Frysinger <vapier@gentoo.org>
21680 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21682 2013-09-28 P. J. McDermott <pj@pehjota.net>
21684 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21685 ${Bash-specific parameter/pattern/string} parameter expansion.
21686 * sysdeps/unix/make-syscalls.sh: Likewise.
21688 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
21690 * sysdeps/sh/stackguard-macros.h: New file.
21692 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
21694 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21696 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21697 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21698 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21699 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21701 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21703 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21704 Fix thread ID register.
21706 2013-09-25 Joseph Myers <joseph@codesourcery.com>
21708 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21709 [POSIX || UNIX98]: Require rather than permitting all symbols from
21711 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21712 element of struct sched_param.
21713 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21714 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21715 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21716 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21719 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
21721 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21722 argument calculation.
21724 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21726 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21728 [POSIX] (pthread_attr_t): Do not require type.
21729 [POSIX] (pthread_cond_t): Likewise.
21730 [POSIX] (pthread_condattr_t): Likewise.
21731 [POSIX] (pthread_key_t): Likewise.
21732 [POSIX] (pthread_mutex_t): Likewise.
21733 [POSIX] (pthread_mutexattr_t): Likewise.
21734 [POSIX] (pthread_once_t): Likewise.
21735 [POSIX] (pthread_t): Likewise.
21736 [POSIX-based standards] (pthread_atfork): Expect function.
21738 2013-09-24 Joseph Myers <joseph@codesourcery.com>
21739 Richard Sandiford <richard@codesourcery.com>
21741 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21742 (swap_endianness_p): New extern variable.
21743 (set_big_endian): New inline function.
21744 (maybe_swap_uint32): Likewise.
21745 (maybe_swap_uint32_array): Likewise.
21746 (maybe_swap_uint32_obstack): Likewise.
21747 * locale/programs/locfile.c: Include <stdbool.h>.
21748 (swap_endianness_p): New variable.
21749 (add_locale_uint32): Call maybe_swap_uint32.
21750 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21751 (write_locale_data): Call maybe_swap_uint32_array.
21752 * locale/programs/ld-collate.c (obstack_int32_grow): Call
21754 (obstack_int32_grow_fast): Likewise.
21755 (output_weightwc): Call maybe_swap_uint32_obstack.
21756 (collate_output): Likewise.
21757 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21758 (OPT_LITTLE_ENDIAN): Likewise.
21759 (options): Add --little-endian and --big-endian options.
21760 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21761 * locale/programs/locarchive.c: Include "locfile.h".
21765 (create_archive): Use the new macros to access fields of
21766 structures directly mapped from or written to locale archives.
21767 (oldlocrecentcmp): Likewise.
21768 (enlarge_archive): Likewise.
21769 (insert_name): Likewise.
21770 (add_alias): Likewise.
21771 (add_locale): Likewise.
21772 (delete_locales_from_archive): Likewise.
21773 (show_archive_content): Likewise.
21774 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
21777 2013-09-24 Roland McGrath <roland@hack.frob.com>
21779 * manual/freemanuals.texi: Updated from (newly) canonical copy at
21780 http://www.gnu.org/doc/freemanuals.texi.
21781 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21783 2013-09-24 Will Newton <will.newton@linaro.org>
21785 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21788 2013-09-23 Joseph Myers <joseph@codesourcery.com>
21790 * locale/hashval.h (compute_hashval): Interpret bytes of key as
21793 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
21795 * manual/threads.texi (POSIX Threads): Fix a typo.
21797 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
21800 * string/tst-strcoll-overflow.c: New test case.
21801 * string/Makefile (xtests): Add tst-strcoll-overflow.
21802 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21803 cache if string sizes may cause integer overflow.
21806 * string/strcoll_l.c (coll_seq): New members rule, idx,
21807 save_idx and back_us.
21808 (get_next_seq_nocache): New function.
21809 (do_compare_nocache): New function.
21810 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21813 2013-09-23 Carlos O'Donell <carlos@redhat.com>
21816 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21817 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21818 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21821 * elf/Makefile (tests): Add tst-ptrguard1.
21822 (tests-static): Add tst-ptrguard1-static.
21823 (tst-ptrguard1-ARGS): Define.
21824 (tst-ptrguard1-static-ARGS): Define.
21825 * elf/tst-ptrguard1.c: New file.
21826 * elf/tst-ptrguard1-static.c: New file.
21827 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21828 * sysdeps/i386/stackguard-macros.h: Likewise.
21829 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21830 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21831 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21832 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21833 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21834 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21836 2013-09-23 Hector Marco <hecmargi@upv.es>
21837 Ismael Ripoll <iripoll@disca.upv.es>
21838 Carlos O'Donell <carlos@redhat.com>
21841 * sysdeps/generic/stackguard-macros.h: Define
21842 __pointer_chk_guard_local and POINTER_CHK_GUARD.
21843 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21844 Define __pointer_chk_guard_local.
21845 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21846 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21848 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
21851 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21853 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
21855 * include/string.h (__ffs): Declare as hidden.
21856 * string/ffs.c (__ffs): Define as hidden.
21857 * sysdeps/i386/ffs.c (__ffs): Likewise.
21858 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21859 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21860 * sysdeps/s390/ffs.c (__ffs): Likewise.
21861 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21863 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
21865 * NEWS: Mention malloc probes.
21867 * malloc/arena.c (new_heap): New memory_heap_new probe.
21868 (grow_heap): New memory_heap_more probe.
21869 (shrink_heap): New memory_heap_less probe.
21870 (heap_trim): New memory_heap_free probe.
21871 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21872 (systrim): New memory_sbrk_less probe.
21873 * manual/probes.texi: Document them.
21875 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21876 * manual/probes.texi: Document it.
21878 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21879 (__libc_realloc): Add memory_realloc_retry probe.
21880 (__libc_memalign): Add memory_memalign_retry probe.
21881 (__libc_valloc): Add memory_valloc_retry probe.
21882 (__libc_pvalloc): Add memory_pvalloc_retry probe.
21883 (__libc_calloc): Add memory_calloc_retry probe.
21884 * manual/probes.texi: Document them.
21886 * malloc/arena.c (get_free_list): Add probe
21887 memory_arena_reuse_free_list.
21888 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21889 and memory_arena_reuse.
21890 (arena_get2) [!PER_THREAD]: Likewise.
21891 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21892 memory_arena_reuse_realloc.
21893 * manual/probes.texi: Document them.
21895 * malloc/malloc.c (__libc_free): Add
21896 memory_mallopt_free_dyn_thresholds probe.
21897 (__libc_mallopt): Add multiple memory_mallopt probes.
21898 * manual/probes.texi: Document them.
21900 * malloc/malloc.c: Include stap-probe.h.
21901 (__libc_mallopt): Add memory_mallopt probe.
21902 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21903 * manual/probes.texi: New.
21904 * manual/Makefile (chapters): Add probes.
21905 * manual/threads.texi: Set next node.
21907 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
21909 [BZ #15963, #13985]
21910 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21911 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21912 Add `Chinese' to `nan' entry name.
21914 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21916 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21917 (POLYNOMIAL): Likewise.
21918 (TAYLOR_SINCOS): Likewise.
21919 (TAYLOR_SLOW): Likewise.
21920 (__sin): Use TAYLOR_SINCOS.
21922 (slow): Use TAYLOR_SLOW.
21924 (bsloww): Likewise.
21925 (csloww): Likewise.
21927 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
21929 * stdlib/strtod_l.c: Fix buffer overrun.
21931 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
21933 * benchtests/Makefile (bench): Add sincos.
21934 * benchtests/bench-sincos.c: New file.
21936 * math/libm-test.inc (cos_test_data): New test inputs.
21937 (sin_test_data): Likewise.
21939 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21945 (sloww1): Likewise.
21946 (sloww2): Likewise.
21947 (bsloww1): Likewise.
21948 (bsloww2): Likewise.
21949 (cslow2): Likewise.
21950 (csloww1): Likewise.
21951 (csloww2): Likewise.
21953 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21958 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21962 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
21964 * config.h.in (HAVE_MIPS_NAN2008): New macro.
21965 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21966 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21967 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21968 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21969 * elf/cache.c (print_entry): Handle the new cache flags.
21971 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21972 Aldy Hernandez <aldyh@redhat.com>
21974 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21975 Change condition to [_SOFT_FLOAT].
21976 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21977 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21978 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21979 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21980 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21981 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21982 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21983 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21984 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21985 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21986 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21987 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21988 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21989 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21990 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21991 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21994 2013-09-18 Joseph Myers <joseph@codesourcery.com>
21996 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21997 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21998 (__longjmp): Use LOAD_GP to load saved GPRs.
21999 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
22000 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
22001 (__sigsetjmp): Use SAVE_GP to save GPRs.
22003 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
22004 Do not append -msoft-float.
22005 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
22007 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22009 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
22011 2013-09-17 Joseph Myers <joseph@codesourcery.com>
22014 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
22015 (_FPU_GETCW): Use initial "__" on variable and field names but not
22016 on macro parameter name.
22017 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
22018 parentheses around reference to macro parameter.
22020 2013-09-13 Richard Sandiford <richard@codesourcery.com>
22022 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
22024 (ctype_startup): Use uint32_t in cast and sizeof for
22027 2013-09-11 Jia Liu <proljc@gmail.com>
22029 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
22031 [__FreeBSD__]: Likewise.
22033 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
22035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22036 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
22037 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
22038 (strchr): Remove __strchr_sse42 ifunc selection.
22039 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
22040 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
22042 2013-09-11 Will Newton <will.newton@linaro.org>
22044 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
22045 parameter to RES. Remove hardcoded 1000 value.
22046 * benchtests/bench-skeleton.c (main): Pass RES parameter
22047 to TIMING_INIT and multiply result by 1000.
22049 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22053 2013-09-11 Andreas Schwab <schwab@suse.de>
22055 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
22057 (O_TMPFILE) [__USE_GNU]: Define.
22058 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
22061 2013-09-11 Will Newton <will.newton@linaro.org>
22064 * malloc/malloc.c (__libc_memalign): Check the value of bytes
22067 2013-09-11 Will Newton <will.newton@linaro.org>
22070 * malloc/malloc.c (__libc_valloc): Check the value of bytes
22073 2013-09-11 Will Newton <will.newton@linaro.org>
22076 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
22079 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
22081 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
22082 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22083 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22084 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22085 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22087 2013-09-10 Allan McRae <allan@archlinux.org>
22090 * manual/arith.texi (Parsing of Floats): Clarify
22094 * manual/install.texi (Running make install): Mention
22096 * INSTALL: Regenerated.
22098 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
22100 * csu/init-first.c (_init): Remove the !SHARED condition around
22101 FPU control word initialization.
22102 * elf/dl-support.c (_dl_fpu_control): New variable.
22103 (_dl_aux_init) <AT_FPUCW>: Initialize it.
22104 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
22105 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
22106 * math/test-fpucw-static.c: New file.
22107 * math/test-fpucw-ieee.c: New file.
22108 * math/test-fpucw-ieee-static.c: New file.
22109 * math/Makefile (tests): Add `test-fpucw-ieee' and
22111 (tests-static): New variable.
22112 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
22114 [($(build-shared),yes)]
22115 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
22117 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
22120 2013-09-09 Allan McRae <allan@archlinux.org>
22123 * manual/string.texi (Collation Functions): Fix typo in
22125 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
22128 * stdlib/isomac.c (get_null_defines): Fix memory leak.
22131 * libio/memstream.c (open_memstream): Fix memory leak.
22132 * libio/wmemstream.c (open_wmemstream): Likewise.
22135 * nscd/netgroupcache.c: Fix nesting of ifdefs.
22137 2013-09-09 Will Newton <will.newton@linaro.org>
22139 * malloc/Makefile: Add tst-realloc to tests.
22140 * malloc/tst-realloc.c: New file.
22142 2013-09-09 Allan McRae <allan@archlinux.org>
22145 * COPYING: Update from GNU website to fix FSF address.
22146 * COPYING.LIB: Likewise.
22148 2013-09-06 David S. Miller <davem@davemloft.net>
22150 * po/zh_TW.po: Update Chinese (traditional) translation from
22151 translation project.
22153 2013-09-06 Richard Sandiford <richard@codesourcery.com>
22154 Joseph Myers <joseph@codesourcery.com>
22156 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
22158 (obstack_chunk_alloc): New macro.
22159 (obstack_chunk_free): Likewise.
22160 (record_offset): New function.
22161 (init_locale_data): Likewise.
22162 (align_locale_data): Likewise.
22163 (add_locale_empty): Likewise.
22164 (add_locale_raw_data): Likewise.
22165 (add_locale_raw_obstack): Likewise.
22166 (add_locale_string): Likewise.
22167 (add_locale_wstring): Likewise.
22168 (add_locale_uint32): Likewise.
22169 (add_locale_uint32_array): Likewise.
22170 (add_locale_char): Likewise.
22171 (start_locale_structure): Likewise.
22172 (end_locale_structure): Likewise.
22173 (start_locale_prelude): Likewise.
22174 (end_locale_prelude): Likewise.
22175 (write_locale_data): Take locale_file structure rather than an
22177 * locale/programs/locfile.h: Include "obstack.h".
22178 (struct locale_file): Change to store locale file contents instead
22180 (init_locale_data): New prototype.
22181 (align_locale_data): Likewise.
22182 (add_locale_empty): Likewise.
22183 (add_locale_raw_data): Likewise.
22184 (add_locale_raw_obstack): Likewise.
22185 (add_locale_string): Likewise.
22186 (add_locale_wstring): Likewise.
22187 (add_locale_uint32): Likewise.
22188 (add_locale_uint32_array): Likewise.
22189 (add_locale_char): Likewise.
22190 (start_locale_structure): Likewise.
22191 (end_locale_structure): Likewise.
22192 (start_locale_prelude): Likewise.
22193 (end_locale_prelude): Likewise.
22194 (write_locale_data): Update prototype.
22195 * locale/programs/3level.h (struct TABLE): Remove result field.
22196 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22197 Use new locale_file interface.
22198 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22199 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22200 * locale/programs/ld-address.c (address_output): Use new
22201 locale_file interface.
22202 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22204 (collate_finish): Don't call collseq_table_finalize.
22205 (collate_output): Use new locale_file interface.
22206 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22208 (NO_FINALIZE): Change to NO_ADD_LOCALE.
22209 (TABLE): Move defines earlier in file.
22210 (ELEMENT): Likewise.
22211 (DEFAULT): Likewise.
22212 (wctrans_table_add): Move macro and inline function earlier in
22214 (struct wctype_table): Move type earlier in file.
22215 (add_locale_wctype_table): New static prototype.
22216 (struct locale_ctype_t): Use logical types instead of struct iovec
22217 pointers for members.
22218 (ctype_output): Use new locale_file interface.
22219 (wctype_table_finalize): Change to add_locale_wctype_table. Use
22220 new locale_file interface.
22221 (allocate_arrays): Update for use of new locale_file interface.
22222 * locale/programs/ld-identification.c (identification_output): Use
22223 new locale_file interface.
22224 * locale/programs/ld-measurement.c (measurement_output): Likewise.
22225 * locale/programs/ld-messages.c (messages_output): Likewise.
22226 * locale/programs/ld-monetary.c (monetary_output): Likewise.
22227 * locale/programs/ld-name.c (name_output): Likewise.
22228 * locale/programs/ld-numeric.c (numeric_output): Likewise.
22229 * locale/programs/ld-paper.c (paper_output): Likewise.
22230 * locale/programs/ld-telephone.c (telephone_output): Likewise.
22231 * locale/programs/ld-time.c (time_output): Likewise.
22233 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22235 * benchtests/Makefile: Add memrchr benchmark.
22236 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22237 benchmark as memrchr.
22238 * benchtests/bench-memrchr-ifunc.c: New file.
22239 * benchtests/bench-memrchr.c: New file.
22241 2013-09-06 Will Newton <will.newton@linaro.org>
22243 * benchtests/Makefile (string-bench): Add memcpy.
22245 2013-09-05 Carlos O'Donell <carlos@redhat.com>
22246 Cong Wang <amwang@redhat.com>
22249 * sysdeps/unix/sysv/linux/bits/in.h
22250 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22251 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22252 before __USE_KERNEL_IPV6_DEFS uses.
22253 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22255 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22256 sockaddr_in6, or ipv6_mreq.
22258 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22260 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22261 memory access for final bytes in some large inputs.
22262 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22264 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22266 * string/test-memrchr.c: New file.
22267 * string/test-memrchr-ifunc.c: New file.
22268 * string/Makefile: Add new memrchr testcase.
22270 2013-09-05 Mike Frysinger <vapier@gentoo.org>
22272 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22273 fanotify_init returns EPERM.
22275 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22277 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22279 (top level): Treat second token from macro or constant entries for
22280 allowed headers as allowed.
22281 * include/complex.h: Condition internal declarations on
22283 * include/fenv.h: Condition include of <stdbool.h> and internal
22284 declarations on [!_ISOMAC].
22286 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
22289 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22291 2013-09-04 Joseph Myers <joseph@codesourcery.com>
22293 * configure.in (--enable-versioning): Remove configure option.
22294 (libc_cv_asm_symver_directive): Remove configure test.
22295 (libc_cv_ld_version_script_option): Likewise.
22296 (VERSIONING): Remove variable and AC_SUBST.
22297 (DO_VERSIONING): Remove AC_DEFINE.
22298 * configure: Regenerated.
22299 * config.h.in (DO_VERSIONING): Remove macro.
22300 * Makerules [$(versioning) = yes]: Change conditionals to
22301 [$(build-shared) = yes].
22302 * config.make.in (versioning): Remove variable.
22303 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22304 [$(build-shared) = yes].
22305 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22306 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22307 * elf/Makefile [$(versioning) = yes]: Change conditionals to
22308 [$(build-shared) = yes].
22309 * extra-lib.mk [$(versioning) = yes]: Likewise.
22310 * hurd/Makefile [$(versioning) = yes]: Likewise.
22311 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22313 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22315 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22316 [SHARED && !NO_HIDDEN].
22317 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22319 [SHARED && DO_VERSIONING]: Likewise..
22320 * libio/Makefile [$(versioning) = yes]: Change conditionals to
22321 [$(build-shared) = yes].
22322 * manual/install.texi (--disable-versioning): Remove
22324 * INSTALL: Regenerated.
22325 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22327 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22328 [$(build-shared) = yes].
22329 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22330 * sysdeps/i386/i686/multiarch/strstr-c.c
22331 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22332 [SHARED && !NO_HIDDEN].
22333 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22334 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22335 * sysdeps/powerpc/powerpc32/dl-machine.c
22336 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22337 * sysdeps/powerpc/powerpc32/sysdep.h
22338 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22339 to [SHARED && PIC && !NO_HIDDEN].
22340 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22341 conditional to [SHARED].
22343 2013-09-04 Will Newton <will.newton@linaro.org>
22345 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22346 * benchtests/bench-string.h: Include bench-timing.h instead
22347 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22348 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22349 call to HP_TIMING_DIFF_INIT.
22350 * benchtests/bench-memccpy.c: Use bench-timing.h macros
22351 instead of hp-timing.h macros.
22352 * benchtests/bench-memchr.c: Likewise.
22353 * benchtests/bench-memcmp.c: Likewise.
22354 * benchtests/bench-memcpy.c: Likewise.
22355 * benchtests/bench-memmem.c: Likewise.
22356 * benchtests/bench-memmove.c: Likewise.
22357 * benchtests/bench-memset.c: Likewise.
22358 * benchtests/bench-rawmemchr.c: Likewise.
22359 * benchtests/bench-strcasecmp.c: Likewise.
22360 * benchtests/bench-strcasestr.c: Likewise.
22361 * benchtests/bench-strcat.c: Likewise.
22362 * benchtests/bench-strchr.c: Likewise.
22363 * benchtests/bench-strcmp.c: Likewise.
22364 * benchtests/bench-strcpy.c: Likewise.
22365 * benchtests/bench-strcpy_chk.c: Likewise.
22366 * benchtests/bench-strlen.c: Likewise.
22367 * benchtests/bench-strncasecmp.c: Likewise.
22368 * benchtests/bench-strncat.c: Likewise.
22369 * benchtests/bench-strncmp.c: Likewise.
22370 * benchtests/bench-strncpy.c: Likewise.
22371 * benchtests/bench-strnlen.c: Likewise.
22372 * benchtests/bench-strpbrk.c: Likewise.
22373 * benchtests/bench-strrchr.c: Likewise.
22374 * benchtests/bench-strspn.c: Likewise.
22375 * benchtests/bench-strstr.c: Likewise.
22377 2013-09-04 Will Newton <will.newton@linaro.org>
22379 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22381 2013-09-03 Joseph Myers <joseph@codesourcery.com>
22384 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22385 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22386 * math/libm-test.inc (lgamma_test_data): Add more tests.
22387 * sysdeps/i386/fpu/libm-test-ulps: Update.
22388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22390 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
22392 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22393 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22395 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22396 Add strcmp-sse2-unaligned
22397 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22399 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22401 * Versions.def (libc): Add GLIBC_2.19.
22403 2013-09-02 Mike Frysinger <vapier@gentoo.org>
22405 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22406 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22408 2013-09-02 Joseph Myers <joseph@codesourcery.com>
22411 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22412 intermediate calculations in recurrence.
22413 (__ieee754_ynf): Likewise.
22414 * math/libm-test.inc (jn_test_data): Do not allow spurious
22415 underflow exception. Add more tests.
22416 (yn_test_data): Add more tests.
22417 * sysdeps/i386/fpu/libm-test-ulps: Update.
22418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22420 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
22422 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22424 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22426 * csu/init-first.c: Fix then/than typos.
22427 * locale/programs/ld-collate.c: Likewise.
22428 * locale/programs/linereader.h: Likewise.
22429 * manual/charset.texi: Likewise.
22430 * manual/filesys.texi: Likewise.
22431 * manual/stdio.texi: Likewise.
22432 * manual/string.texi: Likewise.
22433 * stdlib/fmtmsg.c: Likewise.
22434 * sysdeps/i386/stpncpy.S: Likewise.
22435 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22436 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22437 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22438 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22440 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22442 * elf/dl-open.c: Fix typos.
22443 * iconvdata/gbbig5.c: Likewise.
22444 * iconvdata/iso-2022-jp.c: Likewise.
22445 * iconv/gconv_int.h: Likewise.
22446 * iconv/loop.c: Likewise.
22447 * nis/rpcsvc/nis.h: Likewise.
22448 * resolv/ns_name.c: Likewise.
22449 * stdio-common/vfscanf.c: Likewise.
22450 * streams/stropts.h: Likewise.
22451 * sunrpc/rpc_thread.c: Likewise.
22452 * sysdeps/i386/strpbrk.S: Likewise.
22453 * sysdeps/ieee754/k_standard.c: Likewise.
22454 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22455 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22456 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22457 * sysdeps/mach/hurd/profil.c: Likewise.
22458 * sysdeps/s390/dl-procinfo.h: Likewise.
22459 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22460 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22461 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22462 * sysdeps/x86_64/dl-trampoline.S: Likewise.
22463 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22465 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
22467 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22468 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22470 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22472 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22473 aix specific files.
22474 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22475 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22476 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22477 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22478 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22479 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22480 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22481 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22483 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22484 Roland McGrath <roland@hack.frob.com>
22486 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22487 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22489 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
22491 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22492 __executable_start symbol instead of _start.
22494 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
22496 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22497 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22499 * sysdeps/gnu/ldsodefs.h: ... this new file.
22501 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22502 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22503 instead of ELFOSABI_LINUX.
22505 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22506 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22507 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22508 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22510 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22511 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22512 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22514 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22515 (ibm_extended_long_double): Add ieee_nan member.
22516 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22517 (do_test): New function.
22519 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22521 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22522 functions, renamed from truncdfsf_test, trunctfsf_test,
22524 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22526 (do_test): Run all these.
22528 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
22530 * argp/argp-help.c: Fix typos.
22531 * argp/argp-parse.c: Likewise.
22532 * debug/backtracesyms.c: Likewise.
22533 * elf/elf.h: Likewise.
22534 * malloc/malloc.c: Likewise.
22535 * nis/nis_print.c: Likewise.
22536 * resolv/res_comp.c: Likewise.
22537 * stdlib/stdlib.h: Likewise.
22538 * sunrpc/clnt_tcp.c: Likewise.
22539 * sunrpc/clnt_udp.c: Likewise.
22540 * sunrpc/clnt_unix.c: Likewise.
22541 * sysdeps/unix/bsd/ptsname.c: Likewise.
22542 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22543 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22546 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22548 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22550 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22552 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
22554 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22555 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22557 2013-08-27 Mike Frysinger <vapier@gentoo.org>
22560 * dlfcn/Makefile (tests): Add bug-dl-leaf.
22561 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22562 ($(objpfx)bug-dl-leaf): New rule.
22563 ($(objpfx)bug-dl-leaf.so): Likewise.
22564 ($(objpfx)bug-dl-leaf.out): Likewise.
22565 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22566 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22567 * dlfcn/bug-dl-leaf.c: New test.
22568 * dlfcn/bug-dl-leaf-lib.c: Likewise.
22569 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22570 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22571 (dlclose): Likewise.
22572 (dlmopen): Likewise.
22574 2013-08-27 Roland McGrath <roland@hack.frob.com>
22576 * include/netdb.h [!_ISOMAC]:
22577 Don't include <tls.h>.
22578 (h_errno, __libc_h_errno): Move declaration and macros out of
22581 * include/resolv.h [_RESOLV_H_]:
22582 Don't include <tls.h>.
22583 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22584 * resolv/res_libc.c: Don't include <tls.h>.
22585 (_res): Use __attribute__ ((nocommon)) in place of
22586 __attribute__ ((section (".bss"))).
22588 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22589 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22591 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22593 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22594 only under [SIOCGIFCONF && SIOCGIFNETMASK].
22596 * resolv/res_mkquery.c: Include <sys/time.h>.
22598 * inet/ifreq.c: Moved to ...
22599 * sysdeps/unix/ifreq.c: ... here.
22600 * inet/ifreq.c: New file, true stub version.
22602 * socket/sa_len.c: New file.
22603 * socket/Makefile (aux): Add it.
22604 * sysdeps/unix/sysv/linux/Makefile
22605 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22606 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22607 and #include <socket/sa_len.c>.
22608 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22609 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22611 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22612 * bits/socket.h: ... here.
22614 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22615 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22616 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22618 2013-08-27 Andreas Schwab <schwab@suse.de>
22621 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22622 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22623 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22624 * string/test-strcasecmp.c (test_main): Run tests in several
22626 * string/test-strncasecmp.c (test_main): Likewise.
22628 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22629 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22630 to __strcasecmp_nonascii and __strncasecmp_nonascii.
22631 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22632 (__strncasecmp_ssse3) [PIC]: Likewise.
22634 2013-08-26 Roland McGrath <roland@hack.frob.com>
22636 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22638 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22639 instead of explicitly declaring xdecrypt.
22640 * nis/nss_nis/nis-publickey.c: Likewise.
22642 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22645 * nscd/aicache.c: Include res_hconf.h.
22646 (addhstaiX): Initialize res_hconf.
22648 2013-08-26 Andreas Schwab <schwab@suse.de>
22650 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22651 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22653 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
22655 * nscd/aicache.c (addhstaiX): Fix indentation.
22657 2013-08-25 Mike Frysinger <vapier@gentoo.org>
22659 * configure.ac: Quote $build_pt_chown test.
22660 * configure: Regenerated.
22662 2013-08-23 Joseph Myers <joseph@codesourcery.com>
22665 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22666 * math/s_cexpf.c (__cexpf): Likewise.
22667 * math/s_cexpl.c (__cexpl): Likewise.
22668 * math/libm-test.inc (cexp_test_data): Correct expected return
22669 value for NaN + i0. Add another test.
22671 2013-08-22 David S. Miller <davem@davemloft.net>
22673 * po/ca.po: Update Catalan translation from translation project.
22674 * po/uk.po: Add Ukrainian translations from translation project.
22676 2013-08-21 Joseph Myers <joseph@codesourcery.com>
22679 * math/s_fdim.c (__fdim): Check for infinite arguments if result
22680 is infinite, not alongside NaN test.
22681 * math/s_fdimf.c (__fdimf): Likewise.
22682 * math/s_fdiml.c (__fdiml): Likewise.
22683 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
22684 errno is unchanged.
22686 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
22688 * argp/argp-help.c: Fix typos.
22689 * crypt/speeds.c: Likewise.
22690 * csu/check_fds.c: Likewise.
22691 * elf/dl-load.c: Likewise.
22692 * elf/dl-open.c: Likewise.
22693 * elf/reldep3.c: Likewise.
22694 * elf/reldep.c: Likewise.
22695 * elf/sprof.c: Likewise.
22696 * iconv/iconv_charmap.c: Likewise.
22697 * iconv/skeleton.c: Likewise.
22698 * iconv/strtab.c: Likewise.
22699 * io/lockf64.c: Likewise.
22700 * libio/libioP.h: Likewise.
22701 * resolv/gai_notify.c: Likewise.
22702 * resolv/ns_name.c: Likewise.
22703 * resolv/ns_samedomain.c: Likewise.
22704 * resolv/res_send.c: Likewise.
22705 * stdlib/random.c: Likewise.
22706 * sunrpc/rpc/xdr.h: Likewise.
22707 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22708 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22709 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22710 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22711 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22712 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22713 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22714 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22715 * sysdeps/mach/hurd/check_fds.c: Likewise.
22716 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22717 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22718 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22719 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22720 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22721 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22722 * sysdeps/pthread/aio_notify.c: Likewise.
22723 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22724 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22725 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22726 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22727 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22729 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
22731 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22732 version if bit_Slow_SSE4_2 is set.
22733 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22734 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22736 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22739 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22740 trampoline stack frame information.
22741 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22742 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22743 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22744 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22745 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22746 * sysdeps/unix/sysv/linux/powerpc/init-first.c
22747 (_libc_vdso_platform_setup): Initialize the signal trampolines.
22748 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22750 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22751 interrupting a syscall and set with option SA_SIGINFO.
22753 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22756 * math/s_cproj.c (__cproj): Only return an infinity if one part of
22757 argument is infinite.
22758 * math/s_cprojf.c (__cprojf): Likewise.
22759 * math/s_cprojl.c (__cprojl): Likewise.
22760 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22761 * math/libm-test.inc (cproj_test_data): Add more tests.
22763 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22765 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22766 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22767 size. Use __ffs to determine corresponding shift.
22769 2013-08-20 Joseph Myers <joseph@codesourcery.com>
22770 Roland McGrath <roland@hack.frob.com>
22772 * Makefile (INSTALL): Remove trailing blank lines from output of
22775 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22777 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22778 Align 32 bit compat elf_greg to 8 bytes.
22780 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
22782 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22784 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22786 * string/strcoll_l.c (coll_seq): New structure.
22787 (get_next_seq_cached): New function.
22788 (get_next_seq): New function.
22789 (do_compare): New function.
22790 (STRCOLL): Use GNU style definition. Simplify implementation
22791 by using get_next_seq, get_next_seq_cached and do_compare.
22793 2013-08-16 Florian Weimer <fweimer@redhat.com>
22797 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22799 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22801 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22802 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22803 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
22805 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22806 GETDENTS_64BIT_ALIGNED.
22807 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22808 * manual/filesys.texi (Reading/Closing Directory): Document
22809 ENAMETOOLONG return value of readdir_r. Recommend readdir more
22811 * manual/conf.texi (Limits for Files): Add portability note to
22812 NAME_MAX, PATH_MAX.
22813 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22815 2013-08-13 Andreas Schwab <schwab@suse.de>
22818 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22820 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22821 LDBL_MAX_EXP >= 16384]: Add tests for it.
22823 2013-08-12 David S. Miller <davem@davemloft.net>
22825 * version.h (RELEASE): Set to "development".
22826 (VERSION): Set to "2.18.90".
22827 * NEWS: Add 2.19 section.
22829 2013-08-03 David S. Miller <davem@davemloft.net>
22831 * po/ko.po: Update Korean translation from translation project.
22833 2013-08-01 David S. Miller <davem@davemloft.net>
22835 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
22836 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22839 2013-07-30 David S. Miller <davem@davemloft.net>
22841 * po/fr.po: Update French translation from translation project.
22843 2013-07-28 David S. Miller <davem@davemloft.net>
22845 * po/cs.po: Update Czech translation from translation project.
22847 * po/sv.po: Update Swedish translation from translation project.
22849 2013-07-27 David S. Miller <davem@davemloft.net>
22851 * po/eo.po: Update Esperanto translation from translation project.
22853 * po/vi.po: Update Vietnamese translation from translation project.
22855 * po/de.po: Update German translation from translation project.
22857 2013-07-26 David S. Miller <davem@davemloft.net>
22859 * po/bg.po: Update Bulgarian translation from translation project.
22861 * po/nl.po: Update Dutch translation from translation project.
22862 * po/pl.po: Update Polish translation from translation project.
22863 * po/ru.po: Update Russian translation from translation project.
22865 2013-07-24 David S. Miller <davem@davemloft.net>
22867 * po/libc.pot: Update.
22869 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22871 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22872 variable page size.
22873 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22874 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22875 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22877 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
22879 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22881 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
22882 Andreas Schwab <schwab@suse.de>
22883 Roland McGrath <roland@hack.frob.com>
22884 Joseph Myers <joseph@codesourcery.com>
22885 Carlos O'Donell <carlos@redhat.com>
22888 * config.h.in: Define HAVE_PT_CHOWN.
22889 * config.make.in (build-pt-chown): New variable.
22890 * configure.in (--enable-pt_chown): New configure option.
22891 * configure: Regenerate.
22892 * login/Makefile: Include Makeconfig. Build pt_chown only if
22893 build-pt-chown is enabled.
22894 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22895 pt_chown to fix pty ownership.
22896 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22898 * manual/install.texi (Configuring and compiling): Mention
22899 --enable-pt_chown. Add @findex for grantpt.
22900 * INSTALL: Regenerate.
22902 2013-07-20 David S. Miller <davem@davemloft.net>
22904 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22905 difference between 32-bit and 64-bit.
22907 2013-07-15 Carlos O'Donell <carlos@redhat.com>
22910 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22911 Avoid system header dependency with -ffreestanding.
22912 ($(objpfx)bits/syscall%d): Likewise.
22914 2013-07-13 David S. Miller <davem@davemloft.net>
22916 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22917 underflows from atanl/atan2l due to bug 15319.
22918 (casinh_test_data): Likewise.
22920 2013-07-07 David S. Miller <davem@davemloft.net>
22922 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22924 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
22926 * sysdeps/i386/fpu/libm-test-ulps: Update.
22927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22929 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
22931 * configure.in (--enable-lock-elision): Fix message text.
22932 * INSTALL: Regenerate.
22933 * configure: Regenerate.
22935 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22939 2013-07-03 Andreas Jaeger <aj@suse.de>
22941 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22943 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22944 (ptrace_peeksiginfo_args): Add.
22945 (__ptrace_peeksiginfo_flags): Add.
22946 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22947 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22948 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22950 2013-07-03 Allan McRae <allan@archlinux.org>
22952 * sysdeps/i386/fpu/libm-test-ulps: Update.
22954 2013-07-02 David S. Miller <davem@davemloft.net>
22956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22958 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
22960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22962 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22964 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22967 2013-07-02 Andi Kleen <ak@linux.intel.com>
22969 * config.h.in (ENABLE_LOCK_ELISION): Add.
22970 * configure.in (--enable-lock-elision): Add option.
22971 * manual/install.texi: Document --enable lock elision.
22972 * configure: Regenerate
22973 * INSTALL: Regenerate.
22975 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
22977 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22978 SSE4.2 strcasecmp for libc.a.
22979 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22981 2013-07-02 Joseph Myers <joseph@codesourcery.com>
22984 * soft-fp/op-common.h (_FP_FMA): New macro.
22985 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22986 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
22987 (_FP_MUL_MEAT_1_imm): ... here.
22988 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
22989 (_FP_MUL_MEAT_1_wide): ... here.
22990 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
22991 (_FP_MUL_MEAT_1_hard): ... here.
22992 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22993 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
22994 (_FP_MUL_MEAT_2_wide): ... here.
22995 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
22996 (_FP_MUL_MEAT_2_wide_3mul): ... here.
22997 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
22998 (_FP_MUL_MEAT_2_gmp): ... here.
22999 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
23000 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
23001 (_FP_MUL_MEAT_4_wide): ... here.
23002 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
23003 (_FP_MUL_MEAT_4_gmp): ... here.
23004 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
23005 (_FP_WFRACBITS_DW_S): Likewise.
23006 (_FP_WFRACXBITS_DW_S): Likewise.
23007 (_FP_HIGHBIT_DW_S): Likewise.
23008 (FP_FMA_S): Likewise.
23009 (_FP_FRAC_HIGH_DW_S): Likewise.
23010 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
23011 (_FP_WFRACBITS_DW_D): Likewise.
23012 (_FP_WFRACXBITS_DW_D): Likewise.
23013 (_FP_HIGHBIT_DW_D): Likewise.
23014 (FP_FMA_D): Likewise.
23015 (_FP_FRAC_HIGH_DW_D): Likewise.
23016 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
23017 (_FP_WFRACBITS_DW_E): Likewise.
23018 (_FP_WFRACXBITS_DW_E): Likewise.
23019 (_FP_HIGHBIT_DW_E): Likewise.
23020 (FP_FMA_E): Likewise.
23021 (_FP_FRAC_HIGH_DW_E): Likewise.
23022 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
23023 (_FP_WFRACBITS_DW_Q): Likewise.
23024 (_FP_WFRACXBITS_DW_Q): Likewise.
23025 (_FP_HIGHBIT_DW_Q): Likewise.
23026 (FP_FMA_Q): Likewise.
23027 (_FP_FRAC_HIGH_DW_Q): Likewise.
23028 * soft-fp/fmasf4.c: New file.
23029 * soft-fp/fmadf4.c: Likewise.
23030 * soft-fp/fmatf4.c: Likewise.
23032 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23034 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
23035 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
23037 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
23039 (index_Slow_SSE4_2): Likewise.
23040 (index_Prefer_PMINUB_for_stringop): Likewise.
23041 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
23042 bit_Slow_SSE4_2 is set.
23043 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23044 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23046 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23048 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
23049 rtld_global._dl_hwcap2.
23050 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
23052 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
23053 POWER8 feature descriptions defined in _dl_hwcap2.
23054 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
23055 string handling for POWER8 feature bits.
23056 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
23057 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
23058 _dl_powerpc_cap_flags.
23059 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
23060 * sysdeps/powerpc/rtld-global-offsets.sym
23061 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
23062 _dl_hwcap2 in the rtld_global_ro structure.
23064 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23066 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
23067 hardware capabilities in support of AT_HWCAP2.
23068 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
23069 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
23071 (_dl_show_auxv): Add support for calling _dl_procinfo to display
23072 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
23073 explicitly the unknown a_type display mechanism is used.
23074 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
23075 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
23077 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
23078 to macro prototype for AT_HWCAP2 support.
23079 * sysdeps/i386/dl-procinfo.h: Likewise.
23080 * sysdeps/s390/dl-procinfo.h: Likewise.
23081 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
23082 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
23083 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
23084 return -1 for unknown a_type display fallback.
23085 * sysdeps/sparc/dl-procinfo.h: Likewise.
23086 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
23087 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
23089 2013-06-28 Joseph Myers <joseph@codesourcery.com>
23091 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
23092 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
23094 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
23097 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
23098 mprotect making __stack_prot writable.
23100 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
23101 Joseph Myers <joseph@codesourcery.com>
23103 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
23104 as being properly aligned.
23106 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
23108 * dlfcn/modstatic5.c: New file.
23109 * dlfcn/tststatic5.c: New file.
23110 * dlfcn/Makefile (tests): Add tststatic5.
23111 (tests-static): Likewise.
23112 (modules-names): Add modstatic5.
23113 (tststatic5-ENV): New variable.
23114 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
23117 * elf/dl-support.c (_dl_main_map): New variable.
23118 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
23119 (_dl_nns, _dl_load_adds): Set to 1.
23120 (_dl_initial_searchlist): Refer to _dl_main_map.
23121 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
23122 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
23123 call to _dl_get_origin.
23124 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
23126 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
23127 * dlfcn/modstatic3.c: New file.
23128 * dlfcn/tststatic3.c: New file.
23129 * dlfcn/tststatic4.c: New file.
23130 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
23131 (tests-static): Likewise.
23132 (modules-names): Add modstatic3.
23133 (tststatic3-ENV, tststatic4-ENV): New variables.
23134 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
23135 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
23137 2013-06-26 Joseph Myers <joseph@codesourcery.com>
23139 * configure.in (CC): Require GCC version 4.4 or later.
23140 * configure: Regenerated.
23141 * manual/install.texi (Tools for Compilation): Update GCC version
23143 * INSTALL: Regenerated.
23145 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23148 * string/test-memcmp.c (check2): New.
23149 (main): Call check2.
23151 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
23153 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
23156 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
23158 (dl_open_worker) [!SHARED]: ... here.
23160 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23162 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23164 2013-06-25 Richard Henderson <rth@redhat.com>
23166 * locale/programs/locarchive.c: Include <libc-internal.h>
23168 2013-06-25 Joseph Myers <joseph@codesourcery.com>
23170 * manual/texinfo.tex: Update to version 2013-06-21.17, with
23171 trailing whitespace removed.
23173 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23176 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23177 * locale/programs/locarchive.c: Include libc-mmap.h.
23178 (prepare_address_space): Take two new outputs (the mmap base and len).
23179 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
23181 (create_archive): Declare new mmap base and len values for
23182 prepare_address_space, and store the result in ah.
23183 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23184 (enlarge_archive): If ah->mmap_base is not NULL, use that and
23185 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23186 Declare new mmap base and len values for
23187 prepare_address_space, and store the result in new_ah.
23188 (open_archive): Declare new mmap base and len values for
23189 prepare_address_space, and store the result in ah.
23190 (close_archive): If ah->mmap_base is not NULL, use that and
23191 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23192 * sysdeps/generic/libc-mmap.h: New file.
23194 2013-06-24 Mike Frysinger <vapier@gentoo.org>
23196 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23197 (ALIGN_UP): Likewise.
23198 (PTR_ALIGN_DOWN): Likewise.
23199 (PTR_ALIGN_UP): Likewise.
23201 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23203 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23204 entry mapped to PPC_PLATFORM_POWER8.
23205 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23207 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23208 (_dl_string_platform): Add case for exporting platform position for
23210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23211 search path to sysdeps/powerpc/powerpc32/power8 directory.
23212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23213 search path to sysdeps/powerpc/powerpc64/power8 directory.
23214 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23215 power7 directories.
23216 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23217 power7 directories.
23219 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23221 * INSTALL: Regenerate.
23223 * nscd/connections.c (nscd_init): Fix comment.
23225 2013-06-22 Joseph Myers <joseph@codesourcery.com>
23227 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23230 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23231 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23233 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23235 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23237 (DL_DST_REQ_STATIC): Remove macro.
23239 2013-06-21 Joseph Myers <joseph@codesourcery.com>
23242 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23243 with a shift of 0 bits.
23245 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
23247 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23250 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
23253 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23255 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23257 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23258 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23259 accepts -fno-tree-loop-distribute-patterns.
23260 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23261 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23263 * string/memset.c (memset): Likewise.
23264 * string/test-memmove.c (simple_memmove): Disable loop transformation
23266 * string/test-memset.c (simple_memset): Likewise.
23267 * benchtests/bench-memmove.c (simple_memmove): Likewise.
23268 * benchtests/bench-memset.c (simple_memset): Likewise.
23269 * configure: Regenerated.
23271 2013-06-20 Joseph Myers <joseph@codesourcery.com>
23273 * math/test-misc.c (main): Ignore fesetround failure when failures
23274 of subsequent rounding tests would be ignored.
23277 * math/fedisblxcpt.c (fedisableexcept): Return 0.
23278 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23279 * math/fegetenv.c (__fegetenv): Return 0.
23280 * math/fegetexcept.c (fegetexcept): Return 0.
23281 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23283 * math/feholdexcpt.c (feholdexcept): Return 0.
23284 * math/fesetenv.c (__fesetenv): Return 0.
23285 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23286 argument FE_TONEAREST.
23287 * math/feupdateenv.c (__feupdateenv): Return 0.
23288 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23290 2013-06-18 Roland McGrath <roland@hack.frob.com>
23292 * elf/rtld-Rules (rtld-compile-command.S): New variable.
23293 (rtld-compile-command.s, rtld-compile-command.c): New variables.
23294 ($(objpfx)rtld-%.os rules): Use them.
23296 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23298 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23301 2013-06-17 Roland McGrath <roland@hack.frob.com>
23303 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23304 length of target pattern, then descending length of dependency pattern.
23305 * configure.in (AWK): Require gawk 3.1.2 or newer.
23306 * manual/install.texi (Tools for Compilation): Say that we do.
23307 * configure: Regenerated.
23309 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23310 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23311 * scripts/sysd-rules.awk: ... this new script.
23312 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23313 than a glob-style pattern.
23315 2013-06-17 Joseph Myers <joseph@codesourcery.com>
23317 * math/test-misc.c (main): Do not treat incorrectly rounded
23318 conversions as failure unless ROUNDING_TESTS passes.
23320 2013-06-15 Joseph Myers <joseph@codesourcery.com>
23323 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23324 restore exception state around main square root computation, then
23325 check for inexactness explicitly.
23327 * math/libm-test.inc (fma_test_data): Add another test.
23329 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
23331 * manual/threads.texi (Non-POSIX Extensions): New document
23332 node. Document pthread_getattr_default_np and
23333 pthread_setattr_default_np.
23335 * Versions.def (libpthread): Add GLIBC_2.18.
23336 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23341 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23345 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23347 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23349 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23351 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23353 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23356 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
23358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23359 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23361 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
23362 H.J. Lu <hjl.tools@gmail.com>
23365 * sysdeps/x86_64/rtld-memset.c: Remove file.
23366 * sysdeps/x86_64/rtld-memset.S: New file.
23368 2013-06-14 Joseph Myers <joseph@codesourcery.com>
23370 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23371 (test_in_one_mode): Take arguments for whether the rounding mode
23372 is supported for each floating-point type.
23373 (do_test): Pass new arguments to test_in_one_mode using
23376 2013-06-13 Roland McGrath <roland@hack.frob.com>
23378 * posix/tst-waitid.c (do_test): Distinguish different instances of
23379 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
23380 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23381 before entering the kernel for waitpid.
23383 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23385 * NEWS: Fix note on clock function precision. Text by Roland
23388 2013-06-13 Roland McGrath <roland@hack.frob.com>
23390 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23391 it into place only when and if the sanity check passes.
23393 2013-06-13 Joseph Myers <joseph@codesourcery.com>
23395 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23396 output for whether conversion result is exact. Take argument
23397 indicating whether type is IBM long double.
23398 (round_for_all): Change need_exact field to ibm_ld.
23399 * stdlib/tst-strtod-round.c (struct exactness): New type.
23400 (struct test): Change bool ld_ok field to struct exactness exact.
23401 (TEST): Update all definitions for change to field.
23402 (tests): Regenerate array contents.
23403 (test_in_one_mode): Take pointer to new field instead of old ld_ok
23404 field value. Check for IBM long double here.
23405 (do_test): Update calls to test_in_one_mode.
23407 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
23410 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23411 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23413 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23416 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23417 generated by the compiler on loop optimizations.
23418 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23419 general definitions.
23421 2013-06-12 Joseph Myers <joseph@codesourcery.com>
23423 * math/bug-nextafter.c: Include <math-tests.h>.
23424 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23426 * math/bug-nexttoward.c: Include <math-tests.h>.
23427 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23429 * math/test-misc.c: Include <math-tests.h>.
23430 (main): Only test for exceptions if EXCEPTION_TESTS is true for
23433 2013-06-12 Andreas Jaeger <aj@suse.de>
23435 * po/ia.po: Update Interlingua translation from translation
23438 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
23440 * include/fenv.h: Include stdbool.h.
23441 (struct rm_ctx): New structure.
23442 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23444 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23445 (SET_RESTORE_ROUNDF): Likewise.
23446 (SET_RESTORE_ROUNDL): Likewise.
23447 (SET_RESTORE_ROUND_NOEX): Likewise.
23448 (SET_RESTORE_ROUND_NOEXF): Likewise.
23449 (SET_RESTORE_ROUND_NOEXL): Likewise.
23450 (SET_RESTORE_ROUND_53BIT): Likewise.
23451 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23452 (libc_feresetround_noexf_ctx): Likewise.
23453 (libc_feresetround_noexl_ctx): Likewise.
23454 (libc_feholdsetround_53bit_ctx): Likewise.
23455 (libc_feresetround_53bit_ctx): Likewise.
23456 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23457 (libc_feholdexcept_setround_sse_ctx): New function.
23458 (libc_fesetenv_sse_ctx): Likewise.
23459 (libc_feupdateenv_sse_ctx): Likewise.
23460 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23461 (libc_feholdexcept_setround_387_ctx): Likewise.
23462 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23463 (libc_feholdsetround_387_prec_ctx): Likewise.
23464 (libc_feholdsetround_387_ctx): Likewise.
23465 (libc_feholdsetround_387_53bit_ctx): Likewise.
23466 (libc_feholdsetround_sse_ctx): Likewise.
23467 (libc_feresetround_sse_ctx): Likewise.
23468 (libc_feresetround_387_ctx): Likewise.
23469 (libc_feupdateenv_387_ctx): Likewise.
23470 (libc_feholdexcept_setroundf_ctx): Define macro.
23471 (libc_fesetenvf_ctx): Likewise.
23472 (libc_feupdateenvf_ctx): Likewise.
23473 (libc_feholdsetroundf_ctx): Likewise.
23474 (libc_feresetroundf_ctx): Likewise.
23475 (libc_feholdexcept_setround_ctx): Likewise.
23476 (libc_fesetenv_ctx): Likewise.
23477 (libc_feupdateenv_ctx): Likewise.
23478 (libc_feholdsetround_ctx): Likewise.
23479 (libc_feresetround_ctx): Likewise.
23480 (libc_feholdexcept_setroundl_ctx): Likewise.
23481 (libc_feupdateenvl_ctx): Likewise.
23482 (libc_feholdsetroundl_ctx): Likewise.
23483 (libc_feresetroundl_ctx): Likewise.
23484 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23485 (libc_feresetround_53bit_ctx): Likewise.
23487 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23489 * locale/iso-639.def: Convert to UTF-8.
23491 2013-06-11 Joseph Myers <joseph@codesourcery.com>
23493 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23494 (EXCEPTION_TESTS_double): Likewise.
23495 (EXCEPTION_TESTS_long_double): Likewise.
23496 (EXCEPTION_TESTS): Likewise.
23497 * math/libm-test.inc (test_exceptions): Only test exceptions if
23498 EXCEPTION_TESTS (FLOAT).
23500 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23502 * benchtests/Makefile (string-bench): Add strcpy_chk and
23504 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23505 * benchtests/bench-stpcpy_chk.c: New file.
23506 * benchtests/bench-strcpy_chk-ifunc.c: New file.
23507 * benchtests/bench-strcpy_chk.c: New file.
23508 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23510 (do_test): Likewise.
23512 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
23514 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23515 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23516 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23517 with tabs where appropriate.
23518 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23520 [PPC_PLATFORM_PPC440]: Likewise.
23521 [PPC_PLATFORM_PPC464]: Likewise.
23522 [PPC_PLATFORM_PPC476]: Likewise.
23523 (_dl_string_platform): Add support for detecting ppc405, ppc440,
23524 ppc464, and ppc476 platform strings merging from ports/
23527 2013-06-11 Andreas Schwab <schwab@suse.de>
23530 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23531 (from_ucs4_idx): Regenerate.
23532 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23533 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23534 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23535 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23536 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23537 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23538 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23539 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23540 from FROM_LOOP and TO_LOOP specific macros.
23541 (BODY): Handle combining characters.
23542 * iconvdata/BIG5HKSCS.irreversible: Update.
23543 * iconvdata/BIG5HKSCS.precomposed: New file.
23544 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23546 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23548 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23550 * include/sys/time.h: Fix indentation and add copyright header.
23552 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23553 (do_test): Likewise.
23554 * string/test-memchr.c (do_one_test): Likewise.
23555 (do_test): Likewise.
23556 * string/test-memcmp.c (do_one_test): Likewise.
23557 (do_test): Likewise.
23558 * string/test-memcpy.c (do_one_test): Likewise.
23559 (do_test): Likewise.
23560 * string/test-memmem.c (do_one_test): Likewise.
23561 (do_test): Likewise.
23562 (do_random_tests): Likewise.
23563 * string/test-memmove.c (do_one_test): Likewise.
23564 (do_test): Likewise.
23565 * string/test-memset.c (do_one_test): Likewise.
23566 (do_test): Likewise.
23567 * string/test-rawmemchr.c (do_one_test): Likewise.
23568 (do_test): Likewise.
23569 * string/test-strcasecmp.c (do_one_test): Likewise.
23570 (do_test): Likewise.
23571 * string/test-strcasestr.c (do_one_test): Likewise.
23572 (do_test): Likewise.
23573 * string/test-strcat.c (do_one_test): Likewise.
23574 (do_test): Likewise.
23575 * string/test-strchr.c (do_one_test): Likewise.
23576 (do_test): Likewise.
23577 * string/test-strcmp.c (do_one_test): Likewise.
23578 (do_test): Likewise.
23579 * string/test-strcpy.c (do_one_test): Likewise.
23580 (do_test): Likewise.
23581 * string/test-string.h: Likewise.
23582 (test_init): Likewise.
23583 * string/test-strlen.c (do_one_test): Likewise.
23584 (do_test): Likewise.
23585 * string/test-strncasecmp.c (do_one_test): Likewise.
23586 (do_test): Likewise.
23587 * string/test-strncat.c (do_one_test): Likewise.
23588 (do_test): Likewise.
23589 * string/test-strncmp.c (do_one_test): Likewise.
23590 (do_test_limit): Likewise.
23591 (do_test): Likewise.
23592 * string/test-strncpy.c (do_one_test): Likewise.
23593 (do_test): Likewise.
23594 * string/test-strnlen.c (do_one_test): Likewise.
23595 (do_test): Likewise.
23596 * string/test-strpbrk.c (do_one_test): Likewise.
23597 (do_test): Likewise.
23598 * string/test-strrchr.c (do_one_test): Likewise.
23599 (do_test): Likewise.
23600 * string/test-strspn.c (do_one_test): Likewise.
23601 (do_test): Likewise.
23602 * string/test-strstr.c (do_one_test): Likewise.
23603 (do_test): Likewise.
23605 * benchtests/Makefile (string-bench): Add string benchmarks.
23606 * benchtests/bench-bcopy-ifunc.c: New file.
23607 * benchtests/bench-bcopy.c: New file.
23608 * benchtests/bench-bzero-ifunc.c: New file.
23609 * benchtests/bench-bzero.c: New file.
23610 * benchtests/bench-memccpy-ifunc.c: New file.
23611 * benchtests/bench-memccpy.c: New file.
23612 * benchtests/bench-memchr-ifunc.c: New file.
23613 * benchtests/bench-memchr.c: New file.
23614 * benchtests/bench-memcmp-ifunc.c: New file.
23615 * benchtests/bench-memcmp.c: New file.
23616 * benchtests/bench-memmem-ifunc.c: New file.
23617 * benchtests/bench-memmem.c: New file.
23618 * benchtests/bench-memmove-ifunc.c: New file.
23619 * benchtests/bench-memmove.c: New file.
23620 * benchtests/bench-mempcpy-ifunc.c: New file.
23621 * benchtests/bench-mempcpy.c: New file.
23622 * benchtests/bench-memset-ifunc.c: New file.
23623 * benchtests/bench-memset.c: New file.
23624 * benchtests/bench-rawmemchr-ifunc.c: New file.
23625 * benchtests/bench-rawmemchr.c: New file.
23626 * benchtests/bench-stpcpy-ifunc.c: New file.
23627 * benchtests/bench-stpcpy.c: New file.
23628 * benchtests/bench-stpncpy-ifunc.c: New file.
23629 * benchtests/bench-stpncpy.c: New file.
23630 * benchtests/bench-strcasecmp-ifunc.c: New file.
23631 * benchtests/bench-strcasecmp.c: New file.
23632 * benchtests/bench-strcasestr-ifunc.c: New file.
23633 * benchtests/bench-strcasestr.c: New file.
23634 * benchtests/bench-strcat-ifunc.c: New file.
23635 * benchtests/bench-strcat.c: New file.
23636 * benchtests/bench-strchr-ifunc.c: New file.
23637 * benchtests/bench-strchr.c: New file.
23638 * benchtests/bench-strchrnul-ifunc.c: New file.
23639 * benchtests/bench-strchrnul.c: New file.
23640 * benchtests/bench-strcmp-ifunc.c: New file.
23641 * benchtests/bench-strcmp.c: New file.
23642 * benchtests/bench-strcpy-ifunc.c: New file.
23643 * benchtests/bench-strcpy.c: New file.
23644 * benchtests/bench-strcspn-ifunc.c: New file.
23645 * benchtests/bench-strcspn.c: New file.
23646 * benchtests/bench-strlen-ifunc.c: New file.
23647 * benchtests/bench-strlen.c: New file.
23648 * benchtests/bench-strncasecmp-ifunc.c: New file.
23649 * benchtests/bench-strncasecmp.c: New file.
23650 * benchtests/bench-strncat-ifunc.c: New file.
23651 * benchtests/bench-strncat.c: New file.
23652 * benchtests/bench-strncmp-ifunc.c: New file.
23653 * benchtests/bench-strncmp.c: New file.
23654 * benchtests/bench-strncpy-ifunc.c: New file.
23655 * benchtests/bench-strncpy.c: New file.
23656 * benchtests/bench-strnlen-ifunc.c: New file.
23657 * benchtests/bench-strnlen.c: New file.
23658 * benchtests/bench-strpbrk-ifunc.c: New file.
23659 * benchtests/bench-strpbrk.c: New file.
23660 * benchtests/bench-strrchr-ifunc.c: New file.
23661 * benchtests/bench-strrchr.c: New file.
23662 * benchtests/bench-strspn-ifunc.c: New file.
23663 * benchtests/bench-strspn.c: New file.
23664 * benchtests/bench-strstr-ifunc.c: New file.
23665 * benchtests/bench-strstr.c: New file.
23667 * benchtests/Makefile: Disable parallel execution of targets.
23668 (string-bench): Add memcpy.
23669 (benchset): New variable to store a list of benchmark sets.
23670 (bench-func): Renamed from bench.
23671 (bench-set): New target.
23672 (bench): Depend on bench-func and bench-set.
23673 * benchtests/README: Add section on benchmark sets.
23674 * benchtests/bench-memcpy-ifunc.c: New file.
23675 * benchtests/bench-memcpy.c: New file.
23676 * benchtests/bench-string.h: New file.
23678 2013-06-11 Andreas Schwab <schwab@suse.de>
23681 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23682 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23683 values in the triple.
23684 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23685 terminator in the group key.
23687 2013-06-11 Andreas Jaeger <aj@suse.de>
23689 * po/zh_TW.po: Update Chinese (traditional) translation from
23690 translation project.
23692 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
23694 * include/time.h (__clock_gettime): Add libc_hidden_proto.
23695 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23696 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
23697 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23698 (clock_getcpuclockid): Likewise.
23699 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23700 Add weak_alias and libc_hidden_def.
23701 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23702 * rt/clock_gettime.c (clock_gettime): Rename to
23703 __clock_gettime. Add weak_alias and libc_hidden_def.
23704 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23705 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23706 __clock_nanosleep. Add weak_alias and libc_hidden_def.
23707 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23708 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23710 * rt/clock_settime.c (clock_settime): Rename to
23711 __clock_settime. Add weak_alias and libc_hidden_def.
23712 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23714 2013-06-10 Joseph Myers <joseph@codesourcery.com>
23716 * mach/err_boot.sub: Remove trailing whitespace.
23717 * mach/err_ipc.sub: Likewise.
23718 * mach/err_mach.sub: Likewise.
23720 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23721 (ROUNDING_TESTS_double): Likewise.
23722 (ROUNDING_TESTS_long_double): Likewise.
23723 (ROUNDING_TESTS): Likewise.
23724 * math/libm-test.inc: Include <math-tests.h>.
23725 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23726 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23727 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23728 (IF_ROUND_INIT_FE_UPWARD): Likewise.
23730 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
23732 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23735 2013-06-08 Joseph Myers <joseph@codesourcery.com>
23737 * sysdeps/gnu/errlist.awk: Do not generate space at end of
23738 otherwise empty TRANS lines.
23739 * sysdeps/gnu/errlist.c: Regenerated.
23741 * catgets/gencat.c (error_print): Use (void) in function
23743 * crypt/crypt_util.c (__init_des): Likewise.
23744 * crypt/speeds.c (Stop): Likewise.
23746 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23747 * inet/ruserpass.c (token): Likewise.
23748 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23749 * intl/localealias.c (extend_alias_table): Likewise.
23750 * intl/plural-exp.c (init_germanic_plural): Likewise.
23751 * libio/fcloseall.c (__fcloseall): Likewise.
23752 * libio/genops.c (_IO_flush_all): Likewise.
23753 (_IO_flush_all_linebuffered): Likewise.
23754 (_IO_cleanup): Likewise.
23755 (_IO_iter_begin): Likewise.
23756 (_IO_iter_end): Likewise.
23757 (_IO_list_lock): Likewise.
23758 (_IO_list_unlock): Likewise.
23759 (_IO_list_resetlock): Likewise.
23760 * libio/getchar.c (getchar): Likewise.
23761 * libio/getchar_u.c (getchar_unlocked): Likewise.
23762 * libio/getwchar.c (getwchar): Likewise.
23763 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23764 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23765 * login/getpt.c (__getpt): Likewise.
23766 * login/tst-utmp.c (main): Likewise.
23767 * malloc/hooks.c (__malloc_check_init): Likewise.
23768 * malloc/malloc.c (__malloc_stats): Likewise.
23769 * malloc/mtrace.c (tr_break): Likewise.
23770 (mtrace): Likewise.
23771 (muntrace): Likewise.
23772 * misc/fstab.c (endfsent): Likewise.
23773 * misc/getclktck.c (__getclktck): Likewise.
23774 * misc/getdtsz.c (__getdtablesize): Likewise.
23775 * misc/gethostid.c (gethostid): Likewise.
23776 * misc/getpagesize.c (__getpagesize): Likewise.
23777 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23778 (__get_nprocs): Likewise.
23779 (__get_phys_pages): Likewise.
23780 (__get_avphys_pages): Likewise.
23781 * misc/getttyent.c (getttyent): Likewise.
23782 (setttyent): Likewise.
23783 (endttyent): Likewise.
23784 * misc/getusershell.c (getusershell): Likewise.
23785 (endusershell): Likewise.
23786 (setusershell): Likewise.
23787 (initshells): Likewise.
23788 * misc/hsearch.c (__hdestroy): Likewise.
23789 * misc/sync.c (sync): Likewise.
23790 * misc/syslog.c (closelog_internal): Likewise.
23791 (closelog): Likewise.
23792 * misc/ttyslot.c (ttyslot): Likewise.
23793 * misc/vhangup.c (vhangup): Likewise.
23794 * posix/fork.c (__fork): Likewise.
23795 * posix/getegid.c (__getegid): Likewise.
23796 * posix/geteuid.c (__geteuid): Likewise.
23797 * posix/getgid.c (__getgid): Likewise.
23798 * posix/getpid.c (__getpid): Likewise.
23799 * posix/getppid.c (__getppid): Likewise.
23800 * posix/getuid.c (__getuid): Likewise.
23801 * posix/pause.c (pause): Likewise.
23802 * posix/setpgrp.c (setpgrp): Likewise.
23803 * posix/setsid.c (__setsid): Likewise.
23804 * posix/test-vfork.c (noop): Likewise.
23805 * resolv/gethnamaddr.c (_endhtent): Likewise.
23806 (_gethtent): Likewise.
23807 (ht_endhostent): Likewise.
23808 (gethostent): Likewise.
23809 (dns_service): Likewise.
23810 * stdlib/drand48.c (drand48): Likewise.
23811 * stdlib/lrand48.c (lrand48): Likewise.
23812 * stdlib/mrand48.c (mrand48): Likewise.
23813 * stdlib/rand.c (rand): Likewise.
23814 * stdlib/random.c (__random): Likewise.
23815 * stdlib/setenv.c (clearenv): Likewise.
23816 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23817 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23818 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23819 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23820 (__get_nprocs): Likewise.
23821 (__get_phys_pages): Likewise.
23822 (__get_avphys_pages): Likewise.
23823 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23824 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23825 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23826 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23827 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23828 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23829 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23830 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23831 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23832 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23833 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23834 * sysdeps/mach/hurd/sync.c (sync): Likewise.
23835 * sysdeps/posix/clock.c (clock): Likewise.
23836 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23837 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23838 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23839 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23840 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23841 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23842 (__get_nprocs_conf): Likewise.
23843 (__get_phys_pages): Likewise.
23844 (__get_avphys_pages): Likewise.
23845 * time/clock.c (clock): Likewise.
23846 * time/tzset.c (__tzname_max): Likewise.
23848 2013-06-07 Joseph Myers <joseph@codesourcery.com>
23850 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23851 (__bswap_32): Do not use "register".
23852 * crypt/crypt.c (_ufc_doit_r): Likewise.
23853 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23854 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23855 * gmon/gmon.c (__monstartup): Likewise.
23856 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23857 * hurd/hurdmalloc.c (more_memory): Likewise.
23858 (malloc): Likewise.
23860 (realloc): Likewise.
23861 (malloc_fork_prepare): Likewise.
23862 (malloc_fork_parent): Likewise.
23863 (malloc_fork_child): Likewise.
23864 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23865 (_svcauth_des): Likewise.
23866 * inet/inet_lnaof.c (inet_lnaof): Likewise.
23867 * inet/inet_net.c (inet_network): Likewise.
23868 * inet/inet_netof.c (inet_netof): Likewise.
23869 * inet/rcmd.c (__validuser2_sa): Likewise.
23870 * io/fts.c (fts_open): Likewise.
23871 (fts_load): Likewise.
23872 (fts_close): Likewise.
23873 (fts_read): Likewise.
23874 (fts_children): Likewise.
23875 (fts_build): Likewise.
23876 (fts_stat): Likewise.
23877 (fts_sort): Likewise.
23878 (fts_alloc): Likewise.
23879 (fts_lfree): Likewise.
23880 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23881 (_IO_file_xsgetn): Likewise.
23882 (_IO_file_xsgetn_mmap): Likewise.
23883 * libio/iofopncook.c (_IO_cookie_read): Likewise.
23884 (_IO_cookie_write): Likewise.
23885 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23886 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23887 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23888 * malloc/obstack.c (_obstack_begin): Likewise.
23889 (_obstack_begin_1): Likewise.
23890 (_obstack_newchunk): Likewise.
23891 (_obstack_allocated_p): Likewise.
23892 (obstack_free): Likewise.
23893 (_obstack_memory_used): Likewise.
23894 * misc/getttyent.c (getttynam): Likewise.
23895 (getttyent): Likewise.
23898 * misc/getusershell.c (initshells): Likewise.
23899 * misc/syslog.c (__vsyslog_chk): Likewise.
23900 * misc/ttyslot.c (ttyslot): Likewise.
23901 * nis/nis_hash.c (__nis_hash): Likewise.
23902 * posix/fnmatch_loop.c (FCT): Likewise.
23903 * posix/getconf.c (print_all): Likewise.
23905 * posix/getopt.c (exchange): Likewise.
23906 * posix/glob.c (globfree): Likewise.
23907 (prefix_array): Likewise.
23908 (__glob_pattern_type): Likewise.
23909 * resolv/arpa/nameser.h (NS_GET16): Likewise.
23910 (NS_GET32): Likewise.
23911 (NS_PUT16): Likewise.
23912 (NS_PUT32): Likewise.
23913 * resolv/gethnamaddr.c (getanswer): Likewise.
23914 (gethostbyname2): Likewise.
23915 (gethostbyaddr): Likewise.
23916 (_gethtent): Likewise.
23917 (_gethtbyname2): Likewise.
23918 (_gethtbyaddr): Likewise.
23919 * resolv/ns_print.c (dst_s_get_int16): Likewise.
23920 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23921 * resolv/res_init.c (__res_vinit): Likewise.
23922 (net_mask): Likewise.
23923 * resolv/res_mkquery.c (outchar): Likewise.
23925 * stdio-common/printf_fp.c (outchar): Likewise.
23927 * stdio-common/printf_fphex.c (outchar): Likewise.
23929 * stdio-common/printf_size.c (outchar): Likewise.
23931 * stdio-common/test_rdwr.c (main): Likewise.
23932 * stdio-common/tfformat.c (matches): Likewise.
23933 * stdio-common/vfprintf.c (outchar): Likewise.
23934 (printf_unknown): Likewise.
23935 (buffered_vfprintf): Likewise.
23936 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23937 * stdio-common/xbug.c (AppendToBuffer): Likewise.
23938 (ReadFile): Likewise.
23939 * stdlib/qsort.c (SWAP): Likewise.
23940 (_quicksort): Likewise.
23941 * stdlib/setenv.c (__add_to_environ): Likewise.
23942 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23943 * stdlib/strtol_l.c (__strtol_l): Likewise.
23944 * stdlib/tst-strtod.c (main): Likewise.
23945 * stdlib/tst-strtol.c (main): Likewise.
23946 * stdlib/tst-strtoll.c (main): Likewise.
23947 * string/bits/string2.h (__strcmp_cc): Likewise.
23948 (__strcmp_cg): Likewise.
23949 (__strcspn_c1): Likewise.
23950 (__strcspn_c2): Likewise.
23951 (__strcspn_c3): Likewise.
23952 (__strspn_c1): Likewise.
23953 (__strspn_c2): Likewise.
23954 (__strspn_c3): Likewise.
23955 (__strsep_1c): Likewise.
23956 (__strsep_2c): Likewise.
23957 (__strsep_3c): Likewise.
23958 * string/memccpy.c (__memccpy): Likewise.
23959 * string/stpcpy.c (__stpcpy): Likewise.
23960 * string/strcmp.c (strcmp): Likewise.
23961 * string/strrchr.c (strrchr): Likewise.
23962 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23964 * sysdeps/mach/hurd/getcwd.c
23965 (_hurd_canonicalize_directory_name_internal): Likewise.
23966 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23967 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23968 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23969 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23970 Likewise, in both definitions.
23971 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23973 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23974 64] (__bswap_64): Likewise.
23975 * time/test_time.c (main): Likewise.
23976 * time/tzfile.c (__tzfile_read): Likewise.
23977 (__tzfile_compute): Likewise.
23978 * time/tzset.c (__tzset_parse_tz): Likewise.
23979 (tzset_internal): Likewise.
23980 (compute_change): Likewise.
23981 * wcsmbs/wcscat.c (__wcscat): Likewise.
23982 * wcsmbs/wcschr.c (wcschr): Likewise.
23983 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23984 * wcsmbs/wcscspn.c (wcscspn): Likewise.
23985 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23986 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23987 * wcsmbs/wcsspn.c (wcsspn): Likewise.
23988 * wcsmbs/wcsstr.c (wcsstr): Likewise.
23989 * wcsmbs/wmemchr.c (wmemchr): Likewise.
23990 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23991 * wcsmbs/wmemset.c (wmemset): Likewise.
23993 2013-06-06 Joseph Myers <joseph@codesourcery.com>
23995 * scripts/config.guess: Update to version 2013-05-16.
23996 * scripts/config.sub: Update to version 2013-04-24.
23997 * scripts/install-sh: Update to version 2011-11-20.07.
23998 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23999 * scripts/move-if-change: Update to version 2012-01-06 07:23.
24001 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
24003 * debug/fgetws_u_chk.c: Fix leading whitespaces.
24004 * elf/sln.c: Likewise.
24005 * hurd/hurd/ioctl.h: Likewise.
24006 * hurd/hurdmalloc.c: Likewise.
24007 * hurd/xattr.c: Likewise.
24008 * include/shlib-compat.h: Likewise.
24009 * inet/ruserpass.c: Likewise.
24010 * libio/iofgets_u.c: Likewise.
24011 * libio/iofgetws_u.c: Likewise.
24012 * locale/programs/ld-identification.c: Likewise.
24013 * locale/programs/ld-time.c: Likewise.
24014 * mach/msg-destroy.c: Likewise.
24015 * nss/nss_files/files-netgrp.c: Likewise.
24016 * resolv/res_data.c: Likewise.
24017 * soft-fp/op-1.h: Likewise.
24018 * soft-fp/op-2.h: Likewise.
24019 * soft-fp/op-4.h: Likewise.
24020 * soft-fp/op-common.h: Likewise.
24021 * stdio-common/printf_fphex.c: Likewise.
24022 * stdlib/strtod_l.c: Likewise.
24023 * sunrpc/rpc/clnt.h: Likewise.
24024 * sysdeps/generic/framestate.c: Likewise.
24025 * sysdeps/i386/bsd-_setjmp.S: Likewise.
24026 * sysdeps/i386/bsd-setjmp.S: Likewise.
24027 * sysdeps/i386/__longjmp.S: Likewise.
24028 * sysdeps/i386/setjmp.S: Likewise.
24029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24030 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24031 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24032 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24033 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24034 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
24035 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24036 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24037 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24038 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
24039 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
24040 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
24041 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
24042 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
24043 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
24044 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24045 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
24046 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
24047 * sysdeps/ieee754/support.c: Likewise.
24048 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
24049 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
24050 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
24051 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
24052 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
24053 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
24054 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
24055 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
24056 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
24057 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
24058 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
24059 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
24060 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
24061 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
24062 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
24063 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
24064 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
24065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
24067 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
24069 * posix/transbug.c: Remove executable mode.
24071 2013-06-05 Joseph Myers <joseph@codesourcery.com>
24073 * crypt/speeds.c: Remove trailing whitespace.
24074 * dlfcn/default.c: Likewise.
24075 * elf/ifuncdep2.c: Likewise.
24076 * elf/ifuncmain1.c: Likewise.
24077 * elf/ifuncmain1vis.c: Likewise.
24078 * elf/testobj.h: Likewise.
24079 * elf/tst-stackguard1.c: Likewise.
24080 * gmon/sys/gmon.h: Likewise.
24081 * hurd/hurdmsg.c: Likewise.
24082 * hurd/new-fd.c: Likewise.
24083 * hurd/ports-get.c: Likewise.
24084 * iconvdata/ibm1008_420.c: Likewise.
24085 * inet/tst-getni1.c: Likewise.
24086 * inet/tst-getni2.c: Likewise.
24087 * libio/ioungetc.c: Likewise.
24088 * libio/wfiledoalloc.c: Likewise.
24089 * manual/libm-err-tab.pl: Likewise.
24090 * math/w_dremf.c: Likewise.
24091 * misc/ftruncate.c: Likewise.
24092 * posix/bug-glob2.c: Likewise.
24093 * posix/tst-pcre.c: Likewise.
24094 * posix/wait4.c: Likewise.
24095 * resolv/README: Likewise.
24096 * resolv/res_debug.h: Likewise.
24097 * resolv/tst-inet_ntop.c: Likewise.
24098 * setjmp/bug269-setjmp.c: Likewise.
24099 * soft-fp/extended.h: Likewise.
24100 * soft-fp/op-1.h: Likewise.
24101 * soft-fp/op-2.h: Likewise.
24102 * soft-fp/op-4.h: Likewise.
24103 * soft-fp/op-8.h: Likewise.
24104 * soft-fp/testit.c: Likewise.
24105 * stdio-common/bug16.c: Likewise.
24106 * stdlib/random.c: Likewise.
24107 * sunrpc/rpcsvc/rquota.x: Likewise.
24108 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
24109 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24110 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24111 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24112 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24113 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24114 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24115 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24116 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24117 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24118 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24119 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
24120 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24121 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
24122 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24123 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
24124 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
24125 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24126 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
24127 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24128 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24129 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24130 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
24131 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
24132 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
24133 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
24134 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
24135 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24136 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24137 * sysdeps/ieee754/s_lib_version.c: Likewise.
24138 * sysdeps/mach/hurd/check_fds.c: Likewise.
24139 * sysdeps/mach/hurd/getsockname.c: Likewise.
24140 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
24141 * sysdeps/mach/hurd/recvfrom.c: Likewise.
24142 * sysdeps/powerpc/bits/link.h: Likewise.
24143 * sysdeps/powerpc/dl-procinfo.c: Likewise.
24144 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
24145 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
24146 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
24147 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
24148 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
24149 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
24150 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
24151 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
24152 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
24153 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
24154 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
24155 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
24156 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
24157 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
24158 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
24159 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24160 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24161 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24162 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24163 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24164 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24165 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24166 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24167 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24168 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24169 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24170 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24171 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24172 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24173 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24174 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24175 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24176 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24177 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24178 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24179 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24180 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24181 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24182 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24183 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24184 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24185 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24186 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24187 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24188 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24189 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24190 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24191 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24192 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24195 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24196 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24197 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24198 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24199 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24200 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24201 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24202 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24203 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24204 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24205 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24206 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24207 * sysdeps/powerpc/sysdep.h: Likewise.
24208 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24209 * sysdeps/s390/s390-64/sub_n.S: Likewise.
24210 * sysdeps/sh/dl-trampoline.S: Likewise.
24211 * sysdeps/sh/memset.S: Likewise.
24212 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24213 * sysdeps/sh/strlen.S: Likewise.
24214 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24215 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24216 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24217 * sysdeps/sparc/sparc32/rem.S: Likewise.
24218 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24219 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24220 * sysdeps/sparc/sparc32/strchr.S: Likewise.
24221 * sysdeps/sparc/sparc32/udiv.S: Likewise.
24222 * sysdeps/sparc/sparc32/urem.S: Likewise.
24223 * sysdeps/sparc/sparc64/add_n.S: Likewise.
24224 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24225 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24226 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24227 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24228 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24229 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24230 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24231 * sysdeps/unix/bsd/times.c: Likewise.
24232 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24233 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24237 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24238 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24239 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24240 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24241 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24242 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24243 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24244 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24245 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24246 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24247 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24248 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24249 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24250 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24251 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24252 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24253 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24254 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24255 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24256 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24257 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24258 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24259 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24260 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24261 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24262 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24263 * sysdeps/x86_64/strcspn.S: Likewise.
24265 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24267 * locale/C-translit.h: Revert #include <stdint.h> because this is a
24268 generated file. Regenerate properly from gen-translit.pl.
24269 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
24270 locale/C-translit.h.
24272 2013-06-05 Andreas Schwab <schwab@suse.de>
24275 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24276 week as 6 instead of -1.
24277 * time/tst-strptime.c (day_tests): Add test case.
24279 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24281 * sysdeps/generic/math_private.h
24282 (libc_feholdexcept_setround_53bit): Replace with
24283 libc_feholdsetround_53bit.
24284 (libc_feupdateenv_53bit): Replace with
24285 libc_feresetround_53bit.
24286 (SET_RESTORE_ROUND_53BIT): Adjust.
24288 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
24290 * string/test-strchrnul.c: Add copyright header.
24292 * posix/tst-getaddrinfo4.c: Increase test timeout.
24294 2013-06-03 Carlos O'Donell <carlos@redhat.com>
24297 * math/libm-test.inc (MAX_EXP): Remove
24299 (ulp): Use MIN_EXP - MANT_DIG.
24300 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24302 2013-05-31 Carlos O'Donell <carlos@redhat.com>
24304 * po/be.po: Revert last change.
24305 * po/zh_CN.po: Likewise.
24306 * po/header.pot: Likewise.
24308 2013-05-31 Joseph Myers <joseph@codesourcery.com>
24310 * Makefile ($(common-objpfx)linkobj/libc.so): Define
24311 link-libc-deps to empty as target-specific variable.
24312 * Makerules (link-libc-args): New variable.
24313 (libc-for-link): Likewise.
24314 (link-libc-deps): Likewise.
24315 (lib%.so): Depend on $(link-libc-deps). Link with
24317 (build-module): Link with $(link-libc-args).
24318 (build-module-asneeded): Likewise.
24319 (build-module-helper-objlist): Filter out $(link-libc-deps) from
24321 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24322 target-specific variable.
24323 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24324 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24325 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24327 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24329 ($(objpfx)libpcprofile.so): Likewise.
24330 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24332 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24333 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24334 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24336 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24337 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24338 * login/Makefile ($(objpfx)libutil.so): Likewise.
24339 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24340 * math/Makefile ($(objpfx)libm.so): Likewise.
24341 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24342 $(objpfx)libnsl.so): Define libc-for-link as target-specific
24343 variable instead of depending directly on libc.
24344 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24345 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24347 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24349 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24350 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24351 ($(objpfx)libanl.so): Likewise.
24352 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24354 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24356 * sysdeps/i386/fpu/Makefile: Remove file.
24357 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24358 ($(objpfx)libm.so): Remove dependency on ld.so.
24360 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
24363 * nis/yp_xdr.c (XDRMAXNAME): Define.
24364 (XDRMAXRECORD): Define.
24365 (xdr_domainname): Use XDRMAXNAME.
24366 (xdr_mapname): Likewise.
24367 (xdr_peername): Likewise.
24368 (xdr_keydat): Use XDRMAXRECORD.
24369 (xdr_valdat): Likewise.
24371 2013-05-30 Jeff Law <law@redhat.com>
24374 * manual/errno.texi (ESTALE): Update to account for more than
24375 just NFS file systems.
24376 * sysdeps/gnu/errlist.c: Regenerated.
24378 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24381 * elf/Makefile (tests): Add tst-null-argv.
24382 (modules-names): Add tst-null-argv-lib.
24383 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24384 (tst-null-argv-ENV): Set environment for tst-null-argv.
24385 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24386 (RTLD_PROGNAME): New macro.
24387 * elf/tst-null-argv.c: New test case.
24388 * elf/tst-null-argv-lib.c: Library for test case.
24389 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24390 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24391 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24392 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24393 * elf/dl-init.c (call_init): Likewise.
24394 (_dl_init): Likewise.
24395 * elf/dl-load.c (print_search_path): Likewise.
24396 (_dl_map_object): Likewise.
24397 * elf/dl-lookup.c (do_lookup_x): Likewise.
24398 (add_dependency): Likewise.
24399 (_dl_lookup_symbol_x): Likewise.
24400 (_dl_debug_bindings): Likewise.
24401 * elf/dl-open.c (_dl_show_scope): Likewise.
24402 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24403 * elf/dl-version.c (match_symbol): Likewise.
24404 (_dl_check_map_versions): Likewise.
24405 * elf/rtld.c (dl_main): Likewise.
24406 (print_unresolved): Use RTLD_PROGNAME.
24407 (print_missing_version): Likewise.
24408 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24409 (elf_machine_rela): Likewise.
24410 * sysdeps/powerpc/powerpc32/dl-machine.c
24411 (__process_machine_rela): Likewise.
24412 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24414 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24416 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24418 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24419 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24421 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24423 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24425 2013-05-28 Carlos O'Donell <carlos@redhat.com>
24427 * po/be.po: Add descriptive title.
24428 * po/zh_CN.po: Likewise.
24429 * po/header.pot: Likewise.
24431 2013-05-28 Mike Frysinger <vapier@gentoo.org>
24433 * locale/programs/locarchive.c (create_archive): Inlucde fname in
24435 (enlarge_archive): Likewise.
24437 2013-05-28 Ben North <ben@redfrontdoor.org>
24439 * manual/arith.texi (frexp): It is the magnitude of the return
24440 value which lies in [0.5, 1), not the return value itself.
24442 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24446 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
24448 * stdio-common/bug26.c (main): Correct fscanf template.
24450 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24451 declare _dl_skip_args.
24453 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24456 * manual/platform.texi: Add missing @end deftypefun.
24458 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24461 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24462 bit of mantissa of 2^16382.
24463 * math/libm-test.inc (hypot_test_data): Add more tests.
24465 * math/libm-test.inc: Add drem and pow10 to list of tested
24467 (pow10_test): New function.
24468 (drem_test): Likewise.
24469 (drem_test_tonearest): Likewise.
24470 (drem_test_towardzero): Likewise.
24471 (drem_test_downward): Likewise.
24472 (drem_test_upward): Likewise.
24473 (main): Call the new functions.
24475 * math/libm-test.inc (finite_test_data): Remove.
24476 (finite_test): Run tests from isfinite_test_data.
24477 (gamma_test_data): Remove.
24478 (gamma_test): Run tests from lgamma_test_data.
24479 * sysdeps/i386/fpu/libm-test-ulps: Update.
24480 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24482 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24484 * manual/platform.texi: Add PowerPC PPR function set documentation.
24485 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24488 2013-05-24 Carlos O'Donell <carlos@redhat.com>
24490 * math/libm-test.inc (MAX_EXP): Define.
24492 (ulp): New function.
24493 (check_float_internal): Use ULPDIFF.
24494 (cpow_test): Disable failing test.
24495 (check_ulp): Test ulp() implemetnation.
24496 (main): Call check_ulp before starting tests.
24498 2013-05-24 Joseph Myers <joseph@codesourcery.com>
24500 * math/gen-libm-test.pl (generate_testfile): Do not handle
24501 START_DATA and END_DATA.
24502 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24504 (acos_tonearest_test_data): Likewise.
24505 (acos_towardzero_test_data): Likewise.
24506 (acos_downward_test_data): Likewise.
24507 (acos_upward_test_data): Likewise.
24508 (acosh_test_data): Likewise.
24509 (asin_test_data): Likewise.
24510 (asin_tonearest_test_data): Likewise.
24511 (asin_towardzero_test_data): Likewise.
24512 (asin_downward_test_data): Likewise.
24513 (asin_upward_test_data): Likewise.
24514 (asinh_test_data): Likewise.
24515 (atan_test_data): Likewise.
24516 (atanh_test_data): Likewise.
24517 (atan2_test_data): Likewise.
24518 (cabs_test_data): Likewise.
24519 (cacos_test_data): Likewise.
24520 (cacosh_test_data): Likewise.
24521 (carg_test_data): Likewise.
24522 (casin_test_data): Likewise.
24523 (casinh_test_data): Likewise.
24524 (catan_test_data): Likewise.
24525 (catanh_test_data): Likewise.
24526 (cbrt_test_data): Likewise.
24527 (ccos_test_data): Likewise.
24528 (ccosh_test_data): Likewise.
24529 (ceil_test_data): Likewise.
24530 (cexp_test_data): Likewise.
24531 (cimag_test_data): Likewise.
24532 (clog_test_data): Likewise.
24533 (clog10_test_data): Likewise.
24534 (conj_test_data): Likewise.
24535 (copysign_test_data): Likewise.
24536 (cos_test_data): Likewise.
24537 (cos_tonearest_test_data): Likewise.
24538 (cos_towardzero_test_data): Likewise.
24539 (cos_downward_test_data): Likewise.
24540 (cos_upward_test_data): Likewise.
24541 (cosh_test_data): Likewise.
24542 (cosh_tonearest_test_data): Likewise.
24543 (cosh_towardzero_test_data): Likewise.
24544 (cosh_downward_test_data): Likewise.
24545 (cosh_upward_test_data): Likewise.
24546 (cpow_test_data): Likewise.
24547 (cproj_test_data): Likewise.
24548 (creal_test_data): Likewise.
24549 (csin_test_data): Likewise.
24550 (csinh_test_data): Likewise.
24551 (csqrt_test_data): Likewise.
24552 (ctan_test_data): Likewise.
24553 (ctan_tonearest_test_data): Likewise.
24554 (ctan_towardzero_test_data): Likewise.
24555 (ctan_downward_test_data): Likewise.
24556 (ctan_upward_test_data): Likewise.
24557 (ctanh_test_data): Likewise.
24558 (ctanh_tonearest_test_data): Likewise.
24559 (ctanh_towardzero_test_data): Likewise.
24560 (ctanh_downward_test_data): Likewise.
24561 (ctanh_upward_test_data): Likewise.
24562 (erf_test_data): Likewise.
24563 (erfc_test_data): Likewise.
24564 (exp_test_data): Likewise.
24565 (exp_tonearest_test_data): Likewise.
24566 (exp_towardzero_test_data): Likewise.
24567 (exp_downward_test_data): Likewise.
24568 (exp_upward_test_data): Likewise.
24569 (exp10_test_data): Likewise.
24570 (exp2_test_data): Likewise.
24571 (expm1_test_data): Likewise.
24572 (fabs_test_data): Likewise.
24573 (fdim_test_data): Likewise.
24574 (finite_test_data): Likewise.
24575 (floor_test_data): Likewise.
24576 (fma_test_data): Likewise.
24577 (fma_towardzero_test_data): Likewise.
24578 (fma_downward_test_data): Likewise.
24579 (fma_upward_test_data): Likewise.
24580 (fmax_test_data): Likewise.
24581 (fmin_test_data): Likewise.
24582 (fmod_test_data): Likewise.
24583 (fpclassify_test_data): Likewise.
24584 (frexp_test_data): Likewise.
24585 (gamma_test_data): Likewise.
24586 (hypot_test_data): Likewise.
24587 (ilogb_test_data): Likewise.
24588 (isfinite_test_data): Likewise.
24589 (isgreater_test_data): Likewise.
24590 (isgreaterequal_test_data): Likewise.
24591 (isinf_test_data): Likewise.
24592 (isless_test_data): Likewise.
24593 (islessequal_test_data): Likewise.
24594 (islessgreater_test_data): Likewise.
24595 (isnan_test_data): Likewise.
24596 (isnormal_test_data): Likewise.
24597 (issignaling_test_data): Likewise.
24598 (isunordered_test_data): Likewise.
24599 (j0_test_data): Likewise.
24600 (j1_test_data): Likewise.
24601 (jn_test_data): Likewise.
24602 (ldexp_test_data): Likewise.
24603 (lgamma_test_data): Likewise.
24604 (lrint_test_data): Likewise.
24605 (lrint_tonearest_test_data): Likewise.
24606 (lrint_towardzero_test_data): Likewise.
24607 (lrint_downward_test_data): Likewise.
24608 (lrint_upward_test_data): Likewise.
24609 (llrint_test_data): Likewise.
24610 (llrint_tonearest_test_data): Likewise.
24611 (llrint_towardzero_test_data): Likewise.
24612 (llrint_downward_test_data): Likewise.
24613 (llrint_upward_test_data): Likewise.
24614 (log_test_data): Likewise.
24615 (log10_test_data): Likewise.
24616 (log1p_test_data): Likewise.
24617 (log2_test_data): Likewise.
24618 (logb_test_data): Likewise.
24619 (logb_downward_test_data): Likewise.
24620 (lround_test_data): Likewise.
24621 (llround_test_data): Likewise.
24622 (modf_test_data): Likewise.
24623 (nearbyint_test_data): Likewise.
24624 (nextafter_test_data): Likewise.
24625 (nexttoward_test_data): Likewise.
24626 (pow_test_data): Likewise.
24627 (pow_tonearest_test_data): Likewise.
24628 (pow_towardzero_test_data): Likewise.
24629 (pow_downward_test_data): Likewise.
24630 (pow_upward_test_data): Likewise.
24631 (remainder_test_data): Likewise.
24632 (remainder_tonearest_test_data): Likewise.
24633 (remainder_towardzero_test_data): Likewise.
24634 (remainder_downward_test_data): Likewise.
24635 (remainder_upward_test_data): Likewise.
24636 (remquo_test_data): Likewise.
24637 (rint_test_data): Likewise.
24638 (rint_tonearest_test_data): Likewise.
24639 (rint_towardzero_test_data): Likewise.
24640 (rint_downward_test_data): Likewise.
24641 (rint_upward_test_data): Likewise.
24642 (round_test_data): Likewise.
24643 (scalb_test_data): Likewise.
24644 (scalbn_test_data): Likewise.
24645 (scalbln_test_data): Likewise.
24646 (signbit_test_data): Likewise.
24647 (sin_test_data): Likewise.
24648 (sin_tonearest_test_data): Likewise.
24649 (sin_towardzero_test_data): Likewise.
24650 (sin_downward_test_data): Likewise.
24651 (sin_upward_test_data): Likewise.
24652 (sincos_test_data): Likewise.
24653 (sinh_test_data): Likewise.
24654 (sinh_tonearest_test_data): Likewise.
24655 (sinh_towardzero_test_data): Likewise.
24656 (sinh_downward_test_data): Likewise.
24657 (sinh_upward_test_data): Likewise.
24658 (sqrt_test_data): Likewise.
24659 (tan_test_data): Likewise.
24660 (tan_tonearest_test_data): Likewise.
24661 (tan_towardzero_test_data): Likewise.
24662 (tan_downward_test_data): Likewise.
24663 (tan_upward_test_data): Likewise.
24664 (tanh_test_data): Likewise.
24665 (tgamma_test_data): Likewise.
24666 (trunc_test_data): Likewise.
24667 (y0_test_data): Likewise.
24668 (y1_test_data): Likewise.
24669 (yn_test_data): Likewise.
24670 (significand_test_data): Likewise.
24672 * math/gen-libm-test.pl (@functions): Remove variable.
24673 (generate_testfile): Don't handle START and END lines.
24674 * math/libm-test.inc (START): New macro.
24676 (END_COMPLEX): Likewise.
24677 (acos_test): Use END macro without arguments.
24678 (acos_test_tonearest): Likewise.
24679 (acos_test_towardzero): Likewise.
24680 (acos_test_downward): Likewise.
24681 (acos_test_upward): Likewise.
24682 (acosh_test): Likewise.
24683 (asin_test): Likewise.
24684 (asin_test_tonearest): Likewise.
24685 (asin_test_towardzero): Likewise.
24686 (asin_test_downward): Likewise.
24687 (asin_test_upward): Likewise.
24688 (asinh_test): Likewise.
24689 (atan_test): Likewise.
24690 (atanh_test): Likewise.
24691 (atan2_test): Likewise.
24692 (cabs_test): Likewise.
24693 (cacos_test): Use END_COMPLEX macro without arguments.
24694 (cacosh_test): Likewise.
24695 (carg_test): Use END macro without arguments.
24696 (casin_test): Use END_COMPLEX macro without arguments.
24697 (casinh_test): Likewise.
24698 (catan_test): Likewise.
24699 (catanh_test): Likewise.
24700 (cbrt_test): Use END macro without arguments.
24701 (ccos_test): Use END_COMPLEX macro without arguments.
24702 (ccosh_test): Likewise.
24703 (ceil_test): Use END macro without arguments.
24704 (cexp_test): Use END_COMPLEX macro without arguments.
24705 (cimag_test): Use END macro without arguments.
24706 (clog_test): Use END_COMPLEX macro without arguments.
24707 (clog10_test): Likewise.
24708 (conj_test): Likewise.
24709 (copysign_test): Use END macro without arguments.
24710 (cos_test): Likewise.
24711 (cos_test_tonearest): Likewise.
24712 (cos_test_towardzero): Likewise.
24713 (cos_test_downward): Likewise.
24714 (cos_test_upward): Likewise.
24715 (cosh_test): Likewise.
24716 (cosh_test_tonearest): Likewise.
24717 (cosh_test_towardzero): Likewise.
24718 (cosh_test_downward): Likewise.
24719 (cosh_test_upward): Likewise.
24720 (cpow_test): Use END_COMPLEX macro without arguments.
24721 (cproj_test): Likewise.
24722 (creal_test): Use END macro without arguments.
24723 (csin_test): Use END_COMPLEX macro without arguments.
24724 (csinh_test): Likewise.
24725 (csqrt_test): Likewise.
24726 (ctan_test): Likewise.
24727 (ctan_test_tonearest): Likewise.
24728 (ctan_test_towardzero): Likewise.
24729 (ctan_test_downward): Likewise.
24730 (ctan_test_upward): Likewise.
24731 (ctanh_test): Likewise.
24732 (ctanh_test_tonearest): Likewise.
24733 (ctanh_test_towardzero): Likewise.
24734 (ctanh_test_downward): Likewise.
24735 (ctanh_test_upward): Likewise.
24736 (erf_test): Use END macro without arguments.
24737 (erfc_test): Likewise.
24738 (exp_test): Likewise.
24739 (exp_test_tonearest): Likewise.
24740 (exp_test_towardzero): Likewise.
24741 (exp_test_downward): Likewise.
24742 (exp_test_upward): Likewise.
24743 (exp10_test): Likewise.
24744 (exp2_test): Likewise.
24745 (expm1_test): Likewise.
24746 (fabs_test): Likewise.
24747 (fdim_test): Likewise.
24748 (finite_test): Likewise.
24749 (floor_test): Likewise.
24750 (fma_test): Likewise.
24751 (fma_test_towardzero): Likewise.
24752 (fma_test_downward): Likewise.
24753 (fma_test_upward): Likewise.
24754 (fmax_test): Likewise.
24755 (fmin_test): Likewise.
24756 (fmod_test): Likewise.
24757 (fpclassify_test): Likewise.
24758 (frexp_test): Likewise.
24759 (gamma_test): Likewise.
24760 (hypot_test): Likewise.
24761 (ilogb_test): Likewise.
24762 (isfinite_test): Likewise.
24763 (isgreater_test): Likewise.
24764 (isgreaterequal_test): Likewise.
24765 (isinf_test): Likewise.
24766 (isless_test): Likewise.
24767 (islessequal_test): Likewise.
24768 (islessgreater_test): Likewise.
24769 (isnan_test): Likewise.
24770 (isnormal_test): Likewise.
24771 (issignaling_test): Likewise.
24772 (isunordered_test): Likewise.
24773 (j0_test): Likewise.
24774 (j1_test): Likewise.
24775 (jn_test): Likewise.
24776 (ldexp_test): Likewise.
24777 (lgamma_test): Likewise.
24778 (lrint_test): Likewise.
24779 (lrint_test_tonearest): Likewise.
24780 (lrint_test_towardzero): Likewise.
24781 (lrint_test_downward): Likewise.
24782 (lrint_test_upward): Likewise.
24783 (llrint_test): Likewise.
24784 (llrint_test_tonearest): Likewise.
24785 (llrint_test_towardzero): Likewise.
24786 (llrint_test_downward): Likewise.
24787 (llrint_test_upward): Likewise.
24788 (log_test): Likewise.
24789 (log10_test): Likewise.
24790 (log1p_test): Likewise.
24791 (log2_test): Likewise.
24792 (logb_test): Likewise.
24793 (logb_test_downward): Likewise.
24794 (lround_test): Likewise.
24795 (llround_test): Likewise.
24796 (modf_test): Likewise.
24797 (nearbyint_test): Likewise.
24798 (nextafter_test): Likewise.
24799 (nexttoward_test): Likewise.
24800 (pow_test): Likewise.
24801 (pow_test_tonearest): Likewise.
24802 (pow_test_towardzero): Likewise.
24803 (pow_test_downward): Likewise.
24804 (pow_test_upward): Likewise.
24805 (remainder_test): Likewise.
24806 (remainder_test_tonearest): Likewise.
24807 (remainder_test_towardzero): Likewise.
24808 (remainder_test_downward): Likewise.
24809 (remainder_test_upward): Likewise.
24810 (remquo_test): Likewise.
24811 (rint_test): Likewise.
24812 (rint_test_tonearest): Likewise.
24813 (rint_test_towardzero): Likewise.
24814 (rint_test_downward): Likewise.
24815 (rint_test_upward): Likewise.
24816 (round_test): Likewise.
24817 (scalb_test): Likewise.
24818 (scalbn_test): Likewise.
24819 (scalbln_test): Likewise.
24820 (signbit_test): Likewise.
24821 (sin_test): Likewise.
24822 (sin_test_tonearest): Likewise.
24823 (sin_test_towardzero): Likewise.
24824 (sin_test_downward): Likewise.
24825 (sin_test_upward): Likewise.
24826 (sincos_test): Likewise.
24827 (sinh_test): Likewise.
24828 (sinh_test_tonearest): Likewise.
24829 (sinh_test_towardzero): Likewise.
24830 (sinh_test_downward): Likewise.
24831 (sinh_test_upward): Likewise.
24832 (sqrt_test): Likewise.
24833 (tan_test): Likewise.
24834 (tan_test_tonearest): Likewise.
24835 (tan_test_towardzero): Likewise.
24836 (tan_test_downward): Likewise.
24837 (tan_test_upward): Likewise.
24838 (tanh_test): Likewise.
24839 (tgamma_test): Likewise.
24840 (trunc_test): Likewise.
24841 (y0_test): Likewise.
24842 (y1_test): Likewise.
24843 (yn_test): Likewise.
24844 (significand_test): Likewise.
24846 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
24849 * libio/genops.c (_IO_no_init): Initialize wide struct info.
24851 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
24854 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24855 __ppc_mdoio and __ppc_mdoom.
24856 * manual/platform.texi: Document new functions __ppc_yield,
24857 __ppc_mdoio and __ppc_mdoom.
24859 2013-05-22 Carlos O'Donell <carlos@redhat.com>
24861 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24862 (main): Mention "tls" pseudo-hwcap is legacy.
24863 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24865 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24867 * math/gen-libm-test.pl (parse_args): Output only string of
24868 arguments as text for test name, not full call or descriptions of
24869 tests for extra outputs.
24870 (generate_testfile): Do not pass function name to parse_args.
24871 Generate this_func variable from START.
24872 * math/libm-test.inc (struct test_f_f_data): Rename test_name
24874 (struct test_ff_f_data): Likewise.
24875 (test_ff_f_data_nexttoward): Likewise.
24876 (struct test_fi_f_data): Likewise.
24877 (struct test_fl_f_data): Likewise.
24878 (struct test_if_f_data): Likewise.
24879 (struct test_fff_f_data): Likewise.
24880 (struct test_c_f_data): Likewise.
24881 (struct test_f_f1_data): Likewise. Remove field extra_name.
24882 (struct test_fF_f1_data): Likewise.
24883 (struct test_ffI_f1_data): Likewise.
24884 (struct test_c_c_data): Rename test_name field to arg_str.
24885 (struct test_cc_c_data): Likewise.
24886 (struct test_f_i_data): Likewise.
24887 (struct test_ff_i_data): Likewise.
24888 (struct test_f_l_data): Likewise.
24889 (struct test_f_L_data): Likewise.
24890 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
24892 (COMMON_TEST_SETUP): New macro.
24893 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24894 (COMMON_TEST_CLEANUP): Likewise.
24895 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24896 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
24898 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24899 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
24901 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24902 (RUN_TEST_fff_f): Take argument string. Call new setup and
24904 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24905 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
24907 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24908 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
24910 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24911 (RUN_TEST_fF_f1): Take argument string. Call new setup and
24913 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24914 (RUN_TEST_fI_f1): Take argument string. Call new setup and
24916 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24917 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
24919 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24920 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
24922 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24923 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
24925 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24926 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
24928 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24929 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
24931 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24932 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
24934 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24935 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
24937 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24938 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
24940 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24941 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
24943 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24944 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
24946 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24947 (RUN_TEST_fFF_11): Take argument string. Call new setup and
24949 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24951 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
24953 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24954 to _sifields.sigfault.
24955 (si_addr_lsb): Define new macro.
24956 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24957 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24958 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24960 2013-05-03 Carlos O'Donell <carlos at redhat.com>
24963 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24965 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24967 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24968 loading the domain.
24970 2013-05-22 Joseph Myers <joseph@codesourcery.com>
24972 * math/gen-libm-test.pl (parse_args): Do not include expected
24973 result in test name.
24974 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24975 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24976 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24977 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24978 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24979 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24981 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
24983 * benchtests/Makefile: Sort function entries.
24985 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24986 tanh, asinh, acosh, atanh.
24987 * benchtests/acos-inputs: New file.
24988 * benchtests/acosh-inputs: New file.
24989 * benchtests/asin-inputs: New file.
24990 * benchtests/asinh-inputs: New file.
24991 * benchtests/atanh-inputs: New file.
24992 * benchtests/cosh-inputs: New file.
24993 * benchtests/log-inputs: New file.
24994 * benchtests/sinh-inputs: New file.
24995 * benchtests/tanh-inputs: New file.
24997 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
25000 * posix/tst-getaddrinfo4.c: New test.
25001 * posix/Makefile (tests): Add it.
25003 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25006 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
25007 when no services were used.
25008 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
25009 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
25011 2013-05-21 Andreas Schwab <schwab@suse.de>
25014 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
25015 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
25017 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
25018 redundant variable declarations and reallocation of buffer when
25019 parsing as IPv6 address. Always set NSS status when called from
25020 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
25021 buffer too small. Correct computation of needed size.
25022 * nss/Makefile (tests): Add test-digits-dots.
25023 * nss/test-digits-dots.c: New test.
25025 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
25027 * benchtests/Makefile: Remove instructions for adding
25029 * benchtests/README: New file to explain how to execute and
25030 enhance the benchmark tests.
25032 2013-05-21 Andreas Schwab <schwab@suse.de>
25035 * setjmp/Makefile (tests): Add tst-sigsetjmp.
25036 * setjmp/tst-sigsetjmp.c: New test.
25038 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25040 * sysdeps/x86_64/memset.S (memset): New implementation.
25041 (__bzero): Likewise.
25042 (__memset_tail): New function.
25044 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
25046 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
25047 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
25048 __memcpy_sse2_unaligned ifunc selection.
25049 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
25050 Add memcpy-sse2-unaligned.S.
25051 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
25052 Add: __memcpy_sse2_unaligned.
25054 2013-05-19 Joseph Myers <joseph@codesourcery.com>
25057 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
25058 math_force_eval before restoring floating-point envrionment.
25059 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
25060 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
25062 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
25064 (__nearbyintl): Use math_force_eval before restoring
25065 floating-point environment.
25066 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
25068 * math/gen-libm-test.pl (special_functions): Remove.
25069 (parse_args): Don't handle TEST_extra. Handle functions with no
25071 * math/libm-test.inc (struct test_sincos_data): Replace with
25072 struct test_fFF_11_data.
25073 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
25074 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
25075 (sincos_test_data): Change element type to struct
25076 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
25077 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
25078 RUN_TEST_LOOP_sincos.
25079 * math/README.libm-test: Don't mention special handling of
25080 individual functions.
25081 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
25082 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
25083 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
25084 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
25085 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
25086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25088 * math/gen-libm-test.pl (get_variable): Remove function.
25089 (parse_args): Don't show pointer parameters to call in test
25090 names. Use "extra output N" in test names for extra outputs
25091 rather than naming variables.
25093 2013-05-18 Joseph Myers <joseph@codesourcery.com>
25096 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
25097 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
25098 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
25100 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
25102 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
25105 * math/gen-libm-test.pl (@tests): Remove variable.
25106 ($count): Likewise.
25107 (new_test): Remove function.
25108 (show_exceptions): New function.
25109 (special_functions): Use show_exceptions instead of new_test.
25110 (parse_args): Likewise.
25111 (generate_testfile): Pass only function name in generated call to
25112 print_max_error or print_complex_max_error.
25113 (get_ulps): Do not handle complex tests specially.
25114 (output_test): Rename to ...
25115 (get_all_ulps_for_test): ... this. Return a string rather than
25116 printing to a file. Require ulps to be present.
25117 (output_ulps): Generate arrays rather than #defines.
25118 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
25119 (struct ulp_data): New type.
25120 (BUILD_COMPLEX_ULP): Remove macro.
25121 (compare_ulp_data): New function.
25122 (find_ulps): Likewise.
25123 (find_test_ulps): Likewise.
25124 (find_function_ulps): Likewise.
25125 (find_complex_function_ulps): Likewise.
25126 (print_max_error): Determine allowed ulps using
25127 find_function_ulps.
25128 (print_complex_max_error): Determine allowed ulps using
25129 find_complex_function_ulps.
25130 (check_float_internal): Determine max ulps using find_test_ulps.
25131 (check_float): Do not take max_ulp parameter. Update call to
25132 check_float_internal.
25133 (check_complex): Likewise.
25134 (check_int): Do not take max_ulp parameter.
25135 (check_long): Likewise.
25136 (check_bool): Likewise.
25137 (check_longlong): Likewise.
25138 (struct test_f_f_data): Remove max_ulp field.
25139 (struct test_ff_f_data): Likewise.
25140 (struct test_ff_f_data_nexttoward): Likewise.
25141 (struct test_fi_f_data): Likewise.
25142 (struct test_fl_f_data): Likewise.
25143 (struct test_if_f_data): Likewise.
25144 (struct test_fff_f_data): Likewise.
25145 (struct test_c_f_data): Likewise.
25146 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
25147 (struct test_fF_f1_data): Likewise.
25148 (struct test_ffI_f1_data): Likewise.
25149 (struct test_c_c_data): Remove max_ulp field.
25150 (struct test_cc_c_data): Likewise.
25151 (struct test_f_i_data): Likewise.
25152 (struct test_ff_i_data): Likewise.
25153 (struct test_f_l_data): Likewise.
25154 (struct test_f_L_data): Likewise.
25155 (struct test_sincos_data): Likewise.
25156 (RUN_TEST_f_f): Do not handle ulps.
25157 (RUN_TEST_LOOP_f_f): Likewise.
25158 (RUN_TEST_2_f): Likewise.
25159 (RUN_TEST_LOOP_2_f): Likewise.
25160 (RUN_TEST_fff_f): Likewise.
25161 (RUN_TEST_LOOP_fff_f): Likewise.
25162 (RUN_TEST_c_f): Likewise.
25163 (RUN_TEST_LOOP_c_f): Likewise.
25164 (RUN_TEST_f_f1): Likewise.
25165 (RUN_TEST_LOOP_f_f1): Likewise.
25166 (RUN_TEST_fF_f1): Likewise.
25167 (RUN_TEST_LOOP_fF_f1): Likewise.
25168 (RUN_TEST_fI_f1): Likewise.
25169 (RUN_TEST_LOOP_fI_f1): Likewise.
25170 (RUN_TEST_ffI_f1): Likewise.
25171 (RUN_TEST_LOOP_ffI_f1): Likewise.
25172 (RUN_TEST_c_c): Likewise.
25173 (RUN_TEST_LOOP_c_c): Likewise.
25174 (RUN_TEST_cc_c): Likewise.
25175 (RUN_TEST_LOOP_cc_c): Likewise.
25176 (RUN_TEST_f_i): Likewise.
25177 (RUN_TEST_LOOP_f_i): Likewise.
25178 (RUN_TEST_f_i_tg): Likewise.
25179 (RUN_TEST_LOOP_f_i_tg): Likewise.
25180 (RUN_TEST_ff_i_tg): Likewise.
25181 (RUN_TEST_LOOP_ff_i_tg): Likewise.
25182 (RUN_TEST_f_b): Likewise.
25183 (RUN_TEST_LOOP_f_b): Likewise.
25184 (RUN_TEST_f_b_tg): Likewise.
25185 (RUN_TEST_LOOP_f_b_tg): Likewise.
25186 (RUN_TEST_f_l): Likewise.
25187 (RUN_TEST_LOOP_f_l): Likewise.
25188 (RUN_TEST_f_L): Likewise.
25189 (RUN_TEST_LOOP_f_L): Likewise.
25190 (RUN_TEST_sincos): Likewise.
25191 (RUN_TEST_LOOP_sincos): Likewise.
25193 2013-05-17 Joseph Myers <joseph@codesourcery.com>
25197 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25198 main case of finite arguments, set rounding mode to FE_TONEAREST
25199 and discard exceptions.
25200 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25202 (remainder_tonearest_test_data): New variable.
25203 (remainder_test_tonearest): New function.
25204 (remainder_towardzero_test_data): New variable.
25205 (remainder_test_towardzero): New function.
25206 (remainder_downward_test_data): New variable.
25207 (remainder_test_downward): New function.
25208 (remainder_upward_test_data): New variable.
25209 (remainder_test_upward): New function.
25210 (main): Call the new test functions.
25212 * math/libm-test.inc (struct test_f_f1_data): Remove field
25214 (struct test_fF_f1_data): Likewise.
25215 (struct test_ffI_f1_data): Likewise.
25216 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
25217 based on value of EXTRA_EXPECTED.
25218 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25219 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
25220 EXTRA_VAR based on value of EXTRA_EXPECTED.
25221 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25222 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
25223 EXTRA_VAR based on value of EXTRA_EXPECTED.
25224 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25225 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
25226 EXTRA_VAR based on value of EXTRA_EXPECTED.
25227 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25228 * math/gen-libm-test.pl (parse_args): Don't output initializers
25229 for extra output values.
25231 * math/libm-test.inc (check_int): Expect result to be exactly
25232 equal to expected value and do not handle ulps.
25233 (check_long): Likewise.
25234 (check_longlong): Likewise.
25236 * math/libm-test.inc (ceil_test_data): Test for "inexact"
25238 (cimag_test_data): Likewise.
25239 (conj_test_data): Likewise.
25240 (copysign_test_data): Likewise.
25241 (cproj_test_data): Likewise.
25242 (creal_test_data): Likewise.
25243 (fabs_test_data): Likewise.
25244 (fdim_test_data): Likewise.
25245 (finite_test_data): Likewise.
25246 (floor_test_data): Likewise.
25247 (fmax_test_data): Likewise.
25248 (fmin_test_data): Likewise.
25249 (fmod_test_data): Likewise.
25250 (fpclassify_test_data): Likewise.
25251 (frexp_test_data): Likewise.
25252 (ilogb_test_data): Likewise.
25253 (isfinite_test_data): Likewise.
25254 (isgreater_test_data): Likewise.
25255 (isgreaterequal_test_data): Likewise.
25256 (isinf_test_data): Likewise.
25257 (isless_test_data): Likewise.
25258 (islessequal_test_data): Likewise.
25259 (islessgreater_test_data): Likewise.
25260 (isnan_test_data): Likewise.
25261 (isnormal_test_data): Likewise.
25262 (issignaling_test_data): Likewise.
25263 (isunordered_test_data): Likewise.
25264 (ldexp_test_data): Likewise.
25265 (lrint_test_data): Likewise.
25266 (lrint_test_data) [TEST_FLOAT]: Disable one test.
25267 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25268 (lrint_tonearest_test_data): Test for "inexact" exceptions.
25269 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25270 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25271 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25273 (lrint_towardzero_test_data): Test for "inexact" exceptions.
25274 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25275 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25276 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25278 (lrint_downward_test_data): Test for "inexact" exceptions.
25279 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25280 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25281 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25283 (lrint_upward_test_data): Test for "inexact" exceptions.
25284 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25286 (llrint_test_data): Test for "inexact" exceptions.
25287 (llrint_test_data) [TEST_FLOAT]: Disable one test.
25288 (llrint_tonearest_test_data): Test for "inexact" exceptions.
25289 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25290 (llrint_towardzero_test_data): Test for "inexact" exceptions.
25291 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25292 (llrint_downward_test_data): Test for "inexact" exceptions.
25293 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25294 (llrint_upward_test_data): Test for "inexact" exceptions.
25295 (logb_test_data): Likewise.
25296 (logb_downward_test_data): Likewise.
25297 (nextafter_test_data): Likewise.
25298 (nexttoward_test_data): Likewise.
25299 (remainder_test_data): Likewise.
25300 (remquo_test_data): Likewise.
25301 (scalbn_test_data): Likewise.
25302 (scalbln_test_data): Likewise.
25303 (signbit_test_data): Likewise.
25304 (sqrt_test_data): Likewise.
25305 (significand_test_data): Likewise.
25307 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
25310 * benchtests/bench-modf.c (struct args): Mark arg0 as
25312 * scripts/bench.pl: Mark members of struct args as volatile.
25314 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25317 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25318 negative infinity on POWER6 or lower.
25319 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25321 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
25324 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25325 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25326 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25327 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25328 (_FP_SETQNAN): New macro.
25329 (_FP_SETQNAN_SEMIRAW): Likewise.
25330 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25331 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25332 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25333 (FP_EXTEND): Use _FP_FRAC_SNANP.
25334 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25335 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25337 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25339 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25342 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25344 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25345 with DIVIDE_BY_ZERO_EXCEPTION.
25346 (gamma_test_data): Likewise.
25347 (lgamma_test_data): Likewise.
25348 (log_test_data): Likewise.
25349 (log10_test_data): Likewise.
25350 (log2_test_data): Likewise.
25351 (tgamma_test_data): Likewise.
25353 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25354 (acos_test_tonearest): Likewise.
25355 (acos_test_towardzero): Likewise.
25356 (acos_test_downward): Likewise.
25357 (acos_test_upward): Likewise.
25358 (acosh_test): Likewise.
25359 (asin_test): Likewise.
25360 (asin_test_tonearest): Likewise.
25361 (asin_test_towardzero): Likewise.
25362 (asin_test_downward): Likewise.
25363 (asin_test_upward): Likewise.
25364 (asinh_test): Likewise.
25365 (atan_test): Likewise.
25366 (atanh_test): Likewise.
25367 (atan2_test): Likewise.
25368 (cabs_test): Likewise.
25369 (cacos_test): Likewise.
25370 (cacosh_test): Likewise.
25371 (casin_test): Likewise.
25372 (casinh_test): Likewise.
25373 (catan_test): Likewise.
25374 (catanh_test): Likewise.
25375 (cbrt_test): Likewise.
25376 (ccos_test): Likewise.
25377 (ccosh_test): Likewise.
25378 (cexp_test): Likewise.
25379 (clog_test): Likewise.
25380 (clog10_test): Likewise.
25381 (cos_test): Likewise.
25382 (cos_test_tonearest): Likewise.
25383 (cos_test_towardzero): Likewise.
25384 (cos_test_downward): Likewise.
25385 (cos_test_upward): Likewise.
25386 (cosh_test): Likewise.
25387 (cosh_test_tonearest): Likewise.
25388 (cosh_test_towardzero): Likewise.
25389 (cosh_test_downward): Likewise.
25390 (cosh_test_upward): Likewise.
25391 (cpow_test): Likewise.
25392 (csin_test): Likewise.
25393 (csinh_test): Likewise.
25394 (csqrt_test): Likewise.
25395 (ctan_test): Likewise.
25396 (ctan_test_tonearest): Likewise.
25397 (ctan_test_towardzero): Likewise.
25398 (ctan_test_downward): Likewise.
25399 (ctan_test_upward): Likewise.
25400 (ctanh_test): Likewise.
25401 (ctanh_test_tonearest): Likewise.
25402 (ctanh_test_towardzero): Likewise.
25403 (ctanh_test_downward): Likewise.
25404 (ctanh_test_upward): Likewise.
25405 (erf_test): Likewise.
25406 (erfc_test): Likewise.
25407 (exp_test): Likewise.
25408 (exp_test_tonearest): Likewise.
25409 (exp_test_towardzero): Likewise.
25410 (exp_test_downward): Likewise.
25411 (exp_test_upward): Likewise.
25412 (exp10_test): Likewise.
25413 (exp2_test): Likewise.
25414 (expm1_test): Likewise.
25415 (fmod_test): Likewise.
25416 (gamma_test): Likewise.
25417 (hypot_test): Likewise.
25418 (j0_test): Likewise.
25419 (j1_test): Likewise.
25420 (jn_test): Likewise.
25421 (lgamma_test): Likewise.
25422 (log_test): Likewise.
25423 (log10_test): Likewise.
25424 (log1p_test): Likewise.
25425 (log2_test): Likewise.
25426 (logb_test_downward): Likewise.
25427 (pow_test): Likewise.
25428 (pow_test_tonearest): Likewise.
25429 (pow_test_towardzero): Likewise.
25430 (pow_test_downward): Likewise.
25431 (pow_test_upward): Likewise.
25432 (remainder_test): Likewise.
25433 (remquo_test): Likewise.
25434 (sin_test): Likewise.
25435 (sin_test_tonearest): Likewise.
25436 (sin_test_towardzero): Likewise.
25437 (sin_test_downward): Likewise.
25438 (sin_test_upward): Likewise.
25439 (sincos_test): Likewise.
25440 (sinh_test): Likewise.
25441 (sinh_test_tonearest): Likewise.
25442 (sinh_test_towardzero): Likewise.
25443 (sinh_test_downward): Likewise.
25444 (sinh_test_upward): Likewise.
25445 (sqrt_test): Likewise.
25446 (tan_test): Likewise.
25447 (tan_test_tonearest): Likewise.
25448 (tan_test_towardzero): Likewise.
25449 (tan_test_downward): Likewise.
25450 (tan_test_upward): Likewise.
25451 (tanh_test): Likewise.
25452 (tgamma_test): Likewise.
25453 (y0_test): Likewise.
25454 (y1_test): Likewise.
25455 (yn_test): Likewise.
25457 * math/gen-libm-test.pl (adjust_arg): Remove function.
25458 (special_function): Remove argument $in_func. Only handle
25459 generating output for tables of tests, not inside functions.
25460 (parse_args): Likewise.
25461 (generate_testfile): Remove variable $in_func. Update call to
25463 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25464 (MINUS_ZERO_INIT): Rename macro to minus_zero.
25465 (PLUS_INFTY_INIT): Rename macro to plus_infty.
25466 (MINUS_INFTY_INIT): Rename macro to minus_infty.
25467 (QNAN_VALUE_INIT): Rename macro to qnan_value.
25468 (MAX_VALUE_INIT): Rename macro to max_value.
25469 (MIN_VALUE_INIT): Rename macro to min_value.
25470 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25471 (plus_zero): Remove variable.
25472 (minus_zero): Likewise.
25473 (plus_infty): Likewise.
25474 (minus_infty): Likewise.
25475 (qnan_value): Likewise.
25476 (max_value): Likewise.
25477 (min_value): Likewise.
25478 (min_subnorm_value): Likewise.
25480 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
25482 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25483 uint64_t or uint32_t usage.
25484 * crypt/sha256-block.c: Likewise.
25485 * crypt/sha256-crypt.c: Likewise.
25486 * crypt/sha256.c: Likewise.
25487 * crypt/sha512-block.c: Likewise.
25488 * crypt/sha512-crypt.c: Likewise.
25489 * crypt/sha512.c: Likewise.
25490 * debug/backtrace-tst.c: Likewise.
25491 * debug/pcprofiledump.c: Likewise.
25492 * elf/cache.c: Likewise.
25493 * elf/dl-cache.c: Likewise.
25494 * elf/dl-misc.c: Likewise.
25495 * elf/dl-profile.c: Likewise.
25496 * elf/dl-support.c: Likewise.
25497 * elf/ldconfig.c: Likewise.
25498 * elf/sprof.c: Likewise.
25499 * iconv/dummy-repertoire.c: Likewise.
25500 * iconv/iconv_charmap.c: Likewise.
25501 * iconv/skeleton.c: Likewise.
25502 * iconvdata/8bit-generic.c: Likewise.
25503 * iconvdata/cp737.h: Likewise.
25504 * iconvdata/cp775.h: Likewise.
25505 * iconvdata/ibm1008.h: Likewise.
25506 * iconvdata/ibm1025.h: Likewise.
25507 * iconvdata/ibm1046.h: Likewise.
25508 * iconvdata/ibm1097.h: Likewise.
25509 * iconvdata/ibm1112.h: Likewise.
25510 * iconvdata/ibm1122.h: Likewise.
25511 * iconvdata/ibm1123.h: Likewise.
25512 * iconvdata/ibm1124.h: Likewise.
25513 * iconvdata/ibm1129.h: Likewise.
25514 * iconvdata/ibm1130.h: Likewise.
25515 * iconvdata/ibm1132.h: Likewise.
25516 * iconvdata/ibm1133.h: Likewise.
25517 * iconvdata/ibm1137.h: Likewise.
25518 * iconvdata/ibm1140.h: Likewise.
25519 * iconvdata/ibm1141.h: Likewise.
25520 * iconvdata/ibm1142.h: Likewise.
25521 * iconvdata/ibm1143.h: Likewise.
25522 * iconvdata/ibm1144.h: Likewise.
25523 * iconvdata/ibm1145.h: Likewise.
25524 * iconvdata/ibm1146.h: Likewise.
25525 * iconvdata/ibm1147.h: Likewise.
25526 * iconvdata/ibm1148.h: Likewise.
25527 * iconvdata/ibm1149.h: Likewise.
25528 * iconvdata/ibm1153.h: Likewise.
25529 * iconvdata/ibm1154.h: Likewise.
25530 * iconvdata/ibm1155.h: Likewise.
25531 * iconvdata/ibm1156.h: Likewise.
25532 * iconvdata/ibm1157.h: Likewise.
25533 * iconvdata/ibm1158.h: Likewise.
25534 * iconvdata/ibm1160.h: Likewise.
25535 * iconvdata/ibm1161.h: Likewise.
25536 * iconvdata/ibm1162.h: Likewise.
25537 * iconvdata/ibm1163.h: Likewise.
25538 * iconvdata/ibm1164.h: Likewise.
25539 * iconvdata/ibm1166.h: Likewise.
25540 * iconvdata/ibm1167.h: Likewise.
25541 * iconvdata/ibm12712.h: Likewise.
25542 * iconvdata/ibm1390.h: Likewise.
25543 * iconvdata/ibm1399.h: Likewise.
25544 * iconvdata/ibm16804.h: Likewise.
25545 * iconvdata/ibm4517.h: Likewise.
25546 * iconvdata/ibm4899.h: Likewise.
25547 * iconvdata/ibm4909.h: Likewise.
25548 * iconvdata/ibm4971.h: Likewise.
25549 * iconvdata/ibm5347.h: Likewise.
25550 * iconvdata/ibm803.h: Likewise.
25551 * iconvdata/ibm856.h: Likewise.
25552 * iconvdata/ibm901.h: Likewise.
25553 * iconvdata/ibm902.h: Likewise.
25554 * iconvdata/ibm9030.h: Likewise.
25555 * iconvdata/ibm9066.h: Likewise.
25556 * iconvdata/ibm921.h: Likewise.
25557 * iconvdata/ibm922.h: Likewise.
25558 * iconvdata/ibm9448.h: Likewise.
25559 * iconvdata/isiri-3342.h: Likewise.
25560 * iconvdata/jis0201.h: Likewise.
25561 * include/link.h: Likewise.
25562 * include/netdb.h: Likewise.
25563 * inet/check_native.c: Likewise.
25564 * inet/check_pf.c: Likewise.
25565 * inet/getipv4sourcefilter.c: Likewise.
25566 * inet/getnameinfo.c: Likewise.
25567 * inet/getsourcefilter.c: Likewise.
25568 * inet/htonl.c: Likewise.
25569 * inet/setipv4sourcefilter.c: Likewise.
25570 * inet/setsourcefilter.c: Likewise.
25571 * inet/test-inet6_opt.c: Likewise.
25572 * inet/tst-network.c: Likewise.
25573 * locale/C-collate.c: Likewise.
25574 * locale/C-ctype.c: Likewise.
25575 * locale/C-time.c: Likewise.
25576 * locale/C-translit.h: Likewise.
25577 * locale/loadarchive.c: Likewise.
25578 * locale/programs/3level.h: Likewise.
25579 * locale/programs/charmap.c: Likewise.
25580 * locale/programs/charmap.h: Likewise.
25581 * locale/programs/ld-address.c: Likewise.
25582 * locale/programs/ld-collate.c: Likewise.
25583 * locale/programs/ld-ctype.c: Likewise.
25584 * locale/programs/ld-identification.c: Likewise.
25585 * locale/programs/ld-measurement.c: Likewise.
25586 * locale/programs/ld-messages.c: Likewise.
25587 * locale/programs/ld-monetary.c: Likewise.
25588 * locale/programs/ld-name.c: Likewise.
25589 * locale/programs/ld-numeric.c: Likewise.
25590 * locale/programs/ld-paper.c: Likewise.
25591 * locale/programs/ld-telephone.c: Likewise.
25592 * locale/programs/ld-time.c: Likewise.
25593 * locale/programs/linereader.c: Likewise.
25594 * locale/programs/locale.c: Likewise.
25595 * locale/programs/locarchive.c: Likewise.
25596 * locale/programs/locfile.h: Likewise.
25597 * locale/programs/repertoire.c: Likewise.
25598 * locale/programs/simple-hash.c: Likewise.
25599 * locale/programs/simple-hash.h: Likewise.
25600 * malloc/memusage.c: Likewise.
25601 * malloc/memusagestat.c: Likewise.
25602 * nis/nis_defaults.c: Likewise.
25603 * nis/nis_hash.c: Likewise.
25604 * nis/nis_print.c: Likewise.
25605 * nis/nis_xdr.c: Likewise.
25606 * nscd/connections.c: Likewise.
25607 * nscd/hstcache.c: Likewise.
25608 * nscd/nscd_gethst_r.c: Likewise.
25609 * nscd/nscd_getserv_r.c: Likewise.
25610 * nscd/nscd_helper.c: Likewise.
25611 * nscd/servicescache.c: Likewise.
25612 * nss/makedb.c: Likewise.
25613 * nss/nss_db/db-XXX.c: Likewise.
25614 * nss/nss_db/db-initgroups.c: Likewise.
25615 * nss/nss_db/db-netgrp.c: Likewise.
25616 * nss/nss_files/files-network.c: Likewise.
25617 * nss/nss_files/files-parse.c: Likewise.
25618 * posix/bug-regex5.c: Likewise.
25619 * posix/fnmatch_loop.c: Likewise.
25620 * posix/regcomp.c: Likewise.
25621 * posix/regexec.c: Likewise.
25622 * posix/tst-rfc3484-2.c: Likewise.
25623 * posix/tst-rfc3484-3.c: Likewise.
25624 * posix/tst-rfc3484.c: Likewise.
25625 * resolv/nss_dns/dns-canon.c: Likewise.
25626 * resolv/nss_dns/dns-network.c: Likewise.
25627 * resolv/res_init.c: Likewise.
25628 * resolv/res_mkquery.c: Likewise.
25629 * resolv/tst-aton.c: Likewise.
25630 * stdlib/cxa_atexit.c: Likewise.
25631 * stdlib/cxa_finalize.c: Likewise.
25632 * stdlib/gen-fpioconst.c: Likewise.
25633 * stdlib/strtol_l.c: Likewise.
25634 * string/tst-endian.c: Likewise.
25635 * sunrpc/auth_des.c: Likewise.
25636 * sunrpc/clnt_udp.c: Likewise.
25637 * sunrpc/rtime.c: Likewise.
25638 * sunrpc/svcauth_des.c: Likewise.
25639 * sunrpc/xdr.c: Likewise.
25640 * sunrpc/xdr_intXX_t.c: Likewise.
25641 * sunrpc/xdr_rec.c: Likewise.
25642 * sysdeps/generic/ldconfig.h: Likewise.
25643 * sysdeps/generic/ldsodefs.h: Likewise.
25644 * sysdeps/generic/memusage.h: Likewise.
25645 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25646 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25647 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25648 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25649 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25650 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25651 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25652 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25653 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25654 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25655 * sysdeps/posix/getaddrinfo.c: Likewise.
25656 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25657 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25658 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25659 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25660 * sysdeps/powerpc/test-gettimebase.c: Likewise.
25661 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25662 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25663 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25664 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25665 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25666 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25667 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25668 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25669 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25670 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25671 * sysdeps/x86_64/dl-tls.h: Likewise.
25672 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25673 * time/alt_digit.c: Likewise.
25674 * time/era.c: Likewise.
25675 * wcsmbs/tst-c16c32-1.c: Likewise.
25677 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25679 * math/libm-test.inc (struct test_sincos_data): New type.
25680 (RUN_TEST_LOOP_sincos): New macro.
25681 (sincos_test_data): New variable.
25682 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25684 2013-05-16 Richard Henderson <rth@redhat.com>
25686 * math/atest-exp2.c (LIMB64): New macro.
25687 (CONSTSZ): New macro.
25688 (mp_exp1, mp_exp_m1, mp_log2): New variables.
25690 (print_mpn_fp): ... to function scope.
25691 (read_mpn_hex): Remove.
25692 (get_log2): Remove.
25693 (exp2_mpn): Use mp_log2.
25694 (main): Use mp_exp1.
25696 2013-05-16 Joseph Myers <joseph@codesourcery.com>
25698 * math/libm-test.inc: Remove comment about not testing "inexact"
25700 (INEXACT_EXCEPTION): New macro.
25701 (NO_INEXACT_EXCEPTION): Likewise.
25702 (INVALID_EXCEPTION_OK): Update value.
25703 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25704 (OVERFLOW_EXCEPTION_OK): Likewise.
25705 (UNDERFLOW_EXCEPTION_OK): Likewise.
25706 (IGNORE_ZERO_INF_SIGN): Likewise.
25707 (ERRNO_UNCHANGED): Likewise.
25708 (ERRNO_EDOM): Likewise.
25709 (ERRNO_ERANGE): Likewise.
25710 (test_exceptions): Handle testing "inexact" exceptions.
25711 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25712 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25713 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25714 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25716 (rint_towardzero_test_data): Likewise.
25717 (rint_downward_test_data): Likewise.
25718 (rint_upward_test_data): Likewise.
25720 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25721 with OVERFLOW_EXCEPTION.
25722 (exp10_test_data): Likewise.
25723 (exp2_test_data): Likewise.
25724 (expm1_test_data): Likewise.
25725 (lgamma_test_data): Likewise.
25726 (pow_test_data): Likewise.
25727 (tgamma_test_data): Likewise.
25728 (yn_test_data): Remove duplicate test of overflow.
25730 * math/libm-test.inc (struct test_cc_c_data): New type.
25731 (RUN_TEST_LOOP_cc_c): New macro.
25732 (cpow_test_data): New variable.
25733 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25735 * math/libm-test.inc (struct test_f_L_data): New type.
25736 (RUN_TEST_LOOP_f_L): New macro.
25737 (llrint_test_data): New variable.
25738 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25739 (llrint_tonearest_test_data): New variable.
25740 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25741 (llrint_towardzero_test_data): New variable.
25742 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25743 (llrint_downward_test_data): New variable.
25744 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25745 (llrint_upward_test_data): New variable.
25746 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25747 (llround_test_data): New variable.
25748 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25750 2013-05-13 Peter Collingbourne <pcc@google.com>
25752 * math/atest-exp2.c (get_log2): Remove const attribute.
25754 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25756 * math/libm-test.inc (struct test_f_l_data): New type.
25757 (RUN_TEST_LOOP_f_l): New macro.
25758 (lrint_test_data): New variable.
25759 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25760 (lrint_tonearest_test_data): New variable.
25761 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25762 (lrint_towardzero_test_data): New variable.
25763 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25764 (lrint_downward_test_data): New variable.
25765 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25766 (lrint_upward_test_data): New variable.
25767 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25768 (lround_test_data): New variable.
25769 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25771 2013-05-15 Peter Collingbourne <pcc@google.com>
25773 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25774 (EXTRACT_WORDS64) Use where appropriate.
25775 (INSERT_WORDS64) Likewise.
25777 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25778 constraints with x constraints.
25779 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25781 * malloc/obstack.c (_obstack_compat): Add initializer.
25783 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
25785 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25786 si_trapno and add si_addr_lsb to _sifields.sigfault.
25787 (si_trapno): Remove macro.
25788 (si_addr_lsb): Define new macro.
25789 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25791 2013-05-15 Joseph Myers <joseph@codesourcery.com>
25793 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25794 instead of TEST_f_l.
25795 (llrint_test_tonearest): Likewise.
25796 (llrint_test_towardzero): Likewise.
25797 (llrint_test_downward): Likewise.
25798 (llrint_test_upward): Likewise.
25799 (llround_test): Likewise.
25801 * math/libm-test.inc (struct test_f_i_data): Add comment.
25802 (RUN_TEST_LOOP_f_b): New macro.
25803 (RUN_TEST_LOOP_f_b_tg): Likewise.
25804 (finite_test_data): New variable.
25805 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25806 (isfinite_test_data): New variable.
25807 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25808 (isinf_test_data): New variable.
25809 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25810 (isnan_test_data): New variable.
25811 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25812 (isnormal_test_data): New variable.
25813 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25814 (issignaling_test_data): New variable.
25815 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25816 (signbit_test_data): New variable.
25817 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25819 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25820 with INVALID_EXCEPTION.
25821 (acosh_test_data): Likewise.
25822 (asin_test_data): Likewise.
25823 (atanh_test_data): Likewise.
25824 (fmod_test_data): Likewise.
25825 (log_test_data): Likewise.
25826 (log10_test_data): Likewise.
25827 (log2_test_data): Likewise.
25828 (pow_test_data): Likewise.
25829 (sqrt_test_data): Likewise.
25830 (y0_test_data): Likewise.
25831 (y1_test_data): Likewise.
25832 (yn_test_data): Likewise.
25834 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25837 * math/libm-test.inc (struct test_ff_i_data): New type.
25838 (RUN_TEST_LOOP_ff_i_tg): New macro.
25839 (isgreater_test_data): New variable.
25840 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25841 (isgreaterequal_test_data): New variable.
25842 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25843 (isless_test_data): New variable.
25844 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25845 (islessequal_test_data): New variable.
25846 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25847 (islessgreater_test_data): New variable.
25848 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25849 (isunordered_test_data): New variable.
25850 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25852 2013-05-14 David S. Miller <davem@davemloft.net>
25854 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25856 2013-05-14 Joseph Myers <joseph@codesourcery.com>
25858 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25860 * math/libm-test.inc (struct test_fF_f1_data): Change type of
25862 (struct test_f_i_data): Change type of max_ulp to int.
25864 * math/libm-test.inc (test_ffI_f1_data): New type.
25865 (RUN_TEST_LOOP_ffI_f1): New macro.
25866 (remquo_test_data): New variable.
25867 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25869 * setjmp/tst-setjmp-fp.c: New file.
25870 * setjmp/Makefile (tests): Add tst-setjmp-fp.
25871 (link-libm): New variable.
25872 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25874 * math/libm-test.inc (struct test_f_i_data): New type.
25875 (RUN_TEST_LOOP_f_i): New macro.
25876 (RUN_TEST_LOOP_f_i_tg): Likewise.
25877 (fpclassify_test_data): New variable.
25878 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25879 (ilogb_test_data): New variable.
25880 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25882 * math/libm-test.inc (scalbln_test): Correct function name in END
25885 * math/libm-test.inc (struct test_f_f1_data): Add comment.
25886 (RUN_TEST_LOOP_fI_f1): New macro.
25887 (frexp_test_data): New variable.
25888 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25890 * math/libm-test.inc (struct test_fF_f1_data): New type.
25891 (RUN_TEST_LOOP_fF_f1): New macro.
25892 (modf_test_data): New variable.
25893 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25895 * math/libm-test.inc (struct test_f_f1_data): New type.
25896 (RUN_TEST_LOOP_f_f1): New macro.
25897 (gamma_test_data): New variable.
25898 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25899 (lgamma_test_data): New variable.
25900 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25902 2013-05-13 Carlos O'Donell <carlos@redhat.com>
25904 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25905 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25906 (main): Comment "tls" pseudo-hwcap.
25908 2013-05-13 Joseph Myers <joseph@codesourcery.com>
25910 * math/libm-test.inc (struct test_fl_f_data): New type.
25911 (RUN_TEST_LOOP_fl_f): New variable.
25912 (scalbln_test_data): New variable.
25913 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25915 * math/libm-test.inc (struct test_fi_f_data): New type.
25916 (RUN_TEST_LOOP_fi_f): New macro.
25917 (ldexp_test_data): New variable.
25918 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25919 (scalbn_test_data): New variable.
25920 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25922 * math/libm-test.inc (struct test_c_f_data): New type.
25923 (RUN_TEST_LOOP_c_f): New macro.
25924 (cabs_test_data): New variable.
25925 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25926 (carg_test_data): New variable.
25927 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25928 (cimag_test_data): New variable.
25929 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25930 (creal_test_data): New variable.
25931 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25933 * math/libm-test.inc (struct test_if_f_data): New type.
25934 (RUN_TEST_LOOP_if_f): New macro.
25935 (jn_test_data): New variable.
25936 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25937 (yn_test_data): New variable.
25938 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25940 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25942 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25944 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25945 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25947 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
25949 * benchtests/Makefile (CPPFLAGS-nonlib): Add
25950 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25951 (bench-deps): Add bench-timing.h.
25952 * benchtests-bench-skeleton.c: Include bench-timing.h.
25953 (main): Use TIMING_* macros instead of clock_gettime.
25954 * benchtests/bench-timing.h: New file.
25957 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25958 Renamed from _LIB_VERSION.
25959 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25961 2013-05-12 Joseph Myers <joseph@codesourcery.com>
25963 * math/libm-test.inc (struct test_fff_f_data): New type.
25964 (RUN_TEST_LOOP_fff_f): New macro.
25965 (fma_test_data): New variable.
25966 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25967 (fma_towardzero_test_data): New variable.
25968 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25969 (fma_downward_test_data): New variable.
25970 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25971 (fma_upward_test_data): New variable.
25972 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25974 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25975 (struct test_c_c_data): New type.
25976 (RUN_TEST_LOOP_c_c): New macro.
25977 (cacos_test_data): New variable.
25978 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25979 (cacosh_test_data): New variable.
25980 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25981 (casin_test_data): New variable.
25982 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25983 (casinh_test_data): New variable.
25984 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25985 (catan_test_data): New variable.
25986 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25987 (catanh_test_data): New variable.
25988 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25989 (ccos_test_data): New variable.
25990 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25991 (ccosh_test_data): New variable.
25992 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25993 (cexp_test_data): New variable.
25994 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25995 (clog_test_data): New variable.
25996 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25997 (clog10_test_data): New variable.
25998 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25999 (conj_test_data): New variable.
26000 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
26001 (cproj_test_data): New variable.
26002 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
26003 (csin_test_data): New variable.
26004 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
26005 (csinh_test_data): New variable.
26006 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
26007 (csqrt_test_data): New variable.
26008 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
26009 (ctan_test_data): New variable.
26010 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
26011 (ctan_tonearest_test_data): New variable.
26012 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26013 (ctan_towardzero_test_data): New variable.
26014 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26015 (ctan_downward_test_data): New variable.
26016 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26017 (ctan_upward_test_data): New variable.
26018 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26019 (ctanh_test_data): New variable.
26020 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
26021 (ctanh_tonearest_test_data): New variable.
26022 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
26023 (ctanh_towardzero_test_data): New variable.
26024 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
26025 (ctanh_downward_test_data): New variable.
26026 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
26027 (ctanh_upward_test_data): New variable.
26028 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
26029 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
26032 * math/libm-test.inc (struct test_ff_f_data): New type.
26033 (struct test_ff_f_data_nexttoward): Likewise.
26034 (RUN_TEST_LOOP_2_f): New macro.
26035 (RUN_TEST_LOOP_ff_f): Likewise.
26036 (atan2_test_data): New variable.
26037 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
26038 (copysign_test_data): New variable.
26039 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
26040 (fdim_test_data): New variable.
26041 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
26042 (fmax_test_data): New variable.
26043 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
26044 (fmin_test_data): New variable.
26045 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
26046 (fmod_test_data): New variable.
26047 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
26048 (hypot_test_data): New variable.
26049 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
26050 (nextafter_test_data): New variable.
26051 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
26052 (nexttoward_test_data): New variable.
26053 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
26054 (pow_test_data): New variable.
26055 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
26056 (pow_tonearest_test_data): New variable.
26057 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
26058 (pow_towardzero_test_data): New variable.
26059 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
26060 (pow_downward_test_data): New variable.
26061 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
26062 (pow_upward_test_data): New variable.
26063 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
26064 (remainder_test_data): New variable.
26065 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
26066 (scalb_test_data): New variable.
26067 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
26068 * sysdeps/i386/fpu/libm-test-ulps: Update.
26070 2013-05-11 Joseph Myers <joseph@codesourcery.com>
26072 * math/libm-test.inc (fma_test): Use max_value instead of local
26074 (nextafter_test): Likewise.
26076 * math/libm-test.inc (acos_towardzero_test_data): New variable.
26077 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26078 (acos_downward_test_data): New variable.
26079 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26080 (acos_upward_test_data): New variable.
26081 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26082 (acosh_test_data): New variable.
26083 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
26084 (asin_test_data): New variable.
26085 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
26086 (asin_tonearest_test_data): New variable.
26087 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26088 (asin_towardzero_test_data): New variable.
26089 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26090 (asin_downward_test_data): New variable.
26091 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26092 (asin_upward_test_data): New variable.
26093 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26094 (asinh_test_data): New variable.
26095 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
26096 (atan_test_data): New variable.
26097 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
26098 (atanh_test_data): New variable.
26099 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
26100 (cbrt_test_data): New variable.
26101 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
26102 (ceil_test_data): New variable.
26103 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
26104 (cos_test_data): New variable.
26105 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
26106 (cos_tonearest_test_data): New variable.
26107 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26108 (cos_towardzero_test_data): New variable.
26109 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26110 (cos_downward_test_data): New variable.
26111 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26112 (cos_upward_test_data): New variable.
26113 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26114 (cosh_test_data): New variable.
26115 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
26116 (cosh_tonearest_test_data): New variable.
26117 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26118 (cosh_towardzero_test_data): New variable.
26119 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26120 (cosh_downward_test_data): New variable.
26121 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26122 (cosh_upward_test_data): New variable.
26123 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26124 (erf_test_data): New variable.
26125 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
26126 (erfc_test_data): New variable.
26127 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
26128 (exp_test_data): New variable.
26129 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
26130 (exp_tonearest_test_data): New variable.
26131 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26132 (exp_towardzero_test_data): New variable.
26133 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26134 (exp_downward_test_data): New variable.
26135 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26136 (exp_upward_test_data): New variable.
26137 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26138 (exp10_test_data): New variable.
26139 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
26140 (exp2_test_data): New variable.
26141 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
26142 (expm1_test_data): New variable.
26143 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
26144 (fabs_test_data): New variable.
26145 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
26146 (floor_test_data): New variable.
26147 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
26148 (j0_test_data): New variable.
26149 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
26150 (j1_test_data): New variable.
26151 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
26152 (log_test_data): New variable.
26153 (log_test): Run tests with RUN_TEST_LOOP_f_f.
26154 (log10_test_data): New variable.
26155 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
26156 (log1p_test_data): New variable.
26157 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
26158 (log2_test_data): New variable.
26159 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26160 (logb_test_data): New variable.
26161 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26162 (logb_downward_test_data): New variable.
26163 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26164 (nearbyint_test_data): New variable.
26165 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26166 (rint_test_data): New variable.
26167 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26168 (rint_tonearest_test_data): New variable.
26169 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26170 (rint_towardzero_test_data): New variable.
26171 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26172 (rint_downward_test_data): New variable.
26173 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26174 (rint_upward_test_data): New variable.
26175 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26176 (round_test_data): New variable.
26177 (round_test): Run tests with RUN_TEST_LOOP_f_f.
26178 (sin_test_data): New variable.
26179 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26180 (sin_tonearest_test_data): New variable.
26181 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26182 (sin_towardzero_test_data): New variable.
26183 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26184 (sin_downward_test_data): New variable.
26185 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26186 (sin_upward_test_data): New variable.
26187 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26188 (sinh_test_data): New variable.
26189 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26190 (sinh_tonearest_test_data): New variable.
26191 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26192 (sinh_towardzero_test_data): New variable.
26193 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26194 (sinh_downward_test_data): New variable.
26195 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26196 (sinh_upward_test_data): New variable.
26197 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26198 (sqrt_test_data): New variable.
26199 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26200 (tan_test_data): New variable.
26201 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26202 (tan_tonearest_test_data): New variable.
26203 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26204 (tan_towardzero_test_data): New variable.
26205 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26206 (tan_downward_test_data): New variable.
26207 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26208 (tan_upward_test_data): New variable.
26209 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26210 (tanh_test_data): New variable.
26211 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26212 (tgamma_test_data): New variable.
26213 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26214 (trunc_test_data): New variable.
26215 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26216 (y0_test_data): New variable.
26217 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26218 (y1_test_data): New variable.
26219 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26220 (significand_test_data): New variable.
26221 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26223 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
26226 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26228 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
26230 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26232 2013-05-10 Andreas Jaeger <aj@suse.de>
26235 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26236 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26238 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26240 * math/gen-libm-test.pl (adjust_arg): New function.
26241 (special_functions): Handle generating output in both functions
26243 (parse_args): Likewise.
26244 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
26245 $in_func argument to parse_args.
26246 * math/libm-test.inc (struct test_f_f_data): New type.
26247 (IF_ROUND_INIT_): New macro.
26248 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26249 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26250 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26251 (IF_ROUND_INIT_FE_UPWARD): Likewise.
26252 (ROUND_RESTORE_): Likewise.
26253 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26254 (ROUND_RESTORE_FE_TONEAREST): Likewise.
26255 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26256 (ROUND_RESTORE_FE_UPWARD): Likewise.
26257 (RUN_TEST_LOOP_f_f): New macro.
26258 (acos_test_data): New variable.
26259 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26260 (acos_tonearest_test_data): New variable.
26261 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26263 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
26265 * benchtests/bench-skeleton.c (startup): Fix coding style.
26267 2013-05-10 Joseph Myers <joseph@codesourcery.com>
26270 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26271 negative infinity argument.
26272 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26273 negative infinity argument.
26274 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26275 negative infinity argument.
26276 * math/libm-test.inc (tgamma_test): Expect errno to be set for
26279 2013-05-10 Florian Weimer <fweimer@redhat.com>
26281 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26282 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26283 * iconv/iconv_prog.c (main): Likewise.
26284 * locale/programs/charmap-dir.c (charmap_readdir)
26285 (fopen_uncompressed): Likewise.
26286 * locale/programs/locfile.c (siblings_uncached)
26287 (write_locale_data): Use lstat64 instead of lstat.
26288 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26291 2013-05-10 Andreas Jaeger <aj@suse.de>
26294 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26296 Include <locale.h>.
26298 2013-05-09 Carlos O'Donell <carlos@redhat.com>
26300 * elf/dl-close.c (_dl_close_worker): Add comments.
26302 2013-05-09 Joseph Myers <joseph@codesourcery.com>
26305 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26307 (__ieee754_rem_pio2l): Update comments.
26310 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26312 (__ieee754_rem_pio2l): Update comments.
26314 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26315 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26317 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26320 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26321 (M_PI_34_LOG10El): Likewise.
26322 (M_PI2_LOG10El): Likewise.
26323 (M_PI4_LOG10El): Likewise.
26324 (M_PI_LOG10El): Likewise.
26326 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26328 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26330 2013-05-08 Joseph Myers <joseph@codesourcery.com>
26332 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26333 (MINUS_ZERO_INIT): Likewise.
26334 (PLUS_INFTY_INIT): Likewise.
26335 (MINUS_INFTY_INIT): Likewise.
26336 (QNAN_VALUE_INIT): Likewise.
26337 (MAX_VALUE_INIT): Likewise.
26338 (MIN_VALUE_INIT): Likewise.
26339 (MIN_SUBNORM_VALUE_INIT): Likewise.
26340 (plus_zero): Initialize with PLUS_ZERO_INIT.
26341 (minus_zero): Initialize with MINUS_ZERO_INIT.
26342 (plus_infty): Initialize with PLUS_INFTY_INIT.
26343 (minus_infty): Initialize with MINUS_INFTY_INIT.
26344 (qnan_value): Initialize with QNAN_VALUE_INIT.
26345 (max_value): Initialize with MAX_VALUE_INIT.
26346 (min_value): Initialize with MIN_VALUE_INIT.
26347 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26349 * math/libm-test.inc (RUN_TEST_if_f): New macro.
26350 (jn_test): Use TEST_if_f instead of TEST_ff_f.
26351 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26352 (yn_test): Use TEST_if_f instead of TEST_ff_f.
26354 * math/libm-test.inc (RUN_TEST_f_f): New macro.
26355 (RUN_TEST_2_f): Likewise.
26356 (RUN_TEST_ff_f): Likewise.
26357 (RUN_TEST_fi_f): Likewise.
26358 (RUN_TEST_fl_f): Likewise.
26359 (RUN_TEST_fff_f): Likewise.
26360 (RUN_TEST_c_f): Likewise.
26361 (RUN_TEST_f_f1): Likewise.
26362 (RUN_TEST_fF_f1): Likewise.
26363 (RUN_TEST_fI_f1): Likewise.
26364 (RUN_TEST_ffI_f1): Likewise.
26365 (RUN_TEST_c_c): Likewise.
26366 (RUN_TEST_cc_c): Likewise.
26367 (RUN_TEST_f_i): Likewise.
26368 (RUN_TEST_f_i_tg): Likewise.
26369 (RUN_TEST_ff_i_tg): Likewise.
26370 (RUN_TEST_f_b): Likewise.
26371 (RUN_TEST_f_b_tg): Likewise.
26372 (RUN_TEST_f_l): Likewise.
26373 (RUN_TEST_f_L): Likewise.
26374 (RUN_TEST_sincos): Likewise.
26375 * math/gen-libm-test.pl (new_test): Take new argument to indicate
26376 whether to show exceptions. Do not include ");\n" in return
26378 (special_functions): Output call to RUN_TEST_sincos instead of
26379 check_float calls. Update calls to new_test.
26380 (parse_args): Output call to single RUN_TEST_* macro instead of
26381 check_* calls and other assignments. Update calls to new_test.
26387 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26388 input to result for tgamma overflow.
26389 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26390 (gamma_coeff): New variable.
26391 (NCOEFF): New macro.
26392 (gamma_positive): New function.
26393 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26394 underflow here. Use gamma_positive instead of exp (lgamma) for
26396 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26397 (gamma_coeff): New variable.
26398 (NCOEFF): New macro.
26399 (gammaf_positive): New function.
26400 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26401 underflow here. Use gamma_positive instead of exp (lgamma) for
26403 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26404 (gamma_coeff): New variable.
26405 (NCOEFF): New macro.
26406 (gammal_positive): New function.
26407 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26408 underflow here. Use gamma_positive instead of exp (lgamma) for
26410 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26411 (gamma_coeff): New variable.
26412 (NCOEFF): New macro.
26413 (gammal_positive): New function.
26414 (__ieee754_gammal_r): Handle positive infinity, overflow and
26415 underflow here. Handle NaN the same as positive infinity. Remove
26416 check x < 0xffffffff for negative integers. Use gamma_positive
26417 instead of exp (lgamma) for other arguments.
26418 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26419 (gamma_coeff): New variable.
26420 (NCOEFF): New macro.
26421 (gammal_positive): New function.
26422 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26423 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26424 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26425 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26426 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26427 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26428 * sysdeps/generic/math_private.h (__gamma_productf): New
26430 (__gamma_product): Likewise.
26431 (__gamma_productl): Likewise.
26432 * math/Makefile (libm-calls): Add gamma_product.
26433 * math/libm-test.inc (tgamma_test): Add more tests.
26434 * sysdeps/i386/fpu/libm-test-ulps: Update.
26435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26437 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
26439 * benchtests/bench-skeleton.c (main): Preheat CPU.
26441 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
26443 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26445 2013-05-07 Roland McGrath <roland@hack.frob.com>
26447 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26448 and _dl_skip_args_internal.
26450 2013-05-07 Carlos O'Donell <carlos@redhat.com>
26452 * manual/message.texi (Message Translation): Talk about users.
26453 Message to key mapping impacts design.
26455 2013-05-06 Roland McGrath <roland@hack.frob.com>
26457 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26459 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26461 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26462 * sysdeps/wordsize-64/glob64.c: ... here.
26464 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26465 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26468 * debug/getlogin_r_chk.c: Moved to ...
26469 * login/getlogin_r_chk.c: ... here.
26470 * debug/Makefile (routines): Move getlogin_r_chk to ...
26471 * login/Makefile (routines): ... here.
26472 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26473 * login/Versions (libc: GLIBC_2.4): ... here.
26475 * io/poll.c (__poll): Renamed from poll.
26476 Add libc_hidden_def.
26477 (poll): Define as weak alias.
26479 * debug/ptsname_r_chk.c: Moved to ...
26480 * login/ptsname_r_chk.c: ... here.
26481 * debug/Makefile (routines): Move ptsname_r_chk to ...
26482 * login/Makefile (routines): ... here.
26483 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26484 * login/Versions (libc: GLIBC_2.4): ... here.
26486 * posix/getlogin.c: Moved to ...
26487 * login/getlogin.c: ... here.
26488 * posix/getlogin_r.c: Moved to ...
26489 * login/getlogin_r.c: ... here.
26490 * posix/getlogin_r.c: Moved to ...
26491 * login/getlogin_r.c: ... here.
26492 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26493 * login/Makefile (routines): ... here.
26494 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26495 * login/Versions (libc: GLIBC_2.0): ... here.
26497 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26498 (setrlimit): Define as weak alias.
26500 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26501 Call __ names for open, ftruncate, and close.
26502 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26503 (truncate): Define as weak alias.
26505 2013-05-06 Joseph Myers <joseph@codesourcery.com>
26507 * math/gen-libm-test.pl (parse_args): Initialize x before each
26508 test of frexp, modf and remquo.
26510 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26511 test signgam value.
26513 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26517 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26519 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26521 2013-05-06 Roland McGrath <roland@hack.frob.com>
26523 * elf/dl-writev.h: New file.
26524 * elf/dl-misc.c: Include it.
26525 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26526 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26528 2013-05-04 Joseph Myers <joseph@codesourcery.com>
26530 * math/libm-test.inc (noXFails): Remove variable.
26531 (noXPasses): Likewise.
26532 (BUILD_COMPLEX_INT): Remove macro.
26533 (print_screen): Remove xfail argument.
26534 (print_screen_max_error): Likewise.
26535 (update_stats): Likewise.
26536 (print_max_error): Likewise. Update calls to other affected
26538 (print_complex_max_error): Likewise.
26539 (test_single_exception): Update calls to print_screen.
26540 (test_single_errno): Likewise.
26541 (check_float_internal): Remove xfail argument. Update calls to
26542 other affected functions.
26543 (check_float): Likewise.
26544 (check_complex): Likewise.
26545 (check_int): Likewise.
26546 (check_long): Likewise.
26547 (check_bool): Likewise.
26548 (check_longlong): Likewise.
26549 (main): Don't print noXFails and noXPasses.
26550 * math/gen-libm-test.pl (top level): Don't mention expected
26551 failure handling in comment.
26552 (new_test): Don't handle expected failures.
26553 (parse_args): Don't mention expected failure handling in comment.
26554 (generate_testfile): Don't handle expected failures.
26555 (parse_ulps): Likewise.
26556 (print_ulps_file): Likewise.
26557 (get_failure): Remove function.
26558 (output_test): Don't handle expected failures.
26559 * make/README.libm-test: Don't mention expected failure handling.
26561 * math/libm-test.inc (plus_zero): Make const. Add initializer.
26562 (minus_zero): Likewise.
26563 (plus_infty): Likewise.
26564 (minus_infty): Likewise.
26565 (qnan_value): Likewise.
26566 (max_value): Likewise.
26567 (min_value): Likewise.
26568 (min_subnorm_value): Likewise.
26569 (initialize): Do not initialize those variables dynamically.
26571 2013-05-03 Roland McGrath <roland@hack.frob.com>
26573 * io/open.c (__open_2): Moved to ...
26574 * io/open_2.c: ... this new file.
26575 * io/open64.c (__open64_2): Moved to ...
26576 * io/open64_2.c: ... this new file.
26577 * io/openat.c (__openat_2): Moved to ...
26578 * io/openat_2.c: ... this new file.
26579 * io/openat64.c (__openat64_2): Moved to ...
26580 * io/openat64_2.c: ... this new file.
26581 * io/Makefile (routines): Add them.
26582 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26583 * sysdeps/unix/sysv/linux/open_2.c: File removed.
26584 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26585 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26586 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26587 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26588 (__openat64): Add hidden_ver.
26589 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26590 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26592 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26593 Separately conditionalize setting of GLRO(dl_sysinfo) so
26594 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26595 as well, but the actual setting is only under [NEED_DL_SYSINFO].
26597 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26599 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26600 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26602 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26603 * sysdeps/unix/sysv/linux/powerpc/init-first.c
26604 (_libc_vdso_platform_setup): Add __vdso_time initialization.
26605 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26606 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26608 2013-05-03 Joseph Myers <joseph@codesourcery.com>
26610 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26611 test signgam value.
26613 * math/libm-test.inc (hypot_test): Do not use
26614 IGNORE_ZERO_INF_SIGN.
26616 2013-05-03 Andreas Jaeger <aj@suse.de>
26618 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26620 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26621 (PF_MAX): Adjust for VSOCK change.
26623 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26625 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26627 2013-05-02 Carlos O'Donell <carlos@redhat.com>
26630 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26631 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26632 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26634 2013-05-02 David S. Miller <davem@davemloft.net>
26636 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26638 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
26640 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26642 2013-05-01 Roland McGrath <roland@hack.frob.com>
26644 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26646 2013-05-01 Richard Smith <richard@metafoo.co.uk>
26649 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26650 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26651 Use __attribute__ ((__gnu_inline__)).
26652 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26653 Don't use __attribute__ ((__gnu_inline__)).
26655 2013-05-01 Joseph Myers <joseph@codesourcery.com>
26658 * math/s_catan.c (__catan): Handle small real or imaginary part of
26659 input specially to avoid spurious underflow.
26660 * math/s_catanf.c (__catanf): Likewise.
26661 * math/s_catanh.c (__catanh): Likewise.
26662 * math/s_catanhf.c (__catanhf): Likewise.
26663 * math/s_catanhl.c (__catanhl): Likewise.
26664 * math/s_catanl.c (__catanl): Likewise.
26665 * math/libm-test.inc (catan_test): Add more tests.
26666 (catanh_test): Likewise.
26667 * sysdeps/i386/fpu/libm-test-ulps: Update.
26668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26670 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26672 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26674 2013-04-30 Joseph Myers <joseph@codesourcery.com>
26677 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26678 accurately for denominator in atan2.
26679 * math/s_catanf.c (__catanf): Likewise.
26680 * math/s_catanh.c (__catanh): Likewise.
26681 * math/s_catanhf.c (__catanhf): Likewise.
26682 * math/s_catanhl.c (__catanhl): Likewise.
26683 * math/s_catanl.c (__catanl): Likewise.
26684 * math/libm-test.inc (catan_test): Add more tests.
26685 (catanh_test): Likewise.
26686 * sysdeps/i386/fpu/libm-test-ulps: Update.
26687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26689 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
26691 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26693 * benchtests/Makefile (bench): Remove slow benchmarks.
26694 * benchtests/atan-inputs: Add slow benchmark inputs.
26695 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26696 (BENCH_FUNC): Accept variant offset.
26698 * benchtests/bench-skeleton.c (main): Run benchmark for each
26700 * benchtests/cos-inputs: Add slow benchmark inputs.
26701 * benchtests/exp-inputs: Likewise.
26702 * benchtests/pow-inputs: Likewise.
26703 * benchtests/sin-inputs: Likewise.
26704 * benchtests/slowatan-inputs: Remove.
26705 * benchtests/slowatan.c: Remove.
26706 * benchtests/slowcos-inputs: Remove.
26707 * benchtests/slowcos.c: Remove.
26708 * benchtests/slowexp-inputs: Remove.
26709 * benchtests/slowexp.c: Remove.
26710 * benchtests/slowpow-inputs: Remove.
26711 * benchtests/slowpow.c: Remove.
26712 * benchtests/slowsin-inputs: Remove.
26713 * benchtests/slowsin.c: Remove.
26714 * benchtests/slowtan-inputs: Remove.
26715 * benchtests/slowtan.c: Remove.
26716 * benchtests/tan-inputs: Add slow benchmark inputs.
26717 * scripts/bench.pl: Parse comments and directives.
26719 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
26721 ($(objpfx)bench-%.c): Remove *-ITER.
26722 * benchtests/bench-modf.c: Remove definition of ITER.
26723 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26724 (main): Loop for DURATION seconds instead of fixed number of
26726 * scripts/bench.pl: Don't expect iterations in parameters.
26728 2013-04-29 Roland McGrath <roland@hack.frob.com>
26730 * io/fchdir.c (__fchdir): Renamed from fchdir.
26731 (fchdir): Define as weak alias.
26733 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26735 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26736 (ERRNO_EDOM): Likewise.
26737 (ERRNO_ERANGE): Likewise.
26738 (noErrnoTests): New variable.
26739 (init_max_error): Set errno to 0.
26740 (test_single_errno): New function.
26741 (test_errno): Likewise.
26742 (check_float_internal): Call test_errno. Set errno to 0.
26743 (check_complex): Refer to errno tests in comment.
26744 (check_int): Call test_errno. Set errno to 0.
26745 (check_long): Likewise.
26746 (check_bool): Likewise.
26747 (check_longlong): Likewise.
26748 (cos_test): Use ERRNO_* flags for errno tests instead of
26750 (expm1_test): Likewise.
26751 (fmod_test): Likewise.
26752 (ilogb_test): Likewise.
26753 (lgamma_test): Likewise.
26754 (pow_test): Likewise.
26755 (remainder_test): Likewise.
26756 (sin_test): Likewise.
26757 (tan_test): Likewise.
26758 (yn_test): Likewise.
26759 (initialize): Set errno to 0.
26760 (main): Print number of errno tests.
26761 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26763 2013-04-29 Andreas Jaeger <aj@suse.de>
26766 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26770 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26771 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26775 * stdlib/random.c (__initstate): Return NULL if
26779 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26780 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26783 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26785 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26787 2013-04-29 Joseph Myers <joseph@codesourcery.com>
26789 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26790 of individual tests.
26791 (casin_test): Likewise.
26792 (casinh_test): Likewise.
26794 2013-04-27 Joseph Myers <joseph@codesourcery.com>
26797 * math/s_catan.c (__catan): Handle arguments with large real or
26798 imaginary part separately without squaring.
26799 * math/s_catanf.c (__catanf): Likewise.
26800 * math/s_catanh.c (__catanh): Likewise.
26801 * math/s_catanhf.c (__catanhf): Likewise.
26802 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26804 (__catanhl): Handle arguments with large real or imaginary part
26805 separately without squaring.
26806 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26808 (__catanl): Handle arguments with large real or imaginary part
26809 separately without squaring.
26810 * math/libm-test.inc (catan_test): Add more tests.
26811 (catanh_test): Likewise.
26812 * sysdeps/i386/fpu/libm-test-ulps: Update.
26813 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26815 2013-04-27 Andreas Jaeger <aj@suse.de>
26818 * stdlib/stdlib.h: Update guards for qecvt.
26819 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26822 2013-04-27 Allan McRae <allan@archlinux.org>
26824 * sysdeps/i386/fpu/libm-test-ulps: Update.
26826 2013-04-26 Joseph Myers <joseph@codesourcery.com>
26829 * math/s_catan.c: Include <float.h>.
26830 (__catan): Ensure underflow exception occurs for underflowed
26832 * math/s_catanf.c: Include <float.h>.
26833 (__catanf): Ensure underflow exception occurs for underflowed
26835 * math/s_catanh.c: Include <float.h>.
26836 (__catanh): Ensure underflow exception occurs for underflowed
26838 * math/s_catanhf.c: Include <float.h>.
26839 (__catanhf): Ensure underflow exception occurs for underflowed
26841 * math/s_catanhl.c: Include <float.h>.
26842 (__catanhl): Ensure underflow exception occurs for underflowed
26844 * math/s_catanl.c: Include <float.h>.
26845 (__catanl): Ensure underflow exception occurs for underflowed
26847 * math/libm-test.inc (catan_test): Add more tests.
26848 (catanh_test): Likewise.
26851 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26852 underflowed result.
26853 * math/s_ccoshf.c (__ccoshf): Likewise.
26854 * math/s_ccoshl.c (__ccoshl): Likewise.
26855 * math/s_csin.c (__csin): Likewise.
26856 * math/s_csinf.c (__csinf): Likewise.
26857 * math/s_csinh.c (__csinh): Likewise.
26858 * math/s_csinhf.c (__csinhf): Likewise.
26859 * math/s_csinhl.c (__csinhl): Likewise.
26860 * math/s_csinl.c (__csinl): Likewise.
26861 * math/libm-test.inc (ccos_test): Add more tests.
26862 (ccosh_test): Likewise.
26863 (csin_test): Likewise.
26864 (csinh_test): Likewise.
26866 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26868 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26869 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26870 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26871 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26872 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26873 powerpc/power5+/fpu folders.
26874 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26877 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
26879 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26881 2013-04-25 Joseph Myers <joseph@codesourcery.com>
26883 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26884 additions to variable.
26885 [$(config-machine) = x86_64] (modules-names): Likewise.
26886 ($(objpfx)tst-audit3): Remove dependency.
26887 ($(objpfx)tst-audit3.out): Likewise.
26888 ($(objpfx)tst-audit4): Likewise.
26889 ($(objpfx)tst-audit4.out): Likewise.
26890 ($(objpfx)tst-audit5): Likewise.
26891 ($(objpfx)tst-audit5.out): Likewise.
26892 ($(objpfx)tst-audit6): Likewise.
26893 ($(objpfx)tst-audit6.out): Likewise.
26894 ($(objpfx)tst-audit7): Likewise.
26895 ($(objpfx)tst-audit7.out): Likewise.
26896 (tst-audit3-ENV): Remove variable.
26897 (tst-audit4-ENV): Likewise.
26898 (tst-audit5-ENV): Likewise.
26899 (tst-audit6-ENV): Likewise.
26900 (tst-audit7-ENV): Likewise.
26901 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26902 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26903 addition to variable.
26904 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26905 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26906 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26907 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26908 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26909 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26910 tst-audit3, tst-audit4 and tst-audit5.
26911 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26912 tst-audit6 and tst-audit7.
26913 [$(subdir) = elf] (modules-names): Add audit modules for those
26915 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26916 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26917 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26918 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26919 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26920 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26921 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26922 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26923 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26924 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26925 [$(subdir) = elf] (tst-audit3-ENV): New variable.
26926 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26927 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26928 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26929 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26930 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26932 [$(subdir) = elf && $(config-cflags-avx) = yes]
26933 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26934 [$(subdir) = elf && $(config-cflags-avx) = yes]
26935 (CFLAGS-tst-auditmod4a.c): Likewise.
26936 [$(subdir) = elf && $(config-cflags-avx) = yes]
26937 (CFLAGS-tst-auditmod4b.c): Likewise.
26938 [$(subdir) = elf && $(config-cflags-avx) = yes]
26939 (CFLAGS-tst-auditmod6b.c): Likewise.
26940 [$(subdir) = elf && $(config-cflags-avx) = yes]
26941 (CFLAGS-tst-auditmod6c.c): Likewise.
26942 [$(subdir) = elf && $(config-cflags-avx) = yes]
26943 (CFLAGS-tst-auditmod7b.c): Likewise.
26944 * elf/tst-audit3.c: Move to ...
26945 * sysdeps/x86_64/tst-audit3.c: ... here.
26946 * elf/tst-audit4.c: Move to ...
26947 * sysdeps/x86_64/tst-audit4.c: ... here.
26948 * elf/tst-audit5.c: Move to ...
26949 * sysdeps/x86_64/tst-audit5.c: ... here.
26950 * elf/tst-audit6.c: Move to ...
26951 * sysdeps/x86_64/tst-audit6.c: ... here.
26952 * elf/tst-audit7.c: Move to ...
26953 * sysdeps/x86_64/tst-audit7.c: ... here.
26954 * elf/tst-auditmod3a.c: Move to ...
26955 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26956 * elf/tst-auditmod3b.c: Move to ...
26957 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26958 * elf/tst-auditmod4a.c: Move to ...
26959 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26960 * elf/tst-auditmod4b.c: Move to ...
26961 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26962 * elf/tst-auditmod5a.c: Move to ...
26963 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26964 * elf/tst-auditmod5b.c: Move to ...
26965 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26966 * elf/tst-auditmod6a.c: Move to ...
26967 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26968 * elf/tst-auditmod6b.c: Move to ...
26969 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26970 * elf/tst-auditmod6c.c: Move to ...
26971 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26972 * elf/tst-auditmod7a.c: Move to ...
26973 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26974 * elf/tst-auditmod7b.c: Move to ...
26975 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26977 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
26980 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26981 define unconditionally.
26982 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26983 define unconditionally.
26984 (INT8_C, INT16_C, etc.): Likewise.
26986 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
26988 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26989 __ehdr_start with hidden visibility.
26991 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26993 2013-04-24 Carlos O'Donell <carlos@redhat.com>
26995 * math/libm-test.inc (cos_test): Use accurate hex constants.
26996 (sincost_test): Likewise.
26998 2013-04-24 Joseph Myers <joseph@codesourcery.com>
27000 * math/libm-test.inc (catan_test): Add more tests.
27001 (catanh_test): Likewise.
27003 * math/s_catanf.c (__catanf): Use suffixed floating-point
27005 * math/s_catanhf.c (__catanhf): Likewise.
27006 * math/s_catanhl.c (__catanhl): Likewise.
27007 * math/s_catanl.c (__catanl): Likewise.
27010 * math/s_catan.c (__catan): Calculate imaginary part of result
27011 with log1p not log unless computing log of number close to 0.
27012 * math/s_catanf.c (__catanf): Likewise.
27013 * math/s_catanl.c (__catanl): Likewise.
27014 * math/s_catanh.c (__catanh): Calculate real part of result with
27015 log1p not log unless computing log of number close to 0.
27016 * math/s_catanhf.c (__catanhf): Likewise.
27017 * math/s_catanhl.c (__catanhl): Likewise.
27018 * math/libm-test.inc (catan_test): Add more tests.
27019 (catanh_test): Likewise.
27020 * sysdeps/i386/fpu/libm-test-ulps: Update.
27021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27023 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
27025 * benchtests/Makefile: Mention files in which fast and slow
27026 paths of math functions are implemented.
27028 2013-04-23 Roland McGrath <roland@hack.frob.com>
27030 * sysdeps/posix/timespec_get.c: New file.
27032 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27034 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
27036 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
27038 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
27039 powerpc/power5/fpu folders.
27040 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
27041 * benchtests/Makefile: Add modf testcase.
27042 * benchtests/bench-modf.c: New file: Benchmark test for mo
27044 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
27047 * time/Makefile (tests): Add tst-strptime-whitespace.
27048 * time/strptime_l.c (get_number): Use ISSPACE.
27049 (__strptime_internal): Likewise.
27050 * time/tst-strptime-whitespace.c: New test case.
27052 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
27054 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
27056 (_nss_files_init): Set it here.
27058 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
27060 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
27061 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
27064 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
27066 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
27068 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
27070 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
27073 2013-04-21 David S. Miller <davem@davemloft.net>
27075 * po/ru.po: Update Russion translation from translation project.
27077 2013-04-17 Adam Conrad <adconrad@0c3.net>
27079 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
27082 2013-04-17 Carlos O'Donell <carlos@redhat.com>
27084 * configure.in: Remove i386 configure warning. Remove i386 case.
27085 * configure: Regenerate.
27086 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
27087 Add example to error message.
27088 * sysdeps/i386/configure: Regenerate.
27090 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
27092 * benchtests/Makefile (bench): Add cos, tan, slowcos and
27094 * benchtests/cos-inputs: New file.
27095 * benchtests/slowcos-inputs: New file.
27096 * benchtests/slowcos.c: New file.
27097 * benchtests/slowtan-inputs: New file.
27098 * benchtests/slowtan.c: New file.
27099 * benchtests/tan-inputs: New file.
27101 2013-04-16 Roland McGrath <roland@hack.frob.com>
27103 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
27106 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
27108 * benchtests/Makefile: Include cppflags-iterator.mk to add
27109 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
27111 * Makefile.in (bench-clean): New target.
27112 * benchtests/Makefile (bench-clean): Likewise.
27114 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
27116 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
27118 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
27120 * stdio-common/tstdiomisc.c: Fix coding-style violation.
27122 2013-04-15 Andreas Schwab <schwab@suse.de>
27124 * nscd/grpcache.c (cache_addgr): Properly check for short write.
27125 * nscd/initgrcache.c (addinitgroupsX): Likewise.
27126 * nscd/pwdcache.c (cache_addpw): Likewise.
27127 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
27130 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27132 * benchtests/Makefile (bench): Write all output to
27133 bench-out.tmp together.
27135 2013-04-15 Andreas Schwab <schwab@suse.de>
27137 * nscd/nscd.c (main): Don't fork again after closing files.
27139 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27141 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
27143 * benchtests/Rules (bench-deps): Collect dependencies into a
27144 single variable. Add Makefile to dependencies.
27145 ($(objpfx)bench-%.c): Depend on bench-deps.
27147 2013-04-12 Roland McGrath <roland@hack.frob.com>
27148 Xavier Roche <roche+kml2@exalead.com>
27151 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
27152 just that it's a file descriptor.
27153 * manual/llio.texi (Synchronizing AIO Operations): Update description
27154 for EBADF error from aio_fsync.
27156 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
27158 * Rules (bench): Move target definition...
27159 * benchtests/Makefile: ... here.
27161 2013-04-11 Carlos O'Donell <carlos@redhat.com>
27163 * math/libm-test.inc (cos_test): Fix PI/2 test.
27164 (sincos_test): Likewise.
27165 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27166 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27168 2013-04-11 Andreas Schwab <schwab@suse.de>
27171 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27172 accept exponent character only when digits were seen.
27173 * stdio-common/Makefile (tests): Add bug26.
27174 * stdio-common/bug26.c: New file.
27177 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27180 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
27182 * Makeconfig (rtld-prefix): Define built linker prefix.
27183 * Rules (run-bench): Use it.
27184 * math/Makefile (run-regen-ulps): Likewise.
27186 * Rules (bench): Remove eval.
27188 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
27189 Roland McGrath <roland@hack.frob.com>
27190 Ondrej Bilka <neleai@seznam.cz>
27193 * time/getdate.c: Include ctype.h and alloca.h.
27194 (__getdate_r): Trim leading and trailing spaces of input.
27195 * time/tst-getdate.c (tests): Add tests with leading and
27198 2013-04-08 Roland McGrath <roland@hack.frob.com>
27201 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27202 when computing value.
27204 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27206 * math/README.libm-test (How can I generate "libm-test-ulps"?):
27207 Use testrun.sh to run libm tests.
27210 * elf/dl-open.c (dl_open_worker): memset all of seen array.
27212 2013-04-06 Marko Myllynen <myllynen@redhat.com>
27215 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27217 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27219 * Makefile.in (regen-ulps): New target.
27220 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27221 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27222 [ifneq (no,$(PERL)] (regen-ulps): New target.
27223 [ifeq (no,$(PERL)] (regen-ulps): New target.
27224 * math/libm-test.inc (ulps_file_name): Define.
27225 (output_dir): New variable.
27226 (options): Add "output-dir" option.
27227 (parse_opt): Handle 'o' case.
27228 (main): If output_dir is non-NULL use it as a prefix
27230 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27232 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27234 [BZ #10060, #10062]
27235 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27236 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27237 fail configure if __sync_val_compare_and_swap is not inlined.
27238 * sysdeps/i386/configure: Regenerate.
27239 * configure.in: Build for i686 when configured for i386.
27240 * configure: Regenerate.
27241 * README: Remove i386 reference.
27243 2013-04-06 Carlos O'Donell <carlos@redhat.com>
27245 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27246 * sysdeps/s390/s390-64/sysdep.h: Likewise.
27248 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
27250 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27251 (lmsnanval): New variables.
27252 (F): Add conversion tests.
27253 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27254 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27256 * stdio-common/tstdiomisc.c (F): Properly collect individual
27259 [BZ #14686, #15336]
27260 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27261 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27262 Instead, use input NaN values or generate a qNaN by arithmetic
27263 operation. Also fix bugs to comply with the standard.
27264 * math/libm-test.inc (remainder_test): Add more tests.
27266 [BZ #15335, #15342]
27267 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27268 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27269 input NaN values or generate a qNaN by arithmetic operation.
27271 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27274 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27277 2013-04-03 Joseph Myers <joseph@codesourcery.com>
27280 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27281 underflowed result.
27282 * math/s_cexpf.c (__cexpf): Likewise.
27283 * math/s_cexpl.c (__cexpl): Likewise.
27284 * math/libm-test.inc (cexp_test): Add more tests.
27286 2013-04-03 Andreas Schwab <schwab@suse.de>
27289 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27290 order arrays from heap if bigger than alloca cutoff.
27292 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
27294 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27295 (SNAN_TESTS_double): Refer to GCC PR56831.
27296 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27299 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
27301 * Rules (bench): Move bench.out after the run is complete.
27303 * Rules (bench): Echo currently running benchmark.
27305 * benchtests/Makefile (bench): Add atan and slowatan.
27306 * benchtests/atan-inputs: New file.
27307 * benchtests/slowatan-inputs: New file.
27308 * benchtests/slowatan.c: New file.
27310 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27311 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27315 * sysdeps/unix/sysv/linux/kernel-features.h
27316 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27317 __ASSUME_XFS_RESTRICTED_CHOWN.
27318 * sysdeps/unix/sysv/linux/pathconf.c
27319 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27320 Save and restore errno.
27322 2013-04-02 Joseph Myers <joseph@codesourcery.com>
27325 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27326 arguments using __kernel_casinh.
27327 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27328 arguments using __kernel_casinhf.
27329 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27330 arguments using __kernel_casinhl.
27331 * math/libm-test.inc (cacosh_test): Add more tests.
27332 * sysdeps/i386/fpu/libm-test-ulps: Update.
27333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27335 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
27337 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27338 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27340 * bench/Makefile (bench): Add sin and slowsin.
27341 * benchtests/sin-inputs: New file.
27342 * benchtests/slowsin-inputs: New file.
27343 * benchtests/slowsin.c: New file.
27345 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27346 (bench): Add slowexp and slowpow.
27347 (exp-ITER): Increase iterations.
27348 (pow-ITER): Likewise.
27349 * benchtests/exp-inputs: Change input.
27350 * benchtests/pow-inputs: Likewise.
27351 * benchtests/slowexp-inputs: New file.
27352 * benchtests/slowexp.c: New file.
27353 * benchtests/slowpow-inputs: New file.
27354 * benchtests/slowpow.c: New file.
27356 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27358 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27360 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27361 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27362 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27363 * benchtests/Makefile: Add rint benchtest.
27364 * benchtests/rint-inputs: Input for rint benchtest.
27366 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
27368 * Versions.def (libm): Add GLIBC_2.18.
27369 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27370 hidden libm prototypes.
27371 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27372 * math/Makefile (libm-calls): Add s_issignaling.
27373 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27374 __issignalingf, __issignalingl. Adjust all libm.abilist files.
27375 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27377 * math/math.h [__USE_GNU] (issignaling): New macro.
27378 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27379 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27380 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27381 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27382 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27383 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27384 * manual/arith.texi (issignaling): New section.
27385 * manual/libm-err-tab.pl (@all_functions): Update comment.
27386 * math/gen-libm-test.pl (parse_args): Apply special handling for
27388 * math/libm-test.inc (print_float, issignaling_test): New
27390 (check_float_internal): Add issignaling checks.
27391 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27392 default definition.
27393 * sysdeps/powerpc/math-tests.h: New file.
27394 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27396 * math/test-snan.c (TEST_FUNC): Likewise.
27398 2013-03-30 David S. Miller <davem@davemloft.net>
27400 * po/de.po: Update from translation team.
27402 2013-03-30 Joseph Myers <joseph@codesourcery.com>
27405 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27406 imaginary part less than 1.0 and real part less than 0.5
27408 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27409 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27410 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27411 (cacos_test): Add more tests.
27412 (casin_test): Likewise.
27413 (casinh_test): Likewise.
27414 * sysdeps/i386/fpu/libm-test-ulps: Update.
27415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27417 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
27419 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27420 ONE with its value.
27422 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27423 (__pow_mp): Replace ONE and MONE with their values.
27424 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27425 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27426 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27427 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27428 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27429 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27431 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27433 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27434 (__pow_mp): Replace ZERO and MZERO with their values.
27435 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27436 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27437 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27438 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27439 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27440 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27443 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27445 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27447 2013-03-28 Roland McGrath <roland@hack.frob.com>
27449 * include/stdlib.h [!SHARED] (__call_tls_dtors):
27450 Declare with __attribute__ ((weak)).
27451 * stdlib/exit.c (__libc_atexit) [!SHARED]:
27452 Call __call_tls_dtors only if it's not NULL.
27454 2013-03-28 Roland McGrath <roland@hack.frob.com>
27456 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27457 didn't do it already, then set _dl_phdr and _dl_phnum based on the
27458 magic __ehdr_start linker symbol if it's defined.
27459 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27460 them up here if it was already done.
27462 * elf/dl-support.c (_dl_phdr): Make pointer to const.
27463 (_dl_aux_init): Use const in cast when setting it.
27464 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27465 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27466 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27468 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27470 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27471 * csu/libc-tls.c: Nor here.
27472 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27474 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27475 (__libc_message): Never call vsyslog.
27477 2013-03-28 Alan Modra <amodra@gmail.com>
27479 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27481 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27484 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27487 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27489 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27491 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
27494 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27495 Don't add gid passed as argument.
27497 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27499 2013-03-27 Joseph Myers <joseph@codesourcery.com>
27502 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27503 imaginary part between 1.0 and 1.5 and real part less than 0.5
27505 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27506 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27507 * math/libm-test.inc (cacos_test): Add more tests.
27508 (casin_test): Likewise.
27509 (casinh_test): Likewise.
27510 * sysdeps/i386/fpu/libm-test-ulps: Update.
27511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27513 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27515 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27518 (denorm): Likewise.
27519 (__dbl_mp): Likewise.
27520 (add_magnitudes): Likewise.
27521 (sub_magnitudes): Likewise.
27529 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27531 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27532 (__dubcos): Likewise.
27533 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27534 (__ieee754_acos): Likewise.
27535 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27536 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27537 (__exp1): Likewise.
27538 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27539 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27541 (my_log2): Likewise.
27542 (checkint): Likewise.
27543 * sysdeps/ieee754/dbl-64/e_remainder.c
27544 (__ieee754_remainder): Likewise.
27545 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27546 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27547 (bsloww): Likewise.
27548 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27550 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27551 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27552 MANTISSA_STORE_T to store computations on mantissa. Use
27553 macros for rounding and division.
27554 (denorm): Likewise.
27555 (__dbl_mp): Likewise.
27556 (add_magnitudes): Likewise.
27557 (sub_magnitudes): Likewise.
27560 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27561 powers of two in terms of TWOPOW macro.
27562 (mp_no): Make type of mantissa as MANTISSA_T.
27563 [!RADIXI]: Define RADIXI.
27564 [!TWO52]: Define TWO52.
27565 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27567 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27569 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27570 llroundl symbol when building for PPC32.
27572 2013-03-24 Mark H Weaver <mhw@netris.org>
27574 * manual/arith.texi (Normalization Functions): Fix prototypes for
27575 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27577 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27580 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27581 high value to check if expl overflow.
27582 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27583 to check for underflow and overflow.
27584 * math/libm-test.inc: Add exp test.
27586 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
27589 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27592 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27594 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27597 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
27599 * math/gen-libm-test.pl (parse_args, special_functions): Properly
27600 wrap blocks consisting of several statements.
27602 * sysdeps/generic/math-tests.h: New file.
27603 * sysdeps/i386/fpu/math-tests.h: Likewise.
27604 * math/test-snan.c: Include it.
27605 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27607 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27610 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27611 (__ieee754_j0l): Do not improve calculations using cos of twice
27612 input for inputs above LDBL_MAX / 2.0L.
27613 (__ieee754_y0l): Likewise.
27614 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27615 (__ieee754_j1l): Do not improve calculations using cos of twice
27616 input for inputs above LDBL_MAX / 2.0L.
27617 (__ieee754_y1l): Likewise.
27618 * math/libm-test.inc (j0_test): Add another test.
27619 (j1_test): Likewise.
27620 (y0_test): Likewise.
27621 (y1_test): Likewise.
27622 * sysdeps/i386/fpu/libm-test-ulps: Update.
27624 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27626 * Rules ($(objpfx)bench-%.c): Include code from a C source
27629 2013-03-21 Joseph Myers <joseph@codesourcery.com>
27632 * math/k_casinh.c (__kernel_casinh): Handle arguments with
27633 imaginary part 1.0 and real part less than 0.5 specially.
27634 * math/k_casinhf.c (__kernel_casinhf): Likewise.
27635 * math/k_casinhl.c (__kernel_casinhl): Likewise.
27636 * math/libm-test.inc (cacos_test): Add more tests.
27637 (casin_test): Likewise.
27638 (casinh_test): Likewise.
27639 * sysdeps/i386/fpu/libm-test-ulps: Update.
27640 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27642 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
27644 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27645 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27647 2013-03-20 Joseph Myers <joseph@codesourcery.com>
27649 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27650 * config.make.in (config-cflags-sse4): Remove variable.
27651 (config-cflags-avx): Likewise.
27652 (config-cflags-sse2avx): Likewise.
27653 (config-cflags-novzeroupper): Likewise.
27654 (config-asflags-i686): Likewise.
27655 (have-mfma4): Likewise.
27656 (have-as-vis3): Likewise.
27658 * configure.in (MIG): Do not AC_SUBST.
27659 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27660 (libc_cv_cc_sse4): Do not AC_SUBST.
27661 (libc_cv_cc_avx): Likewise.
27662 (libc_cv_cc_sse2avx): Likewise.
27663 (libc_cv_cc_novzeroupper): Likewise.
27664 (libc_cv_cc_fma4): Likewise.
27665 (libc_cv_as_i686): Likewise.
27666 (libc_cv_sparc_as_vis3): Likewise.
27667 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27669 (config-asflags-i686): Likewise.
27670 (config-cflags-avx): Likewise.
27671 (config-cflags-sse2avx): Likewise.
27672 (have-mfma4): Likewise.
27673 (config-cflags-novzeroupper): Likewise.
27674 * sysdeps/mach/configure.in (MIG): Likewise.
27675 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27676 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27678 (config-cflags-avx): Likewise.
27679 (config-cflags-sse2avx): Likewise.
27680 (have-mfma4): Likewise.
27681 (config-cflags-novzeroupper): Likewise.
27682 * configure: Regenerated.
27683 * sysdeps/i386/configure: Likewise.
27684 * sysdeps/mach/configure: Likewise.
27685 * sysdeps/sparc/configure: Likewise.
27686 * sysdeps/x86_64/configure: Likewise.
27688 2013-03-20 Roland McGrath <roland@hack.frob.com>
27691 * locale/programs/localedef.c (options): Put N_ translation marker
27692 on argument names, not just descriptions.
27694 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
27696 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27698 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
27701 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27703 2013-03-19 Roland McGrath <roland@hack.frob.com>
27705 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27706 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27707 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27708 [!BEFORE_ABORT] (before_abort): New function.
27709 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27710 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27711 (writev_for_fatal): New function.
27712 (WRITEV_FOR_FATAL): New macro; call that.
27713 (backtrace_and_maps): New function.
27714 (BEFORE_ABORT): New macro; call that.
27715 (struct str_list): Type removed.
27716 (__libc_message, __libc_fatal): Functions removed.
27717 Include <sysdeps/posix/libc_fatal.c> instead.
27719 2013-03-19 Joseph Myers <joseph@codesourcery.com>
27721 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27723 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27726 2013-03-19 Andreas Schwab <schwab@suse.de>
27728 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27729 * sysdeps/gnu/configure: Regenerate.
27731 * configure.in: Substitute libc_cv_rtlddir.
27732 * configure: Regenerate.
27733 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27734 * Makeconfig (rtlddir, inst_rtlddir): New variables.
27735 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27736 * elf/Makefile (install-others, CFLAGS-interp.c)
27737 (ldso_install, common-ldd-rewrite): Likewise.
27738 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27739 $(inst_slibdir)/$(rtld-installed-name).
27740 * scripts/rellns-sh: Add -p option.
27741 * Makerules (make-shlib-link): Use rellns-sh to get relative name
27744 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27746 * manual/nptl.texi: Renamed to ...
27747 * manual/threads.texi: ... this.
27748 * manual/Makefile (chapters): Update.
27750 2013-03-18 Roland McGrath <roland@hack.frob.com>
27753 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27754 on argument names, not just descriptions.
27755 * malloc/memusagestat.c (options): Likewise.
27756 * nss/getent.c (options): Likewise.
27758 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
27761 * iconv/iconv_prog.c (options): Put N_ translation marker
27762 on argument names, not just descriptions.
27763 * iconv/iconvconfig.c (options): Likewise.
27765 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
27767 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27768 implementation which is faster on all x86_64 architectures.
27769 Tested on AMD, Intel Nehalem, SNB, IVB.
27770 * sysdeps/x86_64/strnlen.S: Likewise.
27772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27773 Remove all multiarch strlen and strnlen versions.
27774 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27775 Remove strlen and strnlen related parts.
27777 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27778 Inline strlen part.
27779 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27781 * sysdeps/x86_64/multiarch/strlen.S: Remove.
27782 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27783 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27784 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27785 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27786 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27788 2013-03-17 Carlos O'Donell <carlos@redhat.com>
27790 * manual/memory.texi (Malloc Tunable Parameters):
27791 Sort parameters alphabetically. Add comments for missing entries.
27793 2013-03-17 David S. Miller <davem@davemloft.net>
27795 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27797 2013-03-16 Joseph Myers <joseph@codesourcery.com>
27800 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27801 for arguments at most half maximum finite value.
27802 * math/libm-test.inc (j0_test): Add more tests.
27803 (j1_test): Likewise.
27804 (y0_test): Likewise.
27805 (y1_test): Likewise.
27806 * sysdeps/i386/fpu/libm-test-ulps: Update.
27807 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27810 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27811 1 / x and functions P and Q for arguments above 0x1p256L.
27812 (__ieee754_y0l): Likewise.
27813 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27814 (__ieee754_y1l): Likewise.
27815 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27816 (j1_test): Likewise.
27817 (y0_test): Likewise.
27818 (y1_test): Likewise.
27820 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
27822 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27825 2013-03-15 Roland McGrath <roland@hack.frob.com>
27827 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27828 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27829 zero since it's initialized to EXEC_PAGESIZE.
27831 * sysdeps/unix/sysv/linux/ldsodefs.h
27832 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27833 * sysdeps/generic/ldsodefs.h: ... here.
27835 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
27837 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27839 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27841 * math/test-snan.c: Renamed from
27842 sysdeps/powerpc/fpu/test-powerpc-snan.c.
27843 * math/Makefile (tests): Add test-snan.
27844 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27847 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27848 SUFFIX. Initialize qNaN_var with __builtin_nan family of
27850 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
27851 __builtin_nan family of functions.
27852 * math/libm-test.inc (initialize): Initialize qnan_value with
27853 __builtin_nan family of functions.
27854 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27856 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27858 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
27859 storage class. Initialize qNaN_var and sNaN_var with
27860 __builtin_nan and __builtin_nans families of functions,
27863 * math/libm-test.inc (acosh_test): Also test with qNaN input.
27864 (sqrt_test): Remove duplicate test with qNaN input.
27865 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27866 (round_test, signbit_test, significand_test): Note missing +/-Inf
27867 as well as qNaN tests.
27869 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27870 qNaN_var. Fix a few strings, too.
27871 * math/libm-test.inc (nan_value): Rename to qnan_value.
27872 * math/gen-libm-test.pl (%beautify): Adjust to that.
27873 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27874 * math/test-misc.c (main): Likewise.
27875 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27876 to __qnan_bytes, and __qnan_union, respectively.
27877 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27879 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27880 and lqnanval, respectively.
27881 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27882 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27883 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27884 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27886 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27887 * math/test-misc.c (main) [__x86_64__]: Enable test for long
27890 * math/test-misc.c (main): Fix copy'n'pastos.
27891 * misc/tst-efgcvt.c (special): Likewise.
27893 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27894 Remove declarations.
27896 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27898 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27899 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27900 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27901 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27903 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27905 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27906 macro to return vdso values correctly in IFUNC implementations.
27907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27908 Optimization by using IFUNC.
27910 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27911 Richard Henderson <rth@redhat.com>
27912 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
27914 * Makefile.in (bench): New target.
27915 * NEWS: Mention the benchmark framework.
27916 * Rules (bench): Likewise.
27917 (binaries-bench): Generate binaries for functions to
27919 * benchtests/Makefile: New makefile for benchmark tests.
27920 * benchtests/bench-skeleton.c: New skeleton file for benchmark
27922 * benchtests/exp-inputs: New input file for EXP function.
27923 * benchtests/pow-inputs: New input file for POW function.
27924 * scripts/bench.pl: New script to generate source files for
27925 benchmark programs.
27927 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
27929 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27930 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27931 computations on mantissa. Use macros for rounding and
27933 (denorm): Likewise.
27934 (__dbl_mp): Likewise.
27935 (add_magnitudes): Likewise.
27936 (sub_magnitudes): Likewise.
27939 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
27940 powers of two in terms of TWOPOW macro.
27941 (mp_no): Make type of mantissa as MANTISSA_T.
27942 [!RADIXI]: Define RADIXI.
27943 [!TWO52]: Define TWO52.
27944 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27946 * manual/nptl.texi (cindex): Modify threads to pthreads.
27948 2013-03-15 Joseph Myers <joseph@codesourcery.com>
27950 * sysdeps/x86_64/preconfigure: Regenerated.
27952 2013-03-14 Joseph Myers <joseph@codesourcery.com>
27955 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27957 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27958 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27960 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27961 * math/libm-test.inc (j0_test): Do not allow one spurious
27962 underflow exception.
27963 (y1_test): Likewise.
27965 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
27967 * manual/Makefile (chapters): Add nptl.
27968 * manual/debug.texi (Debugging Support): Add link to Threads
27970 * manual/nptl.texi: New file.
27972 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27974 2013-03-14 Petr Baudis <pasky@ucw.cz>
27976 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27977 for non-NULL pointer before the memory validity test. Pointed
27978 out by Holger Brunck <holger.brunck@keymile.com>.
27980 2013-03-13 Andreas Schwab <schwab@suse.de>
27982 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27985 2013-03-13 Joseph Myers <joseph@codesourcery.com>
27987 * timezone/zic.c: Update from tzcode 2013b.
27989 2013-03-12 Carlos O'Donell <carlos@redhat.com>
27991 * manual/install.texi (Configuring and compiling):
27992 Mention i686 and i586.
27993 * INSTALL: Regenerate.
27995 2013-03-12 Roland McGrath <roland@hack.frob.com>
27997 * sysdeps/init_array/elf-init.c: New file.
27999 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
28000 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
28002 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
28003 __gmon_start__ as global, but as static with a .preinit_array pointer.
28004 * sysdeps/init_array/gmon-start.c: New file. Use that.
28005 * sysdeps/init_array/crti.S: New file, empty except for comments.
28006 * sysdeps/init_array/crtn.S: Likewise.
28008 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
28010 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
28012 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28013 Remove Prefer_SSE_for_memop.
28014 * sysdeps/x86_64/multiarch/init-arch.h: Remove
28015 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
28016 HAS_PREFER_SSE_FOR_MEMOP.
28017 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
28019 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
28020 Remove bzero, memset ifunc support.
28021 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
28022 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
28023 * sysdeps/x86_64/multiarch/memset.S: Likewise.
28024 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28026 2013-03-11 Andreas Schwab <schwab@suse.de>
28029 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
28031 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
28032 (GLIBC_2.16): Remove pthread_atfork.
28034 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28036 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
28037 (ptestcases.h): Likewise.
28039 2013-03-08 Roland McGrath <roland@hack.frob.com>
28041 * Makeconfig ($(common-objpfx)config.status): Depend on
28042 sysdeps/*/preconfigure{,.in} too.
28044 2013-03-08 Joseph Myers <joseph@codesourcery.com>
28046 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
28047 (__free_hook): Use void * instead of __malloc_ptr_t.
28048 (__malloc_hook): Likewise.
28049 (__realloc_hook): Likewise.
28050 (__memalign_hook): Likewise.
28051 (__after_morecore_hook): Likewise.
28052 * malloc/arena.c (save_malloc_hook): Likewise.
28053 (save_free_hook): Likewise.
28054 * malloc/hooks.c (malloc_hook_ini): Likewise.
28055 (realloc_hook_ini): Likewise.
28056 (memalign_hook_ini): Likewise.
28057 * malloc/malloc.c (malloc_hook_ini): Likewise.
28058 (realloc_hook_ini): Likewise.
28059 (memalign_hook_ini): Likewise.
28060 (__free_hook): Likewise.
28061 (__malloc_hook): Likewise.
28062 (__realloc_hook): Likewise.
28063 (__memalign_hook): Likewise.
28064 (__libc_malloc): Likewise.
28065 (__libc_free): Likewise.
28066 (__libc_realloc): Likewise.
28067 (__libc_memalign): Likewise.
28068 (__libc_valloc): Likewise.
28069 (__libc_pvalloc): Likewise.
28070 (__libc_calloc): Likewise.
28071 (__posix_memalign): Likewise.
28072 * malloc/morecore.c (__sbrk): Likewise.
28073 (__default_morecore): Likewise.
28075 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
28077 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
28078 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
28079 __malloc_ptrdiff_t.
28081 * malloc/malloc.h (__malloc_size_t): Remove macro.
28082 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
28084 (old_memalign_hook): Likewise.
28085 (old_realloc_hook): Likewise.
28086 (struct hdr): Likewise.
28088 (mallochook): Likewise.
28089 (memalignhook): Likewise.
28090 (reallochook): Likewise.
28091 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
28092 (tr_old_realloc_hook): Likewise.
28093 (tr_old_memalign_hook): Likewise.
28094 (tr_mallochook): Likewise.
28095 (tr_reallochook): Likewise.
28096 (tr_memalignhook): Likewise.
28098 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28100 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
28101 default_ldbl_pack and using as default implementation.
28102 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
28104 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
28105 redundant definition.
28106 (ldbl_insert_mantissa): Likewise.
28107 (ldbl_canonicalize): Likewise.
28108 (ldbl_nearbyint): Likewise.
28109 (ldbl_pack): Rename to ldbl_pack_ppc.
28110 (ldbl_unpack): Rename to ldbl_unpack_ppc.
28111 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
28112 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
28114 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
28116 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
28117 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
28118 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
28119 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
28120 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
28121 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
28122 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
28123 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
28125 2013-03-07 Andreas Jaeger <aj@suse.de>
28127 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28130 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
28132 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
28133 Include mpa.h and declare __MPEXP.
28134 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
28135 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28136 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28137 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
28138 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28139 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
28140 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
28142 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
28143 (__slowpow): Use long double EXPL and LOGL functions to
28145 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
28146 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28147 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
28148 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
28149 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
28150 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
28152 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
28153 intermediate variable to calculate exponent.
28155 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28159 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28160 [!NO__SQR]: Define __sqr.
28161 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28162 and NO__SQR. Remove all code except __mul and __sqr. Include
28163 sysdeps/ieee754/dbl-64/mpa.c.
28164 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28167 * posix/Makefile (tests): Add tst-pathconf.
28168 * posix/tst-pathconf.c: New test case.
28169 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28171 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28173 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
28175 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28177 2013-03-06 Andreas Jaeger <aj@suse.de>
28179 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28180 definition via __MAP_ANONYMOUS.
28182 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28183 it's not part of Linux headers.
28185 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28186 (MAP_HUGE_MASK): Define.
28188 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28190 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28191 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28193 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28194 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28196 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28197 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28199 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28201 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28202 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28203 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28204 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28205 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28206 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28208 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28211 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28212 Handle f2fs and efivarfs.
28214 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28217 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28218 (EFIVARFS_MAGIC): Add.
28219 (F2FS_LINK_MAX): Add.
28221 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28223 * stdio-common/vfprintf.c: Replace __builtin_expect with
28226 2013-03-06 Joseph Myers <joseph@codesourcery.com>
28229 * sysdeps/generic/bp-sym.h: Remove file.
28230 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28231 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28232 <bp-sym.h> and <bp-asm.h>.
28233 (__longjmp): Don't use BP_SYM.
28234 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28236 (memcpy): Don't use BP_SYM.
28237 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28238 <bp-sym.h> and <bp-asm.h>.
28239 (memcpy): Don't use BP_SYM.
28240 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28242 (memcpy): Don't use BP_SYM.
28243 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28245 (memset): Don't use BP_SYM.
28246 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28247 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28248 (__bzero): Don't use BP_SYM.
28249 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28250 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28251 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28252 <bp-sym.h> and <bp-asm.h>.
28253 (memcmp): Don't use BP_SYM. Remove comment about bounded
28255 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28256 <bp-sym.h> and <bp-asm.h>.
28257 (memcpy): Don't use BP_SYM.
28258 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28259 <bp-sym.h> and <bp-asm.h>.
28260 (memset): Don't use BP_SYM.
28261 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28262 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28263 (__bzero): Don't use BP_SYM.
28264 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28265 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28266 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28267 <bp-sym.h> and <bp-asm.h>.
28268 (strncmp): Don't use BP_SYM. Remove comment about bounded
28270 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28271 <bp-sym.h> and <bp-asm.h>.
28272 (memcpy): Don't use BP_SYM.
28273 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28274 <bp-sym.h> and <bp-asm.h>.
28275 (memset): Don't use BP_SYM.
28276 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28277 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28278 (__bzero): Don't use BP_SYM.
28279 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28280 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28281 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28282 <bp-sym.h> and <bp-asm.h>.
28283 (__memchr): Don't use BP_SYM.
28284 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28285 <bp-sym.h> and <bp-asm.h>.
28286 (memcmp): Don't use BP_SYM. Remove comment about bounded
28288 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28289 <bp-sym.h> and <bp-asm.h>.
28290 (memcpy): Don't use BP_SYM.
28291 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28292 <bp-sym.h> and <bp-asm.h>.
28293 (__mempcpy): Don't use BP_SYM.
28294 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28295 <bp-sym.h> and <bp-asm.h>.
28296 (__memrchr): Don't use BP_SYM.
28297 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28298 <bp-sym.h> and <bp-asm.h>.
28299 (memset): Don't use BP_SYM.
28300 (__bzero): Likewise.
28301 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28302 <bp-sym.h> and <bp-asm.h>.
28303 (__rawmemchr): Don't use BP_SYM.
28304 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28305 <bp-sym.h> and <bp-asm.h>.
28306 (__STRCMP): Don't use BP_SYM.
28307 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28308 <bp-sym.h> and <bp-asm.h>.
28309 (strchr): Don't use BP_SYM.
28310 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28311 <bp-sym.h> and <bp-asm.h>.
28312 (__strchrnul): Don't use BP_SYM.
28313 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28314 <bp-sym.h> and <bp-asm.h>.
28315 (strlen): Don't use BP_SYM.
28316 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28317 <bp-sym.h> and <bp-asm.h>.
28318 (strncmp): Don't use BP_SYM. Remove comment about bounded
28320 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28321 <bp-sym.h> and <bp-asm.h>.
28322 (__strnlen): Don't use BP_SYM.
28323 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28324 <bp-sym.h> and <bp-asm.h>.
28325 (__GI__setjmp): Don't use BP_SYM.
28326 (_setjmp): Likewise.
28327 (__sigsetjmp): Likewise.
28328 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28329 (L(start_addresses)): Don't use BP_SYM.
28330 (_start): Likewise.
28331 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28333 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28334 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28335 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28336 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28337 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28339 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28340 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
28341 about bounded pointers.
28342 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28343 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28344 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28346 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28347 about bounded pointers. Remove GKM FIXME comments.
28348 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28349 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28351 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28352 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
28353 Remove GKM FIXME comments.
28354 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28355 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28356 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28358 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
28359 about bounded pointers. Remove GKM FIXME comment.
28360 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28362 (strncmp): Don't use BP_SYM. Remove comment about bounded
28364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28365 <bp-sym.h> and <bp-asm.h>.
28366 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28367 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28368 <bp-sym.h> and <bp-asm.h>.
28369 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28372 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28374 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28377 2013-03-05 David S. Miller <davem@davemloft.net>
28379 * po/es.po: Update from translation team.
28381 2013-03-05 Andreas Jaeger <aj@suse.de>
28383 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28384 <bits/mman-linux.h>.
28385 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28387 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28388 <bits/mman-linux.h> to end of file.
28389 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28391 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28392 <bits/mman-linux.h> to end of file.
28393 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28395 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28396 <bits/mman-linux.h> to end of file.
28398 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28399 (MCL_CURRENT, MCL_FUTURE): Define here.
28401 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28404 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28406 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28408 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28410 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28411 fourth parameter needed for rt_sigprocmask syscall.
28412 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28413 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28414 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28415 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28416 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28417 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28419 2013-03-04 Joseph Myers <joseph@codesourcery.com>
28422 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28423 comment about bounded pointers.
28424 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28425 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28427 2013-03-04 Andreas Jaeger <aj@suse.de>
28429 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28430 common definitions.
28432 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28433 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28434 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28435 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28436 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28437 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28439 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28442 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28443 __ieee754_sqrl instead of __sqrl.
28445 2013-03-01 Joseph Myers <joseph@codesourcery.com>
28447 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28448 * sysdeps/powerpc/fpu_control.h: ... here.
28449 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28450 * sysdeps/powerpc/bits/fenvinline.h: ... here.
28451 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28452 * sysdeps/powerpc/bits/mathinline.h: ... here.
28454 2013-03-01 Roland McGrath <roland@hack.frob.com>
28456 * elf/dl-hwcaps.c (_dl_important_hwcaps):
28457 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28458 to just [NEED_DL_SYSINFO_DSO].
28459 * elf/dl-support.c: Likewise.
28460 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28461 * elf/rtld.c (dl_main): Likewise.
28462 * elf/setup-vdso.h (setup_vdso): Likewise.
28463 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28464 * sysdeps/unix/sysv/linux/dl-sysdep.c
28465 (_dl_discover_osversion): Likewise.
28467 2013-03-01 Carlos O'Donell <carlos@redhat.com>
28469 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28470 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28472 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
28474 * NEWS: Mention libm performance improvements and non-x86 PI
28477 * csu/libc-start.c (__pthread_initialize_minimal): Change
28478 function arguments.
28479 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28481 2013-02-28 Joseph Myers <joseph@codesourcery.com>
28484 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28485 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28486 <bp-sym.h> and <bp-asm.h>.
28487 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28488 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28490 (memcpy): Don't use BP_SYM.
28491 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28493 (__mpn_add_n): Don't use BP_SYM.
28494 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28495 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28497 (__mpn_addmul_1): Don't use BP_SYM.
28498 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28499 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28501 (_setjmp): Don't use BP_SYM.
28502 (__novmx_setjmp): Likewise.
28503 (__GI__setjmp): Likewise.
28504 (__vmx_setjmp): Likewise.
28505 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28507 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28508 (__bzero): Don't use BP_SYM.
28509 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28510 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28511 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28512 <bp-sym.h> and <bp-asm.h>.
28513 (memcpy): Don't use BP_SYM.
28514 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28515 <bp-sym.h> and <bp-asm.h>.
28516 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28517 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28518 <bp-sym.h> and <bp-asm.h>.
28519 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28520 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28522 (__mpn_lshift): Don't use BP_SYM.
28523 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28524 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28526 (memset): Don't use BP_SYM.
28527 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28528 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28529 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28531 (__mpn_mul_1): Don't use BP_SYM.
28532 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28533 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28534 <bp-sym.h> and <bp-asm.h>.
28535 (memcmp): Don't use BP_SYM.
28536 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28537 <bp-sym.h> and <bp-asm.h>.
28538 (memcpy): Don't use BP_SYM.
28539 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28540 <bp-sym.h> and <bp-asm.h>.
28541 (memset): Don't use BP_SYM.
28542 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28543 <bp-sym.h> and <bp-asm.h>.
28544 (strncmp): Don't use BP_SYM.
28545 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28546 <bp-sym.h> and <bp-asm.h>.
28547 (memcpy): Don't use BP_SYM.
28548 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28549 <bp-sym.h> and <bp-asm.h>.
28550 (memset): Don't use BP_SYM.
28551 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28552 <bp-sym.h> and <bp-asm.h>.
28553 (__memchr): Don't use BP_SYM.
28554 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28555 <bp-sym.h> and <bp-asm.h>.
28556 (memcmp): Don't use BP_SYM.
28557 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28558 <bp-sym.h> and <bp-asm.h>.
28559 (memcpy): Don't use BP_SYM.
28560 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28561 <bp-sym.h> and <bp-asm.h>.
28562 (__mempcpy): Don't use BP_SYM.
28563 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28564 <bp-sym.h> and <bp-asm.h>.
28565 (__memrchr): Don't use BP_SYM.
28566 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28567 <bp-sym.h> and <bp-asm.h>.
28568 (memset): Don't use BP_SYM.
28569 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28570 <bp-sym.h> and <bp-asm.h>.
28571 (__rawmemchr): Don't use BP_SYM.
28572 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28573 <bp-sym.h> and <bp-asm.h>.
28574 (__STRCMP): Don't use BP_SYM.
28575 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28576 <bp-sym.h> and <bp-asm.h>.
28577 (strchr): Don't use BP_SYM.
28578 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28579 <bp-sym.h> and <bp-asm.h>.
28580 (__strchrnul): Don't use BP_SYM.
28581 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28582 <bp-sym.h> and <bp-asm.h>.
28583 (strlen): Don't use BP_SYM.
28584 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28585 <bp-sym.h> and <bp-asm.h>.
28586 (strncmp): Don't use BP_SYM.
28587 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28588 <bp-sym.h> and <bp-asm.h>.
28589 (__strnlen): Don't use BP_SYM.
28590 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28592 (__mpn_rshift): Don't use BP_SYM.
28593 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28594 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28595 <bp-sym.h> and <bp-asm.h>.
28596 (__sigsetjmp): Don't use BP_SYM.
28597 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28598 (L(start_addresses)): Don't use BP_SYM.
28599 (_start): Likewise.
28600 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28602 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28603 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28604 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28605 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28607 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28608 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28609 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28610 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28612 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28614 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28615 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28617 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
28619 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28620 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28621 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28623 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
28625 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28627 (strncmp): Don't use BP_SYM,
28628 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28630 (__mpn_sub_n): Don't use BP_SYM.
28631 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28632 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28634 (__mpn_submul_1): Don't use BP_SYM.
28635 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28637 <bp-sym.h> and <bp-asm.h>.
28638 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28640 <bp-sym.h> and <bp-asm.h>.
28641 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
28644 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
28646 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28647 Use ZK to minimize writes to Z.
28648 (sub_magnitudes): Simplify code a bit.
28649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28650 Use ZK to minimize writes to Z.
28651 (sub_magnitudes): Simplify code a bit.
28653 2013-02-27 Roland McGrath <roland@hack.frob.com>
28655 * csu/gmon-start.c: Add special exception to license text.
28657 2013-02-27 Richard Henderson <rth@redhat.com>
28659 * scripts/config.guess: Update from config.git.
28660 * scripts/config.sub: Likewise.
28662 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
28664 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28666 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28668 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28670 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28672 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28674 2013-02-26 Roland McGrath <roland@hack.frob.com>
28676 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28677 [$(build-shared = yes].
28679 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28681 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28682 (__mul): Reduce iterations for calculating mantissa.
28684 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28686 (__mpranred): Likewise.
28689 * malloc/memusagestat.c (main): Draw graphs for heap and stack
28690 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28692 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
28694 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28695 Define __attribute__.
28697 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
28699 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28701 * posix/regex_internal.h (__attribute): Remove.
28702 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28703 (re_string_context_at): Likewise.
28704 (bitset_not): Use __attribute__ and mark function as possibly
28706 (bitset_merge): Likewise.
28707 (bitset_mask): Likewise.
28708 (re_string_char_size_at): Likewise.
28709 (re_string_wchar_at): Likewise.
28710 (re_string_elem_size_at): Likewise.
28712 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
28714 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28718 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28722 (denorm): Likewise.
28723 (__dbl_mp): Likewise.
28724 (add_magnitudes): Likewise.
28725 (sub_magnitudes): Likewise.
28729 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28732 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28735 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28738 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28739 up changes with default code.
28740 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28743 2013-02-24 Allan McRae <allan@archlinux.org>
28745 * manual/socket.texi (The Internet Namespace): Order menu items
28746 to match that in the file.
28748 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28749 node listing of the info page menu.
28751 2013-02-21 Joseph Myers <joseph@codesourcery.com>
28754 * sysdeps/i386/bp-asm.h: Remove file.
28755 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28756 (PARMS): Do not use macros from bp-asm.h.
28760 (__mpn_add_n): Do not use BP_SYM
28761 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28763 (PARMS): Do not use macros from bp-asm.h.
28766 (__mpn_addmul_1): Do not use BP_SYM
28767 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28769 (PARMS): Do not use macros from bp-asm.h.
28770 (SIGMSK): Likewise.
28771 (_setjmp): Likewise. Do not use BP_SYM.
28772 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28774 (PARMS): Do not use macros from bp-asm.h.
28775 (SIGMSK): Likewise.
28776 (setjmp): Likewise. Do not use BP_SYM.
28777 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28779 (PARMS): Do not use macros from bp-asm.h.
28780 (__frexp): Do not use BP_SYM.
28782 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28784 (PARMS): Do not use macros from bp-asm.h.
28785 (__frexpf): Do not use BP_SYM.
28786 (frexpf): Likewise.
28787 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28789 (PARMS): Do not use macros from bp-asm.h.
28790 (__frexpl): Do not use BP_SYM.
28791 (frexpl): Likewise.
28792 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28794 (PARMS): Do not use macros from bp-asm.h.
28795 (__remquo): Do not use BP_SYM.
28796 (remquo): Likewise.
28797 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28799 (PARMS): Do not use macros from bp-asm.h.
28800 (__remquof): Do not use BP_SYM.
28801 (remquof): Likewise.
28802 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28804 (PARMS): Do not use macros from bp-asm.h.
28805 (__remquol): Do not use BP_SYM.
28806 (remquol): Likewise.
28807 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28809 (PARMS): Do not use macros from bp-asm.h.
28812 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
28813 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28815 (PARMS): Do not use macros from bp-asm.h.
28816 (strlen): Do not use BP_SYM.
28817 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28819 (PARMS): Do not use macros from bp-asm.h.
28823 (__mpn_add_n): Do not use BP_SYM.
28824 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28826 (PARMS): Do not use macros from bp-asm.h.
28829 (__mpn_addmul_1): Do not use BP_SYM.
28830 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28833 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28835 (PARMS): Do not use macros from bp-asm.h.
28838 (__mpn_lshift): Do not use BP_SYM.
28839 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28841 (PARMS): Do not use macros from bp-asm.h.
28845 (memcpy): Likewise. Do not use BP_SYM.
28846 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28847 libc_hidden_def and weak_alias.
28848 (mempcpy): Do not use BP_SYM in weak_alias.
28849 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28851 (PARMS): Do not use macros from bp-asm.h.
28854 [!BZERO_P] (CHR): Likewise.
28855 (memset): Likewise. Do not use BP_SYM.
28856 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28858 (PARMS): Do not use macros from bp-asm.h.
28861 (__mpn_mul_1): Do not use BP_SYM.
28862 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28864 (PARMS): Do not use macros from bp-asm.h.
28867 (__mpn_rshift): Do not use BP_SYM.
28868 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28870 (PARMS): Do not use macros from bp-asm.h.
28873 (strchr): Likewise. Do not use BP_SYM.
28874 (index): Do not use BP_SYM in weak_alias.
28875 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28877 (PARMS): Do not use macros from bp-asm.h.
28880 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
28881 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28883 (PARMS): Do not use macros from bp-asm.h.
28884 (strlen): Do not use BP_SYM.
28885 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28887 (PARMS): Do not use macros from bp-asm.h.
28891 (__mpn_sub_n): Do not use BP_SYM.
28892 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28894 (PARMS): Do not use macros from bp-asm.h.
28897 (__mpn_submul_1): Do not use BP_SYM.
28898 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28900 (PARMS): Do not use macros from bp-asm.h.
28904 (__mpn_add_n): Do not use BP_SYM.
28905 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28908 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28910 (PARMS): Do not use macros from bp-asm.h.
28913 (memcmp): Do not use BP_SYM.
28914 (bcmp): Do not use BP_SYM in weak_alias.
28915 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28917 (PARMS): Do not use macros from bp-asm.h.
28921 (memcpy): Likewise. Do not use BP_SYM.
28922 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28924 (PARMS): Do not use macros from bp-asm.h.
28928 (memmove): Likewise. Do not use BP_SYM.
28929 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28931 (PARMS): Do not use macros from bp-asm.h.
28935 (__mempcpy): Likewise. Do not use BP_SYM.
28936 (mempcpy): Do not use BP_SYM in weak_alias.
28937 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28939 (PARMS): Do not use macros from bp-asm.h.
28942 [!BZERO_P] (CHR): Likewise.
28943 (memset): Likewise. Do not use BP_SYM.
28944 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28946 (PARMS): Do not use macros from bp-asm.h.
28948 (strcmp): Do not use BP_SYM.
28949 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28951 (PARMS): Do not use macros from bp-asm.h.
28954 [USE_AS_STRTOK_R] (SAVE): Likewise.
28955 (FUNCTION): Likewise. Do not use BP_SYM.
28956 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28958 (strtok_r): Likewise.
28959 (__GI___strtok_r): Likewise.
28960 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28961 (PARMS): Do not use macros from bp-asm.h.
28964 (__mpn_lshift): Do not use BP_SYM.
28965 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28966 (PARMS): Do not use macros from bp-asm.h.
28969 (__memchr): Do not use BP_SYM.
28970 (memchr): Do not use BP_SYM in weak_alias.
28971 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28972 (PARMS): Do not use macros from bp-asm.h.
28975 (memcmp): Do not use BP_SYM.
28976 (bcmp): Do not use BP_SYM in weak_alias.
28977 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28978 (PARMS): Do not use macros from bp-asm.h.
28981 (__mpn_mul_1): Do not use BP_SYM.
28982 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28984 (PARMS): Do not use macros from bp-asm.h.
28987 (__rawmemchr): Do not use BP_SYM.
28988 (rawmemchr): Do not use BP_SYM in weak_alias.
28989 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28990 (PARMS): Do not use macros from bp-asm.h.
28993 (__mpn_rshift): Do not use BP_SYM.
28994 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28995 (PARMS): Do not use macros from bp-asm.h.
28996 (SIGMSK): Likewise.
28997 (__sigsetjmp): Likewise. Do not use BP_SYM.
28998 * sysdeps/i386/start.S: Do not include "bp-sym.h".
28999 (_start): Do not use BP_SYM.
29000 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
29001 (PARMS): Do not use macros from bp-asm.h.
29004 (__stpcpy): Likewise. Do not use BP_SYM.
29005 (stpcpy): Do not use BP_SYM in weak_alias.
29006 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
29008 (PARMS): Do not use macros from bp-asm.h.
29012 (__stpncpy): Likewise. Do not use BP_SYM.
29013 (stpncpy): Do not use BP_SYM in weak_alias.
29014 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
29015 (PARMS): Do not use macros from bp-asm.h.
29018 (strchr): Likewise. Do not use BP_SYM.
29019 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
29021 (PARMS): Do not use macros from bp-asm.h.
29024 (__strchrnul): Likewise. Do not use BP_SYM.
29025 (strchrnul): Do not use BP_SYM in weak_alias.
29026 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
29028 (PARMS): Do not use macros from bp-asm.h.
29030 (strcspn): Do not use BP_SYM.
29031 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
29033 (PARMS): Do not use macros from bp-asm.h.
29036 (strpbrk): Likewise. Do not use BP_SYM.
29037 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
29039 (PARMS): Do not use macros from bp-asm.h.
29042 (strrchr): Likewise. Do not use BP_SYM.
29043 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
29044 (PARMS): Do not use macros from bp-asm.h.
29046 (strspn): Do not use BP_SYM.
29047 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
29048 (PARMS): Do not use macros from bp-asm.h.
29052 (FUNCTION): Likewise. Do not use BP_SYM.
29053 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
29055 (strtok_r): Likewise.
29056 (__GI___strtok_r): Likewise.
29057 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
29058 (PARMS): Do not use macros from bp-asm.h.
29062 (__mpn_sub_n): Do not use BP_SYM.
29063 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
29065 (PARMS): Do not use macros from bp-asm.h.
29068 (__mpn_submul_1): Do not use BP_SYM.
29069 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
29071 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
29073 (PARMS): Do not use macros from bp-asm.h.
29078 (__clone): Do not use BP_SYM.
29079 (clone): Do not use BP_SYM in weak_alias.
29080 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
29082 (PARMS): Do not use macros from bp-asm.h.
29084 (__mmap64): Do not use BP_SYM.
29085 (mmap64): Do not use BP_SYM in weak_alias.
29086 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
29087 <bp-sym.h> and <bp-asm.h>.
29088 (PARMS): Do not use macros from bp-asm.h.
29089 (__posix_fadvise64_l64): Do not use BP_SYM.
29090 * sysdeps/unix/sysv/linux/i386/semtimedop.S
29091 (PARMS): Do not use macros from bp-asm.h.
29093 (semtimedop): Do not use BP_SYM.
29094 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
29097 2013-02-21 Allan McRae <allan@archlinux.org>
29099 * manual/message.texi (Charset conversion in gettext):
29100 Move @end statement to beginning of line.
29102 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29104 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
29106 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
29109 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
29110 (denorm): Likewise.
29111 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
29112 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
29114 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29116 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
29117 tail-call to the resolved function if pltexit isn't needed.
29119 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
29121 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
29122 or Y being zero as being unlikely.
29123 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29126 2013-02-20 Carlos O'Donell <carlos@redhat.com>
29128 * manual/nss.texi (System Databases and Name Service Switch):
29129 Remove frobnicate @pxref.
29131 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29133 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29134 __attribute__ ((unused)) to __attribute__ ((__unused__)).
29136 2013-02-20 Petr Machata <pmachata@redhat.com>
29138 * elf/elf.h (R_ARM_TARGET1): New macro.
29139 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
29140 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
29141 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
29142 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
29143 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
29144 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
29145 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
29146 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
29147 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
29148 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
29149 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
29150 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
29151 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
29152 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
29153 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
29154 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
29155 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
29156 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
29157 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
29158 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
29159 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29160 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29161 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29162 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29163 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29164 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29165 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29166 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29167 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29168 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29169 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29170 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29171 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29172 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29173 (R_ARM_THM_GOT_BREL12): Likewise.
29174 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29175 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29176 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29177 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29178 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29179 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29180 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29181 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29182 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29184 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
29186 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29187 __attribute_used__ to __attribute__ ((unused)).
29189 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
29191 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29193 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29194 comment formatting.
29195 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29197 2013-02-19 Joseph Myers <joseph@codesourcery.com>
29200 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29202 (ENTER): Remove both macro definitions.
29204 (CHECK_BOUNDS_LOW): Likewise.
29205 (CHECK_BOUNDS_HIGH): Likewise.
29206 (CHECK_BOUNDS_BOTH): Likewise.
29207 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29208 (RETURN_BOUNDED_POINTER): Likewise.
29209 (RETURN_NULL_BOUNDED_POINTER): Likewise.
29210 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29211 (POP_ERRNO_LOCATION_RETURN): Likewise.
29212 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29213 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29214 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29216 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29217 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29218 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29219 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29220 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29221 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29222 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29223 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29224 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29225 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29226 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29227 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29228 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29229 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29231 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29232 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29234 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29235 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29236 * sysdeps/i386/i586/memset.S (memset): Likewise.
29237 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29238 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29239 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29241 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29242 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29243 Change uses of L(2) to L(out).
29244 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29245 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29246 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29247 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29248 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29250 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29251 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29253 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29254 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29255 (RETURN): Do not use macro LEAVE.
29256 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29257 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29258 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29259 * sysdeps/i386/i686/memset.S (memset): Likewise.
29260 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29261 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29262 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29263 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29265 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29266 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
29267 L(1_2) and L(1_3) into L(1).
29268 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29269 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29270 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29271 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29272 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29273 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29274 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29275 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29276 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29278 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29279 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29280 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29281 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29282 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29283 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29284 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29285 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29286 * sysdeps/i386/strcspn.S (strcspn): Likewise.
29287 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29288 * sysdeps/i386/strrchr.S (strrchr): Likewise.
29289 * sysdeps/i386/strspn.S (strspn): Likewise.
29290 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29292 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29293 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29294 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29295 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
29296 L(1_3) into L(1_1).
29297 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29298 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29299 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29301 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29303 2013-02-19 Jakub Jelinek <jakub@redhat.com>
29305 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29308 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
29310 * math/atest-exp.c (exp_mpn): Remove ROUND.
29311 * math/atest-exp2.c (exp_mpn): Likewise.
29312 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29314 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29315 * stdlib/tst-tls-atexit-lib.c: Likewise.
29316 * stdlib/tst-tls-atexit.c: Likewise.
29318 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29320 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29321 and __attribute_alloc_size__.
29323 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29325 * include/programs/xmalloc.h: Change __attribute_alloc_size to
29326 __attribute_alloc_size__.
29327 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29328 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29330 2013-02-18 Mike Frysinger <vapier@gentoo.org>
29332 * include/programs/xmalloc.h: New file.
29333 * catgets/gencat.c: Include it.
29334 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29335 * elf/pldd.c: Likewise.
29336 * iconv/iconv_charmap.c: Likewise.
29337 * iconv/iconvconfig.c: Likewise.
29338 * iconv/strtab.c: Likewise.
29339 * locale/programs/locale.c: Likewise.
29340 * locale/programs/localedef.h: Likewise.
29341 * locale/programs/simple-hash.c: Likewise.
29342 * nscd/nscd.h: Likewise.
29343 * nss/makedb.c: Likewise.
29344 * sysdeps/generic/ldconfig.h: Likewise.
29346 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29348 * Versions.def: Add GLIBC_2.18.
29349 * include/link.h (struct link_map): New member l_tls_dtor_count.
29350 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29351 (__call_tls_dtors): Likewise.
29352 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29353 __cxa_thread_atexit_impl.
29354 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29358 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29360 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29362 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29363 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29365 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29368 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29370 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29371 (tests): Add test case tst-tls-atexit.
29372 (modules-names): Add shared library for tst-tls-atexit.
29373 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29374 (GLIBC_PRIVATE): Add __call_tls_dtors.
29375 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29377 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29378 * stdlib/tst-tls-atexit.c: New test case.
29379 * stdlib/tst-tls-atexit-lib.c: New test case.
29381 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29383 * elf/Versions (ld): Add _dl_find_dso_for_object.
29384 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29385 * elf/dl-open.c (_dl_find_dso_for_object): New function.
29386 (dl_open_worker): Use _dl_find_dso_for_object.
29387 * elf/dl-sym.c (do_sym): Likewise.
29388 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29390 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29392 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29393 Syntactic changes only.
29394 (_dl_runtime_profile): Do a tail-call to the resolved function.
29396 2013-02-17 Joseph Myers <joseph@codesourcery.com>
29399 * sysdeps/x86_64/bp-asm.h: Remove file.
29400 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29401 <bp-sym.h> and <bp-asm.h>.
29402 (__clone): Do not use BP_SYM.
29403 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29404 <bp-sym.h> and <bp-asm.h>.
29405 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29406 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29408 (_setjmp): Do not use BP_SYM.
29409 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29411 (setjmp): Do not use BP_SYM.
29412 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29414 (mempcpy): Do not use BP_SYM in weak_alias.
29415 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29417 (strchr): Do not use BP_SYM.
29418 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29420 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29421 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29422 (_start): Do not use BP_SYM.
29423 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29425 (strcat): Do not use BP_SYM.
29426 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29428 (STRCMP): Do not use BP_SYM.
29429 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29431 (STRCPY): Do not use BP_SYM.
29432 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29434 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29436 (FUNCTION): Do not use BP_SYM.
29437 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29439 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29441 2013-02-17 Andreas Jaeger <aj@suse.de>
29443 * time/Versions: Sort entries.
29444 * string/Versions: Likewise.
29445 * resolv/Versions: Likewise.
29446 * posix/Versions: Likewise.
29447 * iconv/Versions: Likewise.
29448 * elf/Versions: Likewise.
29449 * wcsmbs/Versions: Likewise.
29451 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
29453 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29454 loop termination condition.
29456 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29457 variable to calculate EZ.
29460 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29461 the lower precision input.
29463 2013-02-15 Joseph Myers <joseph@codesourcery.com>
29466 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29467 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29468 (run-via-rtld-prefix): Do not handle %-bp tests.
29469 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29470 (all-object-suffixes): Remove .ob.
29471 (bppfx): Remove variable.
29472 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29473 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29474 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29475 [$(build-bounded) = yes] (libtype.ob): Likewise.
29476 * Makerules (elide-routines.ob): Remove variable.
29477 (do-tests-clean): Do not handle *-bp.out.
29478 (common-mostlyclean): Do not handle *-bp and *-bp.out.
29479 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29480 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29481 (tests): Do not include $(tests-bp.out).
29482 (xtests): Do not include $(xtests-bp.out).
29483 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29484 [$(build-bounded) = yes] ($(addprefix
29485 $(objpfx),$(binaries-bounded))): Remove rule.
29486 ($(objpfx)%-bp.out): Remove rule.
29487 * config.make.in (build-bounded): Remove variable.
29488 * crypt/Makefile [$(build-bounded) = yes]
29489 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29490 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29491 append to variable.
29492 [$(build-bounded) = yes] (install-lib): Likewise.
29493 [$(build-bounded) = yes] (generated): Likewise.
29494 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29496 * intl/Makefile [$(build-bounded) = yes]
29497 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29498 * math/Makefile [$(build-bounded) = yes]
29499 ($(tests:%=$(objpfx)%-bp): Likewise.
29500 * misc/Makefile [$(build-bounded) = yes]
29501 ($(objpfx)tst-tsearch-bp): Likewise.
29502 * nptl/Makeconfig (bounded-thread-library): Remove variable.
29503 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29505 * string/Makefile (o-objects.ob): Remove variable.
29506 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29507 (CFLAGS-.ob): Remove variable.
29508 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29509 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29510 both definitions of variable.
29511 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29512 (ASFLAGS-.ob): Remove variable.
29514 2013-02-14 Joseph Myers <joseph@codesourcery.com>
29517 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29518 Remove __BOUNDED_POINTERS__ from condition.
29519 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29520 * string/bits/string2.h [!__NO_STRING_INLINES &&
29521 !__BOUNDED_POINTERS__]: Likewise.
29522 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29524 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29525 Remove conditional code.
29526 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29527 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29528 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29532 * csu/libc-start.c: Do not include <bp-sym.h>.
29533 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29534 * elf/dl-open.c: Do not include <bp-sym.h>.
29535 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29536 * math/fegetenv.c: Do not include <bp-sym.h>.
29537 (fegetenv): Do not use BP_SYM in versioned symbols.
29538 * nptl/sysdeps/pthread/bits/libc-lockP.h
29539 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29541 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29542 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29543 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29544 (__pthread_mutex_destroy): Likewise.
29545 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29546 (__pthread_mutex_lock): Likewise.
29547 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29548 (__pthread_mutex_trylock): Likewise.
29549 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29550 (__pthread_mutex_unlock): Likewise.
29551 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29552 (__pthread_mutexattr_init): Likewise.
29553 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29554 (__pthread_mutexattr_destroy): Likewise.
29555 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29556 (__pthread_mutexattr_settype): Likewise.
29557 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29558 (__pthread_rwlock_init): Likewise.
29559 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29560 (__pthread_rwlock_destroy): Likewise.
29561 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29562 (__pthread_rwlock_rdlock): Likewise.
29563 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29564 (__pthread_rwlock_tryrdlock): Likewise.
29565 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29566 (__pthread_rwlock_wrlock): Likewise.
29567 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29568 (__pthread_rwlock_trywrlock): Likewise.
29569 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29570 (__pthread_rwlock_unlock): Likewise.
29571 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29572 (__pthread_key_create): Likewise.
29573 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29574 (__pthread_setspecific): Likewise.
29575 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29576 (__pthread_getspecific): Likewise.
29577 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29579 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29580 (_pthread_cleanup_push_defer): Likewise.
29581 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29582 (_pthread_cleanup_pop_restore): Likewise.
29583 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29584 (pthread_setcancelstate): Likewise.
29585 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29587 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29588 (memchr): Do not use BP_SYM in weak_alias.
29589 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29590 (fegetenv): Do not use BP_SYM in versioned symbols.
29591 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29592 (fesetenv): Do not use BP_SYM in versioned symbols.
29593 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29594 (feupdateenv): Do not use BP_SYM in versioned symbols.
29595 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29596 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29597 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29598 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29599 (open64): Do not use BP_SYM in weak_alias.
29600 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29601 (fegetenv): Do not use BP_SYM in versioned symbols.
29602 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29603 (fesetenv): Do not use BP_SYM in versioned symbols.
29604 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29605 (feupdateenv): Do not use BP_SYM in versioned symbols.
29606 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29607 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29608 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29609 (feraiseexcept): Do not use BP_SYM in versioned symbols.
29610 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29611 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29612 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29614 (__libc_start_main): Do not use BP_SYM.
29616 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
29618 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29619 redundant return line.
29621 (denorm): Likewise.
29622 (dbl_mp): Likewise.
29623 (sub_magnitudes): Likewise.
29629 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29631 (denorm): Likewise.
29632 (dbl_mp): Likewise.
29633 (sub_magnitudes): Likewise.
29640 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29642 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29643 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29646 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29647 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29648 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29649 of __mul for squares.
29650 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29652 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29654 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29655 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29657 2013-02-13 Joseph Myers <joseph@codesourcery.com>
29660 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29662 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29663 prototype or function definition. Rename ubp_* variables and
29664 parameters. Remove argv definitions conditional on
29665 [__BOUNDED_POINTERS__].
29666 * debug/backtrace.c (__backtrace): Do not use __unbounded.
29667 * elf/dl-runtime.c (_dl_fixup): Likewise.
29668 * include/set-hooks.h (RUN_HOOK): Likewise.
29669 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29671 * string/strcpy.c (strcpy): Do not use __unbounded.
29672 * sysdeps/generic/frame.h (struct layout): Likewise.
29673 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29674 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29675 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29676 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29677 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29678 (__backtrace): Likewise.
29679 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29681 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29682 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29683 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29685 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29686 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29687 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29688 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29689 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29690 Do not use __unbounded.
29691 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29692 Rename __unboundedrlimits parameter to rlimits in prototype.
29693 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29694 Do not use __unbounded.
29695 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29696 not use __ptrvalue.
29697 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29698 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29699 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29700 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29701 __ptrvalue or __unbounded.
29702 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29703 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29705 (__new_msgctl): Do not use __ptrvalue.
29706 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29708 (__libc_msgrcv): Do not use __ptrvalue.
29709 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29710 startup_info): Do not use __unbounded.
29711 (__libc_start_main): Likewise. Rename ubp_* variables and
29712 parameters. Remove argv definitions conditional on
29713 [__BOUNDED_POINTERS__].
29714 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29716 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29718 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29720 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29722 (__new_shmctl): Do not use __ptrvalue.
29723 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29724 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29726 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29727 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29728 (__libc_sigaction): Likewise.
29729 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29730 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29732 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29734 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
29736 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29738 * string/mempcpy.c: Implement by calling memcpy.
29740 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
29742 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29744 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29747 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29748 values in the mantissa.
29750 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29751 minimize writes to Z.
29752 (sub_magnitudes): Simplify code a bit.
29754 2013-02-12 Roland McGrath <roland@hack.frob.com>
29756 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29757 from the message. The linker prefixes all warnings with that already.
29759 2013-02-12 Andreas Schwab <schwab@suse.de>
29762 * posix/regexec.c (extend_buffers): Add parameter min_len.
29763 (check_matching): Pass minimum needed length.
29764 (clean_state_log_if_needed): Likewise.
29765 (get_subexp): Likewise.
29766 * posix/Makefile (tests): Add bug-regex34.
29767 (bug-regex34-ENV): Define.
29768 * posix/bug-regex34.c: New file.
29771 * posix/regcomp.c (parse_bracket_exp): When looking up collating
29772 elements compare against the byte sequence of it, not its name.
29773 * posix/Makefile (tests): Add bug-regex35.
29774 (bug-regex35-ENV): Define.
29775 * posix/bug-regex35.c: New file.
29777 2013-02-11 Tom de Vries <tom@codesourcery.com>
29779 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
29781 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29782 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29783 (CHECK_EOL): Add undef.
29785 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
29787 * bits/stdlib-bsearch.h: New file.
29788 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29789 * stdlib/stdlib.h: Likewise.
29791 2013-02-11 Roland McGrath <roland@hack.frob.com>
29793 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29794 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29796 * manual/search.texi (Array Search Function): Add missing const in
29798 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29799 declaration to use rlim_t.
29800 (Basic Scheduling Functions): Remove erroneous const from
29801 sched_getparam prototype. Remove erroneous * from
29802 sched_get_priority_max and sched_get_priority_min prototypes.
29803 (Resource Usage): Fix summary @comment on vtimes to refer to
29804 sys/vtimes.h rather than vtimes.h.
29805 Add missing *s in vtimes prototype.
29806 (Limits on Resources): Fix ulimit prototype to return long int.
29807 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29808 prototypes to use long int rather than double.
29809 (BSD Random): Fix initstate and setstate to use char *, not void *.
29810 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29811 prototype to make second argument 'struct aiocb64 *const[]'.
29812 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29813 (Status of AIO Operations): Remove erroneous const in aio_return and
29814 aio_return64 prototypes.
29815 (Synchronizing I/O): Fix sync prototype to return void.
29816 * manual/startup.texi (Suboptions): Remove an erroneous const in
29817 getsubopt prototype.
29818 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29819 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29820 use size_t rather than int.
29821 (Scanning All Users): Likewise for getpwent_r.
29822 (Setting Groups): Add missing const to setgroups prototype.
29823 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29824 * manual/socket.texi (Host Names): Fix gethostbyaddr and
29825 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29826 'const void *' rather than 'const char *'.
29827 (Host Address Functions): Likewise for inet_ntop.
29828 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29829 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29830 ssize_t for return value.
29831 (Sending Data): Likewise for send, sendto, sendmsg.
29832 (Socket Option Functions): Add a missing const in setsockopt prototype.
29833 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29834 use wchar_t for the argument.
29835 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29836 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29838 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29839 double/float/long double for second argument.
29840 Fix return types of significand, significandf, significandl.
29841 * manual/filesys.texi (Setting Permissions): Use mode_t for second
29842 argument in fchmod prototype.
29843 (File Owner): Use uid_t and gid_t in fchown prototype.
29844 (File Times): Add const to utimes, futimes, and lutimes prototypes.
29845 (Making Special Files): Use mode_t and dev_t in mknod prototype.
29846 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29847 use 'const struct dirent **' as argument types to CMP function pointer
29849 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29850 (File Times): Fix summary magic @comment for struct utimbuf and utime
29851 to refer to utime.h, not time.h.
29852 * manual/string.texi (Argz Functions): Add missing const in
29853 argz_extract and argz_next prototypes.
29854 (Finding Tokens in a String): Likewise for basename.
29855 (String/Array Comparison): Fix typo in wcscasecmp prototype.
29856 (Copying and Concatenation): Fix typo in wmemmove prototype.
29857 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29858 (Signal Stack): Remove erroneous const in sigstack prototype.
29859 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29861 (Simple Calendar Time): Likewise for stime.
29862 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29864 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29865 say sys/sysctl.h instead.
29866 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29867 and vsyslog prototypes.
29869 2013-02-11 Tom de Vries <tom@codesourcery.com>
29871 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29874 2013-02-11 Roland McGrath <roland@hack.frob.com>
29876 * misc/sys/mman.h: Fix typo in mremap comment.
29878 2013-02-08 Roland McGrath <roland@hack.frob.com>
29880 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29881 the '\0' terminator.
29883 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29886 * debug/segfault.c: Don't include <bp-checks.h>.
29887 * sysdeps/generic/bp-checks.h: Remove file.
29888 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29889 (__GETDENTS): Don't use CHECK_N.
29890 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29891 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29892 (__getgroups): Don't use CHECK_N.
29893 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29894 (setgroups): Don't use CHECK_N.
29895 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29896 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29897 (__libc_msgrcv): Don't use CHECK_N.
29898 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29899 (__libc_msgsnd): Don't use CHECK_N.
29900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29902 (__libc_pread): Don't use CHECK_N.
29903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29904 include <bp-checks.h>.
29905 (__libc_pread64): Don't use CHECK_N.
29906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29907 include <bp-checks.h>.
29908 (__libc_pwrite): Don't use CHECK_N.
29909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29910 include <bp-checks.h>.
29911 (__libc_pwrite64): Don't use CHECK_N.
29912 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29914 (__libc_pread): Don't use CHECK_N.
29915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29916 include <bp-checks.h>.
29917 (__libc_pread64): Don't use CHECK_N.
29918 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29919 include <bp-checks.h>.
29920 (__libc_pwrite): Don't use CHECK_N.
29921 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29922 include <bp-checks.h>.
29923 (__libc_pwrite64): Don't use CHECK_N.
29924 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29925 (do_pread): Don't use CHECK_N.
29926 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29927 (do_pread64): Don't use CHECK_N.
29928 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29929 (do_pwrite): Don't use CHECK_N.
29930 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29931 (do_pwrite64): Don't use CHECK_N.
29932 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29933 (__libc_readv): Don't use CHECK_N.
29934 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29935 (semop): Don't use CHECK_N.
29936 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29938 (semtimedop): Don't use CHECK_N.
29939 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29940 (__libc_pread): Don't use CHECK_N.
29941 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29943 (__libc_pread64): Don't use CHECK_N.
29944 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29946 (__libc_pwrite): Don't use CHECK_N.
29947 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29949 (__libc_pwrite64): Don't use CHECK_N.
29950 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29952 (__libc_msgrcv): Don't use CHECK_N.
29953 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29954 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
29955 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29956 (__libc_writev): Don't use CHECK_N.
29958 2013-02-08 Roland McGrath <roland@hack.frob.com>
29960 * string/strcpy.c: Removed unused variable.
29962 * Makeconfig (+sysdep-includes): Define with := rather than =.
29963 Use an existing include/ subdir of each sysdeps dir before it.
29965 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29967 * nscd/connection.c (register_traced_file): Comment function.
29968 [HAVE_INOTIFY] (union __inev): Define.
29969 [HAVE_INOTIFY] (inotify_check_files): New function.
29970 [HAVE_INOTIFY] (clear_db_cache): Likewise.
29971 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29973 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29975 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29977 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29978 loaded if not already and that a failure is permanent.
29980 2013-02-08 Carlos O'Donell <carlos@redhat.com>
29983 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29984 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29986 2013-02-08 Joseph Myers <joseph@codesourcery.com>
29989 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29990 (CHECK_1_NULL_OK): Likewise.
29991 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29992 (__fxstat): Do not use CHECK_1.
29993 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29995 (___fxstat64): Do not use CHECK_1.
29996 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29998 (__fxstatat): Do not use CHECK_1.
29999 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
30001 (__fxstatat64): Do not use CHECK_1.
30002 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
30004 (__fxstat): Do not use CHECK_1.
30005 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
30007 (__fxstatat): Do not use CHECK_1.
30008 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
30010 (__getresgid): Do not use CHECK_1.
30011 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
30013 (__getresuid): Do not use CHECK_1.
30014 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
30016 (__lxstat): Do not use CHECK_1.
30017 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
30019 (__old_msgctl): Do not use CHECK_1.
30020 (__new_msgctl): Likewise.
30021 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
30023 (__new_setrlimit): Do not use CHECK_1.
30024 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
30026 (__old_shmctl): Do not use CHECK_1.
30027 (__new_shmctl): Likewise.
30028 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
30030 (__xstat): Do not use CHECK_1.
30031 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
30032 (__lxstat): Do not use CHECK_1.
30033 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
30035 (___lxstat64): Do not use CHECK_1.
30036 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
30037 (__old_msgctl): Do not use CHECK_1.
30038 (__new_msgctl): Likewise.
30039 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
30041 (__gettimeofday): Do not use CHECK_1.
30042 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
30043 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
30044 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
30046 (__gettimeofday): Do not use CHECK_1.
30047 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
30048 (__old_shmctl): Do not use CHECK_1_NULL_OK.
30049 (__new_shmctl): Do not use CHECK_1.
30050 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
30052 (do_sigtimedwait): Do not use CHECK_1.
30053 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
30055 (do_sigwaitinfo): Do not use CHECK_1.
30056 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
30058 (msgctl): Do not use CHECK_1.
30059 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
30061 (shmctl): Do not use CHECK_1.
30062 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
30063 (ustat): Do not use CHECK_1.
30064 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
30066 (__fxstat): Do not use CHECK_1.
30067 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
30069 (__fxstatat): Do not use CHECK_1.
30070 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
30072 (__lxstat): Do not use CHECK_1.
30073 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
30075 (__xstat): Do not use CHECK_1.
30076 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
30077 (__xstat): Do not use CHECK_1.
30078 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
30079 (___xstat64): Do not use CHECK_1.
30082 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
30084 (CHECK_BOUNDS_HIGH): Likewise.
30085 * string/strcpy.c: Do not include <bp-checks.h>.
30086 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
30088 2013-02-07 Roland McGrath <roland@hack.frob.com>
30090 * nscd/nscd-client.h (__nscd_drop_map_ref):
30091 Add __attribute__ ((unused)).
30092 * nis/nss-nisplus.h (niserr2nss): Likewise.
30094 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
30095 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
30097 * csu/libc-tls.c (init_static_tls, init_slotinfo):
30098 Remove inline keyword.
30099 * include/rounding-mode.h (round_away): Likewise.
30100 * libio/wfileops.c (adjust_wide_data): Likewise.
30101 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
30102 (__m128i_strloadu_tolower): Likewise.
30103 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
30104 (__m128i_strloadu_tolower): Likewise.
30105 * time/mktime.c (ydhms_diff): Likewise.
30106 * locale/elem-hash.h (elem_hash): Likewise.
30107 * locale/setlocale.c (setdata): Likewise.
30108 * posix/regex_internal.h (re_string_char_size_at): Likewise.
30109 (re_string_wchar_at): Likewise.
30110 (bitset_not, bitset_merge, bitset_mask): Likewise.
30111 [!(__GNUC__ > 3)] (inline): Remove macro.
30112 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
30113 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
30114 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
30115 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
30116 * string/memcmp.c (memcmp_bytes): Likewise.
30117 * locale/programs/locarchive.c (compute_hashval): Likewise.
30118 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
30119 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
30120 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
30121 * nss/getent.c (print_rpc, print_protocols): Likewise.
30122 (print_passwd, print_group, print_aliases): Likewise.
30123 * nis/nss-nisplus.h (niserr2nss): Likewise.
30124 * nscd/connections.c (restart_p): Likewise.
30125 Change return type to bool.
30127 2013-02-05 Roland McGrath <roland@hack.frob.com>
30129 * Makeconfig (all-Depend-files): Add existing
30130 $(sorted-subdirs:=/Depend) files.
30131 (all-subdirs): Remove nss.
30132 * sysdeps/unix/inet/Subdirs: Add it here instead.
30133 * hesiod/Depend: New file.
30135 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
30136 instead of calling alloca.
30138 * io/lseek.c (__lseek): Rename to __libc_lseek.
30139 Define __lseek as an alias.
30141 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
30143 2013-02-04 Carlos O'Donell <carlos@redhat.com>
30145 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
30146 else clause and remove check for non-standard endianness.
30148 2013-02-04 David S. Miller <davem@davemloft.net>
30150 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30152 2013-02-04 Joseph Myers <joseph@codesourcery.com>
30155 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
30156 (__ubp_memchr): Remove prototype.
30157 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
30158 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30159 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30160 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30161 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30163 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30164 (__ubp_memchr): Likewise.
30165 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30166 (__ubp_memchr): Likewise.
30167 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30168 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30169 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30170 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30172 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30173 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30174 (__getcwd): Do not use CHECK_STRING.
30175 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30177 (__real_chown): Do not use CHECK_STRING.
30178 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30180 (fchownat): Do not use CHECK_STRING.
30181 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30183 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30185 (__lchown): Do not use CHECK_STRING.
30186 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30187 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30188 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30189 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30191 include <bp-checks.h>.
30192 (truncate64): Do not use CHECK_STRING.
30193 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30195 (__real_chown): Do not use CHECK_STRING.
30196 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30198 (__lchown): Do not use CHECK_STRING.
30199 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30201 (__chown): Do not use CHECK_STRING.
30202 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30204 (truncate64): Do not use CHECK_STRING.
30205 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30207 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30208 (__xmknod): Do not use CHECK_STRING.
30209 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30211 (__xmknodat): Do not use CHECK_STRING.
30212 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30213 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30215 2013-02-04 Andreas Schwab <schwab@suse.de>
30218 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30219 * include/netdb.h: Likewise for h_errno.
30220 * elf/tst-stackguard1.c: Include <tls.h>.
30222 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
30224 * elf/link.h (struct link_map): Extend the l_addr comment.
30225 * include/link.h (struct link_map): Likewise.
30227 2013-02-01 Joseph Myers <joseph@codesourcery.com>
30230 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30231 (BOUNDED_1): Remove macro.
30232 * debug/backtrace.c: Don't include <bp-checks.h>.
30233 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30234 (__backtrace): Likewise.
30235 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30237 (__backtrace): Don't use BOUNDED_1.
30238 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30240 (__backtrace): Don't use BOUNDED_1.
30241 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30242 (__backtrace): Don't use BOUNDED_1.
30243 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30244 (shmat): Don't use BOUNDED_N.
30246 2013-01-31 Joseph Myers <joseph@codesourcery.com>
30249 * sysdeps/generic/bp-start.h: Remove file.
30250 * csu/libc-start.c: Don't include <bp-start.h>.
30251 (LIBC_START_MAIN): Set up __environ directly instead of using
30252 INIT_ARGV_and_ENVIRON.
30253 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30257 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30259 (CHECK_FCNTL): Likewise.
30260 (CHECK_N_PAGES): Likewise.
30263 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30265 (CHECK_SIGSET_NULL_OK): Likewise.
30266 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30268 (sigpending): Don't use CHECK_SIGSET.
30269 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30271 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30272 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30274 (do_sigsuspend): Don't use CHECK_SIGSET.
30275 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30277 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30278 (do_sigwait): Don't use CHECK_SIGSET.
30279 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30281 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30282 include <bp-checks.h>.
30283 (sigpending): Don't use CHECK_SIGSET.
30284 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30285 include <bp-checks.h>.
30286 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30287 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30289 (sigpending): Don't use CHECK_SIGSET.
30290 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30292 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30295 * sysdeps/generic/bp-semctl.h: Remove file.
30296 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30297 <bp-checks.h> and <bp-semctl.h>.
30298 (__old_semctl): Don't use CHECK_SEMCTL.
30299 (__new_semctl): Likewise.
30300 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30302 (__old_semctl): Don't use CHECK_SEMCTL.
30303 (__new_semctl): Likewise.
30304 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30305 <bp-checks.h> and <bp-semctl.h>.
30306 (__old_semctl): Don't use CHECK_SEMCTL.
30307 (__new_semctl): Likewise.
30308 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30309 <bp-checks.h> and <bp-semctl.h>.
30310 (semctl): Don't use CHECK_SEMCTL.
30313 * Makerules (elide-bp-thunks): Remove variable.
30314 (elide-routines.oS): Don't use $(elide-bp-thunks).
30315 (elide-routines.os): Likewise.
30316 (elide-routines.o): Likewise.
30317 (elide-routines.op): Likewise.
30318 (elide-routines.og): Likewise.
30319 (objects): Don't use $(bp-thunks).
30320 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30322 (common-generated): Do not add s-proto-bp.d.
30323 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30326 Do not generate makefile rules for bounded-pointer thunks.
30327 * sysdeps/generic/bp-thunks.h: Remove file.
30328 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30329 * sysdeps/unix/s-proto-bp.S: Likewise.
30332 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30333 parts of result separately when argument is not close to line from
30334 -i to i and one part of argument is small.
30335 * math/k_casinhf.c (__kernel_casinhf): Likewise.
30336 * math/k_casinhl.c (__kernel_casinhl): Likewise.
30337 * math/libm-test.inc (cacos_test): Add more tests.
30338 (casin_test): Likewise.
30339 (casinh_test): Likewise.
30340 * sysdeps/i386/fpu/libm-test-ulps: Update.
30341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30343 2013-01-31 David S. Miller <davem@davemloft.net>
30345 * po/de.po: Update from translation team.
30347 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
30349 * time/tzfile.c: Include stdint.h for SIZE_MAX.
30351 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
30353 * configure.in (_AC_PROG_CC_C89): New definition.
30354 * configure: Regenerate.
30356 * configure.in (AC_PROG_CPP): New definition.
30357 * configure: Regenerate.
30359 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30361 * debug/tst-backtrace.h: New file.
30362 * debug/tst-backtrace2.c: Include tst-backtrace.h.
30363 (ret): Remove variable.
30365 (FAIL): Remove macro.
30366 (NO_INLINE): Likewise.
30367 (fn1): Use match function instead of strstr.
30368 * debug/tst-backtrace3.c: Include tst-backtrace.h.
30369 (ret): Remove variable.
30371 (FAIL): Remove macro.
30372 (NO_INLINE): Likewise.
30373 (fn): Use match function instead of strstr.
30374 * debug/tst-backtrace4.c: Include tst-backtrace.h.
30375 (ret): Remove variable.
30377 (FAIL): Remove macro.
30378 (NO_INLINE): Likewise.
30379 (handle_signal): Use match function instead of strstr.
30380 * debug/tst-backtrace5.c: Include tst-backtrace.h.
30381 (ret): Remove variable.
30383 (FAIL): Remove macro.
30384 (NO_INLINE): Likewise.
30385 (handle_signal): Use match function instead of strstr.
30387 2013-01-23 Roland McGrath <roland@hack.frob.com>
30389 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30391 2013-01-23 David S. Miller <davem@davemloft.net>
30393 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30394 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30395 argument of CAS if possible.
30396 * sysdeps/sparc/sparc64/bits/atomic.h
30397 (__arch_compare_and_exchange_val_32_acq): Likewise.
30398 (__arch_compare_and_exchange_val_64_acq): Likewise.
30400 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
30402 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30403 * sysdeps/posix/ulimit.c: ... this.
30404 Include <limits.h>.
30405 * sysdeps/unix/bsd/ulimit.c: Remove file.
30407 2013-01-23 Adam Conrad <adconrad@0c3.net>
30409 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30410 (LDFLAGS-tst-array5): Likewise.
30412 2013-01-23 Joseph Myers <joseph@codesourcery.com>
30415 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30416 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30417 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30418 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30420 2013-01-21 David S. Miller <davem@davemloft.net>
30422 * sysdeps/sparc/backtrace.c: New file.
30423 * sysdeps/sparc/sparc32/backtrace.h: New file.
30424 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30425 * sysdeps/sparc/sparc64/backtrace.h: New file.
30426 * sysdeps/sparc/sparc64/backtrace.c: Delete.
30427 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30430 2013-01-21 Andreas Schwab <schwab@suse.de>
30433 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30436 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
30438 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30442 2013-01-18 Joseph Myers <joseph@codesourcery.com>
30443 Mark Mitchell <mark@codesourcery.com>
30444 Tom de Vries <tom@codesourcery.com>
30445 Paul Pluzhnikov <ppluzhnikov@google.com>
30447 * debug/tst-backtrace2.c: New file.
30448 * debug/tst-backtrace3.c: Likewise.
30449 * debug/tst-backtrace4.c: Likewise.
30450 * debug/tst-backtrace5.c: Likewise.
30451 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30452 (CFLAGS-tst-backtrace3.c): Likewise.
30453 (CFLAGS-tst-backtrace4.c): Likewise.
30454 (CFLAGS-tst-backtrace5.c): Likewise.
30455 (LDFLAGS-tst-backtrace2): Likewise.
30456 (LDFLAGS-tst-backtrace3): Likewise.
30457 (LDFLAGS-tst-backtrace4): Likewise.
30458 (LDFLAGS-tst-backtrace5): Likewise.
30459 (tests): Add new tests tst-backtrace2, tst-backtrace3,
30460 tst-backtrace4 and tst-backtrace5.
30462 2013-01-18 Anton Blanchard <anton@samba.org>
30463 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
30465 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30466 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30467 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30468 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30470 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30471 "+r" and remove output regs list as redundant. Add explicit inline
30472 asm to specify register of return val to work around compiler codegen
30473 bug. Remove (int) cast on return value. Add return type parameter to
30474 use in macro so that this macro does not truncate return value for
30476 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30477 pass to INTERNAL_VSYSCALL_NCS.
30478 (INLINE_VSYSCALL): Add 'long int' as return type to
30479 INTERNAL_VSYSCALL_NCS macro invocation.
30480 (INTERNAL_VSYSCALL): Add 'long int' as return type to
30481 INTERNAL_VSYSCALL_NCS macro invocation.
30482 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30484 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
30487 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30488 Fix application of SIMD FP exception mask.
30490 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30491 mp_no from a power of two.
30492 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30493 __mpexp_twomm1. Use __pow_mp.
30495 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30498 2013-01-17 David S. Miller <davem@davemloft.net>
30500 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30502 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30505 * include/complex.h: Condition contents on [!_COMPLEX_H].
30506 (__kernel_casinhf): New prototype.
30507 (__kernel_casinh): Likewise.
30508 (__kernel_casinhl): Likewise.
30509 * math/Makefile (libm_calls): Add k_casinh.
30510 * math/k_casinh.c: New file.
30511 * math/k_casinhf.c: Likewise.
30512 * math/k_casinhl.c: Likewise.
30513 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30514 finite nonzero arguments.
30515 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30516 finite nonzero arguments.
30517 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30518 finite nonzero arguments.
30519 * math/s_casinh.c: Do not include <float.h>.
30520 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30521 * math/s_casinhf.c: Do not include <float.h>.
30522 (__casinhf): Move code for finite nonzero arguments to
30524 * math/s_casinhl.c: Do not include <float.h>.
30525 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30527 (__casinhl): Move code for finite nonzero arguments to
30529 * math/libm-test.inc (cacos_test): Add more tests.
30530 * sysdeps/i386/fpu/libm-test-ulps: Update.
30531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30533 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
30535 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30536 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30537 [!HAVE_MREMAP]: Remove [defined linux] case.
30538 * malloc/arena.c: Do not include <malloc-sysdep.h>.
30540 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
30542 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30544 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
30546 * elf/elf.h (R_386_SIZE32): New relocation.
30547 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30549 (elf_machine_rela): Likewise.
30550 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30551 R_X86_64_SIZE64 and R_X86_64_SIZE32.
30553 2013-01-17 Joseph Myers <joseph@codesourcery.com>
30555 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30556 (FP_FAST_FMA): Do not define.
30557 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30558 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30559 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30560 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30561 !_SOFT_FLOAT]: Likewise.
30562 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30563 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30565 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30566 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30567 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30568 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30569 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30570 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30573 2013-01-16 Andreas Schwab <schwab@suse.de>
30576 * include/stdlib.h (__mktemp): Add declaration.
30577 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30578 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30580 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
30582 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30584 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30585 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30586 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30588 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30589 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30591 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30593 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30594 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30595 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30597 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30598 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30600 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30602 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30604 2013-01-15 David S. Miller <davem@davemloft.net>
30606 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30607 trunc{,f} to libm-sysdep_routes.
30608 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30609 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30611 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30612 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30614 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30618 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30619 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30620 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30621 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30622 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30623 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30625 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30626 nearbyint{,f} to libm-sysdep_routes.
30627 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30628 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30630 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30632 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30634 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30638 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30640 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30641 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30643 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30644 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30645 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30647 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30648 libc_feholdexcept and libc_fesetenv.
30650 2013-01-15 Mike Frysinger <vapier@gentoo.org>
30652 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30654 2013-01-14 David S. Miller <davem@davemloft.net>
30656 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30657 (SPARC_ASM_VIS2_IFUNC): Likewise.
30658 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30659 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30660 use of 'siam' instruction.
30661 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30663 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30665 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30667 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30668 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30669 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30670 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30671 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30673 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30675 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30677 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30679 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30680 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30681 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30682 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30685 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30686 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30689 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30690 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30691 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30692 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30694 routines to libm-sysdep_routines.
30695 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30698 fdim/fdimf to libm-sysdep_routines.
30699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30705 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30707 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30708 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30709 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30710 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30712 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30714 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30715 to optimize copies.
30717 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30718 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30719 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30721 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30722 local variable MPTWO.
30723 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30726 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30728 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30731 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30733 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30735 2013-01-13 Mike Frysinger <vapier@gentoo.org>
30737 * manual/pattern.texi (glob_t): Document gl_flags.
30738 (glob64_t): Likewise.
30740 2013-01-11 David S. Miller <davem@davemloft.net>
30742 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30743 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30744 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
30745 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30746 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30747 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30748 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30749 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30750 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30751 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30752 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30753 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30754 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30756 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30757 sparc V9 rather than using V8 code.
30758 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30759 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30761 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30763 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30766 2013-01-11 Roland McGrath <roland@hack.frob.com>
30768 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30769 not in the main loop.
30770 * configure: Regenerated.
30772 2013-01-11 Joseph Myers <joseph@codesourcery.com>
30774 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30775 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30777 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
30778 [!__GLIBC_HAVE_LONG_LONG] case.
30779 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30780 condition to just #else.
30781 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30782 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30783 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30784 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30786 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30787 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30788 #elif condition to just #else.
30789 * sysdeps/unix/sysv/linux/sys/sysmacros.h
30790 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30791 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30792 #elif condition to just #else.
30794 2013-01-11 Steve Ellcey <sellcey@mips.com>
30796 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30797 (EF_MIPS_ARCH_64): Fix value.
30798 (EF_MIPS_ARCH_32R2): New.
30799 (EF_MIPS_ARCH_64R2): New.
30801 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
30803 * Makeconfig (+link-pie-before-libc): New.
30804 (+link-pie-after-libc): Likewise.
30805 (+link-pie-tests): Likewise.
30806 (+link-pie): Rewritten.
30807 (link-before-libc): Remove $(config-LDFLAGS).
30808 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30809 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30810 (config-LDFLAGS): Renamed to ...
30811 (rtld-LDFLAGS): This.
30812 (rtld-tests-LDFLAGS): New macro.
30813 (link-libc-rpath-link): Likewise.
30814 (link-libc-tests-rpath-link): Likewise.
30815 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30816 (link-libc): Prepand $(link-libc-rpath-link).
30817 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30818 (test-program-prefix): New macro.
30819 (test-via-rtld-prefix): Likewise.
30820 (test-program-cmd): Likewise.
30821 (host-test-program-cmd): Likewise.
30822 * Makefile ($(common-objpfx)testrun.sh): Replace
30823 $(run-program-prefix) with $(test-program-prefix).
30824 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30826 ($(common-objpfx)shlib.lds): Likewise.
30827 (build-module-helper): Likewise.
30828 ($(common-objpfx)format.lds): Likewise.
30829 * Rules (binaries-pie-tests): New.
30830 (binaries-pie-notests): Likewise.
30831 (binaries-pie): Rewritten.
30832 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30833 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30834 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30835 (make-test-out): Replace $(host-built-program-cmd) with
30836 $(host-test-program-cmd).
30837 * config.make.in (build-hardcoded-path-in-tests): New variable.
30838 * configure.in (--enable-hardcoded-path-in-tests): New configure
30840 (hardcoded_path_in_tests): New AC_SUBST.
30841 * configure: Regenerated.
30842 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30843 $(built-program-cmd) with $(test-program-cmd).
30844 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30845 (test_program_cmd): This.
30846 * elf/Makefile ($(objpfx)order.out): Run test with
30847 $(test-program-prefix).
30848 ($(objpfx)order2.out): Likewise.
30849 ($(objpfx)tst-initorder.out): Likewise.
30850 ($(objpfx)tst-initorder2.out): Likewise.
30851 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30852 $(test-program-cmd).
30853 ($(objpfx)tst-array1-static.out): Likewise.
30854 ($(objpfx)tst-array2.out): Likewise.
30855 ($(objpfx)tst-array3.out): Likewise.
30856 ($(objpfx)tst-array4.out): Likewise.
30857 ($(objpfx)tst-array5.out): Likewise.
30858 ($(objpfx)tst-array5-static.out): Likewise.
30859 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30860 $(test-program-cmd).
30861 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30862 $(run-program-prefix) with $(test-program-prefix).
30863 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30864 (test_program_prefix): This.
30865 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30866 $(run-program-prefix) with $(test-program-prefix).
30867 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30868 (test_program_prefix): This.
30869 * iconvdata/tst-tables.sh: Likewise.
30870 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30871 $(run-program-prefix) with $(test-program-prefix).
30872 ($(objpfx)tst-translit.out): Likewise.
30873 ($(objpfx)tst-gettext2.out): Likewise.
30874 ($(objpfx)tst-gettext4.out): Likewise.
30875 ($(objpfx)tst-gettext6.out): Likewise.
30876 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30877 (test_program_prefix): This.
30878 * intl/tst-gettext2.sh: Likewise.
30879 * intl/tst-gettext4.sh Likewise.
30880 * intl/tst-gettext6.sh: Likewise.
30881 * intl/tst-translit.sh: Likewise.
30882 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30883 with $(test-program-cmd).
30884 * libio/Makefile ($(objpfx)test-freopen.out): Replace
30885 $(run-program-prefix) with $(test-program-prefix).
30886 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30887 (test_program_prefix): This.
30888 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30889 $(run-program-prefix) with $(test-program-prefix).
30890 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30891 (test_program_prefix): This.
30892 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30893 * posix/Makefile ($(objpfx)globtest.out): Replace
30894 $(run-via-rtld-prefix) and $(test-wrapper) with
30895 $(test-program-prefix) and $(test-via-rtld-prefix).
30896 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30897 $(test-program-prefix).
30898 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30899 $(host-test-program-cmd).
30900 (tst-spawn-ARGS): Likewise.
30901 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30902 $(test-program-prefix).
30903 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30904 (test_via_rtld_prefix): This.
30905 (test_wrapper): Renamed to ...
30906 (test_program_prefix): This.
30907 (run_program_prefix): Replaced by test_program_prefix.
30908 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30909 (test_program_prefix): This.
30910 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30911 with $(host-test-program-cmd).
30912 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30913 $(run-program-prefix) with $(test-program-prefix).
30914 ($(objpfx)tst-printf.out): Likewise.
30915 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30916 $(test-program-cmd).
30917 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30918 (test_program_prefix): This.
30919 * stdio-common/tst-unbputc.sh: Likewise.
30920 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30921 $(run-program-prefix) with $(test-program-prefix).
30922 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30923 (test_program_prefix): This.
30924 * string/Makefile ($(objpfx)tst-svc.out): Replace
30925 $(built-program-cmd) with $(test-program-cmd).
30927 2013-01-11 Andreas Jaeger <aj@suse.de>
30930 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30931 value. Sync with Linux 3.7.
30933 2013-01-10 David S. Miller <davem@davemloft.net>
30935 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30936 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30937 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30939 2013-01-10 Roland McGrath <roland@hack.frob.com>
30941 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30943 * configure: Regenerated.
30945 2013-01-10 David S. Miller <davem@davemloft.net>
30947 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30948 sparc V9 rather than using V8 code.
30949 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30950 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30952 2013-01-10 Roland McGrath <roland@hack.frob.com>
30954 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30955 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30956 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30957 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30958 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30959 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30960 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30961 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30962 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30963 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30964 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30965 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30966 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30967 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30968 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30969 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30970 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30971 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30972 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30973 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30974 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30975 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30976 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30977 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30978 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30979 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30980 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30982 2013-01-10 David S. Miller <davem@davemloft.net>
30984 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30986 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
30988 * posix/Makefile (tests-static): New variable.
30989 (tests): Add $(tests-static).
30990 (tst-exec-static-ARGS): New variable.
30991 (tst-spawn-static-ARGS): Likewise.
30992 * posix/tst-exec-static.c: New file.
30993 * posix/tst-spawn-static.c: Likewise.
30994 * posix/tst-exec.c: Support run directly.
30995 * posix/tst-spawn.c: Likewise.
30997 2013-01-10 Joseph Myers <joseph@codesourcery.com>
30999 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
31001 * math/bits/mathcalls.h (llrint): Likewise.
31002 (llround): Likewise.
31003 * stdlib/stdlib.h (struct drand48_data): Likewise.
31004 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
31005 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
31006 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
31008 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
31010 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
31011 (elf_greg_t): Likewise.
31012 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
31013 (__jmp_buf): Likewise.
31014 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
31016 (llrint): Likewise, for all definitions.
31017 (llrintl): Likewise.
31019 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
31020 Remove [__GNUC__] condition.
31021 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
31022 condition to just [__USE_ISOC99].
31023 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
31025 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
31028 * sysdeps/unix/sysv/linux/x86/bits/environments.h
31029 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
31031 (_POSIX_V6_ILP32_OFF32): Likewise.
31032 (_XBS5_ILP32_OFF32): Likewise.
31033 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
31034 (__ILP32_OFFBIG_LDFLAGS): Likewise.
31036 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31038 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
31040 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
31041 doubles __mpexp_twomm1. Adjust usage.
31042 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
31045 2013-01-10 Andreas Schwab <schwab@suse.de>
31048 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
31049 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
31051 2013-01-09 David S. Miller <davem@davemloft.net>
31054 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
31055 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
31056 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
31057 (TCP_FASTOPEN): Define.
31058 (tcp_repair_opt): New structure.
31059 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
31061 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
31062 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
31063 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
31064 (tcp_cookie_transactions): New structure.
31066 2013-01-09 Anton Blanchard <anton@samba.org>
31068 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
31069 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
31070 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
31071 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
31073 2013-01-09 Joseph Myers <joseph@codesourcery.com>
31075 * include/features.h (__USE_ANSI): Remove.
31077 2013-01-09 Roland McGrath <roland@hack.frob.com>
31079 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
31081 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
31083 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
31085 * sysdeps/s390/fpu/libm-test-ulps: Update.
31087 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31089 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
31093 (denorm): Likewise.
31094 (__mp_dbl): Likewise.
31095 (__dbl_mp): Likewise.
31096 (add_magnitudes): Likewise.
31097 (sub_magnitudes): Likewise.
31103 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
31107 (denorm): Likewise.
31108 (__mp_dbl): Likewise.
31109 (__dbl_mp): Likewise.
31110 (add_magnitudes): Likewise.
31111 (sub_magnitudes): Likewise.
31117 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
31121 (denorm): Likewise.
31122 (__mp_dbl): Likewise.
31123 (__dbl_mp): Likewise.
31124 (add_magnitudes): Likewise.
31125 (sub_magnitudes): Likewise.
31132 2013-01-08 Joseph Myers <joseph@codesourcery.com>
31134 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
31135 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
31136 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
31137 2 && __USE_EXTERN_INLINES]: Likewise.
31139 2013-01-08 Andreas Jaeger <aj@suse.de>
31142 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
31144 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31145 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
31147 2013-01-07 Anton Blanchard <anton@samba.org>
31149 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
31150 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
31151 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
31152 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
31153 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
31154 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
31155 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
31156 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31157 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31158 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31159 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31160 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31161 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31162 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31163 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31164 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31165 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31166 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31167 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31168 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31169 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31170 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31171 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31172 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31173 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31174 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31175 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31176 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31177 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31178 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31179 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31180 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31181 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31182 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31183 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31184 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31185 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31186 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31187 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31188 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31189 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31190 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31191 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31193 2013-01-07 Joseph Myers <joseph@codesourcery.com>
31195 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31196 (__MALLOC_PMT): Likewise.
31197 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31198 [__GNUC__], only on [_LIBC].
31199 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31200 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31201 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31202 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31203 forward declaration.
31204 (realloc_hook_ini): Likewise.
31205 (memalign_hook_ini): Likewise.
31206 (__libc_memalign): Do not use __MALLOC_PMT in variable
31208 (__libc_valloc): Likewise.
31209 (__libc_pvalloc): Likewise.
31210 (__libc_calloc): Likewise.
31211 (__posix_memalign): Likewise.
31214 * math/s_casinh.c: Include <float.h>.
31215 (__casinh): Do not do computation with squaring and square root
31216 for large arguments.
31217 * math/s_casinhf.c: Include <float.h>.
31218 (__casinhf): Do not do computation with squaring and square root
31219 for large arguments.
31220 * math/s_casinhl.c: Include <float.h>.
31221 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31222 (__casinhl): Do not do computation with squaring and square root
31223 for large arguments.
31224 * math/libm-test.inc (casin_test): Add more tests.
31225 (casinh_test): Likewise.
31226 * sysdeps/i386/fpu/libm-test-ulps: Update.
31227 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31229 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
31231 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31232 (__x86_64_raw_data_cache_size): Likewise.
31233 (__x86_64_data_cache_size_half): Likewise.
31234 (__x86_64_raw_data_cache_size_half): Likewise.
31235 (__x86_64_shared_cache_size): Likewise.
31236 (__x86_64_raw_shared_cache_size): Likewise.
31237 (__x86_64_shared_cache_size_half): Likewise.
31238 (__x86_64_raw_shared_cache_size_half): Likewise.
31239 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31241 (__x86_data_cache_size): This.
31242 (__x86_64_raw_data_cache_size): Renamed to ...
31243 (__x86_raw_data_cache_size): This.
31244 (__x86_64_data_cache_size_half): Renamed to ...
31245 (__x86_data_cache_size_half): This.
31246 (__x86_64_raw_data_cache_size_half): Renamed to ...
31247 (__x86_raw_data_cache_size_half): This.
31248 (__x86_64_shared_cache_size): Renamed to ...
31249 (__x86_shared_cache_size): This.
31250 (__x86_64_raw_shared_cache_size): Renamed to ...
31251 (__x86_raw_shared_cache_size): This.
31252 (__x86_64_shared_cache_size_half): Renamed to ...
31253 (__x86_shared_cache_size_half): This.
31254 (__x86_64_raw_shared_cache_size_half): Renamed to ...
31255 (__x86_raw_shared_cache_size_half): This.
31256 * sysdeps/x86_64/memcpy.S: Updated.
31257 * sysdeps/x86_64/memset.S: Likewise.
31258 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31259 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31260 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31262 2013-01-04 David S. Miller <davem@davemloft.net>
31264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31266 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
31268 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31269 1 to avoid redefinition warning.
31270 (__USE_GNU): Don't define.
31271 (init_signaling_nan): Protoize.
31273 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31275 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31277 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31278 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31279 (__cpymn): Likewise.
31280 (norm): Remove commented code.
31281 (denorm): Likewise.
31282 (__mp_dbl): Likewise.
31284 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31285 (__cpymn): Likewise.
31286 (norm): Remove commented code.
31287 (denorm): Likewise.
31288 (__mp_dbl): Likewise.
31291 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31292 mp_no value for 1.0 and 2.0.
31293 (norm): Use RADIXI instead of radixi.d.
31294 (denorm): Likewise.
31295 (__mul): Use 0.0 instead of zero.d.
31296 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31297 mp_no value for 1.0 and 2.0.
31298 (norm): Use RADIXI instead of radixi.d.
31299 (denorm): Likewise.
31300 (__mul): Use 0.0 instead of zero.d.
31302 2013-01-04 Joseph Myers <joseph@codesourcery.com>
31305 * math/s_casinh.c (__casinh): Reduce finite argument to first
31306 quadrant then set signs of results at the end.
31307 * math/s_casinhf.c (__casinhf): Likewise.
31308 * math/s_casinhl.c (__casinhl): Likewise.
31309 * math/libm-test.inc (casin_test): Add more tests.
31310 (casinh_test): Likewise.
31311 * sysdeps/i386/fpu/libm-test-ulps: Update.
31312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31314 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
31316 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31318 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31320 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31322 (denorm): Likewise.
31323 (__mp_dbl): Likewise.
31326 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31327 and adjust the header comment.
31329 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31330 variable name from declaration.
31332 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
31334 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31335 Initialize COMMON_CPUID_INDEX_7 element.
31336 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31337 (CPUID_RTM): Likewise.
31338 (HAS_RTM): Likewise.
31339 (COMMON_CPUID_INDEX_7): New enum.
31341 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
31344 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31345 size is zero, record memory as freed.
31347 2013-01-03 Andreas Jaeger <aj@suse.de>
31349 * po/ia.po: Add new Interlingua translation.
31351 2012-01-03 Allan McRae <allan@archlinux.org>
31353 * locale/programs/localedef.c: Fix description of '--posix' flag.
31355 2013-01-02 Joseph Myers <joseph@codesourcery.com>
31357 * NEWS: Update dates in second copyright notice.
31358 * README: Update copyright dates in example.
31359 * manual/libc.texinfo: Update copyright dates.
31360 * scripts/test-installation.pl: Update copyright date in --version
31363 * hurd/ctty-input.c: Fix copyright notice formatting.
31364 * hurd/ctty-output.c: Likewise.
31365 * hurd/dtable.c: Likewise.
31366 * hurd/hurd-raise.c: Likewise.
31367 * hurd/hurdprio.c: Likewise.
31368 * hurd/msgportdemux.c: Likewise.
31369 * misc/sys/file.h: Likewise.
31370 * misc/sys/ioctl.h: Likewise.
31371 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31372 * sysdeps/mach/hurd/chdir.c: Likewise.
31373 * sysdeps/mach/hurd/fchdir.c: Likewise.
31374 * sysdeps/mach/hurd/rename.c: Likewise.
31375 * sysdeps/mach/hurd/rmdir.c: Likewise.
31376 * sysdeps/mach/hurd/seekdir.c: Likewise.
31377 * sysdeps/mach/hurd/setsid.c: Likewise.
31378 * sysdeps/posix/wait3.c: Likewise.
31380 * All files with FSF copyright notices: Update copyright dates
31381 using scripts/update-copyrights.
31382 * intl/plural.c: Regenerated.
31383 * locale/programs/charmap-kw.h: Likewise.
31384 * locale/programs/locfile-kw.h: Likewise.
31386 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31388 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31391 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31392 calculation loop and add branch prediction.
31394 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31395 check access beyond bounds of m1np.
31397 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31399 (__inv): Remove local variable MPTWO to use the global
31401 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31402 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31404 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31405 MP3HALFS static const.
31407 2013-01-01 David S. Miller <davem@davemloft.net>
31409 * po/ca.po: Update from translation team.
31411 2013-01-01 Joseph Myers <joseph@codesourcery.com>
31413 * scripts/update-copyrights: New file.
31414 * Makeconfig: Reformat copyright notice.
31415 * ctype/ctype.h: Likewise.
31416 * debug/swprintf_chk.c: Likewise.
31417 * elf/dl-cache.c: Likewise.
31418 * elf/dl-debug.c: Likewise.
31419 * elf/dl-object.c: Likewise.
31420 * grp/initgroups.c: Likewise.
31421 * hurd/Makefile: Likewise.
31422 * hurd/hurd/signal.h: Likewise.
31423 * hurd/hurdfault.c: Likewise.
31424 * hurd/hurdioctl.c: Likewise.
31425 * hurd/hurdlookup.c: Likewise.
31426 * hurd/intr-msg.c: Likewise.
31427 * iconv/gconv_open.c: Likewise.
31428 * libio/swprintf.c: Likewise.
31429 * locale/lc-ctype.c: Likewise.
31430 * locale/nl_langinfo.c: Likewise.
31431 * mach/Machrules: Likewise.
31432 * mach/Makefile: Likewise.
31433 * malloc/obstack.h: Likewise.
31434 * manual/Makefile: Likewise.
31435 * manual/tsort.awk: Likewise.
31436 * misc/bits/stab.def: Likewise.
31437 * nis/nis_print_group_entry.c: Likewise.
31438 * nis/nis_table.c: Likewise.
31439 * nis/nss_compat/compat-pwd.c: Likewise.
31440 * nis/nss_compat/compat-spwd.c: Likewise.
31441 * po/Makefile: Likewise.
31442 * posix/fnmatch.c: Likewise.
31443 * posix/regex.h: Likewise.
31444 * resolv/Makefile: Likewise.
31445 * resolv/nss_dns/dns-network.c: Likewise.
31446 * resolv/res_hconf.c: Likewise.
31447 * scripts/gen-sorted.awk: Likewise.
31448 * soft-fp/soft-fp.h: Likewise.
31449 * stdio-common/printf.h: Likewise.
31450 * stdlib/monetary.h: Likewise.
31451 * stdlib/random.c: Likewise.
31452 * stdlib/random_r.c: Likewise.
31453 * sysdeps/generic/Makefile: Likewise.
31454 * sysdeps/gnu/Makefile: Likewise.
31455 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31456 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31457 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31458 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31459 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31460 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31461 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31462 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31463 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31464 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31465 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31466 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31467 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31468 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31469 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31470 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31471 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31472 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31473 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31474 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31475 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31476 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31477 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31478 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31479 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31480 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31481 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31482 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31483 * sysdeps/mach/hurd/errnos.awk: Likewise.
31484 * sysdeps/mach/hurd/fork.c: Likewise.
31485 * sysdeps/mach/hurd/getcwd.c: Likewise.
31486 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31487 * sysdeps/mach/hurd/mmap.c: Likewise.
31488 * sysdeps/mach/hurd/utimes.c: Likewise.
31489 * sysdeps/mach/hurd/xmknod.c: Likewise.
31490 * sysdeps/posix/profil.c: Likewise.
31491 * sysdeps/posix/readdir_r.c: Likewise.
31492 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31493 * sysdeps/powerpc/bits/setjmp.h: Likewise.
31494 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31495 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31497 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31498 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31499 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31500 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31501 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31502 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31503 * sysdeps/pthread/lio_listio.c: Likewise.
31504 * sysdeps/sparc/dl-procinfo.h: Likewise.
31505 * sysdeps/unix/i386/sysdep.S: Likewise.
31506 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31507 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31508 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31509 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31511 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31512 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31513 * sysdeps/unix/sysv/linux/speed.c: Likewise.
31514 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31515 * sysdeps/wordsize-32/divdi3.c: Likewise.
31516 * time/sys/time.h: Likewise.
31517 * wcsmbs/Makefile: Likewise.
31519 2013-01-01 David S. Miller <davem@davemloft.net>
31521 * po/fr.po: Update from translation team.
31523 * catgets/gencat.c: Update copyright year.
31524 * csu/version.c: Likewise.
31525 * debug/catchsegv.sh: Likewise.
31526 * debug/pcprofiledump.c: Likewise.
31527 * debug/xtrace.sh: Likewise.
31528 * elf/ldconfig.c: Likewise.
31529 * elf/ldd.bash.in: Likewise.
31530 * elf/pldd.c: Likewise.
31531 * elf/sotruss.ksh: Likewise.
31532 * elf/sprof.c: Likewise.
31533 * iconv/iconv_prog.c: Likewise.
31534 * iconv/iconvconfig.c: Likewise.
31535 * locale/programs/locale.c: Likewise.
31536 * locale/programs/localedef.c: Likewise.
31537 * login/programs/pt_chown.c: Likewise.
31538 * malloc/memusage.sh: Likewise.
31539 * malloc/memusagestat.c: Likewise.
31540 * malloc/mtrace.pl: Likewise.
31541 * nscd/nscd.c: Likewise.
31542 * nss/getent.c: Likewise.
31543 * nss/makedb.c: Likewise.
31544 * posix/getconf.c: Likewise.
31546 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31548 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31551 2012-12-30 Mike Frysinger <vapier@gentoo.org>
31553 * math/bits/mathcalls.h (modf): Use __nonnull.
31555 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31557 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31558 (split): Use macro CN instead of the bare value.
31559 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31562 instead of the bare value.
31563 (power1): Likewise.
31565 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31567 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31569 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31571 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31573 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31574 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31575 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31576 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31578 2012-12-28 Andreas Jaeger <aj@suse.de>
31580 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
31581 values are from Linux 3.7.
31583 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31584 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
31586 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
31588 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31591 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31593 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31594 variables with preprocessor constants.
31595 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31596 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31597 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31599 2012-12-27 Bruno Haible <bruno@clisp.org>
31602 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31605 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
31607 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31608 and use variable directly.
31609 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31611 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31613 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31614 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31616 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31617 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31618 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31619 include directive. Remove local variable MPONE.
31620 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31621 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31622 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31624 2012-12-25 David S. Miller <davem@davemloft.net>
31626 * version.h (RELEASE): Set to "development".
31627 (VERSION): Set to "2.17.90".
31628 * NEWS: Add 2.18 section.
31630 2012-12-21 David S. Miller <davem@davemloft.net>
31632 * po/hr.po: Update from translation team.
31634 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31636 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31638 2012-12-19 Steve Ellcey <sellcey@mips.com>
31640 * NEWS: Mention new memcpy for MIPS.
31642 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
31644 * manual/contrib.texi (Contributors): Spelling correction.
31646 2012-12-15 David S. Miller <davem@davemloft.net>
31648 * po/ru.po: Update from translation team.
31650 2012-12-13 David S. Miller <davem@davemloft.net>
31652 * NEWS: Mention IFUNC testsuite enhancements.
31654 * po/pl.po: Update from translation team.
31655 * po/bg.po: Likewise.
31657 * manual/contrib.texi (Contributors): Update entries for Hongjiu
31658 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
31660 2012-12-11 David S. Miller <davem@davemloft.net>
31662 * po/sv.po: Update from translation team.
31664 * po/vi.po: Update from translation team.
31666 * po/cs.po: Update from translation team.
31668 * po/de.po: Update from translation team.
31669 * po/eo.po: Likewise.
31670 * po/nl.po: Likewise.
31672 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
31675 * manual/argp.texi (Argp Helper Functions): Move node to follow
31676 Argp Parsing State.
31679 * manual/conf.texi (Limits on File System Capacity): Mention if
31680 terminating null is included in the max size.
31682 2012-12-10 Andreas Jaeger <aj@suse.de>
31684 * po/cs.po: Update from translation team.
31686 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
31688 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31689 void pointer and cast to uintptr_t.
31690 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31692 * sysdeps/s390/s390-64/memcpy.S: Likewise.
31693 * sysdeps/s390/s390-64/memset.S: Likewise.
31695 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
31698 * menual/message.texi (Message Translation): Fix typos.
31699 (Helper programs for gettext): Likewise.
31701 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
31704 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31707 2012-12-07 David S. Miller <davem@davemloft.net>
31709 * po/libc.pot: Update.
31711 2012-12-07 Richard Henderson <rth@redhat.com>
31714 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31715 normal/normal case to before the switch.
31716 (_FP_DIV): Likewise.
31718 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
31719 Mike Frysinger <vapier@gentoo.org>
31721 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31722 check for __NR_fadvise64_64.
31724 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
31726 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31727 0, not just to plain "0" as a statement.
31728 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31731 2012-12-06 Joseph Myers <joseph@codesourcery.com>
31733 * NEWS: Use sourceware.org in Bugzilla URL.
31735 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31738 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31740 * stdio-common/tst-put-error.c (do_test): Add newline to the
31741 padded test to ensure flush.
31743 2012-12-05 Jeff Law <law@redhat.com>
31745 * sunrpc/etc.rpc (fedfs_admin): Add entry.
31747 2012-12-05 Joseph Myers <joseph@codesourcery.com>
31749 * README: Don't refer to ports add-on as distributed separately.
31750 Mention AArch64 in list of systems supported in the ports add-on.
31752 * LICENSES: Add more non-FSF copyright and license notices.
31754 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31757 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31759 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31760 10000 as width of padded output.
31762 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31764 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31766 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31767 variable LX with __attribute__ ((unused)).
31768 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31770 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31771 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31772 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31773 with __attribute__ ((unused)).
31775 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
31777 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31779 2012-12-04 Joseph Myers <joseph@codesourcery.com>
31781 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31782 (CFLAGS-nldbl-acos.c): New variable.
31783 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31784 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31785 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31786 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31787 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31788 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31789 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31790 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31791 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31792 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31793 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31794 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31795 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31796 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31797 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31798 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31799 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31800 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31801 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31802 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31803 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31804 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31805 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31806 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31807 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31808 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31809 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31810 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31811 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31812 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31813 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31814 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31815 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31816 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31817 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31818 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31819 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31820 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31821 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31822 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31823 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31824 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31825 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31826 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31827 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31828 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31829 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31830 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31831 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31832 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31833 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31834 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31835 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31836 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31837 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31838 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31839 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31840 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31841 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31842 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31843 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31844 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31845 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31846 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31847 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31848 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31849 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31850 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31851 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31852 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31853 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31854 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31855 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31856 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31857 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31858 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31859 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31860 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31861 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31862 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31863 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31864 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31865 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31866 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31867 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31868 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31869 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31870 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31871 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31872 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31873 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31874 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31875 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31876 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31877 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31878 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31879 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31882 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31885 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31886 whole low double instead of just low 47 bits when splitting values
31889 2012-12-03 Allan McRae <allan@archlinux.org>
31891 * manual/stdio.texi (Predefined Printf Handlers): Remove
31892 @hsep and @vsep usage.
31894 2012-12-03 Mike Frysinger <vapier@gentoo.org>
31896 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31897 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31899 2012-12-03 Jeff Law <law@redhat.com>
31901 * time/sys/time.h (settimeofday): Do not mark TV argument
31904 2012-12-01 Mike Frysinger <vapier@gentoo.org>
31906 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31907 when currently writing and seek to current position when not.
31908 * libio/Makefile (tests): Remove bug-fclose1.
31909 * libio/bug-fclose1.c: Delete.
31911 2012-12-01 Joseph Myers <joseph@codesourcery.com>
31913 * manual/arith.texi (feenableexcept): Fix typo.
31914 (fedisableexcept): Likewise.
31916 2012-11-30 Roland McGrath <roland@hack.frob.com>
31918 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31919 second, differently-typed declaration, rather than a cast.
31921 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31923 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31924 * include/rpc/svc.h: ... here.
31926 2012-11-30 Aurelien Jarno <aurel32@debian.org>
31929 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31930 depending n and resplen2 to catch cases where answer
31933 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
31935 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31936 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31938 2012-11-29 Mike Frysinger <vapier@gentoo.org>
31940 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31942 2012-11-29 Roland McGrath <roland@hack.frob.com>
31944 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31946 2012-11-28 Jeff Law <law@redhat.com>
31949 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31950 dataset_temporary. Track alloca usage into alloca_used.
31951 If dataset is large allocate and release it via malloc/free.
31953 2012-06-04 Florian Weimer <fweimer@redhat.com>
31956 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31958 2012-11-28 David S. Miller <davem@davemloft.net>
31960 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31962 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31965 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31966 of pi/2 rounded to nearest to 64 bits.
31967 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31968 nearest to 64 bits.
31969 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31972 2012-11-28 Jeff Law <law@redhat.com>
31973 Martin Osvald <mosvald@redhat.com>
31976 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31977 * sunrpc/svc.c: Include time.h.
31978 (__svc_accept_failed): New function.
31979 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31980 any reason other than EINTR, call __svc_accept_failed.
31981 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31982 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31984 2012-11-28 Andreas Schwab <schwab@suse.de>
31986 * scripts/abilist.awk: Also handle indirect functions in .opd
31989 2012-11-28 Joseph Myers <joseph@codesourcery.com>
31992 * sysdeps/x86/fpu/powl_helper.c: New file.
31993 * sysdeps/x86/fpu/Makefile: Likewise.
31994 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31996 (__ieee754_powl): Use __powl_helper for finite arguments except
31997 integer exponents below 8.
31998 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
32000 (__ieee754_powl): Use __powl_helper for finite arguments except
32001 integer exponents below 8.
32002 * math/libm-test.inc (pow_test): Add more tests and enable some
32003 previously disabled tests.
32004 * sysdeps/i386/fpu/libm-test-ulps: Update.
32005 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32007 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32008 Carlos O'Donell <carlos_odonell@mentor.com>
32010 * nss/makedb.c (is_prime): Assert that input is odd and greater
32011 than 4. Note that fact in a comment too.
32012 (next_prime): Add 4 to input.
32014 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32017 * libio/Makefile (tests): Add test case tst-fwrite-error.
32018 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
32019 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
32020 * libio/tst-fwrite-error.c: New test case.
32022 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
32024 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
32025 before casting to void *.
32026 * include/libc-internal.h (__pointer_type): New macro.
32027 (__integer_if_pointer_type_sub): Likewise.
32028 (__integer_if_pointer_type): Likewise.
32029 (cast_to_integer): Likewise.
32030 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
32031 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
32032 before casting to atomic64_t.
32033 (atomic_exchange_acq): Likewise.
32034 (__arch_exchange_and_add_body): Likewise.
32035 (__arch_add_body): Likewise.
32036 (atomic_add_negative): Likewise.
32037 (atomic_add_zero): Likewise.
32039 2012-11-26 Joseph Myers <joseph@codesourcery.com>
32041 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
32042 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
32043 (add_fdes): Likewise.
32044 (linear_search_fdes): Likewise.
32045 (binary_search_unencoded_fdes): Likewise.
32047 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
32049 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
32051 2012-11-24 Adam Conrad <adconrad@0c3.net>
32053 * configure.in: Autodetect C++ header directories.
32054 * configure: Regenerated.
32056 2012-11-23 Mike Frysinger <vapier@gentoo.org>
32058 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
32060 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
32062 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32064 2012-11-22 Joseph Myers <joseph@codesourcery.com>
32066 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
32067 LDBL_MANT_DIG == 106]: Disable some tests.
32068 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32070 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
32074 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
32075 input for small inputs. Return +/- pi/2 for large inputs.
32076 * math/libm-test.inc (atan_test): Add more tests.
32078 * sysdeps/generic/unwind-dw2-fde-glibc.c
32079 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
32080 __attribute__ ((unused)).
32083 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
32084 x * y if x and y are nonzero and z is zero.
32087 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
32088 nonzero exponents with absolute value below 0x1p-117 to +/-
32092 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
32093 up arguments below 2**-450, not just those below 2**-500.
32094 * math/libm-test.inc (hypot_test): Add another test.
32097 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
32098 Return a+b for ratio over 2**120, not 2**60.
32099 * math/libm-test.inc (hypot_test): Add another test.
32101 * math/libm-test.inc (clog_test): Use
32102 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
32103 (clog10_test): Likewise.
32106 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
32108 2012-11-22 Andreas Schwab <schwab@suse.de>
32110 * sysdeps/i386/fpu/libm-test-ulps: Update.
32112 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
32114 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
32115 printf output with newline.
32117 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
32120 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
32121 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
32122 -z nodlopen, -z initfirst and -z execstack support.
32123 * configure: Regenerated.
32125 * elf/elf.h (DF_1_NODIRECT): New macro.
32126 (DF_1_IGNMULDEF): Likewise.
32127 (DF_1_NOKSYMS): Likewise.
32128 (DF_1_NOHDR): Likewise.
32129 (DF_1_EDITED): Likewise.
32130 (DF_1_NORELOC): Likewise.
32131 (DF_1_SYMINTPOSE): Likewise.
32132 (DF_1_GLOBAUDIT): Likewise.
32133 (DF_1_SINGLETON): Likewise.
32134 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
32135 DT_1_SUPPORTED_MASK bits.
32136 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
32138 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
32140 * sysdeps/unix/make-syscalls.sh: Document prefixes.
32142 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
32144 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
32147 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
32148 (sendmmsg): Move declarations...
32149 * socket/sys/socket.h: ... here.
32150 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
32151 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
32153 * socket/recvmmsg.c: ... this new file.
32154 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
32155 (sendmmsg): Rename to __sendmmsg, create weak alias and make
32156 definition of __sendmmsg hidden.
32157 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
32158 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
32159 Move ENOSYS stub into and include it from...
32160 * socket/sendmmsg.c: ... this new file.
32161 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32162 (sysdep_routines): Move recvmmsg and sendmmsg...
32163 * socket/Makefile (routines): ... here.
32164 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32165 (GLIBC_PRIVATE): Add __sendmmsg.
32166 * include/sys/socket.h (__sendmmsg): Add declarations.
32167 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32170 2012-11-20 Joseph Myers <joseph@codesourcery.com>
32172 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32173 variable I1 with __attribute__ ((unused)).
32174 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32176 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32178 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32179 DUMMY variables with __attribute__ ((unused)).
32181 * bits/byteswap.h: Include <bits/types.h>.
32182 (__bswap_64): Use __uint64_t instead of unsigned long long int.
32184 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32186 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32187 string_t. Do not manually set errno.
32188 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32189 length with __strnlen. Make sure to both set errno and return it on
32192 2012-11-19 David S. Miller <davem@davemloft.net>
32194 With help from Joseph Myers.
32195 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32196 very large arguments properly.
32197 * math/libm-test.inc (atan_test): New tests.
32198 (atan2_test): New tests.
32199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32202 2012-11-19 Joseph Myers <joseph@codesourcery.com>
32205 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32208 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32209 [POSIX] (EADDRNOTAVAIL): Likewise.
32210 [POSIX] (EAFNOSUPPORT): Likewise.
32211 [POSIX] (EALREADY): Likewise.
32212 [POSIX] (ECONNABORTED): Likewise.
32213 [POSIX] (ECONNREFUSED): Likewise.
32214 [POSIX] (ECONNRESET): Likewise.
32215 [POSIX] (EDESTADDRREQ): Likewise.
32216 [POSIX] (EDQUOT): Likewise.
32217 [POSIX] (EHOSTUNREACH): Likewise.
32218 [POSIX] (EIDRM): Likewise.
32219 [POSIX] (EISCONN): Likewise.
32220 [POSIX] (ELOOP): Likewise.
32221 [POSIX] (EMULTIHOP): Likewise.
32222 [POSIX] (ENETDOWN): Likewise.
32223 [POSIX] (ENETUNREACH): Likewise.
32224 [POSIX] (ENOBUFS): Likewise.
32225 [POSIX] (ENODATA): Likewise.
32226 [POSIX] (ENOLINK): Likewise.
32227 [POSIX] (ENOMSG): Likewise.
32228 [POSIX] (ENOPROTOOPT): Likewise.
32229 [POSIX] (ENOSR): Likewise.
32230 [POSIX] (ENOSTR): Likewise.
32231 [POSIX] (ENOTCONN): Likewise.
32232 [POSIX] (ENOTSOCK): Likewise.
32233 [POSIX] (EOPNOTSUPP): Likewise.
32234 [POSIX] (EOVERFLOW): Likewise.
32235 [POSIX] (EPROTO): Likewise.
32236 [POSIX] (EPROTONOSUPPORT): Likewise.
32237 [POSIX] (EPROTOTYPE): Likewise.
32238 [POSIX] (ESTALE): Likewise.
32239 [POSIX] (ETIME): Likewise.
32240 [POSIX] (ETXTBSY): Likewise.
32241 [POSIX] (EWOULDBLOCK): Likewise.
32242 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32243 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32244 [POSIX] (SEEK_CUR): Likewise.
32245 [POSIX] (SEEK_END): Likewise.
32246 [POSIX || UNIX98] (mode_t): Do not require.
32247 [POSIX] (off_t): Likewise.
32248 [POSIX] (pid_t): Likewise.
32249 [POSIX] (sys/stat.h): Do not allow header.
32250 [POSIX] (unistd.h): Likewise.
32251 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32252 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32253 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32254 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32256 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32257 sigevent): Specify elements.
32258 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32260 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32261 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32263 * conform/data/cpio.h-data [POSIX]: Disable whole file.
32264 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32265 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32266 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32267 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32268 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32269 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32270 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32271 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32272 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32273 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32274 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32275 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32276 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32278 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32280 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32282 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32284 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32285 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32286 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32287 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32288 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32289 Specify lower bound on value.
32290 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32291 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32292 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32293 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32294 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32295 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32296 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32297 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32299 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32301 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32302 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32303 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32304 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32305 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32306 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32307 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32308 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32309 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32310 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32311 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32312 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32313 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32314 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32315 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32316 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32318 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32320 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32321 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32322 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32323 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32324 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32325 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32327 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32328 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32329 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32330 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32331 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
32332 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32333 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32335 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32336 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32337 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32338 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32339 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32340 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32341 specify as optional.
32342 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32343 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32344 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32345 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32346 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32347 [XPG3] (NL_LANGMAX): Likewise.
32348 [POSIX || XPG3] (NL_MSGMAX): Likewise.
32349 [POSIX || XPG3] (NL_NMAX): Likewise.
32350 [POSIX || XPG3] (NL_SETMAX): Likewise.
32351 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32352 [XPG3] (NZERO): Likewise.
32353 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32354 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32355 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32356 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32357 (REG_ERANGE): Expect.
32358 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32360 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32361 Use (void) in prototype.
32362 [POSIX] (*_t): Allow.
32363 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32364 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32365 (WRDE_BADVAL): Expect.
32367 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32369 [XPG3 || XPG4] (O_RSYNC): Likewise.
32370 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32372 [XPG3 || XPG4] (pthread_sigmask): Likewise.
32373 [XPG3 || XPG4] (sigqueue): Likewise.
32374 [XPG3 || XPG4] (sigtimedwait): Likewise.
32375 [XPG3 || XPG4] (sigwaitinfo): Likewise.
32376 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32377 [XPG3 || XPG4] (vsnprintf): Likewise.
32378 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32380 [XPG3 || XPG4] (blksize_t): Likewise.
32381 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32383 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32384 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32385 [XPG3 || XPG4] (struct itimerspec): Likewise.
32386 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32387 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32388 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32389 [XPG3 || XPG4] (clockid_t): Likewise.
32390 [XPG3 || XPG4] (timer_t): Likewise.
32391 [XPG3 || XPG4] (clock_getres): Likewise.
32392 [XPG3 || XPG4] (clock_gettime): Likewise.
32393 [XPG3 || XPG4] (clock_settime): Likewise.
32394 [XPG3 || XPG4] (nanosleep): Likewise.
32395 [XPG3 || XPG4] (timer_create): Likewise.
32396 [XPG3 || XPG4] (timer_delete): Likewise.
32397 [XPG3 || XPG4] (timer_gettime): Likewise.
32398 [XPG3 || XPG4] (timer_getoverrun): Likewise.
32399 [XPG3 || XPG4] (timer_settime): Likewise.
32400 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32401 [XPG3 || XPG4] (getlogin_r): Likewise.
32402 [XPG3 || XPG4] (pread): Likewise.
32403 [XPG3 || XPG4] (pthread_atfork): Likewise.
32404 [XPG3 || XPG4] (pwrite): Likewise.
32407 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32410 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
32412 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32413 finalizing MALLSTREAM.
32415 * sysdeps/mach/hurd/syncfs.c: New file.
32417 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
32420 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32421 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32422 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32423 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32424 (_nss_dns_gethostbyname4_r): Likewise.
32425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32426 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32428 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
32431 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32433 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
32435 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32436 * elf/cache.c (print_entry): Print ",AArch64" for
32439 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32440 * elf/cache.c (print_entry): Print ",hard-float" for
32443 2012-11-18 David S. Miller <davem@davemloft.net>
32445 With help from Joseph Myers.
32446 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32448 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32450 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32451 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32453 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32454 * math/libm-test.inc (y0_test): New tests.
32455 (y1_test): New tests.
32456 * sysdeps/i386/fpu/libm-test-ulps: Update.
32457 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32458 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32460 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
32462 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32464 * configure: Regenerated.
32466 2012-11-17 David S. Miller <davem@davemloft.net>
32469 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32470 nonzero exponents with absolute value below 0x1p-128 to +/-
32473 2012-11-17 Joseph Myers <joseph@codesourcery.com>
32475 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32477 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32479 * posix/getconf-speclist.c: New file.
32480 * posix/posix-envs.def: Likewise.
32481 * posix/confstr.c (START_ENV_GROUP): New macro.
32482 (END_ENV_GROUP): Likewise.
32483 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32484 (KNOWN_PRESENT_ENV_STRING): Likewise.
32485 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32486 (UNKNOWN_ENVIRONMENT): Likewise.
32487 (confstr): Include posix-envs.def instead of handling
32488 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32489 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32490 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32491 (END_ENV_GROUP): Likewise.
32492 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32493 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32494 (UNKNOWN_ENVIRONMENT): Likewise.
32495 (__sysconf): Include posix-envs.def instead of handling associated
32496 cases directly here.
32497 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32498 preprocessing getconf-speclist.c rather than running getconf or
32499 generating empty file.
32501 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
32503 * scripts/check-local-headers.sh: Ignore 'mach' headers.
32505 2012-11-16 Andrej Lajovic <natrij@gmail.com>
32508 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32510 2012-11-16 David S. Miller <davem@davemloft.net>
32512 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32513 smaller than LDBL_EPSILON/2.0L, just return xm1.
32515 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
32517 * elf/tst-array1.c (init): Set constructor priority to 1000.
32518 (fini): Set destructor priority to 1000.
32519 * elf/tst-array2dep.c: Likewise.
32521 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32524 * libio/fileops.c (_IO_new_file_write): Correctly return error.
32525 (_IO_new_file_xsputn): Also return EOF if none of the input
32526 data was written when overflow failed.
32527 * libio/iopadn.c (_IO_padn): Likewise.
32528 * libio/iowpadn.c (_IO_wpadn): Likewise.
32529 * stdio-common/tst-put-error.c: Add copyright notice.
32530 (do_test): Add case for printing padded string.
32531 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32532 _IO_padn returned error.
32533 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32534 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32537 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32539 * libio/libioP.h: Add comment note that the references to C++
32540 bits are now obsolete.
32542 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32544 * math/libm-test.inc (check_complex): Use asprintf.
32546 2012-11-14 Joseph Myers <joseph@codesourcery.com>
32548 * debug/pcprofiledump.c (print_version): Update copyright year.
32549 * malloc/memusagestat.c (print_version): Likewise.
32551 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
32554 * elf/Makefile (tests): Add tst-audit8.
32555 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32556 ($(objpfx)tst-audit8.out): New target.
32557 (tst-audit8-ENV): New variable.
32558 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32559 audit if l_reloc_result is NULL.
32560 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32561 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32562 * elf/tst-audit8.c: New file.
32564 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32566 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32567 * misc/Makefile (CFLAGS-select.c): Define.
32568 * posix/Makefile (CFLAGS-pause.c): Define.
32570 2012-11-13 David S. Miller <davem@davemloft.net>
32572 * crypt/Makefile: Move test targets after toplevel Rules
32573 inclusion. Grab any necessary sysdep routines when linking.
32574 * crypt/md5.c (md5_process_block): Remove define, we will always
32575 name it __md5_process_block.
32576 (md5_finish_ctx): Update md5_process_block call.
32577 (md5_stream): Likewise.
32578 (md5_process_bytes): Likewise.
32579 (md5_process_block): Rename to __md5_process_block and move to ...
32580 * crypt/md5-block.c: ... here.
32581 * crypt/sha256.c (sha256_process_block): Move to ...
32582 * crypt/sha256-block.c: ... here.
32583 * crypt/sha512.c (sha512_process_block): Move to ...
32584 * crypt/sha512-block.c: ... here.
32585 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32587 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32588 * sysdeps/sparc/sparc64/multiarch/Makefile
32589 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32591 (localedef-aux): Add md5 crypto assembler when in locale subdir.
32592 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32594 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32595 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32596 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32597 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32598 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32599 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32600 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32601 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32602 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32604 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32605 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32607 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32609 2012-11-13 Joseph Myers <joseph@codesourcery.com>
32611 * timezone/tzselect.ksh: Update from tzcode git revision
32612 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32613 * timezone/zdump.c: Likewise.
32614 * timezone/zic.c: Likewise.
32615 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32616 in TZVERSION setting, not $(PKGVERSION).
32617 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
32618 REPORT_BUGS_TO settings.
32621 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32624 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32626 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32627 detection to immediately after _FP_ROUND().
32628 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32631 2012-11-11 David S. Miller <davem@davemloft.net>
32633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32635 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32636 __close rather than their public counterparts.
32638 2012-11-10 Joseph Myers <joseph@codesourcery.com>
32640 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32642 [UNIX98] (sem_timedwait): Do not expect.
32643 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32644 [XPG4 || UNIX98] (sockatmark): Do not expect.
32645 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32646 (clock_getcpuclockid): Do not expect.
32647 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32648 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32650 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32651 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32652 [UNIX98] (vwscanf): Likewise.
32653 [UNIX98] (vswscanf): Likewise.
32655 2012-11-09 Joseph Myers <joseph@codesourcery.com>
32657 * timezone/version.h: Remove file.
32658 * timezone/README: Do not refer to version.h.
32659 * timezone/Makefile ($(objpfx)zic.o): New dependency on
32660 $(objpfx)version.h.
32661 ($(objpfx)zdump.o): Likewise.
32662 ($(objpfx)version.h): New target.
32664 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32666 * timezone/README: Don't mention modification to tzselect.ksh.
32667 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32668 work on unmodified tzselect.ksh. Substitute version numbers in
32671 * Makefile (format-me): Remove.
32672 (INSTALL): Adjust indentation. Use commands directly instead of
32673 using $(format-me).
32675 * aclocal.m4 (ACX_PKGVERSION): New macro.
32676 (ACX_BUGURL): Likewise.
32677 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32678 (PKGVERSION): New AC_DEFINE_UNQUOTED.
32679 (REPORT_BUGS_TO): Likewise.
32680 * configure: Regenerated.
32681 * config.h.in (PKGVERSION): New macro.
32682 (REPORT_BUGS_TO): Likewise.
32683 * config.make.in (PKGVERSION): New variable.
32684 (PKGVERSION_TEXI): Likewise.
32685 (REPORT_BUGS_TO): Likewise.
32686 (REPORT_BUGS_TEXI): Likewise.
32687 * Makefile (format-me): Use -I$(common-objpfx)manual.
32688 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32689 ($(common-objpfx)manual/%): New target.
32690 (manual/%): Remove target.
32691 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32692 (print_version): Use PKGVERSION.
32693 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32694 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32695 and REPORT_BUGS_TO.
32696 ($(objpfx)xtrace): Likewise.
32697 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32698 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32699 (print_version): Use PKGVERSION.
32700 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32701 (do_version): Use PKGVERSION.
32702 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32704 (common-ldd-rewrite): Likewise.
32705 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32706 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32707 (print_version): Use PKGVERSION.
32708 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32709 * elf/pldd.c (argp_program_bug_address): Remove variable.
32710 (more_help): New function.
32711 (argp): Use more_help.
32712 (print_version): Use PKGVERSION.
32713 * elf/sln.c (main): Use PKGVERSION.
32714 (usage): Use REPORT_BUGS_TO.
32715 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32716 (top level): Use PKGVERSION.
32717 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32718 (print_version): Use PKGVERSION.
32719 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32720 (print_version): Use PKGVERSION.
32721 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32722 (print_version): Use PKGVERSION.
32723 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32724 (print_version): Use PKGVERSION.
32725 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32726 (print_version): Use PKGVERSION.
32727 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32728 (print_version): Use PKGVERSION.
32729 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32731 ($(objpfx)memusage): Likewise.
32732 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32733 (do_version): Use PKGVERSION.
32734 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32735 (print_version): Use PKGVERSION.
32736 * malloc/mtrace.pl ($PACKAGE): Remove variable.
32737 ($PKGVERSION): New variable.
32738 ($REPORT_BUGS_TO): Likewise.
32739 (usage): Use $REPORT_BUGS_TO.
32740 (top level): Use $PKGVERSION.
32741 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32742 ($(objpfx)pkgvers.texi): New rule.
32743 ($(objpfx)stamp-pkgvers): Likewise.
32744 * manual/install.texi: Include pkgvers.texi.
32745 (--with-pkgversion): Document new configure option.
32746 (--with-bugurl): Likewise.
32747 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32748 than necessarily for this particular distribution. Use
32749 REPORT_BUGS_TO for where to report bugs.
32750 * INSTALL: Regenerated.
32751 * manual/libc.texinfo: Include pkgvers.texi.
32752 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32753 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32754 (print_version): Use PKGVERSION.
32755 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32756 (print_version): Use PKGVERSION.
32757 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32758 (print_version): Use PKGVERSION.
32759 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32760 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32762 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32763 (print_version): Use PKGVERSION.
32764 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32765 (print_version): Use PKGVERSION.
32766 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32769 * timezone/checktab.awk: Update from tzcode 2012i.
32770 * timezone/ialloc.c: Likewise.
32771 * timezone/private.h: Likewise.
32772 * timezone/scheck.c: Likewise.
32773 * timezone/tzfile.h: Likewise.
32774 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32775 (TZVERSION): Hardcode tzcode version number.
32776 * timezone/zdump.c: Update from tzcode 2012i.
32777 * timezone/zic.c: Likewise.
32778 * timezone/version.h: New file.
32779 * timezone/README: Describe version.h. Update upstream location.
32782 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32783 (mktemp): Enable declaration.
32784 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32785 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32786 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32787 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32789 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32791 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32793 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32795 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32797 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32801 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32802 offset in buffer as u_int32_t not u_long. Consistently use memcpy
32803 for copies of such integer values.
32804 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32805 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32807 2012-11-09 Andreas Jaeger <aj@suse.de>
32809 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32810 definitions and declarations that are provided by
32811 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32813 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32815 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32816 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32817 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32820 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
32822 * elf/elf.h: Update comment before AArch64 relocations.
32824 2012-11-07 David S. Miller <davem@davemloft.net>
32826 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32827 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32828 (__start_context): Declare.
32829 (__makecontext_ret): Delete.
32830 (__makecontext): Hook up __start_context instead of
32832 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32833 (sysdep_routines): Add __start_context when in stdlib.
32835 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32837 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32838 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32839 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
32841 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
32842 (READELF): New variable. Use it instead of hardcoded "readelf".
32844 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
32846 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32847 * sysdeps/x86/Makefile: Here.
32848 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32849 * sysdeps/x86/tst-xmmymm.sh: This.
32851 2012-11-07 Joseph Myers <joseph@codesourcery.com>
32853 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32855 [UNIX98] (pthread_barrier_t): Do not expect.
32856 [UNIX98] (pthread_barrierattr_t): Likewise.
32857 [UNIX98] (pthread_spinlock_t): Likewise.
32858 [UNIX98] (pthread_barrier_destroy): Likewise.
32859 [UNIX98] (pthread_barrier_init): Likewise.
32860 [UNIX98] (pthread_barrier_wait): Likewise.
32861 [UNIX98] (pthread_barrierattr_destroy): Likewise.
32862 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32863 [UNIX98] (pthread_barrierattr_init): Likewise.
32864 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32865 [UNIX98] (pthread_getcpuclockid): Likewise.
32866 [UNIX98] (pthread_mutex_timedlock): Likewise.
32867 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32868 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32869 [UNIX98] (pthread_sigmask): Likewise.
32870 [UNIX98] (pthread_spin_destroy): Likewise.
32871 [UNIX98] (pthread_spin_init): Likewise.
32872 [UNIX98] (pthread_spin_lock): Likewise.
32873 [UNIX98] (pthread_spin_trylock): Likewise.
32874 [UNIX98] (pthread_spin_unlock): Likewise.
32875 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32877 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32878 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32879 [XPG3 || XPG4] (pthread_cond_t): Likewise.
32880 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32881 [XPG3 || XPG4] (pthread_key_t): Likewise.
32882 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32883 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32884 [XPG3 || XPG4] (pthread_once_t): Likewise.
32885 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32886 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32887 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32888 [XPG3 || XPG4] (pthread_t): Likewise.
32890 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32892 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32894 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32895 Change function return type to int.
32897 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32898 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32899 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32900 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32901 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32902 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32903 [!POSIX] (posix_madvise): Likewise.
32904 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32906 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32907 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32908 (mode_t): Likewise.
32909 (posix_mem_offset): Likewise.
32910 (posix_typed_mem_get_info): Likewise.
32911 (posix_typed_mem_open): Likewise.
32913 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32914 Change condition to [XOPEN2K8].
32916 * conform/conformtest.pl: Preprocess allow-header data with -x c
32917 instead of from stdin.
32918 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32919 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32920 [C99-based standards] (cerfc): Likewise.
32921 [C99-based standards] (cexp2): Likewise.
32922 [C99-based standards] (cexpm1): Likewise.
32923 [C99-based standards] (clog10): Likewise.
32924 [C99-based standards] (clog1p): Likewise.
32925 [C99-based standards] (clog2): Likewise.
32926 [C99-based standards] (clgamma): Likewise.
32927 [C99-based standards] (ctgamma): Likewise.
32928 [C99-based standards] (cerff): Likewise.
32929 [C99-based standards] (cerfcf): Likewise.
32930 [C99-based standards] (cexp2f): Likewise.
32931 [C99-based standards] (cexpm1f): Likewise.
32932 [C99-based standards] (clog10f): Likewise.
32933 [C99-based standards] (clog1pf): Likewise.
32934 [C99-based standards] (clog2f): Likewise.
32935 [C99-based standards] (clgammaf): Likewise.
32936 [C99-based standards] (ctgammaf): Likewise.
32937 [C99-based standards] (cerfl): Likewise.
32938 [C99-based standards] (cerfcl): Likewise.
32939 [C99-based standards] (cexp2l): Likewise.
32940 [C99-based standards] (cexpm1l): Likewise.
32941 [C99-based standards] (clog10l): Likewise.
32942 [C99-based standards] (clog1pl): Likewise.
32943 [C99-based standards] (clog2l): Likewise.
32944 [C99-based standards] (clgammal): Likewise.
32945 [C99-based standards] (ctgammal): Likewise.
32946 * conform/data/inttypes.h-data [C99-based standards]: Include
32947 stdint.h-data. Remove all expectations for stdint.h contents.
32948 [C99-based standards] (PRI*): Do not allow.
32949 [C99-based standards] (SCN*): Likewise.
32950 [C99-based standards] (*_t): Likewise.
32951 [C99-based-standards] (PRId8): Expect macro.
32952 [C99-based-standards] (PRIi8): Likewise.
32953 [C99-based-standards] (PRIo8): Likewise.
32954 [C99-based-standards] (PRIu8): Likewise.
32955 [C99-based-standards] (PRIx8): Likewise.
32956 [C99-based-standards] (PRIX8): Likewise.
32957 [C99-based-standards] (SCNd8): Likewise.
32958 [C99-based-standards] (SCNi8): Likewise.
32959 [C99-based-standards] (SCNo8): Likewise.
32960 [C99-based-standards] (SCNu8): Likewise.
32961 [C99-based-standards] (SCNx8): Likewise.
32962 [C99-based-standards] (PRIdLEAST8): Likewise.
32963 [C99-based-standards] (PRIiLEAST8): Likewise.
32964 [C99-based-standards] (PRIoLEAST8): Likewise.
32965 [C99-based-standards] (PRIuLEAST8): Likewise.
32966 [C99-based-standards] (PRIxLEAST8): Likewise.
32967 [C99-based-standards] (PRIXLEAST8): Likewise.
32968 [C99-based-standards] (SCNdLEAST8): Likewise.
32969 [C99-based-standards] (SCNiLEAST8): Likewise.
32970 [C99-based-standards] (SCNoLEAST8): Likewise.
32971 [C99-based-standards] (SCNuLEAST8): Likewise.
32972 [C99-based-standards] (SCNxLEAST8): Likewise.
32973 [C99-based-standards] (PRIdFAST8): Likewise.
32974 [C99-based-standards] (PRIiFAST8): Likewise.
32975 [C99-based-standards] (PRIoFAST8): Likewise.
32976 [C99-based-standards] (PRIuFAST8): Likewise.
32977 [C99-based-standards] (PRIxFAST8): Likewise.
32978 [C99-based-standards] (PRIXFAST8): Likewise.
32979 [C99-based-standards] (SCNdFAST8): Likewise.
32980 [C99-based-standards] (SCNiFAST8): Likewise.
32981 [C99-based-standards] (SCNoFAST8): Likewise.
32982 [C99-based-standards] (SCNuFAST8): Likewise.
32983 [C99-based-standards] (SCNxFAST8): Likewise.
32984 [C99-based-standards] (PRId16): Likewise.
32985 [C99-based-standards] (PRIi16): Likewise.
32986 [C99-based-standards] (PRIo16): Likewise.
32987 [C99-based-standards] (PRIu16): Likewise.
32988 [C99-based-standards] (PRIx16): Likewise.
32989 [C99-based-standards] (PRIX16): Likewise.
32990 [C99-based-standards] (SCNd16): Likewise.
32991 [C99-based-standards] (SCNi16): Likewise.
32992 [C99-based-standards] (SCNo16): Likewise.
32993 [C99-based-standards] (SCNu16): Likewise.
32994 [C99-based-standards] (SCNx16): Likewise.
32995 [C99-based-standards] (PRIdLEAST16): Likewise.
32996 [C99-based-standards] (PRIiLEAST16): Likewise.
32997 [C99-based-standards] (PRIoLEAST16): Likewise.
32998 [C99-based-standards] (PRIuLEAST16): Likewise.
32999 [C99-based-standards] (PRIxLEAST16): Likewise.
33000 [C99-based-standards] (PRIXLEAST16): Likewise.
33001 [C99-based-standards] (SCNdLEAST16): Likewise.
33002 [C99-based-standards] (SCNiLEAST16): Likewise.
33003 [C99-based-standards] (SCNoLEAST16): Likewise.
33004 [C99-based-standards] (SCNuLEAST16): Likewise.
33005 [C99-based-standards] (SCNxLEAST16): Likewise.
33006 [C99-based-standards] (PRIdFAST16): Likewise.
33007 [C99-based-standards] (PRIiFAST16): Likewise.
33008 [C99-based-standards] (PRIoFAST16): Likewise.
33009 [C99-based-standards] (PRIuFAST16): Likewise.
33010 [C99-based-standards] (PRIxFAST16): Likewise.
33011 [C99-based-standards] (PRIXFAST16): Likewise.
33012 [C99-based-standards] (SCNdFAST16): Likewise.
33013 [C99-based-standards] (SCNiFAST16): Likewise.
33014 [C99-based-standards] (SCNoFAST16): Likewise.
33015 [C99-based-standards] (SCNuFAST16): Likewise.
33016 [C99-based-standards] (SCNxFAST16): Likewise.
33017 [C99-based-standards] (PRId32): Likewise.
33018 [C99-based-standards] (PRIi32): Likewise.
33019 [C99-based-standards] (PRIo32): Likewise.
33020 [C99-based-standards] (PRIu32): Likewise.
33021 [C99-based-standards] (PRIx32): Likewise.
33022 [C99-based-standards] (PRIX32): Likewise.
33023 [C99-based-standards] (SCNd32): Likewise.
33024 [C99-based-standards] (SCNi32): Likewise.
33025 [C99-based-standards] (SCNo32): Likewise.
33026 [C99-based-standards] (SCNu32): Likewise.
33027 [C99-based-standards] (SCNx32): Likewise.
33028 [C99-based-standards] (PRIdLEAST32): Likewise.
33029 [C99-based-standards] (PRIiLEAST32): Likewise.
33030 [C99-based-standards] (PRIoLEAST32): Likewise.
33031 [C99-based-standards] (PRIuLEAST32): Likewise.
33032 [C99-based-standards] (PRIxLEAST32): Likewise.
33033 [C99-based-standards] (PRIXLEAST32): Likewise.
33034 [C99-based-standards] (SCNdLEAST32): Likewise.
33035 [C99-based-standards] (SCNiLEAST32): Likewise.
33036 [C99-based-standards] (SCNoLEAST32): Likewise.
33037 [C99-based-standards] (SCNuLEAST32): Likewise.
33038 [C99-based-standards] (SCNxLEAST32): Likewise.
33039 [C99-based-standards] (PRIdFAST32): Likewise.
33040 [C99-based-standards] (PRIiFAST32): Likewise.
33041 [C99-based-standards] (PRIoFAST32): Likewise.
33042 [C99-based-standards] (PRIuFAST32): Likewise.
33043 [C99-based-standards] (PRIxFAST32): Likewise.
33044 [C99-based-standards] (PRIXFAST32): Likewise.
33045 [C99-based-standards] (SCNdFAST32): Likewise.
33046 [C99-based-standards] (SCNiFAST32): Likewise.
33047 [C99-based-standards] (SCNoFAST32): Likewise.
33048 [C99-based-standards] (SCNuFAST32): Likewise.
33049 [C99-based-standards] (SCNxFAST32): Likewise.
33050 [C99-based-standards] (PRId64): Likewise.
33051 [C99-based-standards] (PRIi64): Likewise.
33052 [C99-based-standards] (PRIo64): Likewise.
33053 [C99-based-standards] (PRIu64): Likewise.
33054 [C99-based-standards] (PRIx64): Likewise.
33055 [C99-based-standards] (PRIX64): Likewise.
33056 [C99-based-standards] (SCNd64): Likewise.
33057 [C99-based-standards] (SCNi64): Likewise.
33058 [C99-based-standards] (SCNo64): Likewise.
33059 [C99-based-standards] (SCNu64): Likewise.
33060 [C99-based-standards] (SCNx64): Likewise.
33061 [C99-based-standards] (PRIdLEAST64): Likewise.
33062 [C99-based-standards] (PRIiLEAST64): Likewise.
33063 [C99-based-standards] (PRIoLEAST64): Likewise.
33064 [C99-based-standards] (PRIuLEAST64): Likewise.
33065 [C99-based-standards] (PRIxLEAST64): Likewise.
33066 [C99-based-standards] (PRIXLEAST64): Likewise.
33067 [C99-based-standards] (SCNdLEAST64): Likewise.
33068 [C99-based-standards] (SCNiLEAST64): Likewise.
33069 [C99-based-standards] (SCNoLEAST64): Likewise.
33070 [C99-based-standards] (SCNuLEAST64): Likewise.
33071 [C99-based-standards] (SCNxLEAST64): Likewise.
33072 [C99-based-standards] (PRIdFAST64): Likewise.
33073 [C99-based-standards] (PRIiFAST64): Likewise.
33074 [C99-based-standards] (PRIoFAST64): Likewise.
33075 [C99-based-standards] (PRIuFAST64): Likewise.
33076 [C99-based-standards] (PRIxFAST64): Likewise.
33077 [C99-based-standards] (PRIXFAST64): Likewise.
33078 [C99-based-standards] (SCNdFAST64): Likewise.
33079 [C99-based-standards] (SCNiFAST64): Likewise.
33080 [C99-based-standards] (SCNoFAST64): Likewise.
33081 [C99-based-standards] (SCNuFAST64): Likewise.
33082 [C99-based-standards] (SCNxFAST64): Likewise.
33083 [C99-based-standards] (PRIdMAX): Likewise.
33084 [C99-based-standards] (PRIiMAX): Likewise.
33085 [C99-based-standards] (PRIoMAX): Likewise.
33086 [C99-based-standards] (PRIuMAX): Likewise.
33087 [C99-based-standards] (PRIxMAX): Likewise.
33088 [C99-based-standards] (PRIXMAX): Likewise.
33089 [C99-based-standards] (SCNdMAX): Likewise.
33090 [C99-based-standards] (SCNiMAX): Likewise.
33091 [C99-based-standards] (SCNoMAX): Likewise.
33092 [C99-based-standards] (SCNuMAX): Likewise.
33093 [C99-based-standards] (SCNxMAX): Likewise.
33094 [C99-based-standards] (PRIdPTR): Likewise.
33095 [C99-based-standards] (PRIiPTR): Likewise.
33096 [C99-based-standards] (PRIoPTR): Likewise.
33097 [C99-based-standards] (PRIuPTR): Likewise.
33098 [C99-based-standards] (PRIxPTR): Likewise.
33099 [C99-based-standards] (PRIXPTR): Likewise.
33100 [C99-based-standards] (SCNdPTR): Likewise.
33101 [C99-based-standards] (SCNiPTR): Likewise.
33102 [C99-based-standards] (SCNoPTR): Likewise.
33103 [C99-based-standards] (SCNuPTR): Likewise.
33104 [C99-based-standards] (SCNxPTR): Likewise.
33105 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
33107 * conform/data/stdint.h-data: Update comments to clarify
33109 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
33111 [C99-based standards] (INT8_MAX): Likewise.
33112 [C99-based standards] (INT16_MIN): Likewise.
33113 [C99-based standards] (INT16_MAX): Likewise.
33114 [C99-based standards] (INT32_MIN): Likewise.
33115 [C99-based standards] (INT32_MAX): Likewise.
33116 [C99-based standards] (INT64_MIN): Likewise.
33117 [C99-based standards] (INT64_MAX): Likewise.
33118 [C99-based standards] (UINT8_MAX): Likewise.
33119 [C99-based standards] (UINT16_MAX): Likewise.
33120 [C99-based standards] (UINT32_MAX): Likewise.
33121 [C99-based standards] (UINT64_MAX): Likewise.
33122 [C99-based standards] (INT_LEAST8_MIN): Likewise.
33123 [C99-based standards] (INT_LEAST8_MAX): Likewise.
33124 [C99-based standards] (INT_LEAST16_MIN): Likewise.
33125 [C99-based standards] (INT_LEAST16_MAX): Likewise.
33126 [C99-based standards] (INT_LEAST32_MIN): Likewise.
33127 [C99-based standards] (INT_LEAST32_MAX): Likewise.
33128 [C99-based standards] (INT_LEAST64_MIN): Likewise.
33129 [C99-based standards] (INT_LEAST64_MAX): Likewise.
33130 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
33131 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
33132 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
33133 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
33134 [C99-based standards] (INT_FAST8_MIN): Likewise.
33135 [C99-based standards] (INT_FAST8_MAX): Likewise.
33136 [C99-based standards] (INT_FAST16_MIN): Likewise.
33137 [C99-based standards] (INT_FAST16_MAX): Likewise.
33138 [C99-based standards] (INT_FAST32_MIN): Likewise.
33139 [C99-based standards] (INT_FAST32_MAX): Likewise.
33140 [C99-based standards] (INT_FAST64_MIN): Likewise.
33141 [C99-based standards] (INT_FAST64_MAX): Likewise.
33142 [C99-based standards] (UINT_FAST8_MAX): Likewise.
33143 [C99-based standards] (UINT_FAST16_MAX): Likewise.
33144 [C99-based standards] (UINT_FAST32_MAX): Likewise.
33145 [C99-based standards] (UINT_FAST64_MAX): Likewise.
33146 [C99-based standards] (INTPTR_MIN): Likewise.
33147 [C99-based standards] (INTPTR_MAX): Likewise.
33148 [C99-based standards] (UINTPTR_MAX): Likewise.
33149 [C99-based standards] (INTMAX_MIN): Likewise.
33150 [C99-based standards] (INTMAX_MAX): Likewise.
33151 [C99-based standards] (UINTMAX_MAX): Likewise.
33152 [C99-based standards] (PTRDIFF_MIN): Likewise.
33153 [C99-based standards] (PTRDIFF_MAX): Likewise.
33154 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
33155 [C99-based standards] (SIZE_MAX): Likewise.
33156 [C99-based standards] (WCHAR_MAX): Likewise.
33157 [C99-based standards] (WINT_MAX): Likewise.
33158 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
33159 constraint on value.
33160 [C99-based standards] (WCHAR_MIN): Likewise.
33161 [C99-based standards] (WINT_MIN): Likewise.
33162 [C99-based standards] (*_t): Allow.
33163 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33164 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33165 Include math.h-data and complex.h-data. Remove all expectations
33166 of math.h and complex.h contents.
33167 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33169 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33170 (struct tm): Expect tag.
33171 [C99-based-standards] (wcstof): Expect function.
33172 [C99-based-standards] (wcstold): Likewise.
33173 [C99-based-standards] (wcstoll): Likewise.
33174 [C99-based-standards] (wcstoull): Likewise.
33175 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33176 macro-int-constant. Specify type.
33177 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
33178 constraint on value.
33179 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33181 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33183 [ISO C standards]: Do not allow headers.
33184 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33185 wcs[abcdefghijklmnopqrstuvwxyz]*.
33186 [ISO C standards] (*_t): Do not allow.
33187 * conform/data/wctype.h-data [C99-based standards] (iswblank):
33189 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33190 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33192 [ISO C standards]: Do not allow headers.
33193 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33194 is[abcdefghijklmnopqrstuvwxyz]*.
33195 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33196 to[abcdefghijklmnopqrstuvwxyz]*.
33197 [ISO C standards] (*_t): Do not allow.
33198 * conform/data/stdalign.h-data: New file.
33199 * conform/data/stdbool.h-data: Likewise.
33200 * conform/data/stdnoreturn.h-data: Likewise.
33202 2012-11-07 Roland McGrath <roland@hack.frob.com>
33205 * manual/filesys.texi (Directory Entries): Typo fix.
33206 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33208 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
33210 * elf/elf.h (EM_AARCH64): New macro.
33211 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33212 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33213 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33214 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33215 (R_AARCH64_TLSDESC): Likewise.
33216 (NT_ARM_TLS): Likewise.
33217 (NT_ARM_HW_BREAK): Likewise.
33218 (NT_ARM_HW_WATCH): Likewise.
33220 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33223 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33224 (__ieee754_powl): Saturate nonzero exponents with absolute value
33225 below 0x1p-79 to +/- 0x1p-79.
33226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33227 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33228 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33229 nonzero exponents with absolute value below 0x1p-32 to +/-
33231 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33232 (__ieee754_powl): Saturate nonzero exponents with absolute value
33233 below 0x1p-79 to +/- 0x1p-79.
33234 * math/libm-test.inc (pow_test): Add more tests.
33236 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33238 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33239 _dl_s390_cap_flags with kernel. Increase string length.
33240 (_dl_s390_platforms): Add z196 and zEC12.
33242 2012-11-07 Joseph Myers <joseph@codesourcery.com>
33244 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33245 Change XOPEN21K to XOPEN2K.
33247 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
33249 * string/memmove.c: Use memcpy when possible.
33251 2012-11-06 Andreas Jaeger <aj@suse.de>
33253 * po/eo.po: Update from translation team.
33255 2012-11-06 Joseph Myers <joseph@codesourcery.com>
33258 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33259 exponent and small x and y exponents, scale x or y up. Increase
33260 by 2 the exponent used in scaling up.
33261 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33262 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33263 * math/libm-test.inc (fma_test): Add more tests.
33264 (fma_test_towardzero): Likewise.
33265 (fma_test_downward): Likewise.
33266 (fma_test_upward): Likewise.
33268 2012-11-05 Joseph Myers <joseph@codesourcery.com>
33271 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33275 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33276 namespace for names of struct fields.
33277 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33279 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33280 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33282 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
33285 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33287 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33289 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33293 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33296 2012-11-04 Joseph Myers <joseph@codesourcery.com>
33299 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33300 definitely overflow as x * y not x * y + z.
33301 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33302 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33303 * math/libm-test.inc (fma_test): Add more tests.
33304 (fma_test_towardzero): Likewise.
33305 (fma_test_downward): Likewise.
33306 (fma_test_upward): Likewise.
33308 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
33312 * include/stub-tag.h: Remove file.
33313 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33315 * manual/maint.texi (Porting): Don't reference it.
33316 * Makerules ($(objpfx)stubs): Likewise.
33317 * dirent/closedir.c: Don't include <stub-tag.h>.
33318 * dirent/dirfd.c: Likewise.
33319 * dirent/fdopendir.c: Likewise.
33320 * dirent/getdents.c: Likewise.
33321 * dirent/getdents64.c: Likewise.
33322 * dirent/opendir.c: Likewise.
33323 * dirent/readdir.c: Likewise.
33324 * dirent/readdir64.c: Likewise.
33325 * dirent/readdir64_r.c: Likewise.
33326 * dirent/readdir_r.c: Likewise.
33327 * dirent/rewinddir.c: Likewise.
33328 * dirent/seekdir.c: Likewise.
33329 * dirent/telldir.c: Likewise.
33330 * gmon/profil.c: Likewise.
33331 * grp/setgroups.c: Likewise.
33332 * inet/if_index.c: Likewise.
33333 * io/access.c: Likewise.
33334 * io/chdir.c: Likewise.
33335 * io/chmod.c: Likewise.
33336 * io/chown.c: Likewise.
33337 * io/close.c: Likewise.
33338 * io/dup.c: Likewise.
33339 * io/dup2.c: Likewise.
33340 * io/dup3.c: Likewise.
33341 * io/euidaccess.c: Likewise.
33342 * io/faccessat.c: Likewise.
33343 * io/fchdir.c: Likewise.
33344 * io/fchmod.c: Likewise.
33345 * io/fchmodat.c: Likewise.
33346 * io/fchown.c: Likewise.
33347 * io/fchownat.c: Likewise.
33348 * io/fcntl.c: Likewise.
33349 * io/flock.c: Likewise.
33350 * io/fstatfs.c: Likewise.
33351 * io/fstatfs64.c: Likewise.
33352 * io/fstatvfs.c: Likewise.
33353 * io/fstatvfs64.c: Likewise.
33354 * io/futimens.c: Likewise.
33355 * io/fxstat.c: Likewise.
33356 * io/fxstat64.c: Likewise.
33357 * io/fxstatat.c: Likewise.
33358 * io/fxstatat64.c: Likewise.
33359 * io/getcwd.c: Likewise.
33360 * io/isatty.c: Likewise.
33361 * io/lchmod.c: Likewise.
33362 * io/lchown.c: Likewise.
33363 * io/link.c: Likewise.
33364 * io/linkat.c: Likewise.
33365 * io/lseek.c: Likewise.
33366 * io/lseek64.c: Likewise.
33367 * io/lxstat64.c: Likewise.
33368 * io/mkdir.c: Likewise.
33369 * io/mkdirat.c: Likewise.
33370 * io/mkfifo.c: Likewise.
33371 * io/mkfifoat.c: Likewise.
33372 * io/open.c: Likewise.
33373 * io/open64.c: Likewise.
33374 * io/openat.c: Likewise.
33375 * io/openat64.c: Likewise.
33376 * io/pipe.c: Likewise.
33377 * io/pipe2.c: Likewise.
33378 * io/poll.c: Likewise.
33379 * io/posix_fadvise.c: Likewise.
33380 * io/posix_fadvise64.c: Likewise.
33381 * io/posix_fallocate.c: Likewise.
33382 * io/posix_fallocate64.c: Likewise.
33383 * io/read.c: Likewise.
33384 * io/readlink.c: Likewise.
33385 * io/readlinkat.c: Likewise.
33386 * io/rmdir.c: Likewise.
33387 * io/sendfile.c: Likewise.
33388 * io/sendfile64.c: Likewise.
33389 * io/statfs.c: Likewise.
33390 * io/statfs64.c: Likewise.
33391 * io/statvfs.c: Likewise.
33392 * io/statvfs64.c: Likewise.
33393 * io/symlink.c: Likewise.
33394 * io/symlinkat.c: Likewise.
33395 * io/ttyname.c: Likewise.
33396 * io/ttyname_r.c: Likewise.
33397 * io/umask.c: Likewise.
33398 * io/unlink.c: Likewise.
33399 * io/unlinkat.c: Likewise.
33400 * io/utime.c: Likewise.
33401 * io/utimensat.c: Likewise.
33402 * io/write.c: Likewise.
33403 * io/xmknod.c: Likewise.
33404 * io/xmknodat.c: Likewise.
33405 * io/xstat.c: Likewise.
33406 * io/xstat64.c: Likewise.
33407 * login/getpt.c: Likewise.
33408 * login/grantpt.c: Likewise.
33409 * login/unlockpt.c: Likewise.
33410 * math/e_acoshl.c: Likewise.
33411 * math/e_acosl.c: Likewise.
33412 * math/e_asinl.c: Likewise.
33413 * math/e_atan2l.c: Likewise.
33414 * math/e_atanhl.c: Likewise.
33415 * math/e_coshl.c: Likewise.
33416 * math/e_expl.c: Likewise.
33417 * math/e_fmodl.c: Likewise.
33418 * math/e_gammal_r.c: Likewise.
33419 * math/e_hypotl.c: Likewise.
33420 * math/e_j0l.c: Likewise.
33421 * math/e_j1l.c: Likewise.
33422 * math/e_jnl.c: Likewise.
33423 * math/e_lgammal_r.c: Likewise.
33424 * math/e_log10l.c: Likewise.
33425 * math/e_log2l.c: Likewise.
33426 * math/e_logl.c: Likewise.
33427 * math/e_powl.c: Likewise.
33428 * math/e_rem_pio2l.c: Likewise.
33429 * math/e_sinhl.c: Likewise.
33430 * math/e_sqrtl.c: Likewise.
33431 * math/fclrexcpt.c: Likewise.
33432 * math/fedisblxcpt.c: Likewise.
33433 * math/feenablxcpt.c: Likewise.
33434 * math/fegetenv.c: Likewise.
33435 * math/fegetexcept.c: Likewise.
33436 * math/fegetround.c: Likewise.
33437 * math/feholdexcpt.c: Likewise.
33438 * math/fesetenv.c: Likewise.
33439 * math/fesetround.c: Likewise.
33440 * math/feupdateenv.c: Likewise.
33441 * math/fgetexcptflg.c: Likewise.
33442 * math/fraiseexcpt.c: Likewise.
33443 * math/fsetexcptflg.c: Likewise.
33444 * math/ftestexcept.c: Likewise.
33445 * math/k_cosl.c: Likewise.
33446 * math/k_rem_pio2l.c: Likewise.
33447 * math/k_sinl.c: Likewise.
33448 * math/k_tanl.c: Likewise.
33449 * math/s_asinhl.c: Likewise.
33450 * math/s_atanl.c: Likewise.
33451 * math/s_cbrtl.c: Likewise.
33452 * math/s_erfl.c: Likewise.
33453 * math/s_expm1l.c: Likewise.
33454 * math/s_log1pl.c: Likewise.
33455 * math/s_tanhl.c: Likewise.
33456 * misc/acct.c: Likewise.
33457 * misc/brk.c: Likewise.
33458 * misc/chflags.c: Likewise.
33459 * misc/chroot.c: Likewise.
33460 * misc/fchflags.c: Likewise.
33461 * misc/fgetxattr.c: Likewise.
33462 * misc/flistxattr.c: Likewise.
33463 * misc/fremovexattr.c: Likewise.
33464 * misc/fsetxattr.c: Likewise.
33465 * misc/fsync.c: Likewise.
33466 * misc/ftruncate.c: Likewise.
33467 * misc/futimes.c: Likewise.
33468 * misc/futimesat.c: Likewise.
33469 * misc/getdomain.c: Likewise.
33470 * misc/getdtsz.c: Likewise.
33471 * misc/gethostid.c: Likewise.
33472 * misc/gethostname.c: Likewise.
33473 * misc/getloadavg.c: Likewise.
33474 * misc/getpagesize.c: Likewise.
33475 * misc/getsysstats.c: Likewise.
33476 * misc/getxattr.c: Likewise.
33477 * misc/gtty.c: Likewise.
33478 * misc/ioctl.c: Likewise.
33479 * misc/lgetxattr.c: Likewise.
33480 * misc/listxattr.c: Likewise.
33481 * misc/llistxattr.c: Likewise.
33482 * misc/lremovexattr.c: Likewise.
33483 * misc/lsetxattr.c: Likewise.
33484 * misc/lutimes.c: Likewise.
33485 * misc/madvise.c: Likewise.
33486 * misc/mincore.c: Likewise.
33487 * misc/mlock.c: Likewise.
33488 * misc/mlockall.c: Likewise.
33489 * misc/mmap.c: Likewise.
33490 * misc/mprotect.c: Likewise.
33491 * misc/msync.c: Likewise.
33492 * misc/munlock.c: Likewise.
33493 * misc/munlockall.c: Likewise.
33494 * misc/munmap.c: Likewise.
33495 * misc/preadv.c: Likewise.
33496 * misc/preadv64.c: Likewise.
33497 * misc/ptrace.c: Likewise.
33498 * misc/pwritev.c: Likewise.
33499 * misc/pwritev64.c: Likewise.
33500 * misc/readv.c: Likewise.
33501 * misc/reboot.c: Likewise.
33502 * misc/remap_file_pages.c: Likewise.
33503 * misc/removexattr.c: Likewise.
33504 * misc/revoke.c: Likewise.
33505 * misc/select.c: Likewise.
33506 * misc/setdomain.c: Likewise.
33507 * misc/setegid.c: Likewise.
33508 * misc/seteuid.c: Likewise.
33509 * misc/sethostid.c: Likewise.
33510 * misc/sethostname.c: Likewise.
33511 * misc/setregid.c: Likewise.
33512 * misc/setreuid.c: Likewise.
33513 * misc/setxattr.c: Likewise.
33514 * misc/sstk.c: Likewise.
33515 * misc/stty.c: Likewise.
33516 * misc/swapoff.c: Likewise.
33517 * misc/swapon.c: Likewise.
33518 * misc/sync.c: Likewise.
33519 * misc/syncfs.c: Likewise.
33520 * misc/syscall.c: Likewise.
33521 * misc/truncate.c: Likewise.
33522 * misc/ualarm.c: Likewise.
33523 * misc/usleep.c: Likewise.
33524 * misc/ustat.c: Likewise.
33525 * misc/utimes.c: Likewise.
33526 * misc/vhangup.c: Likewise.
33527 * misc/writev.c: Likewise.
33528 * posix/_exit.c: Likewise.
33529 * posix/alarm.c: Likewise.
33530 * posix/execve.c: Likewise.
33531 * posix/fexecve.c: Likewise.
33532 * posix/fork.c: Likewise.
33533 * posix/fpathconf.c: Likewise.
33534 * posix/getaddrinfo.c: Likewise.
33535 * posix/getegid.c: Likewise.
33536 * posix/geteuid.c: Likewise.
33537 * posix/getgid.c: Likewise.
33538 * posix/getgroups.c: Likewise.
33539 * posix/getlogin.c: Likewise.
33540 * posix/getlogin_r.c: Likewise.
33541 * posix/getpgid.c: Likewise.
33542 * posix/getpid.c: Likewise.
33543 * posix/getppid.c: Likewise.
33544 * posix/getresgid.c: Likewise.
33545 * posix/getresuid.c: Likewise.
33546 * posix/getsid.c: Likewise.
33547 * posix/getuid.c: Likewise.
33548 * posix/glob64.c: Likewise.
33549 * posix/nanosleep.c: Likewise.
33550 * posix/pathconf.c: Likewise.
33551 * posix/pause.c: Likewise.
33552 * posix/posix_madvise.c: Likewise.
33553 * posix/pread.c: Likewise.
33554 * posix/pread64.c: Likewise.
33555 * posix/pwrite.c: Likewise.
33556 * posix/pwrite64.c: Likewise.
33557 * posix/sched_getaffinity.c: Likewise.
33558 * posix/sched_getp.c: Likewise.
33559 * posix/sched_gets.c: Likewise.
33560 * posix/sched_primax.c: Likewise.
33561 * posix/sched_primin.c: Likewise.
33562 * posix/sched_rr_gi.c: Likewise.
33563 * posix/sched_setaffinity.c: Likewise.
33564 * posix/sched_setp.c: Likewise.
33565 * posix/sched_sets.c: Likewise.
33566 * posix/sched_yield.c: Likewise.
33567 * posix/setgid.c: Likewise.
33568 * posix/setlogin.c: Likewise.
33569 * posix/setpgid.c: Likewise.
33570 * posix/setresgid.c: Likewise.
33571 * posix/setresuid.c: Likewise.
33572 * posix/setsid.c: Likewise.
33573 * posix/setuid.c: Likewise.
33574 * posix/sleep.c: Likewise.
33575 * posix/spawni.c: Likewise.
33576 * posix/sysconf.c: Likewise.
33577 * posix/times.c: Likewise.
33578 * posix/wait.c: Likewise.
33579 * posix/wait3.c: Likewise.
33580 * posix/wait4.c: Likewise.
33581 * posix/waitpid.c: Likewise.
33582 * resolv/gai_sigqueue.c: Likewise.
33583 * resource/getpriority.c: Likewise.
33584 * resource/getrlimit.c: Likewise.
33585 * resource/getrusage.c: Likewise.
33586 * resource/nice.c: Likewise.
33587 * resource/setpriority.c: Likewise.
33588 * resource/setrlimit.c: Likewise.
33589 * resource/ulimit.c: Likewise.
33590 * rt/aio_cancel.c: Likewise.
33591 * rt/aio_fsync.c: Likewise.
33592 * rt/aio_read.c: Likewise.
33593 * rt/aio_sigqueue.c: Likewise.
33594 * rt/aio_suspend.c: Likewise.
33595 * rt/aio_write.c: Likewise.
33596 * rt/clock_getres.c: Likewise.
33597 * rt/clock_gettime.c: Likewise.
33598 * rt/clock_nanosleep.c: Likewise.
33599 * rt/clock_settime.c: Likewise.
33600 * rt/lio_listio.c: Likewise.
33601 * rt/mq_close.c: Likewise.
33602 * rt/mq_getattr.c: Likewise.
33603 * rt/mq_notify.c: Likewise.
33604 * rt/mq_open.c: Likewise.
33605 * rt/mq_receive.c: Likewise.
33606 * rt/mq_send.c: Likewise.
33607 * rt/mq_setattr.c: Likewise.
33608 * rt/mq_timedreceive.c: Likewise.
33609 * rt/mq_timedsend.c: Likewise.
33610 * rt/mq_unlink.c: Likewise.
33611 * rt/shm_open.c: Likewise.
33612 * rt/shm_unlink.c: Likewise.
33613 * rt/timer_create.c: Likewise.
33614 * rt/timer_delete.c: Likewise.
33615 * rt/timer_getoverr.c: Likewise.
33616 * rt/timer_gettime.c: Likewise.
33617 * rt/timer_settime.c: Likewise.
33618 * setjmp/__longjmp.c: Likewise.
33619 * setjmp/setjmp.c: Likewise.
33620 * signal/kill.c: Likewise.
33621 * signal/killpg.c: Likewise.
33622 * signal/raise.c: Likewise.
33623 * signal/sigaction.c: Likewise.
33624 * signal/sigaltstack.c: Likewise.
33625 * signal/sigblock.c: Likewise.
33626 * signal/sigignore.c: Likewise.
33627 * signal/sigintr.c: Likewise.
33628 * signal/signal.c: Likewise.
33629 * signal/sigpause.c: Likewise.
33630 * signal/sigpending.c: Likewise.
33631 * signal/sigqueue.c: Likewise.
33632 * signal/sigreturn.c: Likewise.
33633 * signal/sigset.c: Likewise.
33634 * signal/sigsetmask.c: Likewise.
33635 * signal/sigstack.c: Likewise.
33636 * signal/sigsuspend.c: Likewise.
33637 * signal/sigtimedwait.c: Likewise.
33638 * signal/sigvec.c: Likewise.
33639 * signal/sigwait.c: Likewise.
33640 * signal/sigwaitinfo.c: Likewise.
33641 * signal/sysv_signal.c: Likewise.
33642 * socket/accept.c: Likewise.
33643 * socket/accept4.c: Likewise.
33644 * socket/bind.c: Likewise.
33645 * socket/connect.c: Likewise.
33646 * socket/getpeername.c: Likewise.
33647 * socket/getsockname.c: Likewise.
33648 * socket/getsockopt.c: Likewise.
33649 * socket/isfdtype.c: Likewise.
33650 * socket/listen.c: Likewise.
33651 * socket/recv.c: Likewise.
33652 * socket/recvfrom.c: Likewise.
33653 * socket/recvmsg.c: Likewise.
33654 * socket/send.c: Likewise.
33655 * socket/sendmsg.c: Likewise.
33656 * socket/sendto.c: Likewise.
33657 * socket/setsockopt.c: Likewise.
33658 * socket/shutdown.c: Likewise.
33659 * socket/sockatmark.c: Likewise.
33660 * socket/socket.c: Likewise.
33661 * socket/socketpair.c: Likewise.
33662 * stdio-common/ctermid.c: Likewise.
33663 * stdio-common/cuserid.c: Likewise.
33664 * stdio-common/remove.c: Likewise.
33665 * stdio-common/rename.c: Likewise.
33666 * stdio-common/renameat.c: Likewise.
33667 * stdio-common/tempname.c: Likewise.
33668 * stdlib/getcontext.c: Likewise.
33669 * stdlib/makecontext.c: Likewise.
33670 * stdlib/setcontext.c: Likewise.
33671 * stdlib/swapcontext.c: Likewise.
33672 * stdlib/system.c: Likewise.
33673 * streams/fattach.c: Likewise.
33674 * streams/fdetach.c: Likewise.
33675 * streams/getmsg.c: Likewise.
33676 * streams/getpmsg.c: Likewise.
33677 * streams/putmsg.c: Likewise.
33678 * streams/putpmsg.c: Likewise.
33679 * sysdeps/unix/bsd/getpt.c: Likewise.
33680 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33681 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33682 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33685 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33686 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33687 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33688 * sysvipc/msgctl.c: Likewise.
33689 * sysvipc/msgget.c: Likewise.
33690 * sysvipc/msgrcv.c: Likewise.
33691 * sysvipc/msgsnd.c: Likewise.
33692 * sysvipc/semctl.c: Likewise.
33693 * sysvipc/semget.c: Likewise.
33694 * sysvipc/semop.c: Likewise.
33695 * sysvipc/semtimedop.c: Likewise.
33696 * sysvipc/shmat.c: Likewise.
33697 * sysvipc/shmctl.c: Likewise.
33698 * sysvipc/shmdt.c: Likewise.
33699 * sysvipc/shmget.c: Likewise.
33700 * termios/tcdrain.c: Likewise.
33701 * termios/tcflow.c: Likewise.
33702 * termios/tcflush.c: Likewise.
33703 * termios/tcgetattr.c: Likewise.
33704 * termios/tcgetpgrp.c: Likewise.
33705 * termios/tcsendbrk.c: Likewise.
33706 * termios/tcsetattr.c: Likewise.
33707 * termios/tcsetpgrp.c: Likewise.
33708 * time/adjtime.c: Likewise.
33709 * time/clock.c: Likewise.
33710 * time/getitimer.c: Likewise.
33711 * time/gettimeofday.c: Likewise.
33712 * time/setitimer.c: Likewise.
33713 * time/settimeofday.c: Likewise.
33714 * time/stime.c: Likewise.
33715 * time/time.c: Likewise.
33717 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
33719 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33722 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33724 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33726 2012-11-03 Joseph Myers <joseph@codesourcery.com>
33729 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33730 FE_TONEAREST before applying Dekker multiplication and Knuth
33731 addition. Clear inexact exceptions and check for exact zero
33732 results afterwards.
33733 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33734 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33735 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33736 * math/libm-test.inc (fma_test): Add more tests.
33737 (fma_test_towardzero): Likewise.
33738 (fma_test_downward): Likewise.
33739 (fma_test_upward): Likewise.
33740 * sysdeps/generic/math_private.h (default_libc_fesetround): New
33742 (libc_fesetround): New macro.
33743 (libc_fesetroundf): Likewise.
33744 (libc_fesetroundl): Likewise.
33745 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33747 (libc_fesetround_387): Likewise.
33748 (libc_fesetroundf): New macro.
33749 (libc_fesetround): Likewise.
33750 (libc_fesetroundl): Likewise.
33751 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33753 (libc_fesetroundf): New macro.
33754 (libc_fesetround): Likewise.
33755 (libc_fesetroundl): Likewise.
33756 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33757 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33758 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33760 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33761 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33763 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33764 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33766 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33770 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33771 integer constant usable in #if and use that to give value to enum
33773 (FE_DIVBYZERO): Likewise.
33774 (FE_UNDERFLOW): Likewise.
33775 (FE_OVERFLOW): Likewise.
33776 (FE_INVALID): Likewise.
33777 (FE_INVALID_SNAN): Likewise.
33778 (FE_INVALID_ISI): Likewise.
33779 (FE_INVALID_IDI): Likewise.
33780 (FE_INVALID_ZDZ): Likewise.
33781 (FE_INVALID_IMZ): Likewise.
33782 (FE_INVALID_COMPARE): Likewise.
33783 (FE_INVALID_SOFTWARE): Likewise.
33784 (FE_INVALID_SQRT): Likewise.
33785 (FE_INVALID_INTEGER_CONVERSION): Likewise.
33786 (FE_TONEAREST): Likewise.
33787 (FE_TOWARDZERO): Likewise.
33788 (FE_UPWARD): Likewise.
33789 (FE_DOWNWARD): Likewise.
33790 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33791 (FE_DIVBYZERO): Likewise.
33792 (FE_OVERFLOW): Likewise.
33793 (FE_UNDERFLOW): Likewise.
33794 (FE_INEXACT): Likewise.
33795 (FE_TONEAREST): Likewise.
33796 (FE_DOWNWARD): Likewise.
33797 (FE_UPWARD): Likewise.
33798 (FE_TOWARDZERO): Likewise.
33799 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33800 (FE_UNDERFLOW): Likewise.
33801 (FE_OVERFLOW): Likewise.
33802 (FE_DIVBYZERO): Likewise.
33803 (FE_INVALID): Likewise.
33804 (FE_TONEAREST): Likewise.
33805 (FE_TOWARDZERO): Likewise.
33806 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33807 (FE_OVERFLOW): Likewise.
33808 (FE_UNDERFLOW): Likewise.
33809 (FE_DIVBYZERO): Likewise.
33810 (FE_INEXACT): Likewise.
33811 (FE_TONEAREST): Likewise.
33812 (FE_TOWARDZERO): Likewise.
33813 (FE_UPWARD): Likewise.
33814 (FE_DOWNWARD): Likewise.
33815 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33816 (FE_DIVBYZERO): Likewise.
33817 (FE_OVERFLOW): Likewise.
33818 (FE_UNDERFLOW): Likewise.
33819 (FE_INEXACT): Likewise.
33820 (FE_TONEAREST): Likewise.
33821 (FE_DOWNWARD): Likewise.
33822 (FE_UPWARD): Likewise.
33823 (FE_TOWARDZERO): Likewise.
33825 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
33827 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33829 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
33831 * scripts/cross-test-ssh.sh (command): Use newlines to separate
33832 commands. Quote $PWD.
33833 (blacklist_exports): Don't use remove_newlines. Replace "declare
33835 (remove_newlines): Remove.
33837 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
33839 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33840 * stdlib/stdlib.h (atof): Moved to ...
33841 * include/bits/stdlib-float.h: Here. New file.
33842 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33843 * stdlib/bits/stdlib-float.h: New file.
33844 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33846 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33849 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33851 * conform/conformtest.pl (@headers): Add fenv.h.
33852 * conform/data/fenv.h-data: New file.
33853 * include/fenv.h [_ISOMAC]: Disable all contents of file except
33854 include of <math/fenv.h>.
33856 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33857 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33858 && !UNIX98]. Enables tests for XOPEN2K8.
33859 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33860 POSIX2008]: Likewise.
33862 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33863 (struct rusage): Do not expect type or its members.
33866 * math/math.h (FP_NAN): Define macro to integer constant usable in
33867 #if and use that to give value to enum constant.
33868 (FP_INFINITE): Likewise.
33869 (FP_ZERO): Likewise.
33870 (FP_SUBNORMAL): Likewise.
33871 (FP_NORMAL): Likewise.
33873 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
33875 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33876 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33879 2012-11-02 Roland McGrath <roland@hack.frob.com>
33881 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33882 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33883 autoconf-time if not.
33884 * configure.in: Remove AC_PREREQ.
33886 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33888 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33889 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33890 of the internal implementation.
33892 2012-11-02 Joseph Myers <joseph@codesourcery.com>
33894 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33895 except include of <misc/sys/syslog.h>.
33897 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33900 function returns with a NULL context exit with zero.
33902 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33904 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33906 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
33908 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33909 (run_program_cmd): This.
33910 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33911 (tst_langinfo): New variable. Use it.
33913 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
33915 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33916 floating point opcodes.
33918 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33920 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33923 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33925 * sysdeps/mach/hurd/powerpc: Remove directory.
33926 * sysdeps/mach/powerpc: Likewise.
33928 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
33930 * scripts/check-local-headers.sh: Ignore c++ headers.
33932 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33934 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33935 __libc_cleanup_region_start argument.
33937 2012-11-01 Joseph Myers <joseph@codesourcery.com>
33941 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33942 x * y using scaling, not as x * y + z.
33943 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33944 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33945 * math/libm-test.inc (fma_test): Add more tests.
33946 (fma_test_towardzero): Likewise.
33947 (fma_test_downward): Likewise.
33948 (fma_test_upward): Likewise.
33950 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
33952 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33954 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33956 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33959 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
33961 * rt/tst-shm.c (worker): Correct checking for mmap failure.
33963 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33970 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33973 Fix the order of the list for glibc 2.17.
33974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33977 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
33979 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33981 2012-10-31 Joseph Myers <joseph@codesourcery.com>
33984 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33985 for low part of x being zero before using __atanl (y).
33986 * math/libm-test.inc (atan2_test): Add another test.
33988 * manual/install.texi (Configuring and compiling): Document
33989 general use of test-wrapper and test-wrapper-env.
33990 * INSTALL: Regenerated.
33992 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33993 (__fma): Do not extract and scale down low bits on after-rounding
33994 systems when result rounded to normal precision would have normal
33996 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33997 (__fmal): Do not extract and scale down low bits on after-rounding
33998 systems when result rounded to normal precision would have normal
34000 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
34001 (__fmal): Do not extract and scale down low bits on after-rounding
34002 systems when result rounded to normal precision would have normal
34004 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
34006 (fma_test): Add more tests.
34007 (fma_test_towardzero): Likewise.
34008 (fma_test_downward): Likewise.
34009 (fma_test_upward): Likewise.
34011 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
34013 * sysdeps/i386/tininess.h: Renamed to ...
34014 * sysdeps/x86/tininess.h: This.
34015 * sysdeps/x86_64/tininess.h: Removed.
34017 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34019 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
34020 input. Use $(build-program-cmd).
34021 ($(objpfx)tst-array1-static.out): Likewise.
34022 ($(objpfx)tst-array2.out): Likewise.
34023 ($(objpfx)tst-array3.out): Likewise.
34024 ($(objpfx)tst-array4.out): Likewise.
34025 ($(objpfx)tst-array5.out): Likewise.
34026 ($(objpfx)tst-array5-static.out): Likewise.
34028 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
34030 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
34033 * nss/nsswitch.h (nss_interface_function): Provide new
34034 macro for use with NSS functions.
34035 * grp/initgroups.c: Use new macro.
34036 * nss/getXXbyYY.c: Likewise.
34037 * nss/getXXbyYY_r.c: Likewise.
34038 * nss/getXXent.c: Likewise.
34039 * nss/getXXent_r.c: Likewise.
34040 * sysdeps/posix/getaddrinfo.c: Likewise.
34042 2012-10-30 Andreas Jaeger <aj@suse.de>
34044 * po/ru.po: Update Russion translation from translation project.
34046 2012-10-30 Joseph Myers <joseph@codesourcery.com>
34050 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
34051 result and shift together with sticky bit instead of replicating
34052 round-to-nearest rounding.
34053 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34054 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34055 * math/libm-test.inc (fma_test): Add more tests. Do not permit
34056 missing underflow exceptions.
34057 (fma_test_towardzero): Add more tests.
34058 (fma_test_downward): Likewise.
34059 (fma_test_upward): Likewise.
34062 * sysdeps/generic/tininess.h: New file.
34063 * sysdeps/i386/tininess.h: Likewise.
34064 * sysdeps/sh/tininess.h: Likewise.
34065 * sysdeps/x86_64/tininess.h: Likewise.
34066 * stdlib/tst-strtod-underflow.c: Likewise.
34067 * stdlib/tst-tininess.c: Likewise.
34068 * stdlib/strtod_l.c: Include <tininess.h>.
34069 (round_and_return): Do not set errno for exact underflow cases.
34070 Force an underflow exception when setting errno for underflow.
34071 Determine underflow based on rounding to normal precision if
34072 TININESS_AFTER_ROUNDING.
34073 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
34074 ERANGE for exact underflow cases.
34075 * stdlib/Makefile (tests): Add tst-tininess and
34076 tst-strtod-underflow.
34077 ($(objpfx)tst-tininess): Use $(link-libm).
34078 ($(objpfx)tst-strtod-underflow): Likewise.
34080 2012-10-30 Andreas Jaeger <aj@suse.de>
34083 * elf/Makefile (tests): Remove conditional for have-initfini-array
34084 since this is now always required and the variable does not exist
34086 (tests-static): Likewise.
34087 (modules-names): Likewise.
34089 * po/eo.po: Add Esperanto translation from translation project.
34091 * elf/tst-array1.c (fini_array): Make writeable so that it can be
34092 merged with constructor/destructor.
34093 (init_array): Likewise.
34094 * elf/tst-array2dep.c (fini_array): Likewise.
34095 (init_array): Likewise.
34097 2012-10-29 Mike Frysinger <vapier@gentoo.org>
34099 * manual/message.texi: Delete @cartouche tags.
34101 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
34103 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
34105 * sysdeps/mach/hurd/fsync.c: Likewise.
34107 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
34108 [_POSIX_REALTIME_SIGNALS]: Change condition to
34109 [_POSIX_REALTIME_SIGNALS > 0].
34111 2012-10-27 Andreas Jaeger <aj@suse.de>
34113 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
34114 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
34115 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
34116 [__WORDSIZE != 64]: Likewise.
34118 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
34120 * iconvdata/tst-table.sh: Remove ${SHELL}.
34121 * iconvdata/tst-tables.sh: Likewise.
34123 2012-10-25 David S. Miller <davem@davemloft.net>
34125 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34126 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
34129 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
34131 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34132 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
34133 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
34136 2012-10-25 Roland McGrath <roland@hack.frob.com>
34138 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34139 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
34142 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34143 Jim Blandy <jimb@codesourcery.com>
34145 * scripts/cross-test-ssh.sh: New file.
34146 * manual/install.texi (Configuring and compiling): Document use of
34148 * INSTALL: Regenerated.
34150 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
34152 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
34155 2012-10-25 Joseph Myers <joseph@codesourcery.com>
34157 * Makeconfig (run-program-prefix): Fix comment.
34159 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34160 Jim Blandy <jimb@codesourcery.com>
34162 * Makeconfig (test-wrapper): New variable,
34163 (test-wrapper-env): Likewise.
34164 [$(cross-compiling) = yes && $(test-wrapper) != ""]
34165 (run-built-tests): Define to yes.
34166 (run-program-prefix): Use $(test-wrapper).
34167 (built-program-cmd): Likewise.
34168 * Rules (make-test-out): Use $(test-wrapper-env) and
34169 $(host-built-program-cmd).
34170 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34171 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34173 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34174 $(test-wrapper-env) to tst-rtld-load-self.sh.
34175 ($(objpfx)order2.out): Use $(test-wrapper).
34176 ($(objpfx)tst-initorder.out): Likewise.
34177 ($(objpfx)tst-initorder2.out): Likewise.
34178 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34179 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34180 (test_wrapper_env): New variable. Use it to run ld.so.
34181 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34182 Use it to run ld.so.
34183 (test_wrapper_env): Likewise.
34184 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34185 $(test-wrapper) to run-iconv-test.sh.
34186 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34187 (ICONV): Use $test_wrapper.
34188 * posix/Makefile ($(objpfx)globtest.out): Pass
34189 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34190 globtest.sh, not $(run-program-prefix).
34191 * posix/globtest.sh (run_via_rtld_prefix): New variable.
34192 (test_wrapper): Likewise.
34193 (test_wrapper_env): Likewise. Use it to run globtest with HOME
34194 set together with run_via_rtld_prefix.
34195 (run_program_prefix): Define in terms of test_wrapper and
34196 run_via_rtld_prefix.
34198 2012-10-24 Roland McGrath <roland@hack.frob.com>
34200 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34201 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34205 * include/time.h: Remove librt_hidden_proto (clock_gettime).
34206 Declare __clock_getres, __clock_gettime, __clock_settime,
34207 __clock_nanosleep, and __clock_getcpuclockid.
34208 * rt/clock_gettime.c: Define __clock_gettime as an alias.
34209 Remove librt_hidden_def (clock_gettime).
34210 * sysdeps/unix/clock_gettime.c: Likewise.
34211 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34212 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34213 * rt/clock_getres.c: Define __clock_getres as an alias.
34214 * sysdeps/posix/clock_getres.c: Likewise.
34215 * rt/clock_settime.c: Define __clock_settime as an alias.
34216 * sysdeps/unix/clock_settime.c: Likewise.
34217 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34218 * sysdeps/unix/clock_nanosleep.c: Likewise.
34219 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34220 * rt/clock-compat.c: New file.
34221 * rt/Makefile (librt-routines): Add clock-compat and move
34222 $(clock-routines) to ...
34223 (routines): ... here, new variable.
34224 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34225 Don't add get_clockfreq here.
34226 * rt/Versions (libc: GLIBC_2.17): New version set.
34227 Add clock_* symbols here.
34228 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
34229 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34230 (GLIBC_2.17): Add clock_* symbols.
34231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34233 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34238 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34239 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34240 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34241 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34242 * NEWS: Mention the move.
34244 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34245 Use __open, __read, __close rather than their public counterparts.
34246 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34247 (__get_clockfreq_via_cpuinfo): Likewise.
34248 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34249 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34251 * config.h.in (HAVE_IFUNC): New #undef.
34252 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34254 * configure: Regenerated.
34256 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34258 * configure.in: Move READELF check to start of file.
34259 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34260 libc_cv_asm_gnu_indirect_function in the process.
34261 * configure: Regenerated.
34263 2012-10-24 Mike Frysinger <vapier@gentoo.org>
34265 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34266 send the output to /dev/null.
34267 (libc_cv_cc_with_libunwind): Likewise.
34268 (libc_cv_as_noexecstack): Likewise.
34269 * configure: Regenerate.
34271 2012-10-24 Joseph Myers <joseph@codesourcery.com>
34273 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34275 * posix/globtest.sh (TMPDIR): Do not set.
34276 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34277 (testout): Likewise.
34279 2012-10-24 Andreas Jaeger <aj@suse.de>
34281 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34282 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34283 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34284 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34285 posix_fadvise64, posix_fallocate64.
34287 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34288 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34289 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34291 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34293 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34296 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34297 <bits/fcntl-linux.h>.
34298 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34301 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34302 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34303 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34304 [__WORDSIZE != 64]: Likewise.
34306 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34308 * Makeconfig (run-built-tests): New variable.
34309 * Rules [$(cross-compiling) = yes]: Change condition to
34310 [$(run-built-tests) = no].
34311 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34312 to [$(run-built-tests) = yes].
34313 * elf/Makefile [$(cross-compiling) = no]: Likewise
34314 * grp/Makefile [$(cross-compiling) = no]: Likewise.
34315 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34316 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34317 * intl/Makefile [$(cross-compiling) = no]: Likewise.
34318 * io/Makefile [$(cross-compiling) = no]: Likewise.
34319 * libio/Makefile [$(cross-compiling) = no]: Likewise.
34320 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34321 * misc/Makefile [$(cross-compiling) = no]: Likewise.
34322 * posix/Makefile [$(cross-compiling) = no]: Likewise.
34323 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34324 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34325 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34326 * string/Makefile [$(cross-compiling) = no]: Likewise.
34328 * posix/Makefile ($(objpfx)globtest.out): Pass
34329 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34330 $(rtld-installed-name).
34331 * posix/globtest.sh (elf_objpfx): Remove variable.
34332 (rtld_installed_name): Likewise.
34333 (library_path): Likewise.
34334 (run_program_prefix): New variable. Use for running globtest
34337 2012-10-23 Jim Blandy <jimb@codesourcery.com>
34338 Joseph Myers <joseph@codesourcery.com>
34340 * Makeconfig (host-built-program-cmd): New variable.
34341 * elf/Makefile (tst-stackguard1-ARGS): Use
34342 $(host-built-program-cmd).
34343 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34344 (tst-spawn-ARGS): Likewise.
34345 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34347 2012-10-23 Joseph Myers <joseph@codesourcery.com>
34348 Jim Blandy <jimb@codesourcery.com>
34350 * Makeconfig (run-via-rtld-prefix): New variable.
34351 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34352 (built-program-cmd): Likewise.
34354 2012-10-22 Andreas Jaeger <aj@suse.de>
34356 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34357 __O_RSYNC if it exists, otherwise to O_SYNC.
34359 2012-10-22 Jim Blandy <jimb@codesourcery.com>
34360 Joseph Myers <joseph@codesourcery.com>
34362 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34364 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34366 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34369 2012-10-22 Andreas Jaeger <aj@suse.de>
34371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34373 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34376 bits/fcntl-linux.h.
34378 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34379 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34383 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34386 2012-10-21 Jim Blandy <jimb@codesourcery.com>
34387 Joseph Myers <joseph@codesourcery.com>
34389 * config.make.in (NM): New variable.
34391 2012-10-21 Andreas Jaeger <aj@suse.de>
34393 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34394 definitions and declarations that are provided by
34395 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34397 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34400 * elf/Makefile (tests-static): Add tst-leaks1-static.
34401 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34402 ($(objpfx)tst-leaks1-static): New rule.
34403 ($(objpfx)tst-leaks1-static-mem): Likewise.
34404 (tst-leaks1-static-ENV): New macro.
34405 * elf/dl-open.c (dl_open_worker): Check the main application
34406 only if SHARED is defined.
34407 * elf/tst-leaks1-static.c: New file.
34409 2012-10-20 Andreas Jaeger <aj@suse.de>
34411 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34412 generic values for Linux.
34413 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34414 and declarations that are provided by <bits/fcntl-linux.h> and
34415 include <bits/fcntl-linux.h>.
34416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34417 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34419 2012-10-20 Roland McGrath <roland@hack.frob.com>
34421 * io/fcntl.h: Move include of <bits/types.h> to the top and
34422 include it unconditionally.
34424 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
34426 * wcsmbs/Makefile (tests-ifunc): New variable.
34427 (tests): Add $(tests-ifunc).
34428 * wcsmbs/test-wcschr-ifunc.c: New file.
34429 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34430 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34431 * wcsmbs/test-wcslen-ifunc.c: Likewise.
34432 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34433 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34435 * string/Makefile (tests-ifunc): New variable.
34436 (tests): Add $(tests-ifunc).
34437 * string/test-memccpy.c (TEST_NAME): New macro.
34438 * string/test-memchr.c (TEST_NAME): Likewise.
34439 * string/test-memcmp.c (TEST_NAME): Likewise.
34440 * string/test-memcpy.c (TEST_NAME): Likewise.
34441 * string/test-memmem.c (TEST_NAME): Likewise.
34442 * string/test-memmove.c (TEST_NAME): Likewise.
34443 * string/test-memset.c (TEST_NAME): Likewise.
34444 * string/test-rawmemchr.c (TEST_NAME): Likewise.
34445 * string/test-stpcpy.c (TEST_NAME): Likewise.
34446 * string/test-stpncpy.c (TEST_NAME): Likewise.
34447 * string/test-strcasecmp.c (TEST_NAME): Likewise.
34448 * string/test-strcasestr.c (TEST_NAME): Likewise.
34449 * string/test-strcat.c (TEST_NAME): Likewise.
34450 * string/test-strchr.c (TEST_NAME): Likewise.
34451 * string/test-strcmp.c(TEST_NAME): Likewise.
34452 * string/test-strcpy.c (TEST_NAME): Likewise.
34453 * string/test-strcspn.c (TEST_NAME): Likewise.
34454 * string/test-strlen.c (TEST_NAME): Likewise.
34455 * string/test-strncasecmp.c (TEST_NAME): Likewise.
34456 * string/test-strncmp.c (TEST_NAME): Likewise.
34457 * string/test-strncpy.c (TEST_NAME): Likewise.
34458 * string/test-strnlen.c (TEST_NAME): Likewise.
34459 * string/test-strpbrk.c (TEST_NAME): Likewise.
34460 * string/test-strrchr.c (TEST_NAME): Likewise.
34461 * string/test-strspn.c (TEST_NAME): Likewise.
34462 * string/test-strstr.c (TEST_NAME): Likewise.
34463 * string/test-bcopy-ifunc.c: New file.
34464 * string/test-bzero-ifunc.c: Likewise.
34465 * string/test-memccpy-ifunc.c: Likewise.
34466 * string/test-memchr-ifunc.c: Likewise.
34467 * string/test-memcmp-ifunc.c: Likewise.
34468 * string/test-memcpy-ifunc.c: Likewise.
34469 * string/test-memmem-ifunc.c: Likewise.
34470 * string/test-memmove-ifunc.c: Likewise.
34471 * string/test-mempcpy-ifunc.c: Likewise.
34472 * string/test-memset-ifunc.c: Likewise.
34473 * string/test-rawmemchr-ifunc.c: Likewise.
34474 * string/test-stpcpy-ifunc.c: Likewise.
34475 * string/test-stpncpy-ifunc.c: Likewise.
34476 * string/test-strcasecmp-ifunc.c: Likewise.
34477 * string/test-strcasestr-ifunc.c: Likewise.
34478 * string/test-strcat-ifunc.c: Likewise.
34479 * string/test-strchr-ifunc.c: Likewise.
34480 * string/test-strchrnul-ifunc.c: Likewise.
34481 * string/test-strcmp-ifunc.c: Likewise.
34482 * string/test-strcpy-ifunc.c: Likewise.
34483 * string/test-strcspn-ifunc.c: Likewise.
34484 * string/test-strlen-ifunc.c: Likewise.
34485 * string/test-strncasecmp-ifunc.c: Likewise.
34486 * string/test-strncat-ifunc.c: Likewise.
34487 * string/test-strncmp-ifunc.c: Likewise.
34488 * string/test-strncpy-ifunc.c: Likewise.
34489 * string/test-strnlen-ifunc.c: Likewise.
34490 * string/test-strpbrk-ifunc.c: Likewise.
34491 * string/test-strrchr-ifunc.c: Likewise.
34492 * string/test-strspn-ifunc.c: Likewise.
34493 * string/test-strstr-ifunc.c: Likewise.
34495 * debug/Makefile (tests-ifunc): New variable.
34496 (tests): Add $(tests-ifunc).
34497 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34498 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34499 * debug/test-stpcpy_chk-ifunc.c: New file.
34500 * debug/test-strcpy_chk-ifunc.c: Likewise.
34502 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
34505 * elf/dl-load.c (open_verify): Retry read if the entire ELF
34506 header is not read in.
34508 2012-10-19 Joseph Myers <joseph@codesourcery.com>
34510 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
34511 script to $(SHELL) as $<. Pass $(common-objpfx) to script
34512 directly. Pass built executable to script as
34513 $(built-program-cmd).
34514 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
34515 $testprogram without using LD_LIBRARY_PATH and $ldso.
34517 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34518 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34519 $(rtld-installed-name).
34520 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34521 (rtld_installed_name): Likewise.
34522 (library_path): Likewise.
34523 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
34524 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34525 $(run-program-prefix) to tst-tables.sh.
34526 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
34527 it to run tst-table-from and tst-table-to.
34528 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34529 Pass it to tst-table.sh.
34530 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34531 $(run-program-prefix) to tst-gettext.sh.
34532 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34534 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34536 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
34537 to run tst-gettext.
34538 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
34539 to run tst-gettext2.
34540 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
34541 to run tst-translit.
34542 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34543 $(run-program-prefix) to tst-mtrace.sh.
34544 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
34546 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34547 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34548 $(rtld-installed-name).
34549 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34550 (rtld_installed_name): Likewise.
34551 (run_program_prefix): New variable. Use it to run wordexp-test.
34553 * Makeconfig (ARCH): Remove all definitions.
34554 (machine): Likewise.
34555 [ARCH]: Remove conditional code.
34556 [!objdir]: Give error.
34557 [!objdir] (objpfx): Remove.
34558 [!objdir] (common-objpfx): Likewise.
34559 [!objdir] (common-objdir): Likewise.
34560 * configure.in (config_makefile): Remove. Hardcode Makefile in
34561 AC_CONFIG_FILES call.
34562 * configure: Regenerated.
34565 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34567 (testout): Likewise.
34569 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34570 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34571 $(rtld-installed-name).
34572 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34573 (rtld_installed_name): Likwise.
34574 (runit): Remove function.
34575 (run_getconf): New variable, Use it for running getconf binary.
34577 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
34580 * string/test-memmem.c (check_result): New function.
34581 (do_one_test): Use it.
34582 (check1): New function.
34583 (test_main): Use it.
34585 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
34587 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34589 2012-10-18 Joseph Myers <joseph@codesourcery.com>
34591 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34592 (_G_LSEEK64): Likewise.
34593 (_G_MMAP64): Likewise.
34594 (_G_FSTAT64): Likewise.
34595 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34596 (_G_LSEEK64): Likewise.
34597 (_G_MMAP64): Likewise.
34598 (_G_FSTAT64): Likewise.
34599 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34600 unconditional. Call __mmap64 directly.
34601 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34602 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
34603 __lseek64 directly.
34604 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34605 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
34607 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34608 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
34609 __lseek64 directly.
34610 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34611 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
34612 __lseek64 directly.
34613 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34614 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
34615 __lseek64 directly.
34616 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34617 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
34618 __fxstat64 directly.
34619 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34620 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34622 (freopen64) [!_G_OPEN64]: Remove conditional code.
34623 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34625 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34626 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34628 (ftello64) [!_G_LSEEK64]: Remove conditional code.
34629 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34631 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34632 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34634 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34635 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34637 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34638 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34640 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34641 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34643 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34645 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
34648 * manual/memory.texi (Malloc Tunable Parameters): Add note
34649 about free list pointers overwriting some perturb bytes.
34650 Wording suggested by Roland McGrath.
34652 2012-10-17 Joseph Myers <joseph@codesourcery.com>
34654 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34655 (lgamma_test): Likewise.
34656 (tgamma_test): Likewise.
34658 2012-10-16 Florian Weimer <fweimer@redhat.com>
34661 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34662 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34664 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
34666 * NEWS: Mention BZ #14716.
34667 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34668 when removing AVAILABLE1_USES_J macro.
34670 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
34672 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34673 (__bswap_64): __uint64_t for unsigned 64-bit int.
34675 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
34677 * include/string.h (memmem): Declare libc hidden alias.
34678 * string/memmem.c (memmem): Define libc hidden alias.
34679 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34680 __read, __close instead of open, read, close.
34682 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
34684 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34685 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34687 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34688 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34689 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34691 (__rawmemchr_sse2): Likewise.
34692 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34693 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34694 (__strchr_sse2): Likewise.
34695 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34696 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34697 (__strcasecmp_sse2): Likewise.
34698 (__strncasecmp_sse2): Likewise.
34699 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34700 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34701 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34702 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34703 (__strrchr_sse2): Likewise.
34704 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34706 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34707 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34708 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34709 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34710 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34711 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34712 * sysdeps/x86_64/multiarch/memset.S: Likewise.
34713 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34714 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34715 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34716 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34717 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34718 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34719 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34720 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34721 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34722 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34723 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34724 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34725 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34726 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34727 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34728 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34729 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34730 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34731 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34732 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34733 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34734 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34735 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34737 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34739 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34740 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34741 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34742 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34744 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34746 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34747 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34748 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34749 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34751 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34752 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34753 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34754 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34755 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34756 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34757 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34758 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34759 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34760 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34761 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34762 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34763 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34764 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34765 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34766 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34767 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34768 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34769 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34770 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34771 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34772 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34773 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34774 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34775 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34776 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34777 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34778 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34779 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34780 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34781 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34782 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34783 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34784 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34785 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34786 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34787 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34788 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34789 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34790 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34791 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34793 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34794 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34795 * include/ifunc-impl-list.h: New file.
34796 * misc/ifunc-impl-list.c: Likewise.
34797 * misc/Makefile (routines): Add ifunc-impl-list.
34798 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34799 * string/test-string.h: Include <ifunc-impl-list.h>.
34800 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34801 TEST_NAME]: New variables.
34802 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34804 (test_init): Call __libc_ifunc_impl_list to initialize
34805 func_list if TEST_IFUNC and TEST_NAME are defined.
34807 * string/Makefile (strop-tests): Add bcopy and bzero.
34808 * string/test-bcopy.c: New file.
34809 * string/test-bzero.c: Likewise.
34810 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34812 * string/test-memset.c: Support bzero test if TEST_BZERO is
34814 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34816 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34818 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34821 2012-10-10 Joseph Myers <joseph@codesourcery.com>
34823 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34824 * configure: Regenerated.
34826 * Makeconfig (+link-static-before-libc): Don't include
34827 $(link-static-libc).
34829 * libio/libio.h (_IO_pos_t): Remove.
34831 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34833 * NEWS: Add note about FIPS mode. Wording suggested by Roland
34836 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34838 * crypt/crypt-entry.c: Include fips-private.h.
34839 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34840 * crypt/md5c-test.c (main): Tolerate disabled MD5.
34841 * sysdeps/unix/sysv/linux/fips-private.h: New file.
34842 * sysdeps/generic/fips-private.h: New file, dummy fallback.
34844 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
34846 * crypt/crypt-private.h: Include stdbool.h.
34847 (_ufc_setup_salt_r): Return bool.
34848 * crypt/crypt-entry.c: Include errno.h.
34849 (__crypt_r): Return NULL with EINVAL for bad salt.
34850 * crypt/crypt_util.c (bad_for_salt): New.
34851 (_ufc_setup_salt_r): Check that salt is long enough and within
34852 the specified alphabet.
34853 * crypt/badsalttest.c: New file.
34854 * crypt/Makefile (tests): Add it.
34855 ($(objpfx)badsalttest): New.
34857 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
34859 * NEWS: Add entry for BZ #14602.
34861 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34863 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34865 * math/libm-test.inc: Update comment listing what functions and
34867 (isgreater_test): New function.
34868 (isgreaterequal_test): Likewise.
34869 (isless_test): Likewise.
34870 (islessequal_test): Likewise.
34871 (islessgreater_test): Likewise.
34872 (isunordered_test): Likewise.
34873 (main): Call the new functions.
34875 2012-10-09 Roland McGrath <roland@hack.frob.com>
34877 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34878 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34879 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34880 * sysdeps/i386/configure: Regenerated.
34881 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34882 * sysdeps/mach/configure: Regenerated.
34883 * sysdeps/mach/hurd/configure: Regenerated.
34884 * sysdeps/powerpc/configure: Regenerated.
34885 * sysdeps/powerpc/powerpc32/configure: Regenerated.
34886 * sysdeps/powerpc/powerpc64/configure: Regenerated.
34887 * sysdeps/s390/s390-32/configure: Regenerated.
34888 * sysdeps/s390/s390-64/configure: Regenerated.
34889 * sysdeps/sh/configure: Regenerated.
34890 * sysdeps/sparc/configure: Regenerated.
34891 * sysdeps/unix/sysv/linux/configure: Regenerated.
34892 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34893 * sysdeps/x86_64/configure: Regenerated.
34895 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34896 defined. Don't check if MAP is NULL.
34898 2012-10-09 Joseph Myers <joseph@codesourcery.com>
34900 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34901 (_G_stat64): Likewise.
34902 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34903 (_G_stat64): Likewise.
34904 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34905 instead of struct _G_stat64.
34906 * libio/fileops.c (mmap_remap_check): Likewise.
34907 (decide_maybe_mmap): Likewise.
34908 (_IO_new_file_seekoff): Likewise.
34909 (_IO_file_stat): Likewise.
34910 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34912 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34913 instead of struct _G_stat64.
34914 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34916 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
34919 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34921 (CHECK_EOL): New macro.
34922 (two_way_short_needle): Check beginning of haystack for EOL. Use
34924 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34925 Replace with CHECK_EOL.
34926 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34927 Replace with CHECK_EOL.
34929 2012-10-08 Joseph Myers <joseph@codesourcery.com>
34931 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34933 * math/libm-test.inc: Update comment listing what functions and
34935 (finite_test): New function.
34936 (isinf_test): Likewise.
34937 (isnan_test): Likewise.
34938 (fpclassify_test): Test subnormal input.
34939 (isfinite_test): Likewise.
34940 (isnormal_test): Likewise.
34941 (main): Call the new functions.
34943 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
34946 * Makerules (%.dynsym): Force C locale when running
34947 $(OBJDUMP) --dynamic-syms.
34949 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
34951 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34954 2012-10-06 David S. Miller <davem@davemloft.net>
34956 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34957 upper 32-bits of the length value in %o2 since we use branch-on-register
34958 tests which consider the entire 64-bit register.
34960 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
34962 * string/test-strstr.c (check2): Add a test for page boundary.
34964 2012-10-05 David S. Miller <davem@davemloft.net>
34966 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34967 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34969 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34971 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34972 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34973 and bzero when HWCAP_SPARC_CRYPTO is present.
34975 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
34978 * string/test-strstr.c (check2): New function.
34979 (test_main): Call check2.
34981 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34983 * string/bug-strcasestr1.c (do_test): Moved to ...
34984 * string/test-strcasestr.c (check1): Here. New function.
34985 (do_one_test): Break out result checking code into ...
34986 (check_result): This. New function.
34987 (do_one_test): Call check_result.
34988 (test_main): Call check1.
34989 * string/bug-strchr1.c (do_test): Moved to ...
34990 * string/test-strchr.c (check1): Here. New function.
34991 (do_one_test): Break out result checking code into ...
34992 (check_result): This. New function.
34993 (do_one_test): Call check_result.
34994 (test_main): Call check1.
34995 * string/bug-strstr1.c (main): Moved to ...
34996 * string/test-strstr.c (check1): Here. New function.
34997 (do_one_test): Break out result checking code into ...
34998 (check_result): This. New function.
34999 (do_one_test): Call check_result.
35000 (test_main): Call check1.
35001 * string/bug-strcasestr1.c: Removed.
35002 * string/bug-strchr1.c: Likewise.
35003 * string/bug-strstr1.c: Likewise.
35005 * elf/Makefile (dl-routines): Add hwcaps.
35006 * elf/dl-support.c (_dl_important_hwcaps): Removed.
35007 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
35008 (_dl_important_hwcaps): Moved to ...
35009 * elf/dl-hwcaps.c: Here. New file.
35010 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
35013 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
35014 if IS_IN_rtld isn't defined.
35016 * elf/dl-support.c (_dl_sysinfo_map): New.
35017 Include "get-dynamic-info.h" and "setup-vdso.h".
35018 (_dl_non_dynamic_init): Call setup_vdso.
35019 * elf/dynamic-link.h: Don't include <assert.h>.
35020 (elf_get_dynamic_info): Moved to ...
35021 * elf/get-dynamic-info.h: Here. New file.
35022 * elf/dynamic-link.h: Include "get-dynamic-info.h".
35023 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
35024 * elf/setup-vdso.h: Here. New file.
35025 * elf/rtld.c: Include "setup-vdso.h".
35026 (dl_main): Call setup_vdso.
35028 2012-10-05 Joseph Myers <joseph@codesourcery.com>
35030 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
35031 creal in comment listing functions tested. List finite, isinf,
35032 isnan, isless, islessequal, isgreater, isgreaterequal,
35033 islessgreater, isunordered, lgamma_r and pow10 as functions and
35034 macros not tested. Mention which functions not tested are aliases
35035 for other functions. Fix typo. Note that signs of NaNs are not
35038 * scripts/config.guess: Update from config.git.
35039 * scripts/config.sub: Likewise.
35041 2012-10-04 Roland McGrath <roland@hack.frob.com>
35043 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
35044 * misc/madvise.c (madvise): Renamed to __madvise.
35045 Make madvise a weak alias.
35046 * include/sys/mman.h: Declare __madvise.
35047 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
35048 * sysdeps/unix/syscalls.list
35049 (madvise): Make __madvise the strong name, and madvise a weak alias.
35050 * sysdeps/unix/sysv/linux/syscalls.list
35051 (madvise, mmap): Remove redundant entries.
35052 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
35053 * malloc/malloc.c (mtrim): Likewise.
35054 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
35056 2012-10-03 Roland McGrath <roland@hack.frob.com>
35058 * sysdeps/mach/hurd/dl-cache.c: File removed.
35059 * config.h.in (USE_LDCONFIG): New #undef.
35060 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
35061 * configure: Regenerated.
35062 * elf/Makefile (dl-routines): Add dl-cache only under
35063 [$(use-ldconfig) = yes].
35064 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
35065 cache on [USE_LDCONFIG].
35066 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
35068 * elf/rtld.c (dl_main): Likewise.
35070 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
35072 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
35073 _SC_LEVEL4_CACHE_LINESIZE.
35075 2012-10-03 Roland McGrath <roland@hack.frob.com>
35077 * sysdeps/unix/bsd/confstr.h: File removed.
35079 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
35081 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
35084 2012-10-02 Roland McGrath <roland@hack.frob.com>
35086 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
35087 Make 'mapoff' field ElfW(Off) rather than off_t.
35089 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
35091 * nscd/Makefile: Remove nscd-cflags and all its users.
35092 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
35093 (CFLAGS-nonlib): Add compiler flags for nscd modules.
35096 * malloc.c (malloc_printerr): Clarify error message.
35098 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
35101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35102 Set bit_FMA_Usable if FMA is supported.
35103 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
35105 (bit_FMA4_Usable): Updated.
35106 (index_FMA_Usable): New macro.
35107 (CPUID_FMA): Likewise
35108 (HAS_FMA): Defined with bit_FMA_Usable.
35110 2012-10-01 Roland McGrath <roland@hack.frob.com>
35112 * bits/types.h (__swblk_t): Type removed.
35113 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
35114 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
35115 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
35116 (__SWBLK_T_TYPE): Likewise.
35117 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
35118 (__SWBLK_T_TYPE): Likewise.
35119 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
35120 (__SWBLK_T_TYPE): Likewise.
35121 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
35122 (__SWBLK_T_TYPE): Likewise.
35124 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
35125 Honza Horak <hhorak@redhat.com>
35127 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
35128 (xdr_mapname): Use YPMAXMAP as maxsize.
35129 (xdr_peername): Use YPMAXPEER as maxsize.
35130 (xdr_keydat): Use YPAXRECORD as maxsize.
35131 (xdr_valdat): Use YPMAXRECORD as maxsize.
35133 2012-10-01 Roland McGrath <roland@hack.frob.com>
35135 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
35137 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
35138 * csu/init-first.c: ... here.
35139 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
35140 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35141 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
35142 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35143 * sysdeps/i386/init-first.c: File removed.
35144 * sysdeps/sh/init-first.c: File removed.
35146 2012-10-01 Joseph Myers <joseph@codesourcery.com>
35149 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
35150 if x * y might underflow to zero and z is zero.
35151 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35152 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35153 * math/libm-test.inc (min_subnorm_value): New variable.
35154 (fma_test): Add more tests.
35155 (fma_test_towardzero): Likewise.
35156 (fma_test_downward): Likewise
35157 (fma_test_upward): Likewise.
35158 (initialize): Set min_subnorm_value.
35160 2012-09-29 Joseph Myers <joseph@codesourcery.com>
35163 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35165 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35166 mode for addition resulting in exact zero.
35167 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35168 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35170 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35171 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35172 * math/libm-test.inc (fma_test): Add more tests.
35173 (fma_test_towardzero): New function.
35174 (fma_test_downward): Likewise.
35175 (fma_test_upward): Likewise.
35176 (main): Call the new functions.
35178 2012-09-28 David S. Miller <davem@davemloft.net>
35180 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35182 2012-09-28 Roland McGrath <roland@hack.frob.com>
35184 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35185 instead of SIGALRM.
35187 * sysdeps/gnu/_G_config.h: Moved to ...
35188 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35189 * sysdeps/mach/hurd/_G_config.h: Moved to ...
35190 * sysdeps/generic/_G_config.h: ... here.
35192 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
35194 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35196 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35197 Conditionalize target on [libnss_test1.so-version].
35199 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35201 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35202 (elfobjdir): Move out of conditionals.
35204 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35205 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35206 (__nss_lookup_function): Conditionalize label remove_from_tree on
35207 [!DO_STATIC_NSS || SHARED], matching its only use.
35209 2012-09-28 David S. Miller <davem@davemloft.net>
35211 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35212 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35214 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35216 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35217 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35218 when HWCAP_SPARC_CRYPTO is present.
35220 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35222 * io/tst-mknodat.c: Create a FIFO instead of a socket.
35224 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
35227 * stdio-common/vfprintf.c (process_string_arg): Revert
35230 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
35232 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35234 * stdio-common/tst-sprintf.c: Include <locale.h>
35235 (main): Test sprintf's handling of incomplete multibyte
35238 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
35240 * elf/dl-runtime.c (VERSYMIDX): Removed.
35241 * elf/dl-version.c (VERSYMIDX): Likewise.
35242 * elf/do-rel.h (VERSYMIDX): Likewise.
35243 (VALIDX): Likewise.
35244 * elf/dynamic-link.h (VERSYMIDX): Likewise.
35245 * elf/rtld.c (VALIDX): Likewise.
35246 (ADDRIDX): Likewise.
35247 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35248 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35249 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35250 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35251 (VALIDX): Likewise.
35252 (ADDRIDX): Likewise.
35254 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35256 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35258 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
35261 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35263 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35264 addresses are in the same scope as 192.0.2/24.
35265 * posix/gai.conf: Document new scope table defaults.
35267 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35270 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35271 for ftell. Compute offsets from write pointers instead.
35272 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35274 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
35277 * libio/Makefile (tests): New test case tst-fseek.
35278 * libio/tst-fseek.c: New test case to verify that fseek/ftell
35279 combination works in wide mode.
35280 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35281 state when the external buffer state changes.
35283 2012-09-27 David S. Miller <davem@davemloft.net>
35286 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35287 pass reloc->r_addend in as the 'high' argument to
35288 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35290 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35292 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
35294 * rt/tst-aio2.c: Include <pthread.h>.
35295 * rt/tst-aio3.c: Likewise.
35297 2012-09-27 Steve Ellcey <sellcey@mips.com>
35299 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35301 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
35303 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35304 contents on [SHARED].
35306 2012-09-26 Marek Polacek <polacek@redhat.com>
35310 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35311 for C++ and GCC <4.3 as well as for non GCC compilers.
35313 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
35315 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35317 2012-09-25 Roland McGrath <roland@hack.frob.com>
35319 * Makefile.in (all, install): Declare with .PHONY.
35320 Reported by Michael Hope <michael.hope@linaro.org>.
35322 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
35324 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35325 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35327 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35329 (sydep_routines): Add the new and the internal functions.
35330 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35331 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35333 (GLIBC_2.17): Add the new function.
35334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35335 (GLIBC_2.17): Likewise.
35336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35337 (GLIBC_2.17): Likewise.
35338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35339 (GLIBC_2.17): Likewise.
35340 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35342 2012-09-25 Alan Modra <amodra@gmail.com>
35344 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35345 Add release barrier before setting once_control to say
35346 initialisation is done. Add hints on lwarx. Use macro in
35348 (clear_once_control): Add release barrier.
35350 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35353 * math/s_clog.c (__clog): Handle more values close to |z| = 1
35355 * math/s_clog10.c (__clog10): Likewise.
35356 * math/s_clog10f.c (__clog10f): Likewise.
35357 * math/s_clog10l.c (__clog10l): Likewise.
35358 * math/s_clogf.c (__clogf): Likewise.
35359 * math/s_clogl.c (__clogl): Likewise.
35360 * math/Makefile (libm-calls): Add x2y2m1.
35361 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35362 (__x2y2m1): Likewise.
35363 (__x2y2m1l): Likewise.
35364 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35365 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35366 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35367 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35368 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35369 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35370 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35371 * sysdeps/i386/fpu/libm-test-ulps: Update.
35372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35375 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35376 int as type of variable DEPTH.
35377 (glob): Use size_t instead of int as type of variables NEWCOUNT
35380 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35382 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35383 Add s_sincosf-sse2.
35384 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35385 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35386 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35387 macros for using routine as __sincosf_ia32.
35388 Use macro for function declaration and weak_alias.
35389 * sysdeps/i386/fpu/libm-test-ulps: Update.
35391 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35392 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35394 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35395 subnormal argument.
35396 * math/s_cexpf.c (__cexpf): Likewise.
35397 * math/s_csinf.c (__csinf): Likewise.
35398 * math/s_csinhf.c (__csinhf): Likewise.
35399 * math/s_ctanf.c (__ctanf): Likewise.
35400 * math/s_ctanhf.c (__ctanhf): Likewise.
35401 * math/s_ccosh.c (__ccoshf): Likewise.
35402 * math/s_cexp.c (__cexpl): Likewise.
35403 * math/s_csin.c (__csin): Likewise.
35404 * math/s_csinh.c (__csinh): Likewise.
35405 * math/s_ctan.c (__ctan): Likewise.
35406 * math/s_ctanh.c (ctanh): Likewise.
35407 * math/s_ccoshl.c (__ccoshl): Likewise.
35408 * math/s_cexpl.c (__cexpl): Likewise.
35409 * math/s_csinl.c (__csinl): Likewise.
35410 * math/s_csinhl.c (__csinhl): Likewise.
35411 * math/s_ctanl.c (__ctanl): Likewise.
35412 * math/s_ctanhl.c (__ctanhl): Likewise.
35414 2012-09-25 Joseph Myers <joseph@codesourcery.com>
35416 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35417 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35418 (_IO_off_t): Define to __off_t, not _G_off_t.
35419 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35420 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35421 (_IO_wint_t): Define to wint_t, not _G_wint_t.
35422 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35423 type of __dummy and __dummy2 fields.
35424 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35425 (_G_ssize_t): Likewise.
35426 (_G_off_t): Likewise.
35427 (_G_pid_t): Likewise.
35428 (_G_uid_t): Likewise.
35429 (_G_wchar_t): Likewise.
35430 (_G_wint_t): Likewise.
35431 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35432 (_G_ssize_t): Likewise.
35433 (_G_off_t): Likewise.
35434 (_G_pid_t): Likewise.
35435 (_G_uid_t): Likewise.
35436 (_G_wchar_t): Likewise.
35437 (_G_wint_t): Likewise.
35438 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35439 (_G_ssize_t): Likewise.
35440 (_G_off_t): Likewise.
35441 (_G_pid_t): Likewise.
35442 (_G_uid_t): Likewise.
35443 (_G_wchar_t): Likewise.
35444 (_G_wint_t): Likewise.
35446 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35448 * malloc/arena.c: Include malloc-sysdep.h.
35449 (shrink_heap): Use check_may_shrink_heap to decide if madvise
35450 is sufficient to shrink the heap or an unmap is needed.
35451 * sysdeps/generic/malloc-sysdep.h: New file. Define
35452 new function check_may_shrink_heap.
35453 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
35454 new function check_may_shrink_heap.
35456 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
35458 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35461 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
35463 * catgets/test-gencat.sh: Add "set -e".
35464 * elf/tst-pathopt.sh: Likewise.
35465 * grp/tst_fgetgrent.sh: Likewise.
35466 * iconvdata/run-iconv-test.sh: Likewise.
35467 * intl/tst-gettext.sh: Likewise.
35468 * intl/tst-gettext2.sh: Likewise.
35469 * intl/tst-gettext4.sh: Likewise.
35470 * intl/tst-gettext6.sh: Likewise.
35471 * intl/tst-translit.sh: Likewise.
35472 * io/ftwtest-sh: Likewise.
35473 * libio/test-freopen.sh: Likewise.
35474 * malloc/tst-mtrace.sh: Likewise.
35475 * posix/globtest.sh: Likewise.
35476 * posix/tst-getconf.sh: Likewise.
35477 * posix/wordexp-tst.sh: Likewise.
35478 * stdio-common/tst-printf.sh: Likewise.
35479 * stdio-common/tst-unbputc.sh: Likewise.
35480 * stdlib/tst-fmtmsg.sh: Likewise.
35481 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35482 * catgets/Makefile: Do not specify -e option when running
35483 testsuite shell scripts.
35484 * elf/Makefile: Likewise.
35485 * grp/Makefile: Likewise.
35486 * iconvdata/Makefile: Likewise.
35487 * intl/Makefile: Likewise.
35488 * io/Makefile: Likewise.
35489 * libio/Makefile: Likewise.
35490 * malloc/Makefile: Likewise.
35491 * posix/Makefile: Likewise.
35492 * stdio-common/Makefile: Likewise.
35493 * stdlib/Makefile: Likewise.
35494 * sysdeps/x86_64/Makefile: Likewise.
35496 * io/ftwtest-sh: Add copyright header.
35497 * posix/globtest.sh: Likewise.
35498 * posix/tst-getconf.sh: Likewise.
35499 * posix/wordexp-tst.sh: Likewise.
35500 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35502 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
35505 * Makeconfig (+link): Defined as $(+link-static) if
35506 $(build-shared) isn't yes.
35507 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35509 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35511 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35514 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35515 new chunk size with MALLOC_ALIGN_MASK.
35517 2012-09-24 Joseph Myers <joseph@codesourcery.com>
35520 * stdio-common/printf_fphex.c: Include <stdbool.h> and
35522 (__printf_fphex): Determine rounding using get_rounding_mode and
35524 * stdio-common/tst-printf-round.c (struct hex_test): New
35526 (hex_tests): New variable.
35527 (test_hex_in_one_mode): New function.
35528 (do_test): Also run tests for hex float output.
35530 2012-09-21 Joseph Myers <joseph@codesourcery.com>
35532 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35533 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35534 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35535 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35536 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35537 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35538 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35539 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35541 2012-09-20 Joseph Myers <joseph@codesourcery.com>
35543 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35544 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35545 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35546 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35548 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
35551 * elf/rtld.c (dl_main): Limit the check for self loading to normal
35553 * elf/tst-rtld-load-self.sh: New test.
35554 * elf/Makefile: Run it.
35556 2012-09-18 Joseph Myers <joseph@codesourcery.com>
35558 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35559 (tst-writev-ENV): Remove.
35560 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35562 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
35564 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35566 2012-09-17 Joseph Myers <joseph@codesourcery.com>
35568 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35570 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35572 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35573 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35574 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35577 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
35580 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35581 * config.make.in (have-cpp-asm-debuginfo): Removed.
35582 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35583 * configure: Regenerated.
35585 2012-09-14 Joseph Myers <joseph@codesourcery.com>
35588 * stdio-common/printf_fp.c: Include <stdbool.h> and
35590 (___printf_fp): Determine rounding using get_rounding_mode and
35592 * stdio-common/tst-printf-round.c: New file.
35593 * stdio-common/Makefile (tests): Add tst-printf-round.
35594 (link-libm): New variable.
35595 ($(objpfx)tst-printf-round): Depend in $(link-libm).
35597 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
35600 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35601 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35603 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35606 2012-09-13 Joseph Myers <joseph@codesourcery.com>
35608 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35609 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35610 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35611 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35613 2012-09-12 Joseph Myers <joseph@codesourcery.com>
35616 * include/rounding-mode.h: New file.
35617 * sysdeps/generic/get-rounding-mode.h: Likewise.
35618 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35619 * stdlib/strtod_l.c: Include <rounding-mode.h>.
35620 (MAX_VALUE): New macro.
35621 (MIN_VALUE): Likewise.
35622 (overflow_value): New function.
35623 (underflow_value): Likewise.
35624 (round_and_return): Use overflow_value and underflow_value to
35625 determine return values in overflow and underflow cases. Use
35626 round_away to determine rounding depending on rounding mode.
35627 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35628 determine return values in overflow and underflow cases.
35629 * stdlib/tst-strtod-round.c: Include <fenv.h>.
35630 (struct test_results): New structure.
35631 (struct test): Use struct test_results to store expected results
35632 for all rounding modes.
35633 (TEST): Include expected results for all rounding modes.
35634 (test_in_one_mode): New function.
35635 (do_test): Use test_in_one_mode to compute and check results.
35636 Check results for all rounding modes.
35637 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35640 2012-12-09 Allan McRae <allan@archlinux.org>
35642 * sysdeps/i386/fpu/libm-test-ulps: Update
35644 2012-09-11 Joseph Myers <joseph@codesourcery.com>
35646 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35647 (_G_int32_t): Likewise.
35648 (_G_uint16_t): Likewise.
35649 (_G_uint32_t): Likewise.
35650 (_G_HAVE_BOOL): Likewise.
35651 (_G_HAVE_ATEXIT): Likewise.
35652 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35653 (_G_HAVE_IO_FILE_OPEN): Likewise.
35654 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35655 (_G_int32_t): Likewise.
35656 (_G_uint16_t): Likewise.
35657 (_G_uint32_t): Likewise.
35658 (_G_HAVE_BOOL): Likewise.
35659 (_G_HAVE_ATEXIT): Likewise.
35660 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35661 (_G_HAVE_IO_FILE_OPEN): Likewise.
35662 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35663 (_G_int32_t): Likewise.
35664 (_G_uint16_t): Likewise.
35665 (_G_uint32_t): Likewise.
35666 (_G_HAVE_BOOL): Likewise.
35667 (_G_HAVE_ATEXIT): Likewise.
35668 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35669 (_G_HAVE_IO_FILE_OPEN): Likewise.
35671 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
35673 * csu/libc-tls.c: Update copyright years.
35675 2012-09-10 Joseph Myers <joseph@codesourcery.com>
35677 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35678 [!_G_USING_THUNKS]: Remove conditional code.
35679 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35680 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35682 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35683 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35684 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35685 (_G_VTABLE_LABEL_PREFIX): Likewise.
35686 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35687 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35688 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35689 (_G_VTABLE_LABEL_PREFIX): Likewise.
35690 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35691 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35692 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35693 (_G_VTABLE_LABEL_PREFIX): Likewise.
35694 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35696 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
35698 * libio/Makefile: Include ../Makeconfig before tests.
35699 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35700 only if $(build-shared) is yes.
35702 * iconv/gconv_db.c: Update copyright years.
35704 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35706 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35707 unwind info if defined PIC. Fix special cases description.
35708 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35710 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35712 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35714 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
35716 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35718 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35721 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35722 (LDLIBS-tst-chk4): This.
35723 (LDFLAGS-tst-chk5): Renamed to ...
35724 (LDLIBS-tst-chk5): This.
35725 (LDFLAGS-tst-chk6): Renamed to ...
35726 (LDLIBS-tst-chk6): This.
35727 (LDFLAGS-tst-lfschk4): Renamed to ...
35728 (LDLIBS-tst-lfschk4): This.
35729 (LDFLAGS-tst-lfschk5): Renamed to ...
35730 (LDLIBS-tst-lfschk5): This.
35731 (LDFLAGS-tst-lfschk6): Renamed to ...
35732 (LDLIBS-tst-lfschk6): This.
35734 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35735 on $(common-objpfx)soversions.mk.
35737 2012-09-07 Joseph Myers <joseph@codesourcery.com>
35740 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35743 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
35745 * malloc/arena.c (arena_get_retry): New function that gets
35746 another arena for the caller to try its request on.
35747 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35748 current arena cannot fulfill the request.
35749 (__libc_memalign): Likewise.
35750 (__libc_memalign): Likewise.
35751 (__libc_pvalloc): Likewise.
35752 (__libc_calloc): Likewise.
35754 2012-09-05 John Tobey <john.tobey@gmail.com>
35757 * manual/arith.texi (Operations on Complex): Fix description
35758 of carg branch cut.
35760 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35763 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35767 * manual/memory.texi (Memory): Make order of menu items match
35770 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35772 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35773 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
35774 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35776 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35778 * csu/libc-tls.c (static_dtv): Renamed to ...
35779 (_dl_static_dtv): This. Make it global.
35780 (_dl_initial_dtv): Removed.
35781 (__libc_setup_tls): Updated.
35782 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35783 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35786 2012-09-06 Petr Machata <pmachata@redhat.com>
35788 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35789 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35790 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35791 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35793 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35796 * csu/libc-tls.c (_dl_initial_dtv): New variable.
35797 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35800 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
35803 * Makeconfig (link-static-before-libc): Replace $(+prector)
35805 (link-static-after-libc): Replace $(+postctor) with
35807 (link-bounded): Replace $(+prector)/$(+postctor) with
35808 $(+prectorT)/$(+postctorT).
35809 (+prectorT): New macro.
35810 (+postctorT): Likewise.
35812 2012-09-06 Joseph Myers <joseph@codesourcery.com>
35814 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35815 (round_str): Handle values above the maximum for IBM long double
35817 * stdlib/tst-strtod-round.c (tests): Regenerated.
35819 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35821 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35823 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35824 zarch_nohighgprs around the zarch optimized routines.
35825 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35826 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35827 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35830 2012-09-05 David S. Miller <davem@davemloft.net>
35832 * sysdeps/sparc/fpu/libm-test-ulps: Update.
35834 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35835 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35836 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35837 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35840 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35842 * malloc/arena.c: Fold copyright years.
35843 * malloc/mcheck.c, malloc/memusage.c: Likewise.
35845 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35847 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35849 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35851 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
35853 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35855 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35856 change internal state upon failure.
35858 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
35860 * malloc/mcheck.c (mcheck_check_all): Fix typo.
35861 * malloc/memusage.c (mmap): Likewise.
35862 (mmap64, mremap): Likewise. Adjust name in comment.
35864 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35866 * libio/fileops.c: Fix typos in comments.
35867 * libio/oldfileops.c: Likewise.
35868 * libio/wfileops.c: Likewise.
35870 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
35873 * malloc/Makefile (tests): Add tst-malloc-usable test case.
35874 (tst-malloc-usable-ENV): Set environment for test case.
35875 * malloc/hooks.c (malloc_check_get_size): New function to get
35877 * malloc/malloc.c (musable): Use malloc_check_get_size.
35878 * malloc/tst-malloc-usable.c: New test case.
35880 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35882 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35884 2012-09-05 Allan McRae <allan@archlinux.org>
35887 * configure.in (CXX_SYSINCLUDES): Use compiler output to
35888 determine header location.
35889 * configure: Regenerated.
35891 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
35893 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35895 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35896 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35898 (test): Regenerate.
35900 2012-09-04 David S. Miller <davem@davemloft.net>
35902 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35903 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35904 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35906 2012-09-04 Florian Weimer <fweimer@redhat.com>
35908 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35911 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35913 2012-09-04 Joseph Myers <joseph@codesourcery.com>
35916 * libio/iogetdelim.c: Include <limits.h>.
35917 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35918 + len + 1 would overflow.
35920 2012-09-03 Andreas Jaeger <aj@suse.de>
35922 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35923 * sysdeps/i386/fpu/libm-test-ulps: Update.
35925 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
35927 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35928 Add s_sinf-sse2, s_conf-sse2.
35930 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35931 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35932 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35933 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35935 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35936 for using routine as __sinf_ia32.
35937 Use macro for function declaration and weak_alias.
35938 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35939 for using routine as __cosf_ia32.
35940 Use macro for function declaration and weak_alias.
35942 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35943 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35945 * sysdeps/x86_64/fpu/s_sinf.S: New file.
35946 * sysdeps/x86_64/fpu/s_cosf.S: New file.
35947 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35949 * math/libm-test.inc (cos_test): Add more test cases.
35950 (sin_test): Likewise.
35951 (sincos_test): Likewise.
35953 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35955 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35956 (IFUNC_RESOLVE): Make pointers to the specialized implementations
35958 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35960 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
35963 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35964 first element of the GOT.
35965 (elf_machine_load_address): Return the difference between
35966 the runtime address of _DYNAMIC and elf_machine_dynamic ().
35968 2012-09-01 Allan McRae <allan@archlinux.org>
35971 * configure.in (AWK): Require gawk version 3.0 or later.
35972 * configure: Regenerated.
35974 2012-09-01 Joseph Myers <joseph@codesourcery.com>
35976 * sysdeps/unix/sysv/linux/kernel-features.h
35977 (__ASSUME_POSIX_CPU_TIMERS): Remove.
35978 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35979 [__NR_clock_getres]: Make code unconditional.
35980 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35981 (clock_getcpuclockid): Remove code left unreachable by removal of
35983 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35984 code unconditional.
35985 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35986 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35987 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35988 Make code unconditional.
35989 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35990 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35991 * sysdeps/unix/sysv/linux/clock_settime.c
35992 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35994 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35995 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35997 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
36000 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
36001 scripts/test-installation.pl.
36003 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
36004 and $ld_so_version if it is set.
36006 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
36009 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
36010 failure if reading from procfs failed.
36011 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
36013 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36015 * sysdeps/unix/sysv/linux/kernel-features.h
36016 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
36017 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36018 Remove conditional code.
36019 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36020 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
36021 Remove conditional code.
36022 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36023 * sysdeps/unix/sysv/linux/i386/fxstat.c
36024 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36025 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36026 * sysdeps/unix/sysv/linux/i386/fxstatat.c
36027 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36028 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36029 * sysdeps/unix/sysv/linux/i386/lxstat.c
36030 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
36031 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36032 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
36033 Remove conditional code.
36034 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36035 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
36036 Remove conditional code.
36037 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36038 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
36039 <kernel-features.h>.
36040 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
36042 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
36043 Remove conditional code.
36044 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
36045 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
36046 Remove conditional.
36048 2012-08-27 Mike Frysinger <vapier@gentoo.org>
36051 * NEWS: Add fixed bug number.
36053 2012-08-27 Joseph Myers <joseph@codesourcery.com>
36056 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
36057 underflowing exponent in case of negative sign.
36058 * stdlib/tst-strtod-round-data: Add more tests.
36059 * stdlib/tst-strtod-round.c (tests): Regenerated.
36062 * stdlib/strtod_l.c (NDIG): Remove.
36063 (HEXNDIG): Likewise.
36064 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
36065 smallest representable value.
36066 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
36067 lie within an exact representation of 1/2 ulp of the result.
36068 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
36070 (TENS_P9_IDX): Define unconditionally.
36071 (TENS_P9_SIZE): Likewise.
36072 (TENS_P10_IDX): Likewise.
36073 (TENS_P10_SIZE): Likewise.
36074 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
36075 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
36076 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
36077 entries for 10^2^13 and 10^2^14.
36078 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
36079 (TENS_P13_IDX): Define.
36080 (TENS_P13_SIZE): Likewise.
36081 (TENS_P14_IDX): Likewise.
36082 (TENS_P14_SIZE): Likewise.
36083 (_fpioconst_pow10): Change array size to
36084 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
36086 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
36087 1024]: Add entries for 10^2^13 and 10^2^14.
36088 [LAST_POW10 > _LAST_POW10]: Remove #error.
36089 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
36090 (_fpioconst_pow10): Change array size to
36091 FPIOCONST_POW10_ARRAY_SIZE.
36092 * stdlib/gen-fpioconst.c: New file.
36093 * stdlib/gen-tst-strtod-round.c: Likewise.
36094 * stdlib/tst-strtod-round-data: Likewise.
36095 * stdlib/tst-strtod-round.c: Likewise.
36096 * stdlib/Makefile (tests): Add tst-strtod-round.
36099 * stdlib/strtod_l.c: Include <stdint.h>.
36100 (NDEBUG): Do not define.
36101 (round_and_return): Change EXPONENT parameter to type intmax_t.
36102 Rearrange calculations to avoid internal overflow possibilities.
36103 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
36104 Rearrange calculations to avoid internal overflow possibilities.
36105 Assert that number fits inside MPNSIZE limbs.
36106 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
36107 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
36108 calculations and add assertions to avoid internal overflow
36109 possibilities. Add casts to avoid signed/unsigned operations.
36110 * stdlib/tst-strtod-overflow.c: New file.
36111 * stdlib/Makefile (tests): Add tst-strtod-overflow.
36113 2012-08-25 Marek Polacek <polacek@redhat.com>
36115 * time/time.h: Fix some typos in comments.
36117 2012-08-23 Roland McGrath <roland@hack.frob.com>
36119 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
36120 * posix/tst-rfc3484-2.c: Likewise.
36121 * posix/tst-rfc3484-3.c: Likewise.
36123 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
36125 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
36126 (EF_ARM_ABI_FLOAT_HARD): Likewise.
36128 2012-08-23 Joseph Myers <joseph@codesourcery.com>
36130 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
36131 #include of fxstatat64.c.
36133 2012-08-22 Roland McGrath <roland@hack.frob.com>
36135 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
36136 * shadow/getspent_r.c: Likewise.
36137 * shadow/getspnam.c: Likewise.
36138 * shadow/getspnam_r.c: Likewise.
36139 * gshadow/getsgent.c: Likewise.
36140 * gshadow/getsgent_r.c: Likewise.
36141 * gshadow/getsgnam.c: Likewise.
36142 * gshadow/getsgnam_r.c: Likewise.
36143 * inet/getnetbyad.c: Likewise.
36144 * inet/getnetbyad_r.c: Likewise.
36145 * inet/getnetbynm.c: Likewise.
36146 * inet/getnetbynm_r.c: Likewise.
36147 * inet/getnetent.c: Likewise.
36148 * inet/getnetent_r.c: Likewise.
36149 * inet/getproto.c: Likewise.
36150 * inet/getproto_r.c: Likewise.
36151 * inet/getprtent.c: Likewise.
36152 * inet/getprtent_r.c: Likewise.
36153 * inet/getprtname.c: Likewise.
36154 * inet/getprtname_r.c: Likewise.
36155 * inet/getrpcbyname.c: Likewise.
36156 * inet/getrpcbyname_r.c: Likewise.
36157 * inet/getrpcbynumber.c: Likewise.
36158 * inet/getrpcbynumber_r.c: Likewise.
36159 * inet/getrpcent.c: Likewise.
36160 * inet/getrpcent_r.c: Likewise.
36161 * inet/getaliasent.c: Likewise.
36162 * inet/getaliasent_r.c: Likewise.
36163 * inet/getaliasname.c: Likewise.
36164 * inet/getaliasname_r.c: Likewise.
36165 * nscd/getgrgid_r.c: Likewise.
36166 * nscd/getgrnam_r.c: Likewise.
36167 * nscd/gethstbyad_r.c: Likewise.
36168 * nscd/gethstbynm3_r.c: Likewise.
36169 * nscd/getpwnam_r.c: Likewise.
36170 * nscd/getpwuid_r.c: Likewise.
36171 * nscd/getsrvbynm_r.c: Likewise.
36172 * nscd/getsrvbypt_r.c: Likewise.
36173 * nscd/gai.c: Likewise.
36175 * configure.in (build_nscd): New substituted variable, set
36176 by --disable-build-nscd and defaults to $use_nscd.
36177 * configure: Regenerated.
36178 * config.make.in (build-nscd): New substituted variable.
36179 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36180 Change conditional to require [$(build-nscd) = yes] as well.
36181 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36184 * configure.in (use_nscd): New substituted variable, set by
36185 --disable-nscd. If enabled, define USE_NSCD.
36186 * configure: Regenerated.
36187 * config.h.in: Add USE_NSCD.
36188 * config.make.in (use-nscd): New substituted variable.
36189 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36190 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36191 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36192 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36193 (CFLAGS-getgrnam_r.c): Likewise.
36194 (CFLAGS-initgroups.c): Likewise.
36195 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36196 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36198 * inet/getnetgrent_r.c
36199 (nscd_setnetgrent): New function, broken out of ...
36200 (setnetgrent): ... here. Call it.
36201 (innetgr): Conditionalize nscd bits on [USE_NSCD].
36202 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36203 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36204 * nscd/Makefile (routines, aux): Move definitions after include of
36205 Makeconfig. Conditionalize on [$(use-nscd) != no].
36206 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36207 Conditionalize on [USE_NSCD].
36208 (is_nscd, nscd_init_cb): Likewise.
36209 (nss_load_library): Conditionalize init callback on [USE_NSCD].
36210 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36211 * nss/nss_db/db-init.c: Likewise.
36212 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36214 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36215 (make_request): Use it.
36216 (cache_valid_p): New function.
36217 (__check_pf): Use it.
36218 * NEWS: Add item for --disable-nscd.
36220 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
36222 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36223 to support sed >= 4.2.1-20-ga9bf076.
36224 * configure: Regenerated.
36226 2012-08-22 Roland McGrath <roland@hack.frob.com>
36228 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36229 Conditionalize whole body on [IREL].
36231 2012-08-22 Jeff Law <law@redhat.com>
36234 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36235 if the family is PF_UNSPEC.
36237 2012-08-22 Mike Frysinger <vapier@gentoo.org>
36239 * Makerules (lib-version): Rename from V.
36240 (install-lib-nosubdir): Change V to lib-version.
36242 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
36245 * powerpc32/power6/wcschr.c: New file.
36246 * powerpc32/power6/wcscpy.c: New file.
36247 * powerpc32/power6/wcsrchr.c: New file.
36248 * powerpc64/power6/wcschr.c: New file.
36249 * powerpc64/power6/wcscpy.c: New file.
36250 * powerpc64/power6/wcsrchr.c: New file.
36252 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36254 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36255 (two_way_short_needle): Use it.
36256 * string/strstr.c (AVAILABLE1_USES_J): Define.
36257 * string/strcasestr.c: Likewise.
36259 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36261 * string/strcasestr.c (TOLOWER): Make side-effect safe.
36264 * NEWS: Add an entry.
36265 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36266 define their defaults.
36267 (two_way_short_needle): Detect end-of-string on-the-fly.
36268 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36269 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36270 * string/bug-strcasestr1.c: New test.
36271 * string/Makefile: Run it.
36273 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
36276 * string/str-two-way.h (two_way_short_needle): Optimize matching of
36277 the first character.
36279 2012-08-21 Roland McGrath <roland@hack.frob.com>
36281 * csu/elf-init.c (__libc_csu_irel): Function removed.
36282 * csu/libc-start.c (apply_irel): New function.
36283 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36285 2012-08-21 Joseph Myers <joseph@codesourcery.com>
36287 * sysdeps/unix/sysv/linux/kernel-features.h
36288 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36289 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36290 <kernel-features.h>.
36291 [__NR_fadvise64_64]: Make code unconditional.
36292 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36293 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36294 !__NR_fadvise64_64)]: Likewise.
36295 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36296 !__NR_fadvise64_64))]: Likewise.
36297 [__NR_fadvise64]: Make code unconditional.
36298 [!__NR_fadvise64]: Remove conditional code.
36299 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36300 <kernel-features.h>.
36301 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36303 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36306 not include <kernel-features.h>.
36307 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36309 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36311 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36312 include <kernel-features.h>.
36313 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36315 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36318 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36320 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36321 slight instruction rearrangements per scrollpipe analysis.
36322 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36324 2012-08-20 Roland McGrath <roland@hack.frob.com>
36326 * manual/syslog.texi (syslog; vsyslog, closelog):
36327 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36328 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36330 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36331 DSOCAPS to match condition on defining it.
36333 2012-08-20 Joseph Myers <joseph@codesourcery.com>
36335 * sysdeps/unix/sysv/linux/kernel-features.h
36336 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36338 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36339 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36341 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36342 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36344 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36345 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36347 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36348 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36350 * sysdeps/unix/sysv/linux/kernel-features.h
36351 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36352 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36354 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36355 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36356 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36357 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36358 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36359 Make code unconditional.
36360 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36361 (__mmap64) [!__NR_mmap2]: Likewise.
36362 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36363 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36364 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36365 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36366 [__NR_mmap2]: Make code unconditional.
36367 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36368 (__mmap64) [!__NR_mmap2]: Likewise.
36370 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36372 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36374 2012-08-18 Andreas Jaeger <aj@suse.de>
36376 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36378 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36380 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36381 * include/unistd.h (__have_sock_cloexec): Likewise.
36382 (__have_pipe2): Likewise.
36383 (__have_dup3): Likewise.
36385 2012-08-18 Mike Frysinger <vapier@gentoo.org>
36388 * include/unistd.h (__have_pipe2): Change define into an extern int.
36389 (__have_dup3): Likewise.
36390 * socket/have_sock_cloexec.c: Include fcntl.h.
36391 (__have_pipe2): New variable.
36392 (__have_dup3): Likewise.
36394 2012-08-17 Mike Frysinger <vapier@gentoo.org>
36396 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36398 2012-08-17 Marek Polacek <polacek@redhat.com>
36400 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36401 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36403 2012-08-17 Roland McGrath <roland@hack.frob.com>
36405 * configure.in: Add AC_SUBST for sysheaders.
36406 * configure: Regenerated.
36407 * config.make.in (sysheaders): New substituted variable.
36409 * sysdeps/unix/mkfifo.c: Moved ...
36410 * sysdeps/posix/mkfifo.c: ... here.
36411 * sysdeps/unix/mkfifoat.c: Moved ...
36412 * sysdeps/posix/mkfifoat.c: ... here.
36414 * sysdeps/unix/utime.c: Moved ...
36415 * sysdeps/posix/utime.c: ... here.
36417 * sysdeps/unix/time.c: Moved ...
36418 * sysdeps/posix/time.c: ... here.
36419 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36420 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36422 * sysdeps/unix/nice.c: Moved ...
36423 * sysdeps/posix/nice.c: ... here.
36425 * sysdeps/unix/alarm.c: Moved ...
36426 * sysdeps/posix/alarm.c: ... here.
36428 * intl/Makefile ($(codeset_mo)): Depend on the input file.
36430 2012-08-17 Jeff Law <law@redhat.com>
36432 * intl/Makefile (codeset_mo): New variable.
36433 ($(codeset_mo)): New target.
36434 (tst-codeset.out): Depend on that. Remove explicit rule.
36435 (tst-gettext3.out, tst-gettext5.out): Likewise.
36436 (LOCPATH-ENV, tst-codeset-ENV): New variables.
36437 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36438 * intl/tst-codeset.sh: Remove.
36439 * intl/tst-gettext3.sh: Likewise.
36440 * intl/tst-gettext5.sh: Likewise.
36442 2012-08-17 Roland McGrath <roland@hack.frob.com>
36444 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
36445 * sysdeps/unix/syscalls.list: ... here.
36447 * sysdeps/posix/getaddrinfo.c
36448 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36449 (gaiconf_init, gaiconf_reload): Use them.
36450 [!_STATBUF_ST_NSEC]
36451 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36452 Define using time_t rather than struct timespec.
36454 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36455 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36457 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36459 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36460 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36463 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36464 __libc_cleanup_push argument.
36466 * bits/param.h: New file.
36467 * misc/sys/param.h: New file.
36468 * include/sys/param.h: New file.
36469 * misc/Makefile (headers): Add bits/param.h.
36470 * sysdeps/generic/sys/param.h: File removed.
36471 * sysdeps/unix/sysv/linux/bits/param.h: New file.
36472 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36473 * sysdeps/mach/hurd/bits/param.h: New file.
36474 * sysdeps/mach/hurd/sys/param.h: File removed.
36476 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36479 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36481 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36482 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36485 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36486 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36487 rather than -D_IO_MTSAFE_IO conditionally.
36488 * stdio-common/Makefile (CPPFLAGS): Likewise.
36489 * wcsmbs/Makefile (CPPFLAGS): Likewise.
36490 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36491 Use $(libio-mtsafe).
36492 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36493 of -D_IO_MTSAFE_IO.
36494 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36495 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36496 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36497 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36498 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36499 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36500 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36501 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36502 (CFLAGS-fread_u_chk.c): Likewise.
36503 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36504 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36505 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36506 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36507 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36508 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36509 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36510 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36511 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36513 * libio/Makefile: Test [$(libc-reentrant) = yes]
36514 instead of [$(filter %REENTRANT, $(defines)) nonempty].
36517 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36518 * sysdeps/pthread/configure: File removed.
36519 * sysdeps/pthread/Makeconfig: New file.
36520 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36521 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36523 2012-08-16 Gary Benson <gbenson@redhat.com>
36525 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36526 unmapping the first object in a namespace.
36528 2012-08-16 Roland McGrath <roland@hack.frob.com>
36530 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36531 (__internal_setnetgrent): ... this. Add internal_function to
36532 definition. Add libc_hidden_def.
36533 (setnetgrent): Update caller.
36534 (internal_endnetgrent): Renamed to ...
36535 (__internal_endnetgrent): ... this. Add internal_function to
36536 definition. Add libc_hidden_def.
36537 (endnetgrent): Update caller.
36538 (internal_getnetgrent_r): Renamed to ...
36539 (__internal_getnetgrent_r): ... this. Add internal_function to
36540 definition. Add libc_hidden_def.
36541 (__getnetgrent_r): Update caller.
36542 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
36544 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36546 * stdlib/longlong.h: Update from GCC.
36548 2012-08-16 Roland McGrath <roland@hack.frob.com>
36550 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36551 on _QL, which is set by umul_ppmm but never used.
36552 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36553 variables, which are set by GMP macros but never used.
36554 * stdio-common/_itowa.c (_itowa): Likewise.
36555 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36556 * stdlib/mod_1.c (mpn_mod_1): Likewise.
36558 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
36560 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36561 struct La_sh_regs is not constant.
36562 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36563 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36564 and struct La_sparc64_regs are not constant.
36566 2012-08-16 Joseph Myers <joseph@codesourcery.com>
36568 * sysdeps/unix/sysv/linux/kernel-features.h
36569 (__ASSUME_POSIX_TIMERS): Remove.
36570 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36571 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36572 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36573 Make code unconditional.
36574 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36575 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36576 Make code unconditional.
36577 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36578 * sysdeps/unix/sysv/linux/clock_nanosleep.c
36579 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36580 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36581 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36582 Make code unconditional.
36583 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36584 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36585 (__libc_missing_posix_timers): Remove.
36587 2012-08-15 Roland McGrath <roland@hack.frob.com>
36589 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36590 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36592 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36594 * elf/dl-sym.c: Include <stdlib.h>.
36596 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36597 constants, which avoids warnings in 32-bit builds.
36599 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36600 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36602 * misc/lseek.c: File moved to ...
36603 * io/lseek.c: ... here.
36605 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36607 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36608 shifting LEN more than 31 bits at once.
36610 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36613 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36614 segmentation fault for a case of two empty input strings.
36615 * string/test-strncasecmp.c (check1): Renamed to...
36616 (bz12205): ...this.
36617 (bz14195): Add new testcase for two empty input strings and N > 0.
36618 (test_main): Call new testcase, adapt for renamed function.
36620 2012-08-15 Andreas Jaeger <aj@suse.de>
36623 * crypt/md5test2.c: New test, based on test supplied by Serge
36624 Belyshev <belyshev@depni.sinp.msu.ru>.
36625 * crypt/Makefile (xtests): Add md5test-giant..
36626 * crypt/Makefile ($(objpfx)md5test-giant): Add.
36628 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
36631 * crypt/md5.c (md5_process_block): Don't assume the buffer
36632 length is less than 2**32.
36633 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36634 length is less than 2**64.
36636 2012-08-15 Roland McGrath <roland@hack.frob.com>
36638 * string/str-two-way.h: Include <sys/param.h>.
36639 (MAX): Macro removed.
36641 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36642 Move #define and #undef of memmove to just before and after
36643 including <string.h>.
36645 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36646 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36647 and after including <string.h>. Move declarations of
36648 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36649 to before #include "string/memmove.c".
36651 * include/dirent.h: Declare __getdirentries.
36653 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36654 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36656 2012-08-14 Mike Frysinger <vapier@gentoo.org>
36658 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36659 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36660 * sysdeps/i386/configure: Regenerated.
36661 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36662 STABS_CURRENT_FILE, and STABS_FUN.
36663 (END): Remove call to STABS_FUN_END.
36664 (STABS_CURRENT_FILE1): Delete.
36665 (STABS_CURRENT_FILE): Likewise.
36666 (STABS_FUN): Likewise.
36667 (STABS_FUN_END): Likewise.
36668 (STABS_FUN2): Likewise.
36669 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36670 * sysdeps/x86_64/configure: Regenerated.
36672 2012-08-14 Roland McGrath <roland@hack.frob.com>
36674 * elf/dl-open.c: Include <atomic.h>.
36675 * elf/dl-lookup.c: Likewise.
36677 2012-08-14 Joseph Myers <joseph@codesourcery.com>
36679 * sysdeps/unix/sysv/linux/kernel-features.h
36680 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36681 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36683 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36685 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36686 condition on __ASSUME_CLONE_THREAD_FLAGS.
36688 2012-08-14 Andreas Jaeger <aj@suse.de>
36690 * sysdeps/i386/fpu/libm-test-ulps: Update.
36692 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
36694 * include/atomic.h (atomic_exchange_and_add): Split into ...
36695 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36698 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
36700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36702 2012-08-13 Jeff Law <law@redhat.com>
36704 * manual/stdio.texi (snprintf): Clarify handling of the trailing
36705 null byte in the output string.
36707 2012-08-10 Joseph Myers <joseph@codesourcery.com>
36709 * sysdeps/unix/sysv/linux/kernel-features.h
36710 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36711 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36712 (__ASSUME_ARG_MAX_STACK_BASED): Define.
36713 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36714 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36715 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
36716 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36718 2012-08-09 Jeff Law <law@redhat.com>
36721 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36722 When avoid_arena is set, don't retry in the that arena. Pick the
36723 next one, whatever it might be.
36724 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36725 (arena_lock): Pass in new parameter to arena_get2.
36726 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36728 (__libc_malloc): Unify retrying after main arena failure with
36729 __libc_memalign version.
36730 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36732 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
36735 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36736 to __redirect_strstr.
36737 (__strstr_sse42): Use typeof __redirect_strstr.
36738 (__strstr_ia32): Likewise.
36739 (__libc_strstr): New prototype.
36740 (strstr): Renamed to ...
36741 (__libc_strstr): This.
36742 (strstr): New strong alias of __libc_strstr.
36743 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36744 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36747 (__libc_time): New prototype.
36748 (time_ifunc): Replace time with __libc_time.
36749 (time): New strong alias and hidden definition of __libc_time.
36750 (__GI_time): Remove strong alias.
36751 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36752 Include <stddef.h>.
36753 (memmove): Redefined to __redirect_memmove.
36754 (__memmove_sse2): Use typeof __redirect_memmove.
36755 (__memmove_ssse3): Likewise.
36756 (__memmove_ssse3_back): Likewise.
36757 (__libc_memmove): New prototype.
36758 (memmove): Renamed to ...
36759 (__libc_memmove): This.
36760 (memmove): New strong alias of __libc_memmove.
36762 2012-08-08 Mark Salter <msalter@redhat.com>
36765 (R_MN10300_TLS_GD): Define.
36766 (R_MN10300_TLS_LD): Likewise.
36767 (R_MN10300_TLS_LDO): Likewise.
36768 (R_MN10300_TLS_GOTIE): Likewise.
36769 (R_MN10300_TLS_IE): Likewise.
36770 (R_MN10300_TLS_LE): Likewise.
36771 (R_MN10300_TLS_DTPMOD): Likewise.
36772 (R_MN10300_TLS_DTPOFF): Likewise.
36773 (R_MN10300_TLS_TPOFF): Likewise.
36774 (R_MN10300_SYM_DIFF): Likewise.
36775 (R_MN10300_ALIGN): Likewise.
36776 (R_MN10300_NUM): Update.
36778 2012-08-08 Joseph Myers <joseph@codesourcery.com>
36780 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36783 2012-08-08 Roland McGrath <roland@hack.frob.com>
36785 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36787 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36788 sysdeps/unix -> sysdeps/posix move.
36789 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36791 2012-08-07 Allan McRae <allan@archlinux.org>
36794 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36795 (SUNOS_CPP): Likewise.
36796 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36798 (open_input): Call CPP using execvp.
36800 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36802 * sysdeps/unix/sysv/linux/kernel-features.h
36803 (__ASSUME_PROT_GROWSUPDOWN): Remove.
36804 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36805 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36806 (__ASSUME_WAITID_SYSCALL): Likewise.
36807 * sysdeps/unix/sysv/linux/dl-execstack.c
36808 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36809 code unconditional.
36810 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36812 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36813 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36814 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36816 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36818 [__ASSUME_WAITID_SYSCALL]: Likewise.
36819 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36821 2012-08-07 Roland McGrath <roland@hack.frob.com>
36823 * sysdeps/unix/closedir.c: Renamed to ...
36824 * sysdeps/posix/closedir.c: ... here.
36825 * sysdeps/unix/dirfd.c: Renamed to ...
36826 * sysdeps/posix/dirfd.c: ... here.
36827 * sysdeps/unix/dirstream.h: Renamed to ...
36828 * sysdeps/posix/dirstream.h: ... here.
36829 * sysdeps/unix/fdopendir.c: Renamed to ...
36830 * sysdeps/posix/fdopendir.c: ... here.
36831 * sysdeps/unix/opendir.c: Renamed to ...
36832 * sysdeps/posix/opendir.c: ... here.
36833 * sysdeps/unix/readdir.c: Renamed to ...
36834 * sysdeps/posix/readdir.c: ... here.
36835 * sysdeps/unix/readdir_r.c: Renamed to ...
36836 * sysdeps/posix/readdir_r.c: ... here.
36837 * sysdeps/unix/rewinddir.c: Renamed to ...
36838 * sysdeps/posix/rewinddir.c: ... here.
36839 * sysdeps/unix/seekdir.c: Renamed to ...
36840 * sysdeps/posix/seekdir.c: ... here.
36841 * sysdeps/unix/telldir.c: Renamed to ...
36842 * sysdeps/posix/telldir.c: ... here.
36843 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36844 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36845 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36846 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36848 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36849 * bits/fcntl.h: ... here.
36851 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36853 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36854 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36855 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36856 (struct flock): Move l_start, l_len to the beginning.
36857 Use __pid_t for l_pid.
36858 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36859 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36860 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36861 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36862 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36863 [__USE_LARGEFILE64] (struct flock64): New type.
36864 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36866 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36867 * bits/dirent.h: ... here.
36869 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36870 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36872 2012-08-07 Joseph Myers <joseph@codesourcery.com>
36874 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36875 Change from 2.6.0 to 2.6.16.
36876 * sysdeps/unix/sysv/linux/configure: Regenerated.
36877 * sysdeps/unix/sysv/linux/kernel-features.h
36878 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36879 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36881 (__ASSUME_UTIMES): Likewise.
36882 (__ASSUME_CLONE_STOPPED): Remove.
36883 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36884 architectures, not kernel version.
36885 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36886 (__ASSUME_NO_CLONE_DETACHED): Likewise.
36887 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36888 (__ASSUME_WAITID_SYSCALL): Likewise.
36889 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36890 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36891 * README: State 2.6.16 as minimum Linux kernel version. Do not
36892 refer to older versions.
36894 2012-08-06 Roland McGrath <roland@hack.frob.com>
36896 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36897 Define alphasort64 as an alias.
36898 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36899 Define versionsort64 as an alias.
36900 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36901 Define scandir64 as an alias.
36902 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36903 Define scandirat64 as an alias.
36904 * dirent/alphasort64.c (alphasort64):
36905 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36906 * dirent/versionsort64.c: Likewise.
36907 * dirent/scandir64.c: Likewise.
36908 * dirent/scandirat64.c: Likewise.
36909 * sysdeps/wordsize-64/alphasort.c: File removed.
36910 * sysdeps/wordsize-64/alphasort64.c: File removed.
36911 * sysdeps/wordsize-64/scandir.c: File removed.
36912 * sysdeps/wordsize-64/scandir64.c: File removed.
36913 * sysdeps/wordsize-64/scandirat.c: File removed.
36914 * sysdeps/wordsize-64/scandirat64.c: File removed.
36915 * sysdeps/wordsize-64/versionsort.c: File removed.
36916 * sysdeps/wordsize-64/versionsort64.c: File removed.
36917 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36918 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36919 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36920 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36921 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36922 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36923 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36924 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36926 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36927 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36928 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36929 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36930 [defined __arch64__ || defined __sparcv9]
36931 (__INO_T_MATCHES_INO64_T): New macro.
36932 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36933 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36934 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36935 * sysdeps/unix/sysv/linux/bits/dirent.h
36936 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36937 (_DIRENT_MATCHES_DIRENT64): New macro.
36939 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36940 Define lockf64 as an alias.
36941 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36942 Define fseeko64 as an alias.
36943 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36944 Define ftello64 as an alias.
36945 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36946 Define _IO_fgetpos64 and fgetpos64 as aliases.
36947 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36948 Define _IO_fsetpos64 and fsetpos64 as aliases.
36949 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36950 Conditionalize body on this.
36951 * libio/fseeko64.c: Likewise.
36952 * libio/ftello64.c: Likewise.
36953 * libio/iofgetpos64.c: Likewise.
36954 * libio/iofsetpos64.c: Likewise.
36955 * sysdeps/wordsize-64/lockf.c: File removed.
36956 * sysdeps/wordsize-64/lockf64.c: File removed.
36957 * sysdeps/wordsize-64/fseeko.c: File removed.
36958 * sysdeps/wordsize-64/fseeko64.c: File removed.
36959 * sysdeps/wordsize-64/ftello.c: File removed.
36960 * sysdeps/wordsize-64/ftello64.c: File removed.
36961 * sysdeps/wordsize-64/iofgetpos.c: File removed.
36962 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36963 * sysdeps/wordsize-64/iofsetpos.c: File removed.
36964 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36965 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36966 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36967 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36968 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36969 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36970 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36971 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36972 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36973 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36974 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36976 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36977 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36978 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36979 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36980 [defined __arch64__ || defined __sparcv9]
36981 (__OFF_T_MATCHES_OFF64_T): New macro.
36982 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36983 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36984 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36985 (__OFF_T_MATCHES_OFF64_T): New macro.
36987 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36989 * stdlib/secure-getenv.c (__secure_getenv): Replace
36990 GLIBC_2_16 with GLIBC_2_17.
36992 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
36994 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36995 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36997 2012-08-03 David S. Miller <davem@davemloft.net>
36999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37001 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37003 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
37005 (__ASSUME_CORRECT_SI_PID): Likewise.
37006 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
37007 (__ASSUME_TMPFS_NAME): Likewise.
37008 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
37009 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
37010 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
37011 (HAVE_AUX_SECURE): Make definition unconditional.
37012 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
37013 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
37015 2012-08-03 Roland McGrath <roland@hack.frob.com>
37017 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
37018 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
37019 * sysdeps/mach/hurd/eloop-threshold.h: New file.
37020 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
37021 __eloop_threshold instead of SYMLOOP_MAX.
37023 * sysdeps/generic/eloop-threshold.h: New file.
37024 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
37026 * elf/chroot_canon.c (chroot_canon): Likewise.
37028 2012-08-03 Joseph Myers <joseph@codesourcery.com>
37031 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37032 Change to 2.6.0 everywhere.
37033 * sysdeps/unix/sysv/linux/configure: Regenerated.
37034 * sysdeps/unix/sysv/linux/kernel-features.h
37035 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
37036 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
37038 (__ASSUME_POSIX_TIMERS): Define unconditionally.
37039 (__ASSUME_FUTEX_REQUEUE): Remove.
37040 (__ASSUME_STATFS64): Define unconditionally.
37041 (__ASSUME_AT_SECURE): Likewise.
37042 (__ASSUME_CORRECT_SI_PID): Likewise.
37043 (__ASSUME_TGKILL): Define without depending on kernel version for
37045 (__ASSUME_UTIMES): Likewise.
37046 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
37048 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
37049 (__ASSUME_TMPFS_NAME): Likewise.
37050 * README: Update reference to Linux kernel versions.
37052 2012-08-02 Marek Polacek <polacek@redhat.com>
37055 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
37056 libc_cv_asm_type_prefix with %.
37057 * configure: Regenerated.
37058 * include/libc-symbols.h: Remove comment about
37059 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37060 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
37061 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
37062 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
37063 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
37064 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
37065 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
37066 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
37067 * elf/tst-unique2mod1.c: Likewise.
37068 * elf/tst-unique1mod2.c: Likewise.
37069 * elf/tst-unique1mod1.c: Likewise.
37070 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
37071 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
37072 Replace ASM_TYPE_DIRECTIVE with .type.
37073 * sysdeps/s390/s390-64/sysdep.h: Likewise.
37074 * sysdeps/i386/sysdep.h: Likewise.
37075 * sysdeps/x86_64/sysdep.h: Likewise.
37076 * sysdeps/sh/sysdep.h: Likewise.
37077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
37078 Do not define ASM_TYPE_DIRECTIVE.
37079 * sysdeps/powerpc/sysdep.h: Likewise.
37080 * sysdeps/powerpc/powerpc32/sysdep.h:
37081 Replace ASM_TYPE_DIRECTIVE with .type.
37082 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37083 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37084 * sysdeps/i386/fpu/e_powf.S: Likewise.
37085 * sysdeps/i386/fpu/e_expl.S: Likewise.
37086 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37087 * sysdeps/i386/fpu/e_acosh.S: Likewise.
37088 * sysdeps/i386/fpu/e_pow.S: Likewise.
37089 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37090 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37091 * sysdeps/i386/fpu/s_expm1.S: Likewise.
37092 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37093 * sysdeps/i386/fpu/e_log2.S: Likewise.
37094 * sysdeps/i386/fpu/e_log2l.S: Likewise.
37095 * sysdeps/i386/fpu/e_scalb.S: Likewise.
37096 * sysdeps/i386/fpu/e_powl.S: Likewise.
37097 * sysdeps/i386/fpu/e_log10f.S: Likewise.
37098 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37099 * sysdeps/i386/fpu/e_logl.S: Likewise.
37100 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37101 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37102 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37103 * sysdeps/i386/fpu/e_log2f.S: Likewise.
37104 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37105 * sysdeps/i386/fpu/e_log.S: Likewise.
37106 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37107 * sysdeps/i386/fpu/e_logf.S: Likewise.
37108 * sysdeps/i386/fpu/e_log10l.S: Likewise.
37109 * sysdeps/i386/fpu/e_atanh.S: Likewise.
37110 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37111 * sysdeps/i386/fpu/e_log10.S: Likewise.
37112 * sysdeps/i386/fpu/s_frexp.S: Likewise.
37113 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37114 * sysdeps/i386/fpu/s_asinh.S: Likewise.
37115 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37116 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37117 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
37118 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37119 * sysdeps/i386/i686/strtok.S: Likewise.
37120 * sysdeps/i386/i386-mcount.S: Likewise.
37121 * sysdeps/i386/strtok.S: Likewise.
37122 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
37123 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37124 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37125 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37126 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
37127 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37128 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37129 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37130 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37131 * sysdeps/x86_64/_mcount.S: Likewise.
37132 * sysdeps/x86_64/strtok.S: Likewise.
37133 * sysdeps/sh/_mcount.S: Likewise.
37135 2012-08-01 Roland McGrath <roland@hack.frob.com>
37137 * libio/iofopen.c: Include <fcntl.h>.
37138 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
37139 (_IO_fopen64, fopen64): Define as aliases.
37140 * libio/iofopen64.c: Include <fcntl.h>.
37141 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
37142 Conditionalize body on this.
37143 * sysdeps/wordsize-64/iofopen.c: File removed.
37144 * sysdeps/wordsize-64/iofopen64.c: File removed.
37146 2012-08-01 Marek Polacek <polacek@redhat.com>
37148 * libc/Makeconfig: Use elf in place of binfmt-subdir.
37149 Use dlfcn directly instead of a variable.
37150 (binfmt-subdir): Do not define.
37153 2012-08-01 Joseph Myers <joseph@codesourcery.com>
37155 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
37156 Remove all definitions.
37157 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
37158 <kernel-features.h>.
37159 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37160 (miss_F_GETOWN_EX): Remove all definitions.
37161 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37163 [!__ASSUME_FCNTL64]: Remove conditional code.
37164 [__ASSUME_FCNTL64]: Make code unconditional.
37165 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37166 <kernel-features.h>.
37167 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37168 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37169 (lockf64) [__NR_fcntl64]: Make code unconditional.
37170 (lockf64) [__ASSUME_FCNTL64]: Likewise.
37172 * sysdeps/unix/sysv/linux/kernel-features.h
37173 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37174 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37175 Make code unconditional.
37176 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37177 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37179 [__NR_vfork]: Make code unconditional.
37180 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37181 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37183 [__NR_vfork]: Make code unconditional.
37184 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37185 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37187 2012-08-01 Roland McGrath <roland@hack.frob.com>
37189 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37190 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37192 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37193 Define mkstemp64 as an alias.
37194 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37195 Define mkstemps64 as an alias.
37196 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37197 Define mkostemp64 as an alias.
37198 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37199 Define mkostemps64 as an alias.
37200 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37201 Conditionalize body on this.
37202 * misc/mkostemp64.c: Likewise.
37203 * misc/mkostemps64.c: Likewise.
37204 * misc/mkstemps64.c: Likewise.
37205 * sysdeps/wordsize-64/mkstemp64.c: File removed.
37206 * sysdeps/wordsize-64/mkostemp64.c: File removed.
37207 * sysdeps/wordsize-64/mkostemp.c: File removed.
37208 * sysdeps/wordsize-64/mkstemp.c: File removed.
37209 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37210 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37211 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37212 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37215 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37216 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37217 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37218 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37220 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37221 compat_symbol macros from <shlib-compat.h> rather than the underlying
37222 default_symbol_version and symbol_version macros, so that DEFAULT
37223 lines in shlib-versions are respected.
37224 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37226 2012-08-01 Florian Weimer <fweimer@redhat.com>
37228 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37229 Declare with warn_unused_result.
37230 (setgid, setregid, setegid, setresgid): Likewise.
37231 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37233 * WUR-REPORT: Remove set*id functions.
37235 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
37237 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37239 2012-07-31 Roland McGrath <roland@hack.frob.com>
37242 * include/sys/socket.h (__libc_accept, __libc_accept4):
37243 Add attribute_hidden.
37244 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37246 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37248 * inet/getnetgrent_r.c (setup): Likewise.
37250 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37252 2012-07-31 David S. Miller <davem@davemloft.net>
37254 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37256 2012-07-31 Joseph Myers <joseph@codesourcery.com>
37259 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37260 value between 1.0 and 2.0 and smaller part has absolute value less
37262 * math/s_clog10.c (__clog10): Likewise.
37263 * math/s_clog10f.c (__clog10f): Likewise.
37264 * math/s_clog10l.c (__clog10l): Likewise.
37265 * math/s_clogf.c (__clogf): Likewise.
37266 * math/s_clogl.c (__clogl): Likewise.
37267 * math/libm-test.inc (clog_test): Add more tests.
37268 (clog10_test): Likewise.
37269 * sysdeps/i386/fpu/libm-test-ulps: Update.
37270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37272 2012-07-31 Florian Weimer <fweimer@redhat.com>
37274 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37275 Exit with zero in case no suitable GID is found, and write a
37276 message to standard error.
37278 2012-07-30 Roland McGrath <roland@hack.frob.com>
37280 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37282 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37283 (MAXPATHLEN): Removed.
37284 (NOGROUP, NODEV): New macros.
37285 (setbit, clrbit, isset, isclr): New macros.
37286 (howmany, roundup, powerof2): New macros.
37287 (DEV_BSIZE): New macro.
37289 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37290 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37292 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37293 definition on [!__NO_LONG_DOUBLE_MATH].
37295 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37296 PTR_MANGLE and PTR_DEMANGLE.
37298 * socket/accept4.c (accept4): Rename to __libc_accept4.
37299 Define accept4 as a weak alias.
37301 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37302 on [_DIRENT_HAVE_D_TYPE].
37303 * io/ftw.c (ftw_dir): Likewise.
37305 * io/xmknod.c (__xmknod): Don't check PATH for being null.
37307 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37309 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37310 Use the BSD numbers rather than the arbitrary ones we had.
37311 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37312 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37313 (SIGXCPU, SIGXFSZ): New macros.
37316 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37317 initializer on [_LIBC_REENTRANT].
37319 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37320 definitions inside [_POSIX_MAPPED_FILES].
37322 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37324 * dirent/opendir.c: Include <fcntl.h>.
37326 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37327 (__libc_getspecific): Likewise.
37328 (__libc_key_create): Likewise.
37330 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37331 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37332 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37333 (tmpfile64): Define as alias.
37334 * sysdeps/wordsize-64/tmpfile.c: File removed.
37335 * sysdeps/wordsize-64/tmpfile64.c: File removed.
37336 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37337 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37339 * stdio-common/vfscanf.c: Include <stdbool.h>.
37340 * nss/makedb.c: Likewise.
37341 * stdio-common/_i18n_number.h: Likewise.
37342 * argp/argp-help.c: Likewise.
37343 * posix/wordexp.c: Likewise.
37344 * sysdeps/posix/spawni.c: Likewise.
37345 * nss/nss_files/files-initgroups.c: Likewise.
37346 * stdio-common/reg-modifier.c: Include <stdlib.h>.
37347 * nss/nss_files/files-initgroups.c: Likewise.
37348 * nss/nss_db/db-netgrp.c: Likewise.
37349 * nss/nss_db/db-initgroups.c: Likewise.
37350 * io/fchmodat.c: Include <sys/stat.h>.
37352 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37353 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37355 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37358 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37359 Add multiple inclusion protection.
37361 2012-07-27 David S. Miller <davem@davemloft.net>
37363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37365 2012-07-27 Gary Benson <gbenson@redhat.com>
37368 * elf/rtld.c: Include <stap-probe.h>.
37369 (dl_main): Added static probes "init_start" and "init_complete".
37370 * elf/dl-load.c: Include <stap-probe.h>.
37371 (lose): Take new parameter "nsid".
37372 Added static probe "map_failed".
37373 (_dl_map_object_from_fd): Pass namespace id to lose.
37374 Added static probe "map_start".
37375 (open_verify): Pass namespace id to lose.
37376 * elf/dl-open.c: Include <stap-probe.h>.
37377 (dl_open_worker) Added static probes "map_complete", "reloc_start"
37378 and "reloc_complete".
37379 * elf/dl-close.c: Include <stap-probe.h>.
37380 (_dl_close_worker): Added static probes "unmap_start" and
37382 * elf/rtld-debugger-interface.txt: New file documenting the above.
37384 2012-07-26 Roland McGrath <roland@hack.frob.com>
37386 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37387 rather than a string variable.
37388 * sunrpc/rpc_main.c (h_output): Likewise.
37389 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37391 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
37393 * inet/check_native.c: New file.
37395 2012-07-26 Joseph Myers <joseph@codesourcery.com>
37398 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37399 if larger part has absolute value 1.0.
37400 * math/s_clog10.c (__clog10): Likewise.
37401 * math/s_clog10f.c (__clog10f): Likewise.
37402 * math/s_clog10l.c (__clog10l): Likewise.
37403 * math/s_clogf.c (__clogf): Likewise.
37404 * math/s_clogl.c (__clogl): Likewise.
37405 * math/libm-test.inc (clog_test): Add more tests.
37406 (clog10_test): Likewise.
37407 * sysdeps/i386/fpu/libm-test-ulps: Update.
37408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37410 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37411 (pltexit): Likewise.
37412 (La_regs): Likewise.
37413 (La_retval): Likewise.
37414 (int_retval): Likewise.
37415 Update #error for removed macros to refer only to definitions in
37417 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37419 (pltexit): Likewise.
37420 (La_regs): Likewise.
37421 (La_retval): Likewise.
37422 (int_retval): Likewise.
37423 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37425 (pltexit): Likewise.
37426 (La_regs): Likewise.
37427 (La_retval): Likewise.
37428 (int_retval): Likewise.
37429 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37431 (pltexit): Likewise.
37432 (La_regs): Likewise.
37433 (La_retval): Likewise.
37434 (int_retval): Likewise.
37435 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37437 (pltexit): Likewise.
37438 (La_regs): Likewise.
37439 (La_retval): Likewise.
37440 (int_retval): Likewise.
37441 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37443 (pltexit): Likewise.
37444 (La_regs): Likewise.
37445 (La_retval): Likewise.
37446 (int_retval): Likewise.
37447 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37449 (pltexit): Likewise.
37450 (La_regs): Likewise.
37451 (La_retval): Likewise.
37452 (int_retval): Likewise.
37453 * sysdeps/generic/tst-audit.h: Update comment to refer only to
37454 macro definitions in tst-audit.h.
37455 * sysdeps/i386/tst-audit.h: New file.
37456 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37457 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37458 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37459 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37460 * sysdeps/sh/tst-audit.h: Likewise.
37461 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37462 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37463 * sysdeps/x86_64/tst-audit.h: Likewise.
37465 2012-07-26 Andreas Jaeger <aj@suse.de>
37467 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37470 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37471 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37472 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37474 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37475 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37476 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37478 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37481 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37483 (si_call_addr, si_syscall, si_arch): Define new macro.
37484 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37486 (si_call_addr, si_syscall, si_arch): Define new marcro.
37487 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37489 (si_call_addr, si_syscall, si_arch): Define new macro.
37490 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37492 (si_call_addr, si_syscall, si_arch): Define new macro.
37494 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37497 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37498 Change to 2.4.21 where previously 2.4.1.
37499 * sysdeps/unix/sysv/linux/configure: Regenerated.
37500 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37501 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37502 Linux kernel version.
37503 (__ASSUME_STD_AUXV): Remove.
37504 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37506 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37507 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37508 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37509 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37510 (__ASSUME_NETLINK_SUPPORT): Likewise.
37511 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37512 (__no_netlink_support): Remove conditional definition.
37513 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37515 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37516 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37517 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37518 (if_nameindex_ioctl): Remove.
37519 (if_nameindex_netlink): Do not handle __no_netlink_support.
37520 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37522 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37523 Remove conditional code.
37524 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37526 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37528 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37529 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37530 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37532 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37533 [!__ASSUME_STD_AUXV]: Remove conditional code.
37534 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37535 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37536 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37538 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37539 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37541 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37542 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37543 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37544 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37546 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37548 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37550 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37551 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37553 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37554 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37555 code unconditional.
37556 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37558 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37560 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37563 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37565 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37567 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37568 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37569 code unconditional.
37570 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37572 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37574 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37576 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37577 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37578 code unconditional.
37579 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37581 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37583 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37586 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
37588 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37589 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37590 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37591 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37592 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37593 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37594 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37595 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37596 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37597 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37598 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37599 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37600 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37601 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37602 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37603 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37604 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37605 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37606 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37607 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37608 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37609 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37610 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37612 2012-07-25 Florian Weimer <fweimer@redhat.com>
37614 * Versions.def: Add GLIBC_2.17.
37615 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37616 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37617 Introduce __libc_secure_getenv.
37618 * stdlib/Versions (2.17): Add secure_getenv
37619 (GLIBC_PRIVATE): Add __libc_secure_getenv.
37620 * stdlib/secure-getenv.c: Rename __secure_getenv to
37621 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
37622 symbol __secure_getenv for GLIBC_2.0.
37623 * stdlib/tst-secure-getenv.c: New.
37624 * stdlib/Makefile (tests): Add testcase.
37625 * manual/startup.texi (Environment Access): Document
37627 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37628 __libc_secure_getenv.
37629 * inet/ruserpass.c (ruserpass): Likewise.
37630 * malloc/mtrace.c (mtrace): Likewise.
37631 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37632 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37633 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37634 * sysdeps/posix/tempname.c: Likewise. Evaluate
37635 HAVE_SECURE_GETENV.
37636 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37637 __secure_getenv to __libc_secure_getenv.
37638 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37643 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37644 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37645 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37646 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37647 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37648 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37651 2012-07-25 Joseph Myers <joseph@codesourcery.com>
37653 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37654 (struct La_i86_retval): Likewise.
37655 (struct La_x86_64_regs): Likewise.
37656 (struct La_x86_64_retval): Likewise.
37657 (struct La_x32_regs): Likewise.
37658 (struct La_x32_retval): Likewise.
37659 (struct La_ppc32_regs): Likewise.
37660 (struct La_ppc32_retval): Likewise.
37661 (struct La_ppc64_regs): Likewise.
37662 (struct La_ppc64_retval): Likewise.
37663 (struct La_sh_regs): Likewise.
37664 (struct La_sh_retval): Likewise.
37665 (struct La_s390_32_regs): Likewise.
37666 (struct La_s390_32_retval): Likewise.
37667 (struct La_s390_64_regs): Likewise.
37668 (struct La_s390_64_retval): Likewise.
37669 (struct La_sparc32_regs): Likewise.
37670 (struct La_sparc32_retval): Likewise.
37671 (struct La_sparc64_regs): Likewise.
37672 (struct La_sparc64_retval): Likewise.
37673 (struct audit_ifaces): Remove architecture-specific pltenter and
37675 * sysdeps/i386/ldsodefs.h: New file.
37676 * sysdeps/powerpc/ldsodefs.h: Likewise.
37677 * sysdeps/s390/ldsodefs.h: Likewise.
37678 * sysdeps/sh/ldsodefs.h: Likewise.
37679 * sysdeps/sparc/ldsodefs.h: Likewise.
37680 * sysdeps/x86_64/ldsodefs.h: Likewise.
37682 2012-07-25 Marek Polacek <polacek@redhat.com>
37685 * math/libm-test.inc (yn_test): Add another test.
37686 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37687 to ERANGE when the result is +-Inf.
37688 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37689 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37690 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37691 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37693 2012-07-24 Joseph Myers <joseph@codesourcery.com>
37695 * conform/data/time.h-data (NULL): Use macro-constant. Require
37697 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
37699 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
37701 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
37703 * configure.in <sysdeps resolving>: Correct printing
37705 * configure: Regenerate.
37707 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
37709 * math/w_ilogb.c: Include <limits.h>.
37710 * math/w_ilogbl.c: Likewise.
37712 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37714 * manual/lang.texi (__va_copy): Document primarily as ISO C99
37715 va_copy. Document allowing for unavailable va_copy only as
37716 pre-C99 compatibility.
37717 * manual/string.texi (Copying and Concatenation): Use va_copy
37718 instead of __va_copy in concat example.
37720 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
37722 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37723 (__sendto): Use create_address_port. Initialize APORT and deallocate
37726 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37727 with O_NOLINK passed to __file_name_lookup.
37729 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37730 with O_NOLINK passed to __file_name_lookup.
37732 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37733 negative N or less than NGIDS.
37735 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37736 type to string_t. Set ERANGE as errno and return it if NAME is not big
37737 enough. Use memcpy instead of strncpy.
37739 2012-07-20 Joseph Myers <joseph@codesourcery.com>
37741 * elf/Makefile (check-data): Remove.
37742 (localplt.data): New vpath directive.
37743 ($(objpfx)check-localplt.out): Use localplt.data from vpath
37744 instead of $(check-data).
37745 * scripts/data/localplt-generic.data: Move to ...
37746 * sysdeps/generic/localplt.data: ... here.
37747 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37748 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37749 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37752 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37755 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37756 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37758 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37761 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37762 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37764 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37768 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37770 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37771 PPC32 and PPC64 files.
37772 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37773 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37775 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37777 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37778 __makecontext_ret to ...
37779 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37780 ... here and call exit if uc_link is NULL. New file.
37781 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37782 __makecontext_ret.S.
37783 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37784 __makecontext_ret to ...
37785 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37786 ... here and call exit if uc_link is NULL. New file.
37787 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37788 __makecontext_ret.S.
37790 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37792 * elf/elf.h (R_390_IRELATIVE): New definition.
37793 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37794 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
37795 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37796 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37797 (elf_machine_lazy_rel): Likewise.
37798 * sysdeps/s390/dl-irel.h: New file.
37799 * sysdeps/s390/s390-64/memcpy.S: New asm code.
37800 * sysdeps/s390/s390-64/memset.S: New asm code.
37801 * sysdeps/s390/s390-64/memcmp.S: New asm code.
37802 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37803 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37804 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37805 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37806 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37807 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37808 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37809 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37810 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37811 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37812 * sysdeps/s390/s390-32/memcpy.S: New asm code.
37813 * sysdeps/s390/s390-32/memset.S: New asm code.
37814 * sysdeps/s390/s390-32/memcmp.S: New asm code.
37816 2012-07-17 Marek Polacek <polacek@redhat.com>
37819 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37820 * sysdeps/s390/s390-64/configure.in: Likewise.
37821 * sysdeps/sparc/configure.in: Likewise.
37822 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37823 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37824 * sysdeps/i386/configure.in: Likewise.
37825 * sysdeps/x86_64/configure.in: Likewise.
37826 * sysdeps/sh/configure.in: Likewise.
37827 * sysdeps/s390/s390-32/configure: Regenerated.
37828 * sysdeps/s390/s390-64/configure: Likewise.
37829 * sysdeps/x86_64/configure: Likewise.
37830 * sysdeps/sh/configure: Likewise.
37831 * sysdeps/powerpc/powerpc64/configure: Likewise.
37832 * sysdeps/powerpc/powerpc32/configure: Likewise.
37833 * sysdeps/sparc/configure: Likwise.
37834 * sysdeps/i386/configure: Likewise.
37836 * elf/dl-open.c: Comment fixes.
37838 2012-07-17 Joseph Myers <joseph@codesourcery.com>
37840 * Makefile [CXX] (check-data): Remove.
37841 [CXX] (c++-types.data): New vpath directive.
37842 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37843 vpath. Do not allow for C++ type data being missing.
37844 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37845 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37846 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37847 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37848 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37849 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37850 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37853 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37854 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37856 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37859 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37860 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37862 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37863 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37865 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37866 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37868 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37869 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37871 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37874 * elf/tls-macros.h (TLS_LE): Move architecture-specific
37875 definitions to architecture-specific files.
37876 (TLS_IE): Likewise.
37877 (TLS_LD): Likewise.
37878 (TLS_GD): Likewise.
37879 * sysdeps/i386/tls-macros.h: New file.
37880 * sysdeps/powerpc/tls-macros.h: Likewise.
37881 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37882 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37883 * sysdeps/sh/tls-macros.h: Likewise.
37884 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37885 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37886 * sysdeps/x86_64/tls-macros.h: Likewise.
37888 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37890 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37891 zero value for regular exit case.
37893 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37894 (__start_context): Preserve zero value for regular exit case.
37896 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
37897 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
37899 * manual/setjmp.texi (setcontext): Clarify normal process
37900 termination when uc_link is the null pointer.
37901 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37904 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
37906 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37907 preprocessor. Test for each exception mask separately.
37909 2012-07-16 Andreas Jaeger <aj@suse.de>
37911 * po/ru.po: Update from translation team.
37913 2012-07-15 Joseph Myers <joseph@codesourcery.com>
37915 * conform/data/string.h-data (NULL): Use macro-constant. Require
37917 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37918 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37919 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37920 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37921 [ISO || ISO99 || ISO11] (*_t): Do not allow.
37923 2012-07-13 Andreas Jaeger <aj@suse.de>
37925 * po/fr.po: Update from translation team.
37927 2012-07-12 Marek Polacek <polacek@redhat.com>
37930 * math/libm-test.inc (yn_test): Add test for BZ #14173.
37931 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37934 2012-07-12 Joseph Myers <joseph@codesourcery.com>
37937 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37938 Change to 2.4.1 where previously 2.4.0.
37939 * sysdeps/unix/sysv/linux/configure: Regenerated.
37940 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37941 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37943 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37944 (__ASSUME_AT_CLKTCK): Remove.
37945 (__ASSUME_AT_PAGESIZE): Likewise.
37946 (__ASSUME_AT_XID): Likewise.
37947 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37948 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37949 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37951 (HAVE_AUX_PAGESIZE): Likewise.
37952 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37953 [__ASSUME_AT_CLKTCK]: Make code unconditional.
37954 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37956 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
37959 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37960 the temporary buffer used to invoke __gethostbyname2_r,
37961 __gethostbyaddr_r and gethostbyname4_r to make room for struct
37962 host_data / struct gaih_addrtuple.
37963 * resolv/nss_dns/dns-host.c (global scope): Move definition of
37964 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37965 header file nss/nsswitch.h.
37966 * nss/nsswitch.h (global scope): Add definition of implementation
37967 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37968 resolv/nss_dns/dns-host.c).
37970 2012-07-11 Andreas Jaeger <aj@suse.de>
37972 * po/fr.po: Update from translation team.
37974 * po/sv.po: Update from translation team
37975 * po/fr.po: Another update from translation team.
37977 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37979 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37980 for subnormals or multiply small sinh result by itself.
37981 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37982 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37984 2012-07-11 David S. Miller <davem@davemloft.net>
37986 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37988 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
37991 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37992 (INTERNAL_MARK): Shift it here.
37994 2012-07-10 Marek Polacek <polacek@redhat.com>
37997 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
37998 libc_cv_asm_global_directive with .globl.
37999 * configure: Regenerated.
38000 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
38002 * sysdeps/i386/configure: Regenerated.
38003 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
38005 * sysdeps/x86_64/configure: Regenerated.
38006 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
38007 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
38008 * elf/tst-unique2mod2.c: Likewise.
38009 * elf/tst-unique2mod1.c: Likewise.
38010 * elf/tst-unique1mod2.c: Likewise.
38011 * elf/tst-unique1mod1.c: Likewise.
38012 * sysdeps/s390/s390-32/sysdep.h: Likewise.
38013 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38014 * sysdeps/s390/s390-64/sysdep.h: Likewise.
38015 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38016 * sysdeps/mach/sysdep.h: Likewise.
38017 * sysdeps/i386/sysdep.h: Likewise.
38018 * sysdeps/i386/i386-mcount.S: Likewise.
38019 * sysdeps/x86_64/_mcount.S: Likewise.
38020 * sysdeps/x86_64/sysdep.h: Likewise.
38021 * sysdeps/sh/_mcount.S: Likewise.
38022 * sysdeps/sh/sysdep.h: Likewise.
38023 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
38024 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
38025 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
38026 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
38027 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
38028 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
38029 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
38030 * locale/localeinfo.h: Likewise.
38031 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
38032 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
38034 2012-07-09 Roland McGrath <roland@hack.frob.com>
38037 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
38039 * manual/message.texi (The Uniforum approach): Likewise.
38040 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
38041 (glibc iconv Implementation): Likewise.
38043 2012-07-09 Joseph Myers <joseph@codesourcery.com>
38046 * math/s_clog.c (__clog): Avoid scaling a value down where that
38047 could result in underflow.
38048 * math/s_clog10.c (__clog10): Likewise.
38049 * math/s_clog10f.c (__clog10f): Likewise.
38050 * math/s_clog10l.c (__clog10l): Likewise.
38051 * math/s_clogf.c (__clogf): Likewise.
38052 * math/s_clogl.c (__clogl): Likewise.
38053 * math/libm-test.inc (clog_test): Add more tests.
38054 (clog10_test): Likewise.
38055 * sysdeps/i386/fpu/libm-test-ulps: Update.
38056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38058 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
38061 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
38062 by 7 not 8 to examine high bit of fractional part.
38065 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
38066 for call to __mcount_internal.
38067 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
38068 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
38069 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
38071 2012-07-06 Joseph Myers <joseph@codesourcery.com>
38074 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
38075 approximation for values within 0x1p-13f of an odd multiple of
38077 * math/libm-test.inc (tan_test): Do not allow spurious underflow
38078 exception. Add more tests.
38079 * sysdeps/i386/fpu/libm-test-ulps: Update.
38082 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
38083 inputs and return -1 for them. Do not check for +Inf in case not
38084 reachable for +Inf.
38085 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
38086 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
38087 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38088 and return -1 for them. Do not check for +Inf in case not
38089 reachable for +Inf.
38090 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
38092 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
38093 and return -1 for them. Do not check for +Inf in case not
38094 reachable for +Inf.
38095 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
38096 spurious underflow.
38097 * sysdeps/i386/fpu/libm-test-ulps: Update.
38098 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38100 2012-07-06 Mike Frysinger <vapier@gentoo.org>
38102 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
38104 2012-07-05 Joseph Myers <joseph@codesourcery.com>
38108 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
38109 could result in spurious underflow. Scale down values above
38110 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
38111 * math/s_csqrtf.c (__csqrtf): Likewise.
38112 * math/s_csqrtl.c (__csqrtl): Likewise.
38113 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
38114 spurious underflow.
38115 * sysdeps/i386/fpu/libm-test-ulps: Update.
38116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38118 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
38120 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
38122 * catgets/xopen-msg.awk: New file.
38123 * catgets/xopen-msg.sed: Removed.
38125 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
38127 * intl/po2test.awk: New file.
38128 * intl/po2test.sed: Removed.
38130 2012-07-04 Joseph Myers <joseph@codesourcery.com>
38133 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
38134 or multiply small sinh result by itself.
38135 * math/s_ctanf.c (__ctanf): Likewise.
38136 * math/s_ctanh.c (__ctanh): Likewise.
38137 * math/s_ctanhf.c (__ctanhf): Likewise.
38138 * math/s_ctanhl.c (__ctanhl): Likewise.
38139 * math/s_ctanl.c (__ctanl): Likewise.
38140 * math/libm-test.inc (ctan_test_tonearest): New function.
38141 (ctan_test_towardzero): Likewise.
38142 (ctan_test_downward): Likewise.
38143 (ctan_test_upward): Likewise.
38144 (ctanh_test_tonearest): Likewise.
38145 (ctanh_test_towardzero): Likewise.
38146 (ctanh_test_downward): Likewise.
38147 (ctanh_test_upward): Likewise.
38148 (main): Call these new functions.
38149 * sysdeps/i386/fpu/libm-test-ulps: Update.
38150 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38152 2012-07-03 Mike Frysinger <vapier@gentoo.org>
38154 * .gitignore: Delete /ports entry.
38156 2012-07-03 Andreas Jaeger <aj@suse.de>
38158 * po/bg.po: Update from translation team.
38159 * po/cs.po: Likewise.
38160 * po/de.po: Likewise.
38161 * po/hr.po: Likewise.
38162 * po/nl.pl: Likewise.
38163 * po/pl.po: Likewise.
38164 * po/vi.po: Likewise.
38166 2012-07-03 Joseph Myers <joseph@codesourcery.com>
38168 * Makeconfig [!+link] (+link-before-libc): New variable.
38169 [!+link] (+link-after-libc): Likewise.
38170 [!+link] (+link-tests): Likewise.
38171 [!+link] (+link): Define in terms of $(+link-before-libc) and
38172 $(+link-after-libc).
38173 [!+link-static] (+link-static-before-libc): New variable.
38174 [!+link-static] (+link-static-after-libc): Likewise.
38175 [!+link-static] (+link-static-tests): Likewise.
38176 [!+link-static] (+link-static): Define in terms of
38177 $(+link-static-before-libc) and $(+link-static-after-libc).
38178 [build-shared] (link-libc-before-gnulib): New variable.
38179 [build-shared] (link-libc-tests): Likewise.
38180 [build-shared] (link-libc): Define in terms of
38181 $(link-libc-before-gnulib).
38182 [!build-shared] (link-libc-tests): New variable.
38183 (link-libc-static-tests): New variable.
38184 [!gnulib] (gnulib-arch): New variable.
38185 [!gnulib] (gnulib-tests): Likewise.
38186 [!gnulib] (static-gnulib-arch): Likewise.
38187 [!gnulib] (static-gnulib-tests): Likewise.
38188 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
38189 Define with "=" instead of ":=".
38190 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
38191 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
38192 * Rules (binaries-all-notests): New variable.
38193 (binaries-all-tests): Likewise.
38194 (binaries-static-notests): Likewise.
38195 (binaries-static-tests): Likewise.
38196 (binaries-all): Define using $(binaries-all-notests) and
38197 $(binaries-all-tests).
38198 (binaries-static): Define using $(binaries-static-notests) and
38199 $(binaries-static-tests).
38200 (binaries-shared-tests): New variable.
38201 (binaries-shared-notests): Likewise.
38202 (binaries-shared): Remove variable.
38203 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38204 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38205 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38206 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38207 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38208 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38209 * elf/Makefile (sln-modules): New variable.
38210 (extra-objs): Add $(sln-modules:=.o).
38211 (ldconfig-modules): Add static-stubs.
38212 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38213 * elf/static-stubs.c: New file.
38216 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38217 by 7 not 8 to examine high bit of fractional part. Use volatile
38218 variables when splitting into final array of floats if
38219 __FLT_EVAL_METHOD__ != 0.
38220 * math/libm-test.inc (cos_test): Add another test.
38221 (sin_test): Likewise.
38222 * sysdeps/i386/fpu/libm-test-ulps: Update.
38225 * math/libm-test.inc (cosh_test): Add more tests.
38227 * version.h (RELEASE): Set to "development".
38228 (VERSION): Set to "2.16.90".
38230 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
38232 * NEWS: Update copyright. Remove last-updated date.
38233 Mention math library bug fixes and timezone data changes.
38234 * README: Mention GNU/Hurd, x32, and HPPA support status.
38236 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
38238 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38240 2012-06-27 Andreas Jaeger <aj@suse.de>
38242 * manual/contrib.texi (Contributors): Add Samuel Thibault.
38244 2012-06-25 Andreas Jaeger <aj@suse.de>
38246 * sysdeps/s390/fpu/libm-test-ulps: Update.
38248 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
38249 Thomas Schwinge <thomas@codesourcery.com>
38251 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38252 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38253 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38256 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
38258 * sysdeps/mach/start.c: Remove file.
38259 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38260 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38261 * sysdeps/sh/init-first.c: Likewise.
38263 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38264 registers for frame unwinding purposes, add CFI directives.
38265 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38266 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38267 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38270 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38271 __fortify_fail returning.
38272 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38274 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38275 sysdeps/sh/____longjmp_chk.S.
38276 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38277 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38278 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38279 (gen-as-const-headers): Append sigaltstack-offsets.sym.
38281 * sysdeps/sh/abort-instr.h: New file.
38282 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38283 process in case exit returns.
38285 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38286 initialize the GOT register before use.
38288 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38289 calculation of ARGC > 4.
38291 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38292 meaningful names to some local labels.
38294 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
38295 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38297 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38298 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38299 (__arch_compare_and_exchange_val_16_acq): Likewise.
38300 (__arch_compare_and_exchange_val_32_acq): Likewise.
38301 (atomic_exchange_and_add): Fix gUSA sequence.
38302 (atomic_add): Likewise.
38303 (atomic_add_negative): Likewise.
38304 (atomic_add_zero): Likewise.
38305 (atomic_bit_test_set): Likewise.
38307 2012-06-22 Andreas Schwab <schwab@redhat.com>
38310 * include/link.h (struct link_map): Add l_free_initfini.
38311 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38313 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38314 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38315 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38318 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
38320 * configure.in: Use AC_LANG_SOURCE.
38321 * configure: Regenerate.
38323 2012-06-22 Roland McGrath <roland@hack.frob.com>
38325 * configure.in (libc_cv_localstatedir): New substituted variable.
38326 * configure: Regenerated.
38327 * config.make.in (localstatedir): New variable, substituted from
38328 libc_cv_localstatedir.
38329 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38330 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38331 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38332 * sysdeps/gnu/configure: Regenerated.
38334 2012-06-21 Jeff Law <law@redhat.com>
38337 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38338 free. Simplify list management for _LIBC case.
38340 2012-06-21 Joseph Myers <joseph@codesourcery.com>
38343 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38344 Clear sign bit of 64-bit integer value before comparing against
38347 * sysdeps/mach/configure: Regenerated.
38349 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
38352 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38354 2012-06-21 Jeff Law <law@redhat.com>
38357 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
38358 uint16_t for elements in the "seen" array to avoid char overflows.
38359 * elf/dl-fini.c (_dl_sort_fini): Likewise.
38360 * elf/dl-open.c (dl_open_worker): Likewise.
38362 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
38364 * scripts/list-sources.sh: Scan PORTS for translations.
38365 * po/libc.pot: Regenerated.
38367 2012-06-21 Andreas Jaeger <aj@suse.de>
38370 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38372 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38373 * bits/byteswap-16.h (__bswap_16): Likewise.
38374 * bits/byteswap.h (__bswap_constant_16): Likewise.
38376 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
38379 * sysdeps/i386/fpu_control.h: Removed.
38380 * sysdeps/x86_64/fpu_control.h: Moved to ...
38381 * sysdeps/x86/fpu_control.h: Here.
38383 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38384 (_FPU_SETCW): Likewise.
38386 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
38389 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38390 * sysdeps/x86/fpu/bits/mathinline.h: This.
38391 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38395 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38396 functions if __x86_64__ is defined.
38398 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
38400 * string/endian.h: Add !__ASSEMBLER__ condition for including
38401 conversion interfaces.
38403 2012-06-15 Joseph Myers <joseph@codesourcery.com>
38406 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38407 of ABS(x) in calculating zero to negative powers other than odd
38409 * math/libm-test.inc (pow_test): Add more tests.
38411 2012-06-15 Andreas Jaeger <aj@suse.de>
38413 * manual/contrib.texi (Contributors): Update entry of Liubov
38414 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38417 2012-06-15 Cyril Hrubis <metan@ucw.cz>
38419 * string/string.h: Add __wur to GNU version of strerror_r.
38421 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
38424 * string/Makefile (tests): Add tst-strtok_r.
38425 * string/tst-strtok_r.c: New file.
38426 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38427 RAX_LP/RDX_LP on SAVE_PTR.
38429 2012-06-14 Roland McGrath <roland@hack.frob.com>
38431 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38433 2012-06-14 Joseph Myers <joseph@codesourcery.com>
38435 * libm_test.inc (csqrt_test): Allow more spurious underflow
38437 (j0_test): Likewise.
38438 (j1_test): Likewise.
38439 (y0_test): Likewise.
38440 (y1_test): Likewise.
38442 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
38444 * po/Makefile (libc.pot): Use UTF-8 charset.
38446 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
38449 Suppress sign-conversion warning from FD_SET.
38450 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38451 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38452 not unsigned long int.
38453 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38455 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
38459 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38460 __extern_always_inline instead of __extern_inline.
38461 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38462 (__signbit): Likewise.
38463 (__signbitl): Support C++ namespace.
38464 (lrintf): New inline function.
38466 (llrintf): Likewise.
38467 (llrint): Likewise.
38477 (floorf): Likewise.
38478 (nearbyint): Likewise.
38479 (nearbyintf): Likewise.
38481 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
38483 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38484 non-default versions.
38486 2012-06-11 Roland McGrath <roland@hack.frob.com>
38489 * manual/argp.texi (Argp): Reword argp_parse description slightly.
38491 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
38493 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38494 (FE_UPWARD, FE_DOWNWARD): Don't define.
38495 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38496 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38498 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38500 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38501 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38503 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
38505 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38506 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38507 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38508 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38510 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
38513 * sysdeps/i386/fpu/bits/fenv.h: Removed.
38514 * sysdeps/i386/fpu/Implies: New file.
38515 * sysdeps/x86_64/fpu/Implies: Likewise.
38516 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38517 * sysdeps/x86/fpu/bits/fenv.h: This.
38519 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38522 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
38525 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38526 character 0xffff that matches the last element of the
38529 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38531 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38534 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38536 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38537 values higher than 25.6283.
38539 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38541 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38542 subnormal exponent extraction and add some __builtin_expect.
38543 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38544 Fix for subnormal mantissa calculation.
38546 2012-06-04 Mike Frysinger <vapier@gentoo.org>
38548 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38549 cpu2 is -1 and errno is not ENOSYS.
38551 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
38554 * sysdeps/i386/i486/bits/string.h: Renamed to ...
38555 * sysdeps/x86/bits/string.h: This.
38556 * sysdeps/x86_64/bits/string.h: Removed.
38558 * sysdeps/i386/i486/bits/string.h: Define inline functions only
38559 if not compiling for x86-64, but compiling for >= i486.
38561 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38562 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38564 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38565 New macro from Linux kernel 3.4.0.
38566 (FP_XSTATE_MAGIC2): Likewise.
38567 (FP_XSTATE_MAGIC2_SIZE): Likewise.
38568 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38569 (struct _fpx_sw_bytes): New struct.
38570 (struct _xsave_hdr): Likewise.
38571 (struct _ymmh_state): Likewise.
38572 (struct _xstate): Likewise.
38574 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38575 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38576 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38577 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38578 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38579 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38581 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38582 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38583 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38584 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38585 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38586 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38588 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
38591 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38592 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38593 (sysdep_headers): Include sys/platform/ppc.h.
38594 * sysdeps/powerpc/test-gettimebase.c: Test for
38595 __ppc_get_timebase() to catch future ISA opcode/insn changes.
38596 * manual/Makefile (appendices): Include platform.texi.
38597 * manual/contrib.texi (Contributors): Update @node pointers.
38598 * manual/maint.texi (Maintenance): Likewise.
38599 (Platform): New node.
38600 * manual/platform.texi: New file. Document the new features.
38602 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
38603 Jakub Jelinek <jakub@redhat.com>
38606 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38607 where __builtin_expect is unavailable.
38609 2012-06-03 David S. Miller <davem@davemloft.net>
38611 * stdlib/longlong.h: Updated from GCC.
38613 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
38616 * sysdeps/powerpc/powerpc32/mcount.c: New file.
38617 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38620 (GLIBC_2.16): Likewise.
38622 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38624 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38626 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38629 (default-abi): New variable.
38630 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38631 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38633 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38635 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38637 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38640 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38641 definition. Document in comment.
38643 2012-06-01 David S. Miller <davem@davemloft.net>
38645 * stdlib/longlong.h: Updated from GCC.
38647 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38650 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38651 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38652 sys/debugreg.h sys/io.h here.
38653 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38654 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38656 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38657 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38658 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38659 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38660 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38661 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38663 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38664 Define only if __x86_64__ is defined.
38666 2012-06-01 Joseph Myers <joseph@codesourcery.com>
38669 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38670 Use int64_t for variable i.
38671 * math/libm-test.inc (fmod_test): Add more tests.
38673 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38674 z computation is not scheduled after fetestexcept.
38675 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38676 Use math_force_eval instead of asm to ensure calculation scheduled
38677 before exception test.
38678 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38679 Ensure a1 + u.d computation is not scheduled after fetestexcept.
38681 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
38683 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38684 computation is not scheduled after fetestexcept.
38686 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
38689 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38690 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38692 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38694 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38695 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38697 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38700 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38702 (__WCHAR_MIN): Support __WORDSIZE == 64.
38703 (__WCHAR_MAX): Likewise.
38705 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38706 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38709 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38710 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38713 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38714 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38716 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38717 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38719 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38720 Defined to 1 if __x86_64__ isn't defined.
38721 (_STAT_VER_LINUX_OLD): New.
38722 (st_atime): Remove duplicate.
38723 (st_mtime): Likewise.
38724 (st_ctime): Likewise.
38726 2012-05-31 David S. Miller <davem@davemloft.net>
38728 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38731 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
38733 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38737 * elf/dl-reloc.c: Include <_itoa.h>.
38738 (_dl_reloc_bad_type): Remove use of INTUSE.
38739 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38740 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38741 * stdio-common/psiginfo.c (psiginfo): Likewise.
38742 * stdio-common/psignal.c (psignal): Likewise.
38743 * string/strsignal.c (strsignal): Likewise.
38744 * include/signal.h (_sys_siglist): Declare hidden proto.
38745 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
38746 INTVARDEF with libc_hidden_data_def.
38747 * stdio-common/itoa-udigits.c: Likewise.
38748 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38749 (_itoa_lower_digits_internal): Remove declaration.
38750 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38751 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38752 (_sys_sigabbrev_internal): Remove aliases.
38753 (_sys_siglist): Define hidden alias.
38755 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
38757 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38760 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
38763 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38764 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38766 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38767 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38768 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38769 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38770 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38771 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38773 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38774 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38775 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38777 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38785 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38786 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38787 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38789 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38790 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38791 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38792 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38793 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38794 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38796 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38797 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38799 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38800 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38802 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38803 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38804 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38806 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38807 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38809 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38811 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38812 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38813 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38815 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38817 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38819 2012-05-31 Joseph Myers <joseph@codesourcery.com>
38821 * math/math.h (M_El): Use two more decimal places.
38822 (M_LOG2El): Likewise.
38823 (M_LOG10El): Likewise.
38824 (M_LN2l): Likewise.
38825 (M_LN10l): Likewise.
38827 (M_PI_2l): Likewise.
38828 (M_PI_4l): Likewise.
38829 (M_1_PIl): Likewise.
38830 (M_2_PIl): Likewise.
38831 (M_2_SQRTPIl): Likewise.
38832 (M_SQRT2l): Likewise.
38833 (M_SQRT1_2l): Likewise.
38835 2012-05-31 David S. Miller <davem@davemloft.net>
38837 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38838 values between float registers.
38839 * sysdeps/sparc/sparc64/memset.S: Likewise.
38840 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38842 2012-05-31 Mike Frysinger <vapier@gentoo.org>
38844 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38845 -D_FORTIFY_SOURCE=1.
38846 (CPPFLAGS-tst-longjmp_chk.c): Define.
38847 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38848 (CPPFLAGS-tst-longjmp_chk2.c): Define.
38849 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38850 CFLAGS-tst-wchar-h.c.
38852 2012-05-31 Marek Polacek <polacek@redhat.com>
38855 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38856 __endmntent_internal): Remove declaration.
38857 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38858 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38859 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38861 2012-05-30 David S. Miller <davem@davemloft.net>
38863 * sysdeps/sparc/sparc32/soft-fp/q_util.c
38864 (___Q_simulate_exceptions): Use real FP ops rather than writing
38866 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38869 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38872 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38873 * sysdeps/x86/bits/xtitypes.h: This.
38875 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38876 * sysdeps/x86/bits/wordsize.h: This.
38878 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38879 * sysdeps/x86/bits/huge_vall.h: This.
38881 * sysdeps/i386/bits/select.h: Removed.
38882 * sysdeps/x86_64/bits/select.h: Renamed to ...
38883 * sysdeps/x86/bits/select.h: This.
38885 * sysdeps/i386/bits/setjmp.h: Removed.
38886 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38887 * sysdeps/x86/bits/setjmp.h: This.
38889 * sysdeps/i386/bits/mathdef.h: Removed.
38890 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38891 * sysdeps/x86/bits/mathdef.h: This.
38893 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
38896 * include/sys/socket.h (__connect_internal)
38897 (__libc_sa_len_internal): Remove declaration.
38898 (__connect, __libc_sa_len): Declare hidden_proto.
38899 (SA_LEN): Remove use of INTUSE.
38900 * socket/connect.c: Add libc_hidden_def.
38901 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38902 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38903 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38905 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38906 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38907 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38908 of adding _internal alias.
38910 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38913 * sysdeps/i386/bits/link.h: Removed.
38914 * sysdeps/i386/bits/linkmap.h: Likewise.
38915 * sysdeps/x86_64/bits/link.h: Renamed to ...
38916 * sysdeps/x86/bits/link.h: This.
38917 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38918 * sysdeps/x86/bits/linkmap.h: This.
38920 * sysdeps/i386/bits/endian.h: Removed.
38921 * sysdeps/x86_64/bits/endian.h: Renamed to ...
38922 * sysdeps/x86/bits/endian.h: This.
38924 * sysdeps/i386/bits/byteswap.h: Removed.
38925 * sysdeps/i386/bits/byteswap-16.h: Likewise.
38926 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38927 * sysdeps/x86/bits/byteswap.h: This.
38928 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38929 * sysdeps/x86/bits/byteswap-16.h: This.
38930 * sysdeps/i386/Implies: Add x86.
38931 * sysdeps/x86_64/Implies: Likewise.
38933 2012-05-30 David S. Miller <davem@davemloft.net>
38935 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38936 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38937 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38938 (FP_TRAPPING_EXCEPTIONS): Define.
38939 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38940 (FP_TRAPPING_EXCEPTIONS): Define.
38941 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38942 subnormals only when inexact has been signalled or underflow
38943 exceptions are enabled.
38944 (_FP_PACK_CANONICAL): Likewise.
38946 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38949 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38950 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38952 2012-05-30 Richard Henderson <rth@twiddle.net>
38954 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38955 with #ifndef NOT_IN_libc.
38957 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
38958 marked to avoid plt entry.
38960 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
38963 * Makeconfig (default-abi): New macro.
38964 (abi-includes): Likewise.
38965 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
38966 $(abi-$(default-abi)-lib-soname) for soname if defined.
38967 ($(common-objpfx)gnu/lib-names.stmp): Generate from
38969 * Makefile (installed-stubs): Likewise.
38970 * include/stubs-biarch.h: Removed.
38971 * scripts/lib-names.awk: Only handle one library at a time.
38972 * scripts/soversions.awk: Remove WORDSIZE support.
38973 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38975 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38977 (syscall-list-default-condition): Likewise.
38978 (syscall-list-default-condition): Likewise.
38979 (syscall-list-includes): Likewise.
38980 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38981 syscall-list-* with abi-*. Handle undefined abi-variants.
38982 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38983 * sysdeps/unix/sysv/linux/i386/Implies: New file.
38984 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38985 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38986 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38987 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38989 (syscall-list-32-options): Likewise.
38990 (syscall-list-32-condition): Likewise.
38991 (syscall-list-64-options): Likewise.
38992 (syscall-list-64-condition): Likewise.
38993 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38995 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38998 (abi-64-ld-soname): New macro.
38999 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
39000 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
39003 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
39004 * sysdeps/x86_64/x32/shlib-versions: Likewise.
39006 2012-05-30 Joseph Myers <joseph@codesourcery.com>
39008 * sysdeps/unix/sysv/linux/kernel-features.h
39009 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
39010 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
39011 include <kernel-features.h>.
39012 [!__NR_ftruncate64]: Remove conditional code.
39013 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39014 [__NR_ftruncate64]: Make code unconditional.
39015 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39016 * sysdeps/unix/sysv/linux/truncate64.c: Do not
39017 include <kernel-features.h>.
39018 [!__NR_ftruncate64]: Remove conditional code.
39019 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39020 [__NR_ftruncate64]: Make code unconditional.
39021 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
39023 include <kernel-features.h>.
39024 [!__NR_ftruncate64]: Remove conditional code.
39025 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39026 [__NR_ftruncate64]: Make code unconditional.
39027 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
39029 include <kernel-features.h>.
39030 [!__NR_ftruncate64]: Remove conditional code.
39031 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39032 [__NR_ftruncate64]: Make code unconditional.
39033 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
39035 * configure.in (libc_cv_fpie): Weaken to a compile test using
39036 LIBC_TRY_CC_OPTION.
39037 * configure: Regenerated.
39039 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
39042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
39043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
39044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
39046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
39047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
39048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
39049 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
39050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
39051 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
39054 2012-05-27 David S. Miller <davem@davemloft.net>
39056 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
39058 (__Q_simulate_exceptions): Return void. Change to simulate
39059 exceptions by writing into the %fsr.
39060 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
39061 (__Qp_handle_exceptions): Likewise.
39063 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
39064 __Qp_handle_exceptions.
39065 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
39066 __Qp_handle_exceptions.
39067 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39068 as unused and give dummy FP_RND_NEAREST initializer.
39069 (FP_INHIBIT_RESULTS): Define.
39070 (___Q_simulate_exceptions): Update declaration.
39071 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
39073 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
39074 as unused and give dummy FP_RND_NEAREST initializer.
39075 (__Qp_handle_exceptions): Update declaration.
39076 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
39079 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
39081 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
39082 the temporary FPU control word.
39083 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
39084 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
39085 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
39086 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
39087 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
39088 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
39089 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
39090 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
39091 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
39092 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
39093 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
39095 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
39097 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
39100 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
39102 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
39103 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
39104 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
39105 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
39107 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
39108 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
39111 2012-05-27 Ulrich Drepper <drepper@gmail.com>
39113 * po/h.po: Update from translation team.
39115 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
39117 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
39119 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
39120 handling of denormals.
39121 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
39122 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
39123 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
39124 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
39125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
39126 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
39127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
39130 2012-05-26 Marek Polacek <polacek@redhat.com>
39133 * math/libm-test.inc (fma_test): Don't always expect underflow
39136 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
39139 * elf/tst-execstack.c: Include stackinfo.h.
39140 (do_test): Adjust test case to ensure that pthread_getattr_np
39141 behaviour remains the same after marking stack executable.
39143 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39145 * sysdeps/unix/sysv/linux/kernel-features.h
39146 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
39147 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
39149 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39150 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39151 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
39153 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
39154 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
39156 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
39158 * configure.in: Define the default includes to being none.
39159 * configure: Regenerated.
39161 2012-05-25 Roland McGrath <roland@hack.frob.com>
39163 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39164 * sysdeps/x86_64/setjmp.S: Likewise.
39165 * sysdeps/i386/bsd-setjmp.S: Likewise.
39166 * sysdeps/i386/bsd-_setjmp.S: Likewise.
39167 * sysdeps/i386/setjmp.S: Likewise.
39168 * sysdeps/i386/__longjmp.S: Likewise.
39169 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39170 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39172 * include/stap-probe.h: New file.
39173 * configure.in: Handle --enable-systemtap.
39174 * configure: Regenerated.
39175 * config.h.in (USE_STAP_PROBE): New #undef.
39176 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39177 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39178 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39180 2012-05-25 Joseph Myers <joseph@codesourcery.com>
39183 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39184 to 2.4.0 where earlier.
39185 * sysdeps/unix/sysv/linux/configure: Regenerated.
39186 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39187 <kernel-features.h>.
39188 [__ASSUME_32BITUIDS]: Make code unconditional.
39189 [!__ASSUME_32BITUIDS]: Remove conditional code.
39190 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39191 <kernel-features.h>.
39192 [__ASSUME_32BITUIDS]: Make code unconditional.
39193 [!__ASSUME_32BITUIDS]: Remove conditional code.
39194 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39195 [__ASSUME_32BITUIDS]: Make code unconditional.
39196 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39197 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39198 <kernel-features.h>.
39199 [__ASSUME_32BITUIDS]: Make code unconditional.
39200 [!__ASSUME_32BITUIDS]: Remove conditional code.
39201 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39202 <kernel-features.h>.
39203 [__ASSUME_32BITUIDS]: Make code unconditional.
39204 [!__ASSUME_32BITUIDS]: Remove conditional code.
39205 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39206 <kernel-features.h>.
39207 [__ASSUME_32BITUIDS]: Make code unconditional.
39208 [!__ASSUME_32BITUIDS]: Remove conditional code.
39209 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39210 <kernel-features.h>.
39211 [__ASSUME_32BITUIDS]: Make code unconditional.
39212 [!__ASSUME_32BITUIDS]: Remove conditional code.
39213 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39214 <kernel-features.h>.
39215 [__ASSUME_32BITUIDS]: Make code unconditional.
39216 [!__ASSUME_32BITUIDS]: Remove conditional code.
39217 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39218 <kernel-features.h>.
39219 [__ASSUME_32BITUIDS]: Make code unconditional.
39220 [!__ASSUME_32BITUIDS]: Remove conditional code.
39221 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39222 <kernel-features.h>.
39223 [__ASSUME_32BITUIDS]: Make code unconditional.
39224 [!__ASSUME_32BITUIDS]: Remove conditional code.
39225 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39226 <kernel-features.h>.
39227 [__ASSUME_32BITUIDS]: Make code unconditional.
39228 [!__ASSUME_32BITUIDS]: Remove conditional code.
39229 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39230 <kernel-features.h>.
39231 [__ASSUME_32BITUIDS]: Make code unconditional.
39232 [!__ASSUME_32BITUIDS]: Remove conditional code.
39233 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39234 <kernel-features.h>.
39235 [__ASSUME_32BITUIDS]: Make code unconditional.
39236 [!__ASSUME_32BITUIDS]: Remove conditional code.
39237 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39238 <kernel-features.h>.
39239 [__NR_setresgid] (__setresgid): Do not declare.
39240 [__ASSUME_32BITUIDS]: Make code unconditional.
39241 [!__ASSUME_32BITUIDS]: Remove conditional code.
39242 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39243 <kernel-features.h>.
39244 [__NR_setresuid] (__setresuid): Do not declare.
39245 [__ASSUME_32BITUIDS]: Make code unconditional.
39246 [!__ASSUME_32BITUIDS]: Remove conditional code.
39247 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39248 <kernel-features.h>.
39249 [__ASSUME_32BITUIDS]: Make code unconditional.
39250 [!__ASSUME_32BITUIDS]: Remove conditional code.
39251 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39252 <kernel-features.h>.
39253 [__ASSUME_32BITUIDS]: Make code unconditional.
39254 [!__ASSUME_32BITUIDS]: Remove conditional code.
39255 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39256 <kernel-features.h>.
39257 [__ASSUME_32BITUIDS]: Make code unconditional.
39258 [!__ASSUME_32BITUIDS]: Remove conditional code.
39259 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39260 <kernel-features.h>.
39261 [__ASSUME_32BITUIDS]: Make code unconditional.
39262 [!__ASSUME_32BITUIDS]: Remove conditional code.
39263 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39264 <kernel-features.h>.
39265 [__ASSUME_32BITUIDS]: Make code unconditional.
39266 [!__ASSUME_32BITUIDS]: Remove conditional code.
39267 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39268 <kernel-features.h>.
39269 [__ASSUME_32BITUIDS]: Make code unconditional.
39270 [!__ASSUME_32BITUIDS]: Remove conditional code.
39271 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39272 <kernel-features.h>.
39273 [__ASSUME_32BITUIDS]: Make code unconditional.
39274 [!__ASSUME_32BITUIDS]: Remove conditional code.
39275 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39276 <kernel-features.h>.
39277 [__ASSUME_32BITUIDS]: Make code unconditional.
39278 [!__ASSUME_32BITUIDS]: Remove conditional code.
39279 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39280 <kernel-features.h>.
39281 [__ASSUME_32BITUIDS]: Make code unconditional.
39282 [!__ASSUME_32BITUIDS]: Remove conditional code.
39283 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39284 <kernel-features.h>.
39285 [__ASSUME_32BITUIDS]: Make code unconditional.
39286 [!__ASSUME_32BITUIDS]: Remove conditional code.
39287 * sysdeps/unix/sysv/linux/kernel-features.h
39288 (__ASSUME_SETRESUID_SYSCALL): Remove.
39289 (__ASSUME_SETRESGID_SYSCALL): Likewise.
39290 (__ASSUME_32BITUIDS): Likewise.
39291 (__ASSUME_LDT_WORKS): Likewise.
39292 (__ASSUME_O_DIRECTORY): Likewise.
39293 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39294 architecture but not kernel version.
39295 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39296 (__ASSUME_MMAP2_SYSCALL): Likewise.
39297 (__ASSUME_STAT64_SYSCALL): Likewise.
39298 (__ASSUME_IPC64): Likewise.
39299 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39300 <kernel-features.h>.
39301 [__ASSUME_32BITUIDS]: Make code unconditional.
39302 [!__ASSUME_32BITUIDS]: Remove conditional code.
39303 * sysdeps/unix/sysv/linux/opendir.c: Do not include
39304 <kernel-features.h>.
39305 [__ASSUME_O_DIRECTORY]: Make code unconditional.
39306 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39307 132096]: Remove conditional code.
39308 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39309 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39310 <kernel-features.h>.
39311 [__ASSUME_32BITUIDS]: Make code unconditional.
39312 [!__ASSUME_32BITUIDS]: Remove conditional code.
39313 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39314 <kernel-features.h>.
39315 [__ASSUME_32BITUIDS]: Make code unconditional.
39316 [!__ASSUME_32BITUIDS]: Remove conditional code.
39317 * sysdeps/unix/sysv/linux/setegid.c: Do not include
39318 <kernel-features.h>.
39319 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39321 (__setresgid): Do not declare.
39322 [__ASSUME_32BITUIDS]: Make code unconditional.
39323 [!__ASSUME_32BITUIDS]: Remove conditional code.
39324 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39325 <kernel-features.h>.
39326 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39328 (__setresuid): Do not declare.
39329 [__ASSUME_32BITUIDS]: Make code unconditional.
39330 [!__ASSUME_32BITUIDS]: Remove conditional code.
39331 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39332 <kernel-features.h>.
39333 [__ASSUME_32BITUIDS]: Make code unconditional.
39334 [!__ASSUME_32BITUIDS]: Remove conditional code.
39335 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39336 <kernel-features.h>.
39337 [__ASSUME_32BITUIDS]: Make code unconditional.
39338 [!__ASSUME_32BITUIDS]: Remove conditional code.
39340 2012-05-25 Richard Henderson <rth@twiddle.net>
39342 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39343 dl_hwcap to ifunc resolver.
39344 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39346 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39347 dl_hwcap to ifunc resolver.
39348 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39350 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39353 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39354 for |x| <= 2**-26, not 2**-57.
39355 * math/libm-test.inc (acos_test): Do not allow spurious underflow
39358 2012-05-24 Jeff Law <law@redhat.com>
39360 * stdio-common/Makefile (tests): Add bug25.
39361 * stdio-common/bug25.c: New test.
39363 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39366 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39367 multiple of MALLOC_ALIGNMENT in size.
39368 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39370 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39372 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39374 (FILENAME_MAX): Use macro-int-constant.
39375 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
39376 (_IOFBF): Use macro-int-constant.
39377 (_IOLBF): Likewise.
39378 (_IONBF): Likewise.
39379 (SEEK_CUR): Likewise.
39380 (SEEK_END): Likewise.
39381 (SEEK_SET): Likewise.
39382 (TMP_MAX): Likewise.
39383 (EOF): Use macro-int-constant. Require < 0.
39384 (NULL): Use macro-constant. Require == 0.
39385 (stdin): Require type to be FILE *.
39386 (stdout): Likewise.
39387 (stderr): Likewise.
39388 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39389 macro-int-constant.
39390 (EXIT_SUCCESS): Likewise.
39391 (NULL): Use macro-constant. Require == 0.
39392 (RAND_MAX): Use macro-int-constant.
39393 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39394 [C99-based standards] (strtof): Require function.
39395 [C99-based standards] (strtold): Likewise.
39396 [C99-based standards] (strtoll): Likewise.
39397 [C99-based standards] (strtoull): Likewise.
39398 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39399 [ISO || ISO99 || ISO11] (limits.h): Likewise.
39400 [ISO || ISO99 || ISO11] (math.h): Likewise.
39401 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39402 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39403 [ISO || ISO99 || ISO11] (*_t): Do not allow.
39405 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
39408 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39409 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39410 * intl/dgettext.c (DCGETTEXT): Likewise.
39411 * intl/gettext.c (DCGETTEXT): Likewise.
39412 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39413 * posix/regex_internal.h (gettext): Likewise.
39414 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39415 Remove declaration.
39416 * include/argz.h (__argz_count_internal)
39417 (__argz_stringify_internal): Remove declaration.
39418 (__argz_count, __argz_stringify): Declare hidden proto.
39419 * intl/dcgettext.c: Remove use of INTDEF.
39420 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39421 * string/argz-stringify.c: Likewise.
39422 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39423 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39424 Declare hidden proto.
39425 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39426 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39427 Declare hidden proto.
39428 * include/stdio.h (__asprintf_internal): Don't declare.
39429 (__asprintf): Don't define as macro. Declare hidden proto.
39430 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39431 (__fsetlocking): Declare hidden proto.
39432 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39433 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39435 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39436 (_IO_setlinebuf): Remove use of INTUSE.
39437 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39438 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39439 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39440 Remove declaration.
39441 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39442 (_IO_do_flush): Remove use of INTUSE.
39443 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39444 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39445 (_IO_adjust_column, _IO_least_wmarker)
39446 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39447 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39448 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39449 (_IO_default_doallocate, _IO_wdefault_doallocate)
39450 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39451 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39452 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39453 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39454 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39455 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39456 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39457 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39458 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39459 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39460 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39461 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39462 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39464 (_IO_flush_all_internal, _IO_adjust_column_internal)
39465 (_IO_default_uflow_internal, _IO_default_finish_internal)
39466 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39467 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39468 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39469 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39470 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39471 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39472 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39473 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39474 (_IO_file_close_internal, _IO_file_close_it_internal)
39475 (_IO_file_underflow_internal, _IO_file_overflow_internal)
39476 (_IO_file_init_internal, _IO_file_attach_internal)
39477 (_IO_file_fopen_internal, _IO_file_read_internal)
39478 (_IO_file_sync_internal, _IO_file_seek_internal)
39479 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39480 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39481 (_IO_str_underflow_internal, _IO_str_overflow_internal)
39482 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39483 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39484 (_IO_list_all_internal, _IO_link_in_internal)
39485 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39486 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39487 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39488 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39489 (_IO_do_write_internal, _IO_padn_internal)
39490 (_IO_getline_info_internal, _IO_getline_internal)
39491 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39492 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39493 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39494 (_IO_vfscanf_internal, _IO_vfprintf_internal)
39495 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39496 (_IO_init_internal, _IO_un_link_internal): Don't declare.
39497 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39498 with libc_hidden_ver, remove use of INTUSE.
39499 * libio/genops.c: Likewise.
39500 * libio/freopen.c: Likewise.
39501 * libio/freopen64.c: Likewise.
39502 * libio/iofclose.c: Likewise.
39503 * libio/iofdopen.c: Likewise.
39504 * libio/iofflush.c: Likewise.
39505 * libio/iofflush_u.c: Likewise.
39506 * libio/iofgets.c: Likewise.
39507 * libio/iofgets_u.c: Likewise.
39508 * libio/iofopen.c: Likewise.
39509 * libio/iofopncook.c: Likewise.
39510 * libio/iofread.c: Likewise.
39511 * libio/iofread_u.c: Likewise.
39512 * libio/ioftell.c: Likewise.
39513 * libio/iofwrite.c: Likewise.
39514 * libio/iogetline.c: Likewise.
39515 * libio/iogets.c: Likewise.
39516 * libio/iogetwline.c: Likewise.
39517 * libio/iopadn.c: Likewise.
39518 * libio/iopopen.c: Likewise.
39519 * libio/ioseekoff.c: Likewise.
39520 * libio/ioseekpos.c: Likewise.
39521 * libio/iosetbuffer.c: Likewise.
39522 * libio/iosetvbuf.c: Likewise.
39523 * libio/ioungetc.c: Likewise.
39524 * libio/ioungetwc.c: Likewise.
39525 * libio/iovdprintf.c: Likewise.
39526 * libio/iovsprintf.c: Likewise.
39527 * libio/iovsscanf.c: Likewise.
39528 * libio/memstream.c: Likewise.
39529 * libio/obprintf.c: Likewise.
39530 * libio/oldfileops.c: Likewise.
39531 * libio/oldiofclose.c: Likewise.
39532 * libio/oldiofdopen.c: Likewise.
39533 * libio/oldiofopen.c: Likewise.
39534 * libio/oldiopopen.c: Likewise.
39535 * libio/oldstdfiles.c: Likewise.
39536 * libio/putc.c: Likewise.
39537 * libio/setbuf.c: Likewise.
39538 * libio/setlinebuf.c: Likewise.
39539 * libio/stdfiles.c: Likewise.
39540 * libio/strops.c: Likewise.
39541 * libio/vasprintf.c: Likewise.
39542 * libio/vscanf.c: Likewise.
39543 * libio/vsnprintf.c: Likewise.
39544 * libio/vswprintf.c: Likewise.
39545 * libio/wfiledoalloc.c: Likewise.
39546 * libio/wfileops.c: Likewise.
39547 * libio/wgenops.c: Likewise.
39548 * libio/wmemstream.c: Likewise.
39549 * libio/wstrops.c: Likewise.
39550 * libio/__fpurge.c: Likewise.
39551 * libio/__fsetlocking.c: Likewise.
39552 * assert/assert.c: Likewise.
39553 * debug/fgets_chk.c: Likewise.
39554 * debug/fgets_u_chk.c: Likewise.
39555 * debug/fread_chk.c: Likewise.
39556 * debug/fread_u_chk.c: Likewise.
39557 * debug/gets_chk.c: Likewise.
39558 * debug/obprintf_chk.c: Likewise.
39559 * debug/vasprintf_chk.c: Likewise.
39560 * debug/vdprintf_chk.c: Likewise.
39561 * debug/vsnprintf_chk.c: Likewise.
39562 * debug/vsprintf_chk.c: Likewise.
39563 * malloc/mtrace.c: Likewise.
39564 * misc/error.c: Likewise.
39565 * misc/syslog.c: Likewise.
39566 * stdio-common/asprintf.c: Likewise.
39567 * stdio-common/fxprintf.c: Likewise.
39568 * stdio-common/getw.c: Likewise.
39569 * stdio-common/isoc99_fscanf.c: Likewise.
39570 * stdio-common/isoc99_scanf.c: Likewise.
39571 * stdio-common/isoc99_vfscanf.c: Likewise.
39572 * stdio-common/isoc99_vscanf.c: Likewise.
39573 * stdio-common/isoc99_vsscanf.c: Likewise.
39574 * stdio-common/printf-prs.c: Likewise.
39575 * stdio-common/printf_fp.c: Likewise.
39576 * stdio-common/printf_fphex.c: Likewise.
39577 * stdio-common/printf_size.c: Likewise.
39578 * stdio-common/putw.c: Likewise.
39579 * stdio-common/scanf.c: Likewise.
39580 * stdio-common/sprintf.c: Likewise.
39581 * stdio-common/tmpfile.c: Likewise.
39582 * stdio-common/vfprintf.c: Likewise.
39583 * stdio-common/vfscanf.c: Likewise.
39584 * stdlib/strfmon_l.c: Likewise.
39585 * sunrpc/openchild.c: Likewise.
39586 * sunrpc/xdr_stdio.c: Likewise.
39587 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39588 * sysdeps/mach/hurd/tmpfile.c: Likewise.
39590 2012-05-24 Roland McGrath <roland@hack.frob.com>
39592 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39594 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39595 in the third column, to generate for the shared library an IFUNC
39596 that uses _dl_vdso_vsym.
39597 * Makerules (COMPILE.c, compile-stdin.c): New variables.
39598 * Makeconfig (object-suffixes-noshared): New variable.
39600 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39601 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39602 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39603 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39606 * include/sys/time.h (__gettimeofday): Remove macro.
39607 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39608 * time/gettimeofday.c (__gettimeofday): Remove #undef.
39610 (__gettimeofday): Add libc_hidden_def.
39611 (gettimeofday): Add libc_hidden_weak.
39612 * sysdeps/mach/gettimeofday.c: Likewise.
39613 * sysdeps/posix/gettimeofday.c: Likewise.
39614 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39615 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39616 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39617 (__gettimeofday_internal): Remove strong_alias.
39618 (__gettimeofday): Add libc_hidden_def.
39619 (gettimeofday): Add libc_hidden_weak.
39620 * sysdeps/unix/syscalls.list (gettimeofday):
39621 Remove __gettimeofday_internal alias.
39623 2012-05-24 Daniel Jacobowitz <drow@false.org>
39624 H.J. Lu <hongjiu.lu@intel.com>
39627 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39628 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39629 (largebin_index_32_big): New.
39630 (largebin_index): Use it for 16-byte alignment.
39631 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
39632 correction with front_misalign.
39634 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
39636 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39637 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39639 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39641 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39643 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39645 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39647 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39649 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39651 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39653 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39657 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39659 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39662 * scripts/data/c++-types-x32-linux-gnu.data: New file.
39663 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39665 2012-05-24 Joseph Myers <joseph@codesourcery.com>
39669 * math/libm-test.inc (exp_test): Add test from bug 14036.
39670 (pow_test): Add test from bug 10846.
39672 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39674 (special_function): Do not include flags in test name.
39675 (parse_args): Likewise.
39676 * sysdeps/i386/fpu/libm-test-ulps: Update.
39677 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39678 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39679 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39682 * math/gen-libm-test.pl (%beautify): Add entries for underflow
39684 * math/libm-test.inc ("Philosophy"): Update comment about
39686 (UNDERFLOW_EXCEPTION): New macro.
39687 (UNDERFLOW_EXCEPTION_OK): Likewise.
39688 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39689 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39690 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39691 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39692 (INVALID_EXCEPTION_OK): Update value.
39693 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39694 (OVERFLOW_EXCEPTION_OK): Likewise.
39695 (IGNORE_ZERO_INF_SIGN): Likewise.
39696 (test_exceptions): Handle underflow exceptions.
39697 (acos_test): Update for underflow exception expectations.
39698 (cexp_test): Likewise.
39699 (clog_test): Likewise.
39700 (clog10_test): Likewise.
39701 (csqrt_test): Likewise.
39702 (ctan_test): Likewise.
39703 (ctanh_test): Likewise.
39704 (exp_test): Likewise.
39705 (exp10_test): Likewise.
39706 (exp2_test): Likewise.
39707 (expm1_test): Likewise.
39708 (fma_test): Likewise.
39709 (j0_test): Likewise.
39710 (jn_test): Likewise.
39711 (nexttoward_test): Likewise.
39712 (pow_test): Likewise.
39713 (scalbn_test): Likewise.
39714 (scalbln_test): Likewise.
39715 (tan_test): Likewise.
39716 (y1_test): Likewise.
39717 * sysdeps/i386/fpu/libm-test-ulps: Update.
39718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39720 2012-05-23 David S. Miller <davem@davemloft.net>
39722 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39723 (__libc_sigaction): Remove unused local variables.
39725 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39727 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39729 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
39731 mktime: avoid signed integer overflow
39732 * time/mktime.c (__mktime_internal): Do not mishandle the case
39733 where diff == INT_MIN.
39735 mktime: simplify computation of average
39736 * time/mktime.c (ranged_convert): Use new time_t_avg function
39737 instead of rolling our own (probably-slower) code.
39739 mktime: do not assume signed right shift propagates sign bit
39740 * time/mktime.c (isdst_differ): New static function.
39741 (__mktime_internal): No need to normalize tm_isdst now.
39742 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39745 mktime: merge another wrapv change from gnulib
39746 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39747 from some compilers.
39749 mktime: remove incorrect attempt at unusual arithmetics
39750 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39751 The code didn't really work on such machines anyway.
39752 (TYPE_MINIMUM): Assume two's complement.
39753 (twos_complement_arithmetic): Verify that long_int and time_t
39754 are two's complement (or unsigned, in the latter case).
39756 mktime: check signed shifts on long_int and time_t, too
39757 * time/mktime.c (SHR): Check that shifts work as desired
39758 on the types long_int and time_t too, as SHR is used on
39761 mktime: do not assume 'long' is wide enough
39762 * time/mktime.c (verify): Move decl up.
39763 (long_int): New type.
39764 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39765 to remove assumption in the code that 'long' is wide enough to
39766 store year values. This assumption is not true on x32 and on
39767 some non-glibc platforms.
39769 mktime: merge wrapv change from gnulib
39770 * time/mktime.c (WRAPV): New macro.
39771 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39772 (guess_time_tm, __mktime_internal): Do not assume that signed
39773 integer overflow wraps around; modern compilers generate code
39774 where this assumption is no longer valid.
39776 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39778 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39779 Replace "jmp L(pseudo_end)" with "ret".
39780 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39783 2012-05-23 Andreas Jaeger <aj@suse.de>
39785 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39786 * sysdeps/unix/sysv/linux/poll.c: Remove file.
39788 2012-05-23 Andreas Jaeger <aj@suse.de>
39789 Maximilian Attems <max@stro.at>
39791 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39794 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
39796 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39797 code so that pseudo_end is just ret and the stack pointer is
39798 correct also for static library in error case.
39800 2012-05-23 Joseph Myers <joseph@codesourcery.com>
39802 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39803 move to syscalls.list.
39804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39809 * manual/install.texi (Running make install): Do not mention Linux
39810 kernel version for which pt_chown is not needed.
39811 (Linux): Do not mention problems with nscd with 2.0 kernels.
39812 * INSTALL: Regenerated.
39814 2012-05-23 Andreas Jaeger <aj@suse.de>
39816 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39817 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39819 * sysdeps/unix/sysv/linux/s390/bits/mman.h
39820 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39821 * sysdeps/unix/sysv/linux/sh/bits/mman.h
39822 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39823 * sysdeps/unix/sysv/linux/i386/bits/mman.h
39824 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39825 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39826 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39827 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39828 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39829 * sysdeps/unix/sysv/linux/bits/in.h
39830 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39832 2012-05-22 Roland McGrath <roland@hack.frob.com>
39834 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39835 (PREPARE_VERSION): Just use assert instead, it will be elided
39836 under [NDEBUG] anyway.
39838 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39840 * sysdeps/unix/sysv/linux/Makefile: Include
39841 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39842 (sysdep_routines): Remove sysctl.
39843 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39844 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39845 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39846 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39847 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39849 2012-05-22 Andreas Jaeger <aj@suse.de>
39851 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39852 that pseudo_end is just ret and the stack pointer is correct also
39853 for static library in error case.
39855 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
39858 * nss/nsswitch.c (defconfig_entries): New variable.
39859 (__nss_database_lookup): Don't leak defconfig entries.
39860 (nss_parse_service_list): Don't leak on error paths.
39861 (free_database_entries): New function.
39862 (free_defconfig): New function.
39863 (free_mem): Move common code to free_database_entries.
39865 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39867 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39869 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39871 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39872 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39873 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39875 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39876 (INTERNAL_SYSCALL_TYPES): Likewise.
39877 (LOAD_ARGS_TYPES_[1-6]): Likewise.
39878 (LOAD_REGS_TYPES_[1-6]): Likewise.
39879 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39880 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39882 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39884 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39885 copysignl for GLIBC_2_0.
39886 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39887 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39888 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39889 logbl for GLIBC_2_0.
39890 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39891 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39893 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39895 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39896 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
39898 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39901 * time/mktime.c: Update copyright years.
39903 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
39905 mktime: merge comment-quoting-style change from gnulib
39906 * time/mktime.c: Quote 'like this' in comments.
39907 The GNU coding standards suggest that we no longer quote `like this',
39908 as "`" and "'" are typically rendered asymmetrically nowadays.
39909 The typical gnulib style is to quote 'like this' when quoting
39910 code, and "like this" when quoting English.
39912 * time/mktime.c (compile-command): Add "-I.".
39914 mktime: merge mktime-internal.h change from gnulib
39915 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39917 mktime: merge time_r change from gnulib
39918 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39920 mktime: merge DEBUG change from gnulib
39921 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39922 case system <time.h> has a #define.
39924 mktime: merge <sys/types.h> change from gnulib
39925 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39926 since <time.t> is now guaranteed to define time_t.
39928 mktime: merge HAVE_CONFIG_H change from gnulib
39929 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39931 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
39933 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39936 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39938 (struct rusage): Use anonymous union to pad each field to
39941 2012-05-21 David S. Miller <davem@davemloft.net>
39943 * Makefules (o-iterator): Remove .s cases.
39944 (compile-command.s): Delete.
39945 (COMPILE.s): Delete.
39946 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39948 2012-05-21 Joseph Myers <joseph@codesourcery.com>
39950 * configure.in (libc_cv_predef_stack_protector): Only consider
39951 "foobar" and "__stack_chk_fail" lines in libc_undefs.
39952 * configure: Regenerated.
39954 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
39956 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39957 New macro. Use R*LP on int and pointer.
39958 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39959 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39960 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39961 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39963 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39964 [__WORDSIZE_TIME64_COMPAT32] instead of
39965 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39966 (struct utmp): Likewise.
39967 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39968 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39970 (__WORDSIZE_TIME64_COMPAT32): This.
39971 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39972 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39973 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39974 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39975 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39976 (__WORDSIZE_TIME64_COMPAT32): New macro.
39978 2012-05-21 Andreas Jaeger <aj@suse.de>
39980 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39981 only if [SHARED]. Add prototype for __wcschr_ia32.
39983 2012-05-21 Roland McGrath <roland@hack.frob.com>
39985 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39986 of %rbp unmolested in the jmp_buf while mangling the low bits.
39987 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39988 unmolested high bits of %rbp while demangling the low bits.
39989 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39991 2012-05-21 Andreas Jaeger <aj@suse.de>
39993 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39994 * sunrpc/svc_simple.c: Use it for registerrpc.
39995 * sunrpc/xcrypt.c: Use it for passwd2des.
39997 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39999 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40001 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
40002 Don't define if [__SYSCALL_WORDSIZE != 32].
40003 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
40006 2012-05-21 Bruno Haible <bruno@clisp.org>
40007 Andreas Jaeger <aj@suse.de>
40009 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
40010 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
40011 inptr and inend for must_buffer_ch.
40012 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
40013 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
40014 * stdio-common/Makefile (tests): Remove bug15.
40015 (bug15-ENV): Remove macro.
40016 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
40019 2012-05-19 Andreas Jaeger <aj@suse.de>
40020 Roland McGrath <roland@hack.frob.com>
40022 * manual/contrib.texi: Completely rewritten. It contains now an
40023 alphabetical list of contributors and their contributions.
40025 2012-05-21 Richard Henderson <rth@twiddle.net>
40027 * misc/getauxval.c (__getauxval): Use unsigned long int.
40028 * misc/sys/auxv.h: Include <sys/cdefs.h>.
40029 (getauxval): Use unsigned long int.
40031 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
40033 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
40035 2012-05-21 Roland McGrath <roland@hack.frob.com>
40037 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
40038 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
40039 __alignof__ (long double).
40041 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40043 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40045 2012-05-20 Richard Henderson <rth@twiddle.net>
40047 * misc/getauxval.c: New file.
40048 * misc/sys/auxv.h: New file.
40049 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
40050 (routines): Add getauxval.
40051 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
40052 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
40053 * elf/dl-sysdep.c (_dl_auxv): Remove.
40054 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
40055 * elf/dl-support.c (_dl_auxv): New variable.
40056 (_dl_aux_init): Initialize it.
40057 * manual/startup.texi (Auxiliary Vector): New node.
40058 * sysdeps/generic/bits/hwcap.h: New file.
40059 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
40060 * sysdeps/powerpc/sysdep.h: ... here. Include it.
40061 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
40062 * sysdeps/sparc/sysdep.h: ... here. Include it.
40063 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
40064 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
40065 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
40067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
40068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
40069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
40070 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
40071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40072 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
40073 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
40074 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
40076 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40080 2012-05-19 David S. Miller <davem@davemloft.net>
40082 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40084 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40087 * math/s_ccosh.c: Include <float.h>
40088 (__ccosh): Avoid internal overflow calculating sinh and cosh
40089 values before multiplying by sin and cos values.
40090 * math/s_ccoshf.c: Likewise.
40091 * math/s_ccoshl.c: Likewise.
40092 * math/s_csin.c: Likewise.
40093 * math/s_csinf.c: Likewise.
40094 * math/s_csinl.c: Likewise.
40095 * math/s_csinh.c: Likewise.
40096 * math/s_csinhf.c: Likewise.
40097 * math/s_csinhl.c: Likewise.
40098 * math/libm-test.inc (ccos_test): Add more tests.
40099 (ccosh_test): Likewise.
40100 (csin_test): Likewise.
40101 (csinh_test): Likewise.
40102 * sysdeps/i386/fpu/libm-test-ulps: Update.
40103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40105 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
40107 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
40108 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
40110 * sysdeps/x86_64/x32/_itoa.h: Add comment.
40112 2012-05-19 Joseph Myers <joseph@codesourcery.com>
40114 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
40115 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
40116 * sysdeps/powerpc/soft-fp/Versions: Likewise.
40117 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
40118 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
40119 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
40120 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
40121 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
40122 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
40123 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
40124 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
40125 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
40126 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
40127 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
40128 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
40129 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
40130 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
40131 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
40132 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
40133 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
40134 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
40135 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
40136 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
40137 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
40138 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
40139 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
40140 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
40141 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
40142 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
40143 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
40144 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
40146 2012-05-18 Andreas Jaeger <aj@suse.de>
40148 * csu/.gitignore: Delete.
40150 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40152 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
40153 (timex): Use __syscall_slong_t.
40155 2012-05-18 Andreas Jaeger <aj@suse.de>
40156 Carlos O'Donell <carlos_odonell@mentor.com>
40158 * manual/install.texi (Configuring and compiling): Update
40159 description about files modified in the source directory.
40160 * INSTALL: Regenerated.
40162 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40164 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40165 value. Use "or" to set return value to -1.
40166 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40167 negate return value.
40169 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
40171 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40172 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40173 failure if the compiler has Graphite support disabled.
40174 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40176 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40177 (CFLAGS-memmove.c): Likewise.
40178 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40181 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
40183 * sysdeps/x86_64/x32/_itoa.h: New file.
40185 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40186 getdents system call only if kernel and user dirents have the
40187 same d_ino and d_off.
40189 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40190 LLONG_MAX != LONG_MAX.
40191 (_itoa_word): Use _ITOA_WORD_TYPE on value.
40192 (_fitoa_word): Likewise.
40194 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40196 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40197 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40198 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40200 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40201 include <bits/wordsize.h>. Check __x86_64__ instead of
40203 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40204 if __x86_64__ is defined. Use anonymous union on fpstate.
40206 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40209 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
40211 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40212 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40213 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40214 Refer to _rtld_local_ro instead of _rtld_global_ro.
40215 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40217 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40219 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40221 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40222 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40223 of _rtld_global, and rtld_progname instead of _dl_argv[0].
40225 * sysdeps/powerpc/powerpc32/dl-machine.c
40226 (__elf_machine_runtime_setup) [PROF]: Don't reference
40229 2012-05-18 Andreas Jaeger <aj@suse.de>
40231 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40232 function only available for GCCs before 3.4 since GCC 3.4
40233 introduced a builtin.
40235 (llrintf): Likewise.
40236 (llrint): Likewise.
40243 (nearbyint): Likewise.
40244 (nearbyintf): Likewise.
40248 (floorf): Likewise.
40250 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40252 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40253 on both fields and cast pointer to __syscall_ulong_t.
40255 * bits/types.h (__fsword_t): New type.
40256 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40257 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40258 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40259 (__FSWORD_T_TYPE): Likewise.
40260 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40261 (__FSWORD_T_TYPE): Likewise.
40262 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40263 (__FSWORD_T_TYPE): Likewise.
40264 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40265 (__FSWORD_T_TYPE): Likewise.
40266 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40267 __SWORD_TYPE with __fsword_t.
40268 (statfs64): Likewise.
40270 2012-05-17 David S. Miller <davem@davemloft.net>
40272 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40274 2012-05-17 Andreas Jaeger <aj@suse.de>
40276 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40279 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40281 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40283 2012-05-17 Andreas Jaeger <aj@suse.de>
40285 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40288 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40290 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40292 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
40294 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40295 * sysdeps/x86_64/tst-mallocalign1.c: New file.
40297 2012-05-17 Andreas Jaeger <aj@suse.de>
40298 Carlos O'Donell <carlos_odonell@mentor.com>
40301 * sysdeps/x86_64/multiarch/init-arch.h
40302 (bit_YMM_Usable): Rename to...
40303 (bit_AVX_Usable): ... this.
40304 (bit_FMA4_Usable): New macro.
40305 (bit_XMM_state): New macro.
40306 (bit_YMM_state): New macro.
40307 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40308 [__ASSEMBLER__] (index_AVX_Usable): ... this.
40309 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40310 (CPUID_OSXSAVE): New macro.
40311 (CPUID_AVX): New macro.
40312 (CPUID_FMA4): New macro.
40313 (index_YMM_Usable): Rename to...
40314 (index_AVX_Usable): ... this.
40315 (HAS_AVX): Use HAS_ARCH_FEATURE.
40316 (HAS_FMA4): Likewise.
40317 (HAS_YMM_USABLE): Remove.
40318 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40319 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40321 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40322 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40323 * sysdeps/x86_64/multiarch/Makefile: Likewise.
40324 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40325 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40327 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
40329 * math/libm-test.c: Support platforms without multiple rounding modes.
40330 * math/bug-nextafter.c: Support platforms without FP exceptions.
40331 * math/bug-nexttoward.c: Likewise.
40332 * math/test-fenv.c: Likewise.
40333 * math/test-misc.c: Likewise.
40334 * stdlib/bug-getcontext.c: Likewise.
40336 2012-05-17 Andreas Jaeger <aj@suse.de>
40338 * manual/examples/search.c (critter_cmp): Change signature to
40340 * manual/string.texi (Collation Functions): Likewise.
40342 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40344 * bits/types.h: Fold copyright years.
40345 * bits/typesizes.h: Likewise.
40346 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40347 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40348 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40349 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40350 * time/time.h: Likewise.
40352 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
40355 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40356 in instead of returning them. Return void.
40357 (__libc_mallinfo): Accumulate over all arenas.
40358 (__malloc_stats): Adjust for change in int_mallinfo interface.
40360 2012-05-16 Roland McGrath <roland@hack.frob.com>
40363 * configure.in (NM): Add AC_CHECK_TOOL for it.
40364 (libc_extra_cflags): New substituted variable.
40365 Check for -fstack-protector being used implicitly.
40366 * configure: Regenerated.
40367 * config.make.in (config-extra-cflags): New variable,
40368 gets @libc_extra_cflags@.
40369 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40372 * configure.in: Check for _FORTIFY_SOURCE being predefined.
40373 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40374 * configure: Regenerated.
40375 * config.make.in (CPPUNDEFS): New substituted variable.
40376 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40377 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40378 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40380 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40382 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40383 (mq_attr): Use __syscall_slong_t.
40385 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40387 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40388 Check __x86_64__ instead of __WORDSIZE.
40389 (_STAT_VER_LINUX): Likewise.
40390 (stat): Check __x86_64__ instead of __WORDSIZE. Use
40391 __syscall_ulong_t and __syscall_slong_t.
40392 (stat64): Likewise.
40394 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40396 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40398 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40400 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40402 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40404 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40407 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40408 include <bits/wordsize.h>. Check __x86_64__ instead of
40410 (greg_t): Use "__extension__ long long int" if __x86_64__ is
40412 (mcontext_t): Replace "unsigned long" with "unsigned long long".
40414 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40415 include <bits/wordsize.h>. Check __x86_64__ instead of
40417 (user_regs_struct): Use "__extension__ unsigned long long"
40418 instead of "unsigned long" if __x86_64__ is defined.
40419 (user): Likewise. Pad after pointer field if __ILP32__ is
40422 2012-05-16 Joseph Myers <joseph@codesourcery.com>
40424 * configure.in (makeinfo): Require version 4.5 or later. Allow
40426 * configure: Regenerated.
40427 * manual/install.texi (texinfo): Increase version requirement to
40429 * INSTALL: Regenerated.
40431 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40433 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
40435 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40437 * sysdeps/x86_64/x32/ffs.c: New file.
40439 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40441 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40442 defined. Use __syscall_ulong_t.
40443 (shminfo): Use __syscall_ulong_t.
40444 (shm_info): Likewise.
40446 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40449 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40451 (msgqnum_t): Use __syscall_ulong_t.
40452 (msglen_t): Likewise.
40453 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
40456 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40457 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40459 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40461 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40462 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40464 * sysvipc/sys/msg.h (msgbuf): Replace long int with
40467 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40468 include <bits/wordsize.h>. Check __x86_64__ instead of
40471 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40472 "unsigned long long int" if __x86_64__ is defined.
40473 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40475 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40476 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
40477 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40479 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40481 (GET_PC): Cast to uintptr_t first.
40482 (GET_FRAME): Likewise.
40483 (GET_STACK): Likewise.
40485 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40486 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40487 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40488 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40489 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40490 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40491 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40492 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40493 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40494 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40495 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40496 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40497 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40498 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40499 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40500 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40501 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40502 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40503 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40504 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40505 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40506 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40507 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40508 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40509 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40510 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40511 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40512 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40513 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40515 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
40517 * Makerules (+depfiles): Also collect depfiles from .oS in
40519 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40520 .oS, $(libnldbl-routines)).
40522 * Makerules (native-compile-mkdep-flags): Define.
40523 * sunrpc/Makefile (extra-objs): Add $(addprefix
40524 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40525 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40526 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
40527 calling $(make-target-directory).
40529 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40531 * bits/types.h (__snseconds_t): Removed.
40532 * time/time.h (struct timespec): Replace __snseconds_t with
40534 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40535 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40537 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40538 (__SNSECONDS_T_TYPE): Likewise.
40539 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40540 (__SNSECONDS_T_TYPE): Likewise.
40541 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40542 (__SNSECONDS_T_TYPE): Likewise.
40544 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40546 * sysdeps/mach/hurd/bits/typesizes.h
40547 (__SYSCALL_SLONG_TYPE): New macro.
40548 (__SYSCALL_ULONG_TYPE): Likewise.
40550 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40552 * bits/types.h (__syscall_slong_t): New type.
40553 (__syscall_ulong_t): Likewise.
40555 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40556 (__SYSCALL_ULONG_TYPE): Likewise.
40557 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40558 (__SYSCALL_SLONG_TYPE): Likewise.
40559 (__SYSCALL_ULONG_TYPE): Likewise.
40560 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40561 (__SYSCALL_SLONG_TYPE): Likewise.
40562 (__SYSCALL_ULONG_TYPE): Likewise.
40563 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40564 (__SYSCALL_SLONG_TYPE): Likewise.
40565 (__SYSCALL_ULONG_TYPE): Likewise.
40567 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40569 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40570 Add sigaltstack-offsets.sym.
40571 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40572 <sigaltstack-offsets.h>.
40573 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
40574 longjmp_msg pointer.
40575 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
40576 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40578 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40580 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40582 * elf/stackguard-macros.h: Remove file.
40583 * sysdeps/generic/stackguard-macros.h: New file.
40584 * sysdeps/i386/stackguard-macros.h: Likewise.
40585 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40586 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40587 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40588 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40589 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40590 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40591 * sysdeps/x86_64/stackguard-macros.h: Likewise.
40592 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40593 <elf/stackguard-macros.h>.
40596 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40597 __aligned__ in attribute.
40598 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40599 (gregset_t): Likewise.
40601 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40603 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40604 * sysdeps/x86_64/64/Implies-after: Here. New file.
40605 * sysdeps/x86_64/x32/Implies-after: New file.
40607 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40609 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40610 and access return value for _dl_profile_fixup. Use R10_LP to
40613 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40615 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40617 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40619 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40620 * sysdeps/x86_64/x32/sysdep.h: New file.
40622 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40624 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40625 * sysdeps/x86_64/setjmp.S: Likewise.
40627 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40629 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40630 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40631 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40632 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40633 remove unused global constant.
40635 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
40637 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40638 include of <not-cancel.h>.
40640 2012-05-15 Roland McGrath <roland@hack.frob.com>
40642 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40644 2012-05-15 Jeff Law <law@redhat.com>
40645 Andreas Jaeger <aj@suse.de>
40648 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40650 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40651 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40652 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40653 code changing __hst_map_handle.map.
40655 2012-05-15 Roland McGrath <roland@hack.frob.com>
40657 * configure.in (sysnames): Look for Implies-before and Implies-after
40659 * configure: Regenerated.
40661 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40663 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40664 8-byte data alignment with LP_SIZE alignment.
40666 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40668 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40671 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40673 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40675 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40677 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40678 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40679 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40681 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40683 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40685 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40686 (stackinfo_sub_sp): Likewise.
40688 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40690 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40693 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40695 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40698 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40700 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40703 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40705 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40707 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40709 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40710 into R11_LP and load __x86_64_shared_cache_size_half into
40713 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
40715 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40718 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40720 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40722 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40724 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40726 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40727 powerpc32/power7/fpu/s_logb.c via #include.
40728 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40729 powerpc32/power7/fpu/s_logbf.c via #include.
40730 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40731 powerpc32/power7/fpu/s_logbl.c via #include.
40733 2012-05-15 Joseph Myers <joseph@codesourcery.com>
40735 * README.libm: Remove file.
40737 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40739 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40740 count for x32. Use R*_LP and omit operand-size suffix.
40742 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40744 * shlib-versions: Move x86_64-.*-linux.* entries to ...
40745 * sysdeps/x86_64/64/shlib-versions: Here. New file.
40746 * sysdeps/x86_64/x32/shlib-versions: New file.
40748 2012-05-14 Roland McGrath <roland@hack.frob.com>
40750 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40751 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40752 Use _dl_fatal_printf instead.
40754 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40756 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40757 set if not set by the user. Do not allow for being unset.
40758 * sysdeps/unix/sysv/linux/configure: Regenerated.
40760 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40762 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40763 the `q' suffix from lea and replace .quad with ASM_ADDR.
40765 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40767 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40768 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
40770 (PTR_DEMANGLE): Likewise.
40772 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40774 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40776 (ASM_ADDR): Likewise.
40777 (RAX_LP): Likewise.
40778 (RBP_LP): Likewise.
40779 (RBX_LP): Likewise.
40780 (RCX_LP): Likewise.
40781 (RDI_LP): Likewise.
40782 (RSI_LP): Likewise.
40783 (RSP_LP): Likewise.
40786 (R10_LP): Likewise.
40787 (R10_LP): Likewise.
40788 (R11_LP): Likewise.
40789 (R12_LP): Likewise.
40790 (R13_LP): Likewise.
40791 (R14_LP): Likewise.
40792 (R15_LP): Likewise.
40794 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40796 * sysdeps/x86_64/x32/dl-machine.h: New file.
40798 2012-05-14 Andreas Jaeger <aj@suse.de>
40800 * manual/Makefile (subdir): Remove export of subdir.
40801 (all): Remove target.
40802 (.PHONY): Remove all from list.
40803 (mkinstalldirs): Remove.
40804 (.PHONY): Remove installdirs from list.
40805 ($(inst_infodir)/libc.info): Use make-target-directory.
40806 (installdirs): Remove.
40807 (subdir_%): Remove.
40808 (glibc-targets): Remove.
40811 ($(objpfx)stubs ../po/manual.pot): Remove.
40812 ($(objpfx)stamp%): Remove.
40813 (make-target-directory): Remove.
40814 (subdir_install): Remove.
40815 (routines): Remove.
40822 * manual/.gitignore: Remove, it's not needed anymore.
40823 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40825 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40827 (texis): Renamed to $(objpfx)texis.
40828 (texis-path): New, contains path to generated files.
40829 (chapters.%): Use texis-path for complete path, add extra argument
40831 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40832 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40833 (summary,texi, stamp-summary): Use complete path of
40834 files. Generate files in build dir.
40835 (dir-add.texi): Build in build dir.
40836 (libm-err.texi,stamp-libm-err): Likewise.
40837 (version.texi, stamp-version): Likewise.
40838 (.%c.texi): Likewise.
40839 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40840 (mostlyclean): Remove target.
40841 (realclean): Remove target.
40842 (generated): Add new variable with contents from mostlyclean and
40843 realclean, remove entries duplicated in common-mostlyclean, add
40844 stamp-libm-err and stamp-version.
40845 (generated-dirs): Add libc directory.
40846 ($(inst_infodir)/libc.info): Install files from build dir.
40848 * manual/install.texi (Configuring and compiling): Adjust since
40849 the info files are not part of the tar ball anymore.
40851 2012-05-14 Andreas Jaeger <aj@suse.de>
40853 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40856 2012-05-14 Joseph Myers <joseph@codesourcery.com>
40859 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40860 to 2.2.0 where earlier.
40861 * sysdeps/unix/sysv/linux/configure: Regenerated.
40862 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40863 Remove conditional code.
40864 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40865 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40866 Remove conditional code.
40867 [!__NR_lchown]: Likewise.
40868 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40869 [__NR_lchown]: Likewise.
40870 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40871 comment referencing __ASSUME_LCHOWN_SYSCALL.
40872 * sysdeps/unix/sysv/linux/i386/sigaction.c
40873 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40874 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40875 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40876 Remove conditional code.
40877 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40878 (__protocol_available): Remove #if 0 code.
40879 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40881 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40882 * sysdeps/unix/sysv/linux/kernel-features.h
40883 (__ASSUME_GETCWD_SYSCALL): Don't define.
40884 (__ASSUME_REALTIME_SIGNALS): Likewise.
40885 (__ASSUME_PREAD_SYSCALL): Likewise.
40886 (__ASSUME_PWRITE_SYSCALL): Likewise.
40887 (__ASSUME_POLL_SYSCALL): Likewise.
40888 (__ASSUME_LCHOWN_SYSCALL): Likewise.
40889 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40891 (__ASSUME_SIOCGIFNAME): Don't define.
40892 (__ASSUME_MSG_NOSIGNAL): Likewise.
40893 (__ASSUME_SENDFILE): Define unconditionally.
40894 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40895 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40897 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40898 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40899 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40900 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40901 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40902 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40903 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40905 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40906 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40908 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40909 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40910 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40911 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40912 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40914 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40915 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40917 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40918 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40920 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40921 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40923 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40924 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40925 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40926 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40927 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40928 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40929 Remove conditional code.
40930 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40931 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40932 Remove conditional code.
40933 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40934 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40935 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40936 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40937 Remove conditional code.
40938 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40939 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40940 Remove conditional code.
40941 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40942 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40943 Remove conditional code.
40944 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40945 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40946 Remove conditional code.
40947 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40948 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40949 Remove conditional code.
40950 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40951 * sysdeps/unix/sysv/linux/sh/pwrite64.c
40952 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40953 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40954 * sysdeps/unix/sysv/linux/sigaction.c
40955 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40956 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40957 * sysdeps/unix/sysv/linux/sigpending.c
40958 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40959 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40960 * sysdeps/unix/sysv/linux/sigprocmask.c
40961 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40962 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40963 * sysdeps/unix/sysv/linux/sigsuspend.c
40964 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40965 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40966 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40967 (__libc_missing_rt_sigs): Remove.
40968 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40969 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40970 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40971 Remove conditional code.
40972 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40973 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40975 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40976 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40977 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40978 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40980 2012-05-14 Andreas Jaeger <aj@suse.de>
40982 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40983 it's not used in glibc.
40984 (__coshm1): Likewise.
40985 (__acosh1p): Likewise.
40988 * manual/string.texi (Copying and Concatenation): Add missing
40989 variable in concat example.
40990 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40992 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
40995 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40996 __builtin_clzl with __builtin_clzll.
40998 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
41001 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
41004 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
41006 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
41007 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
41008 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
41009 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
41011 2012-05-14 Mike Frysinger <vapier@gentoo.org>
41013 * NEWS: Update ia64 info.
41015 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
41017 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
41020 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
41022 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
41023 * sysdeps/unix/syscalls.list (dup3): Likewise.
41024 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
41025 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
41027 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41029 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
41030 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
41032 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
41034 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
41036 (TLS_IE): Use mov/add instead of movq/addq to load thread
41038 (TLS_GD_PREFIX): New.
41041 2012-05-11 David S. Miller <davem@davemloft.net>
41043 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
41044 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
41045 (_FPU_SETCW): Likewise.
41047 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41049 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
41050 is 32-byte aligned.
41052 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
41055 * iconvdata/gb18030.c: Update tables.
41056 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
41057 characters specially.
41058 (BODY for TO_LOOP): Add encoding of missing ranges.
41060 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
41063 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
41064 * sysdeps/mach/hurd/dup3.c: Likewise.
41065 * sysdeps/mach/hurd/readlinkat.c: Likewise.
41066 * sysdeps/powerpc/memmove.c:: Likewise.
41068 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41070 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
41071 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
41073 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41075 * elf/elf.h (R_X86_64_RELATIVE64): New.
41076 (R_X86_64_NUM): Updated.
41077 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
41078 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
41079 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
41080 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
41081 tst-quad1pie tst-quad2pie
41082 (modules-names): Add tst-quadmod1 tst-quadmod2.
41083 ($(objpfx)tst-quad1): New dependency.
41084 ($(objpfx)tst-quad2): Likewise.
41085 ($(objpfx)tst-quad1pie): Likewise.
41086 ($(objpfx)tst-quad2pie): Likewise.
41087 * sysdeps/x86_64/tst-quad1.c: New file.
41088 * sysdeps/x86_64/tst-quad1pie.c: New file.
41089 * sysdeps/x86_64/tst-quad2.c: Likewise.
41090 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
41091 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
41092 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
41093 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
41094 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
41096 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41098 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
41099 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
41100 * streams/stropts.h (t_scalar_t): Define type.
41102 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
41103 (_PATH_PRESERVE): Set to "/var/lib".
41104 (_PATH_RWHODIR): Set to "/var/spool/rwho".
41106 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
41109 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
41110 if __dir_mkfile succeeded.
41112 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
41113 checking for _hurd_dtablesize. Unlock it right after having
41114 finished _hurd_dtable allocation.
41116 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41118 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
41119 * sysdeps/mach/hurd/configure: Regenerated.
41120 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
41121 special-casing to...
41122 * sysdeps/gnu/configure.in: ... this new file.
41123 * sysdeps/unix/sysv/linux/configure: Regenerated.
41124 * sysdeps/gnu/configure: New generated file.
41126 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
41127 for Linux: use nsec instead of usec, as well as:
41128 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
41129 members of type struct timespec.
41130 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
41132 (struct stat64): Likewise.
41133 (_STATBUF_ST_NSEC): New macro.
41134 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
41136 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
41137 __strtoul_internal rather than strtoul.
41139 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41141 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
41144 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41146 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
41147 which preserves existing values.
41148 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
41150 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41152 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
41153 TIMEOUT values. Return EINVAL for NFDS values either negative or
41154 greater than FD_SETSIZE.
41156 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41158 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
41159 allocated, call __vm_protect to finish enabling the existing space, and
41160 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41161 allocate the remainder.
41163 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41165 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41166 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
41168 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41170 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41171 sysdeps/mach/hurd/readlink.c.
41173 * posix/tst-sysconf.c (posix_options): Only use
41174 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41175 _POSIX_SYNCHRONIZED_IO when they are defined
41176 * sysdeps/mach/hurd/bits/posix_opt.h:
41177 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41178 (_XOPEN_REALTIME): Undefine macro.
41179 (_XOPEN_REALTIME_THREADS): Undefine macro.
41180 (_XOPEN_SHM): Undefine macro.
41181 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41183 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41185 (_POSIX_ASYNC_IO): Undefine macro.
41186 (_POSIX_PRIORITIZED_IO): Undefine macro.
41187 (_POSIX_SPIN_LOCKS): Define macro to -1.
41189 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41190 SA_NODEFER, SA_RESETHAND.
41191 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41192 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41195 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41197 * elf/Makefile (pldd-modules): Define unconditionally.
41199 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41201 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41203 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41205 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41206 Return ENOENT when name is empty.
41207 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41209 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41211 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41213 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41215 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41217 Fix mlock in all cases except non-readable pages.
41218 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41219 instead of VM_PROT_ALL as parameter to __vm_wire function.
41221 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41222 (__mkdir): When path is `/', just fail with EEXIST.
41223 * sysdeps/mach/hurd/mkdirat.c: Likewise.
41225 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41227 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41228 <sys/uio.h> (for writev).
41229 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41230 and <sys/param.h> (for MIN).
41232 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
41234 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41235 REQUESTED_TIME. Properly set the remaining time and return EINTR
41238 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41240 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41241 Depend on against $(link-rpcuserlibs).
41243 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41245 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41246 (__libc_stack_end): Do not use attribute_relro.
41247 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41248 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41249 to libthread-provided value.
41250 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41253 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41256 * bits/libc-lock.h (__libc_once_get): New macro.
41257 * sysdeps/mach/bits/libc-lock.h: Likewise.
41258 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41259 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41260 instead of using implementation details.
41262 * libio/fileops.c: Unconditionally include <kernel-features.h>.
41263 * libio/freopen.c: Likewise.
41264 * libio/freopen64.c: Likewise.
41265 * misc/syslog.c: Likewise.
41266 * nscd/connections.c: Likewise.
41267 * nscd/netgroupcache.c: Likewise.
41268 * sysdeps/posix/getcwd.c: Likewise.
41270 2012-05-10 Roland McGrath <roland@hack.frob.com>
41272 * math/w_ilogbf.c: Add #include <limits.h>.
41274 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41276 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41277 path instead of returning without unlocking.
41279 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41280 immediate-write ioctls.
41281 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41283 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41285 * sysdeps/mach/hurd/i386/init-first.c (init): Use
41286 __builtin_frame_address instead of making assumptions about the
41287 location of the return address relative to DATA. Force early load of
41288 the return address.
41289 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41290 __builtin_frame_address.
41293 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41294 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
41295 implement dup3 and do some further code clean-ups.
41296 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41297 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41299 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41301 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41303 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41304 HURD_CRITICAL_END around holding _hurd_dtable_lock.
41305 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41306 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41307 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41310 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41311 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
41312 when handler == SIG_ERR, not when handler != SIG_ERR.
41314 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41316 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41317 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41320 accept4 for GNU Hurd.
41321 * include/sys/socket.h (__libc_accept4): New prototype.
41322 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
41323 to implement __libc_accept4.
41324 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41326 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41328 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41329 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41330 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41331 signal-defines.sym.
41333 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41335 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41337 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
41339 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41340 assertion on O_CLOEXEC flag.
41341 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41342 * hurd/intern-fd.c: Likewise.
41343 * hurd/port2fd.c: Likewise.
41345 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
41348 * bits/in.h (IPV6_PKTINFO): Define new macro.
41349 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41351 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41356 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41357 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41358 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41359 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41360 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41361 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41362 * math/libm-test.inc (logb_test) : Additional logb tests.
41364 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
41365 Andreas Jaeger <aj@suse.de>
41367 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41368 * configure: Regenerated.
41369 * config.h.in (LINK_OBSOLETE_RPC): New macro.
41370 * config.make.in (link-obsolete-rpc): New substituted variable.
41371 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41372 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41373 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41374 (shared-only-routines): Don't set it under [link-obsolete-rpc],
41375 so that libc.a contains the symbols.
41376 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41377 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41378 * sunrpc/auth_none.c: Likewise.
41379 * sunrpc/auth_unix.c: Likewise.
41380 * sunrpc/authdes_prot.c: Likewise.
41381 * sunrpc/authuxprot.c: Likewise.
41382 * sunrpc/clnt_gen.c: Likewise.
41383 * sunrpc/clnt_perr.c: Likewise.
41384 * sunrpc/clnt_raw.c: Likewise.
41385 * sunrpc/clnt_simp.c: Likewise.
41386 * sunrpc/clnt_tcp.c: Likewise.
41387 * sunrpc/clnt_udp.c: Likewise.
41388 * sunrpc/clnt_unix.c: Likewise.
41389 * sunrpc/des_crypt.c: Likewise.
41390 * sunrpc/des_soft.c: Likewise.
41391 * sunrpc/get_myaddr.c: Likewise.
41392 * sunrpc/key_call.c: Likewise.
41393 * sunrpc/key_prot.c: Likewise.
41394 * sunrpc/netname.c: Likewise.
41395 * sunrpc/pm_getmaps.c: Likewise.
41396 * sunrpc/pm_getport.c: Likewise.
41397 * sunrpc/pmap_clnt.c: Likewise.
41398 * sunrpc/pmap_prot.c: Likewise.
41399 * sunrpc/pmap_prot2.c: Likewise.
41400 * sunrpc/pmap_rmt.c: Likewise.
41401 * sunrpc/publickey.c: Likewise.
41402 * sunrpc/rpc_cmsg.c: Likewise.
41403 * sunrpc/rpc_common.c: Likewise.
41404 * sunrpc/rpc_dtable.c: Likewise.
41405 * sunrpc/rpc_prot.c: Likewise.
41406 * sunrpc/rpc_thread.c: Likewise.
41407 * sunrpc/rtime.c: Likewise.
41408 * sunrpc/svc.c: Likewise.
41409 * sunrpc/svc_auth.c: Likewise.
41410 * sunrpc/svc_raw.c: Likewise.
41411 * sunrpc/svc_run.c: Likewise.
41412 * sunrpc/svc_tcp.c: Likewise.
41413 * sunrpc/svc_udp.c: Likewise.
41414 * sunrpc/svc_unix.c: Likewise.
41415 * sunrpc/svcauth_des.c: Likewise.
41416 * sunrpc/xcrypt.c: Likewise.
41417 * sunrpc/xdr.c: Likewise.
41418 * sunrpc/xdr_array.c: Likewise.
41419 * sunrpc/xdr_float.c: Likewise.
41420 * sunrpc/xdr_intXX_t.c: Likewise.
41421 * sunrpc/xdr_mem.c: Likewise.
41422 * sunrpc/xdr_rec.c: Likewise.
41423 * sunrpc/xdr_ref.c: Likewise.
41424 * sunrpc/xdr_sizeof.c: Likewise.
41425 * sunrpc/xdr_stdio.c: Likewise.
41427 2012-05-10 Roland McGrath <roland@hack.frob.com>
41429 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41430 change. Update copyright years.
41432 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41434 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41436 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
41437 Joseph Myers <joseph@codesourcery.com>
41438 Paul Pluzhnikov <ppluzhnikov@google.com>
41441 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41443 [cross-compiling] (extra-libs): Likewise.
41444 [cross-compiling] (extra-libs-others): Likewise.
41445 [cross-compiling] (librpcsvc-routines): Likewise.
41446 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41447 [cross-compiling] (omit-deps): Likewise.
41448 (sunrpc-CPPFLAGS): New variable.
41449 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41450 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41451 (cross-rpcgen-objs): New variable.
41452 (extra-objs): Append $(cross-rpcgen-objs).
41453 ($(cross-rpcgen-objs)): New rule.
41454 ($(objpfx)cross-rpcgen): Likewise.
41455 (rpcgen-cmd): Define to use $(built-program-file). Expand
41457 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41458 ($(objpfx)x%.stmp): Likewise.
41459 * sunrpc/proto.h [IS_IN_build] (_): Define.
41460 [IS_IN_build] (_libc_intl_domainname): Likewise.
41462 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
41464 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41465 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41466 and R_X86_64_TPOFF64.
41468 2012-05-10 Joseph Myers <joseph@codesourcery.com>
41470 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41471 sysdeps/unix/sysv/syscalls.list.
41474 * sysdeps/unix/sysv/syscalls.list: Remove file.
41476 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
41479 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41480 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41481 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41482 (__LC_IDENTIFICATION): Make these macros useful in #if
41483 expressions, as required by C99.
41485 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
41487 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41488 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
41491 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
41493 * stdlib/longlong.h: Updated from GCC.
41495 2012-05-09 Andreas Jaeger <aj@suse.de>
41497 * nscd/nscd.c (run_modes): Make named enum, reorder so that
41498 default is first entry.
41499 (run_mode): Set type.
41500 (main): Remove informal message about syslog.
41501 (options): Fix typo.
41504 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41507 (llrintf): Likewise.
41508 (llrint): Likewise.
41511 (nearbyint): Likewise.
41512 (nearbyintf): Likewise.
41514 2012-05-09 Andreas Jaeger <aj@suse.de>
41515 Pedro Alves <palves@redhat.com>
41517 * nscd/nscd.c (run_mode): Use enum.
41518 (main): Cleanup coding style issue.
41520 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
41521 Andreas Jaeger <aj@suse.de>
41523 * nscd/nscd.c (go_background): Replaced with...
41524 (run_mode): ... this.
41525 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41526 (options): Add -F --foreground.
41527 (main): Implement it.
41528 (parse_opt): Parse it.
41530 2012-05-09 Andreas Jaeger <aj@suse.de>
41533 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41534 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41535 -Wconversion warning.
41536 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41539 2012-05-09 Joseph Myers <joseph@codesourcery.com>
41541 * conform/data/locale.h-data (NULL): Use macro-constant. Require
41543 (LC_ALL): Use macro-int-constant.
41544 (LC_COLLATE): Likewise.
41545 (LC_CTYPE): Likewise.
41546 (LC_MESSAGES): Likewise.
41547 (LC_MONETARY): Likewise.
41548 (LC_NUMERIC): Likewise.
41549 (LC_TIME): Likewise.
41550 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41551 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41552 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41553 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41555 [C99-based standards] (float_t): Expect type.
41556 [C99-based standards] (double_t): Expect type.
41557 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
41559 [C99-based standards] (HUGE_VALL): Likewise.
41560 [C99-based standards] (INFINITY): Likewise.
41561 [C99-based standards] (NAN): Likewise.
41562 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41563 [C99-based standards] (FP_NAN): Likewise.
41564 [C99-based standards] (FP_NORMAL): Likewise.
41565 [C99-based standards] (FP_SUBNORMAL): Likewise.
41566 [C99-based standards] (FP_ZERO): Likewise.
41567 [C99-based standards] (FP_FAST_FMA): Use
41568 optional-macro-int-constant. Specify type. Require == 1.
41569 [C99-based standards] (FP_FAST_FMAF): Likewise.
41570 [C99-based standards] (FP_FAST_FMAL): Likewise.
41571 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41572 [C99-based standards] (FP_ILOGBNAN): Likewise.
41573 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41575 [C99-based standards] (MATH_ERREXCEPT): Likewise.
41576 [C99-based standards] (math_errhandling): Specify type.
41577 [ISO99 || ISO11] (signgam): Do not allow.
41578 [non-C99-based standards] (copysignf): Do not allow.
41579 [non-C99-based standards] (exp2f): Likewise.
41580 [non-C99-based standards] (log2f): Likewise.
41581 [non-C99-based standards] (modff): Allow.
41582 [non-C99-based standards] (erff): Do not allow.
41583 [non-C99-based standards] (erfcf): Likewise.
41584 [non-C99-based standards] (gammaf): Likewise.
41585 [non-C99-based standards] (hypotf): Likewise.
41586 [non-C99-based standards] (j0f): Likewise.
41587 [non-C99-based standards] (j1f): Likewise.
41588 [non-C99-based standards] (jnf): Likewise.
41589 [non-C99-based standards] (lgammaf): Likewise.
41590 [non-C99-based standards] (tgammaf): Likewise.
41591 [non-C99-based standards] (y0f): Likewise.
41592 [non-C99-based standards] (y1f): Likewise.
41593 [non-C99-based standards] (ynf): Likewise.
41594 [non-C99-based standards] (isnanf): Likewise.
41595 [non-C99-based standards] (acoshf): Likewise.
41596 [non-C99-based standards] (asinhf): Likewise.
41597 [non-C99-based standards] (atanhf): Likewise.
41598 [non-C99-based standards] (cbrtf): Likewise.
41599 [non-C99-based standards] (expm1f): Likewise.
41600 [non-C99-based standards] (ilogbf): Likewise.
41601 [non-C99-based standards] (log1pf): Likewise.
41602 [non-C99-based standards] (logbf): Likewise.
41603 [non-C99-based standards] (nextafterf): Likewise.
41604 [non-C99-based standards] (remainderf): Likewise.
41605 [non-C99-based standards] (rintf): Likewise.
41606 [non-C99-based standards] (scalbf): Likewise.
41607 [non-C99-based standards] (copysignl): Likewise.
41608 [non-C99-based standards] (exp2l): Likewise.
41609 [non-C99-based standards] (log2l): Likewise.
41610 [non-C99-based standards] (modfl): Allow.
41611 [non-C99-based standards] (erfl): Do not allow.
41612 [non-C99-based standards] (erfcl): Likewise.
41613 [non-C99-based standards] (gammal): Likewise.
41614 [non-C99-based standards] (hypotl): Likewise.
41615 [non-C99-based standards] (j0l): Likewise.
41616 [non-C99-based standards] (j1l): Likewise.
41617 [non-C99-based standards] (jnl): Likewise.
41618 [non-C99-based standards] (lgammal): Likewise.
41619 [non-C99-based standards] (tgammal): Likewise.
41620 [non-C99-based standards] (y0l): Likewise.
41621 [non-C99-based standards] (y1l): Likewise.
41622 [non-C99-based standards] (ynl): Likewise.
41623 [non-C99-based standards] (isnanl): Likewise.
41624 [non-C99-based standards] (acoshl): Likewise.
41625 [non-C99-based standards] (asinhl): Likewise.
41626 [non-C99-based standards] (atanhl): Likewise.
41627 [non-C99-based standards] (cbrtl): Likewise.
41628 [non-C99-based standards] (expm1l): Likewise.
41629 [non-C99-based standards] (ilogbl): Likewise.
41630 [non-C99-based standards] (log1pl): Likewise.
41631 [non-C99-based standards] (logbl): Likewise.
41632 [non-C99-based standards] (nextafterl): Likewise.
41633 [non-C99-based standards] (remainderl): Likewise.
41634 [non-C99-based standards] (rintl): Likewise.
41635 [non-C99-based standards] (scalbl): Likewise.
41636 [ISO || ISO99 || ISO11] (*_t): Do not allow.
41637 [non-C99-based standards] (FP_*): Do not allow.
41638 [C99-based standards] (FP_*): Change to
41639 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41640 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41642 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41643 (SIG_ERR): Likewise.
41644 [X/Open-based standards] (SIG_HOLD): Likewise.
41645 (SIG_IGN): Likewise.
41646 (SIGABRT): Use macro-int-constant. Specify type. Require
41648 (SIGFPE): Likewise.
41649 (SIGILL): Likewise.
41650 (SIGINT): Likewise.
41651 (SIGSEGV): Likewise.
41652 (SIGTER): Likewise.
41653 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41654 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41655 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41656 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41657 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41658 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41659 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41660 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41661 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41662 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41663 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41664 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41665 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41666 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41667 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41668 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41669 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41670 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41671 [X/Open-based standards] (SIGTRAP): Likewise.
41672 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41673 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41674 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41675 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41676 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41679 2012-05-08 Ian Wienand <ianw@vmware.com>
41682 * time/tzset.c (__tzset_parse_tz): Update default rules for
41683 daylight time changes in the Energy Policy Act of 2005.
41685 2012-05-09 Andreas Jaeger <aj@suse.de>
41688 * elf/ldconfig.c (parse_conf): Change string to make clear that
41689 ldconfig only issued a warning if ld.so.conf does not exist.
41691 2012-05-08 David S. Miller <davem@davemloft.net>
41693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41694 movxtod instead of popping the value on the stack.
41696 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41698 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
41700 * config.h.in: Add HAVE_ARM_PCS_VFP.
41702 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
41705 * include/features.h: Warn if user requests __FORTIFY_SOURCE
41706 checking but the checks are disabled for any reason.
41708 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
41710 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41711 and ELF64_R_TYPE with ELFW(R_TYPE).
41713 2012-05-08 Joseph Myers <joseph@codesourcery.com>
41715 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41716 (ulimit): Likewise.
41718 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41719 (settimeofday): Likewise.
41721 2012-05-08 Mike Frysinger <vapier@gentoo.org>
41723 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
41724 a struct th_u2 inside the union, and move tu_block/tu_code into
41725 a new th_u3 union of tu_block/tu_code inside of that. Move
41726 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
41727 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
41728 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41729 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41730 (th_stuff): Change to th_u1.tu_stuff.
41732 (th_msg): Change to th_u1.th_u2.tu_data.
41734 2012-05-07 David S. Miller <davem@davemloft.net>
41736 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41739 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41740 (SETUP_PIC_REG): Use it.
41741 (SETUP_PIC_REG_LEAF): Use it.
41743 2012-05-07 Joseph Myers <joseph@codesourcery.com>
41747 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41749 (EXPL_FINITE): Likewise.
41750 (FLDLOG): Likewise.
41751 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41752 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41754 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41756 (EXPL_FINITE): Likewise.
41757 (FLDLOG): Likewise.
41758 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41759 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41761 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
41762 test of -max_value argument for long double.
41763 * sysdeps/i386/fpu/libm-test-ulps: Update.
41764 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41766 2012-05-06 David S. Miller <davem@davemloft.net>
41768 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41769 quad soft-float symbols whose references which are compiler
41771 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41773 2012-05-06 Joseph Myers <joseph@codesourcery.com>
41777 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41779 (EXPL_FINITE): Likewise.
41780 (FLDLOG): Likewise.
41783 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41784 Adjust comments for base varying.
41785 (__expl_finite): Change alias to EXPL_FINITE.
41786 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41788 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41789 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41790 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41791 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41792 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41794 (EXPL_FINITE): Likewise.
41795 (FLDLOG): Likewise.
41798 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
41799 Adjust comments for base varying.
41800 (__expl_finite): Change alias to EXPL_FINITE.
41801 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
41803 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41806 * math/libm-test.inc (check_float_internal): Correct ulp
41807 calculation for subnormal expected results.
41809 2012-05-06 Andreas Jaeger <aj@suse.de>
41811 * Makeconfig (+math-flags): New, set to -frounding-math.
41812 (+cflags): Add +math-flags so that all of glibc gets compiled with
41815 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41817 2012-05-05 Joseph Myers <joseph@codesourcery.com>
41819 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41825 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41826 (__ieee754_expl): Allow for and saturate large arguments.
41827 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41828 (u_threshold): Likewise.
41829 (__exp): Call __ieee754_exp before checking for overflow and
41831 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41832 (u_threshold): Likewise.
41833 (__expf): Call __ieee754_expf before checking for overflow and
41835 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41836 (u_threshold): Likewise.
41837 (__expl): Call __ieee754_expl before checking for overflow and
41839 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41840 (__ieee754_expl): Allow for and saturate large arguments.
41841 * math/libm-test.inc (exp_test): Add another test. Do not allow
41842 missing overflow exception on overflow.
41843 (expm1_test): Do not allow missing overflow exception on overflow.
41845 * sysdeps/i386/fpu/e_expl.c: Move to ...
41846 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
41847 rather than using inline asm.
41848 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41849 * sysdeps/x86_64/fpu/e_expl.S: Copy from
41850 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41852 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41855 (signal): Likewise.
41859 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41861 * sysdeps/unix/syscalls.list (adjtime): Add entry from
41862 sysdeps/unix/common/syscalls.list.
41863 (fchmod): Likewise.
41864 (fchown): Likewise.
41865 (ftruncate): Likewise.
41866 (getrusage): Likewise.
41867 (gettimeofday): Likewise.
41868 (setpgid): Likewise.
41869 (setregid): Likewise.
41870 (setreuid): Likewise.
41871 (sigaction): Likewise.
41872 (truncate): Likewise.
41873 (vhangup): Likewise.
41874 * sysdeps/unix/common/syscalls.list: Remove file.
41875 * sysdeps/unix/bsd/Implies: Don't include unix/common.
41876 * sysdeps/unix/sysv/linux/Implies: Likewise.
41878 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
41880 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41881 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41882 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41886 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41888 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41889 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41891 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41892 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41894 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41895 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41897 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41898 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41900 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41901 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41903 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41904 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41906 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41908 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41910 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41912 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41914 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41915 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41917 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41919 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41921 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41923 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41925 * sysdeps/unix/common/bits/dirent.h: Remove file.
41926 * sysdeps/unix/common/bits/fcntl.h: Likewise.
41928 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41929 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41930 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41931 * sysdeps/unix/bsd/isatty.c: Likewise.
41932 * sysdeps/unix/bsd/tcdrain.c: Likewise.
41933 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41934 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41936 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41939 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41940 long double comparison inaccuracies.
41941 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41942 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41944 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
41946 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41947 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41949 2012-05-04 Joseph Myers <joseph@codesourcery.com>
41952 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41953 nonzero digits before rounding a hex value.
41954 * stdlib/tst-strtod.c (tests): Add another test.
41956 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41958 * sysdeps/s390/fpu/libm-test-ulps: Update.
41960 2012-05-03 Andreas Jaeger <aj@suse.de>
41962 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41963 does not get optimized out.
41964 (malloc_opt_barrier): New.
41966 2012-05-03 Andreas Jaeger <aj@suse.de>
41967 Roland McGrath <roland@hack.frob.com>
41969 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41970 intermediate file deletion.
41971 (generated): Add .symlist files.
41973 2012-05-03 Joseph Myers <joseph@codesourcery.com>
41976 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41977 Redirect under this condition.
41978 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41979 [__USE_GNU] (__dprintf_chk): Not under this condition.
41980 [__USE_GNU] (__vdprintf_chk): Likewise.
41981 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41982 under this condition.
41983 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41984 [__USE_XOPEN2K8] (dprintf): Define under this condition.
41985 [__USE_XOPEN2K8] (vdprintf): Likewise.
41986 [__USE_GNU] (__dprintf_chk): Not under this condition.
41987 [__USE_GNU] (__vdprintf_chk): Likewise.
41988 [__USE_GNU] (dprintf): Likewise.
41989 [__USE_GNU] (vdprintf): Likewise.
41991 2012-05-03 Roland McGrath <roland@hack.frob.com>
41993 * elf/Makefile (common-generated): Set this instead of generated for
41994 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
41995 $(all-built-dso)-derived lists.
41997 2012-05-03 Andreas Jaeger <aj@suse.de>
41999 * sysdeps/i386/fpu/libm-test-ulps: Update.
42002 * FAQ.in: Likewise.
42003 * scripts/gen-FAQ.pl: Likewise.
42004 * manual/install.texi (Installation): Point to online location of
42006 * Makefile (files-for-dist): Remove FAQ.
42009 2012-05-02 Allan McRae <allan@archlinux.org>
42011 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
42012 (LDFLAGS-reldepmod5.so): Likewise.
42013 (LDFLAGS-reldep6mod1.so): Likewise.
42014 (LDFLAGS-reldep6mod4.so): Likewise.
42015 (LDFLAGS-reldep8mod3.so): Likewise.
42016 (LDFLAGS-unload4mod1.so): Likewise.
42017 (LDFLAGS-unload4mod2.so): Likewise.
42018 (LDFLAGS-tst-initorder): Likewise.
42019 (LDFLAGS-tst-initordera2.so): Likewise.
42020 (LDFLAGS-tst-initordera3.so): Likewise.
42021 (LDFLAGS-tst-initordera4.so): Likewise.
42022 (LDFLAGS-tst-initorderb2.so): Likewise.
42023 (LDFLAGS-noload): Likewise.
42024 (LDFLAGS-next): Likewise.
42025 (LDFLAGS-order2mod1.so): Likewise.
42026 (LDFLAGS-order2mod2.so): Likewise.
42027 (LDFLAGS-tst-initorder2): Likewise.
42028 (LDFLAGS-tst-initorder2a.so): Likewise.
42029 (LDFLAGS-tst-initorder2b.so): Likewise.
42030 (LDFLAGS-tst-initorder2c.so): Likewise.
42031 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
42033 2012-05-02 David S. Miller <davem@davemloft.net>
42035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
42037 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
42040 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
42042 2012-05-02 Andreas Jaeger <aj@suse.de>
42044 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
42045 since we manipulate rounding mode.
42046 (CPPFLAGS-test-idouble.c): Likewise.
42047 (CPPFLAGS-test-ifloat.c): Likewise.
42048 (CFLAGS-test-ldouble.c): Likewise.
42049 (CFLAGS-test-double.c): Likewise.
42050 (CFLAGS-test-float.c): Likewise.
42051 (CFLAGS-test-misc.c): Likewise.
42052 (CFLAGS-test-test-fenv.c): Likewise.
42054 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42058 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
42059 comparisons to determine direction to adjust input.
42061 2012-05-01 Roland McGrath <roland@hack.frob.com>
42063 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
42064 output to the target.
42066 * scripts/localplt.awk: New file.
42067 * elf/Makefile ($(objpfx)check-localplt): Target removed.
42068 (check-localplt-CFLAGS): Variable removed.
42069 ($(all-built-dso:=.jmprel)): New static pattern rule.
42070 (generated): Add those targets.
42071 (localplt-built-dso): New variable.
42072 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
42074 * elf/check-localplt.c: File removed.
42076 * scripts/check-execstack.awk: New file.
42077 * elf/Makefile ($(objpfx)check-execstack): Target removed.
42078 (check-execstack-CFLAGS): Variable removed.
42079 ($(objpfx)check-execstack.h): Target removed.
42080 ($(objpfx)execstack-default): New target.
42081 (generated): Add that instead of check-execstack.h.
42082 ($(all-built-dso:=.phdr)): New static pattern rule.
42083 (generated): Add those targets.
42084 * elf/check-execstack.c: File removed.
42086 * scripts/check-textrel.awk: New file.
42087 * elf/Makefile ($(objpfx)check-textrel): Target removed.
42088 (check-textrel-CFLAGS): Variable removed.
42089 (all-built-dso): Use := to define.o
42090 ($(all-built-dso:=.dyn)): New static pattern rule.
42091 (generated): Add those targets.
42092 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
42093 * config.make.in (READELF): New substituted variable.
42094 * elf/check-textrel.c: File removed.
42096 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42098 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
42100 * conform/data/ctype.h-data [C99-based standards] (isblank):
42102 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
42103 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
42104 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42105 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
42106 Specify type. Require positive value.
42107 (EILSEQ): Likewise.
42108 (ERANGE): Likewise.
42109 [ISO || POSIX] (EILSEQ): Do not expect.
42110 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
42111 Specify type. Require positive value.
42112 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
42113 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
42114 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
42115 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
42116 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
42117 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
42118 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
42119 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
42120 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
42121 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
42122 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
42123 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
42124 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
42125 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
42126 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
42127 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
42128 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
42129 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
42130 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
42131 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
42132 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
42133 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
42134 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
42135 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
42136 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
42137 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
42138 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
42139 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
42140 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
42141 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
42142 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
42143 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
42144 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
42145 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
42146 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
42147 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
42148 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
42149 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
42150 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
42151 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
42152 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
42153 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
42154 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
42155 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
42156 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
42157 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
42158 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
42159 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42160 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42161 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42162 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42163 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42164 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42165 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42166 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42167 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42168 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42169 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42170 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42171 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42172 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42173 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42174 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42175 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42176 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42177 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42178 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42179 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42180 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42181 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42182 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42183 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42184 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42185 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42186 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42187 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42188 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42190 (FLT_ROUNDS): Expect as macro, not constant.
42191 (FLT_MANT_DIG): Use macro-int-constant.
42192 (DBL_MANT_DIG): Likewise.
42193 (LDBL_MANT_DIG): Likewise.
42194 (FLT_DIG): Likewise.
42195 (DBL_DIG): Likewise.
42196 (LDBL_DIG): Likewise.
42197 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
42198 (DBL_MIN_EXP): Likewise.
42199 (LDBL_MIN_EXP): Likewise.
42200 (FLT_MAX_EXP): Use macro-int-constant.
42201 (DBL_MAX_EXP): Likewise.
42202 (LDBL_MAX_EXP): Likewise.
42203 (FLT_MAX_10_EXP): Likewise.
42204 (DBL_MAX_10_EXP): Likewise.
42205 (LDBL_MAX_10_EXP): Likewise.
42206 (FLT_MAX): Use macro-constant.
42207 (DBL_MAX): Likewise.
42208 (LDBL_MAX): Likewise.
42209 (FLT_EPSILON): Use macro-constant. Give upper bound.
42210 (DBL_EPSILON): Likewise.
42211 (LDBL_EPSILON): Likewise.
42212 (FLT_MIN): Likewise.
42213 (DBL_MIN): Likewise.
42214 (LDBL_MIN): Likewise.
42215 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42216 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42217 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42218 [ISO11] (FLT_HAS_SUBNORM): Likewise.
42219 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42220 [ISO11] (DBL_DECIMAL_DIG): Likewise.
42221 [ISO11] (FLT_DECIMAL_DIG): Likewise.
42222 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42223 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42224 [ISO11] (FLT_TRUE_MIN): Likewise.
42225 [ISO11] (LDBL_TRUE_MIN): Likewise.
42226 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42227 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42228 (SCHAR_MIN): Use macro-int-constant. Specify type.
42229 (SCHAR_MAX): Likewise.
42230 (UCHAR_MAX): Likewise.
42231 (CHAR_MIN): Likewise.
42232 (CHAR_MAX): Likewise.
42233 (MB_LEN_MAX): Use macro-int-constant.
42234 (SHRT_MIN): Use macro-int-constant. Specify type.
42235 (SHRT_MAX): Likewise.
42236 (USHRT_MAX): Likewise.
42237 (INT_MAX): Likewise.
42238 (INT_MIN): Use macro-int-constant. Specify type. Make upper
42240 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
42242 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42244 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
42245 bound negative. Suffix upper bound with "L".
42246 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
42248 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42250 [C99-based standards] (LLONG_MAX): Likewise.
42251 [C99-based standards] (ULLONG_MAX): Likewise.
42252 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
42254 [ISO11] (max_align_t): Require type.
42255 [ISO || ISO99 || ISO11] (*_t): Do not allow.
42257 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42258 from $CFLAGS, without defining away __attribute__ calls.
42259 (checknamespace): Use $CFLAGS_namespace.
42261 * conform/conformtest.pl (@keywords): Only include C99 keywords
42262 for standards based on C99 or C11.
42264 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42266 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42269 * conform/conformtest.pl: Handle "macro-int-constant" and test for
42270 usability of symbols in #if.
42272 * conform/conformtest.pl: If macro or constant types start
42273 "promoted:", expect the symbol to be of the following type
42274 promoted by the integer promotions.
42276 * conform/conformtest.pl: Parse all "constant" and "macro" lines
42277 in one place. Also handle "macro-constant".
42279 * conform/conformtest.pl: Only accept expected macro values with
42280 "==". Parse all "macro" lines in one place.
42281 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42283 * conform/conformtest.pl: Handle braced types on "constant" lines
42284 instead of handling "typed-constant".
42285 * conform/data/signal.h-data: Use "constant" instead of
42288 * conform/conformtest.pl: Handle "optional-" at start of lines in
42289 one place rather than duplicating several cases. Handle each
42290 format of "macro" line with initial "optional-".
42292 * conform/conformtest.pl: Only accept expected constant or
42293 optional-constant values with "==". Parse all "constant" lines in
42294 one place. Parse all "optional-constant" lines in one place.
42295 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42296 * conform/data/fmtmsg.h-data: Likewise.
42297 * conform/data/netinet/in.h-data: Likewise.
42298 * conform/data/tar.h-data: Likewise.
42299 * conform/data/limits.h-data: Use "==" form on "constant" and
42300 "optional-constant" lines.
42302 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42303 Use -std=c99 for XOPEN2K.
42304 (@knownproblems): Remove.
42305 (newtoken): Don't check %isknown.
42307 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42308 Do not expect macro.
42309 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42310 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42311 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42312 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42313 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42314 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42315 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42316 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42317 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42318 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42319 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42320 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42321 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42322 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42323 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42324 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42325 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42326 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42327 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42328 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42329 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42330 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42331 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42332 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42333 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42334 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42335 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42336 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42337 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42338 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42339 [XPG3] (acosh): Likewise.
42340 [XPG3] (asinh): Likewise.
42341 [XPG3] (atanh): Likewise.
42342 [XPG3] (cbrt): Likewise.
42343 [XPG3] (expm1): Likewise.
42344 [XPG3] (ilogb): Likewise.
42345 [XPG3] (log1p): Likewise.
42346 [XPG3] (logb): Likewise.
42347 [XPG3] (nextafter): Likewise.
42348 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42349 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42350 [XPG3] (remainder): Likewise.
42351 [XPG3] (rint): Likewise.
42352 [XPG3 || XPG4 || UNIX98] (round): Likewise.
42353 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42354 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42355 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42356 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42357 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42358 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42359 [UNIX98 || XOPEN2K] (scalb): Expect.
42360 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42361 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42362 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42363 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42364 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42365 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42366 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42367 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42368 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42369 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42370 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42371 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42372 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42373 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42374 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42375 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42376 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42377 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42378 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42379 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42380 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42381 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42382 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42383 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42384 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42385 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42386 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42387 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42388 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42389 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42390 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42391 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42392 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42393 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42394 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42395 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42396 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42397 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42398 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42399 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42400 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42401 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42402 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42403 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42404 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42405 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42406 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42407 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42408 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42409 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42410 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42411 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42412 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42413 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42414 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42415 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42416 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42417 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42418 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42419 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42420 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42421 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42422 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42423 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42424 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42425 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42426 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42427 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42428 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42429 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42430 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42431 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42432 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42433 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42434 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42435 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42436 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42437 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42438 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42439 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42440 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42441 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42442 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42443 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42444 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42445 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42446 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42447 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42448 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42449 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42450 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42451 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42452 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42453 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42454 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42455 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42456 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42457 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42458 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42459 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42460 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42461 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42462 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42463 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42464 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42465 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42466 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42467 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42468 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42469 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42470 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42471 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42472 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42473 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42474 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42475 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42476 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42477 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42478 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42479 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42480 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42481 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42482 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42483 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42484 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42485 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42486 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42487 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42488 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42489 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42490 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42491 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42492 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42493 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42494 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42495 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42496 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42498 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42499 _XOPEN_SOURCE_EXTENDED for XPG4.
42501 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42503 * Makeconfig (localtime): Remove variable.
42504 (inst_localtime-file): Likewise.
42506 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42512 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42514 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42518 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42520 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42524 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42527 2012-05-01 Joseph Myers <joseph@codesourcery.com>
42531 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42532 comparisons to determine direction to adjust input.
42533 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42534 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42535 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42537 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42539 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42541 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42542 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42544 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42546 * math/libm-test.inc (nexttoward_test): Add more tests.
42548 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
42551 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42552 in version GLIBC_2.1, not GLIBC_2.0.
42553 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42556 2012-04-30 Joseph Myers <joseph@codesourcery.com>
42559 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42561 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42562 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42563 * math/libm-test.inc (acos_test): Add more tests.
42564 (asin_test): Likewise.
42565 * sysdeps/i386/fpu/libm-test-ulps: Update.
42566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42569 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42571 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42572 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42573 * math/libm-test.inc (acos_test_tonearest): New function.
42574 (acos_test_towardzero): Likewise.
42575 (acos_test_downward): Likewise.
42576 (acos_test_upward): Likewise.
42577 (asin_test_tonearest): Likewise.
42578 (asin_test_towardzero): Likewise.
42579 (asin_test_downward): Likewise.
42580 (asin_test_upward): Likewise.
42581 (main): Call the new functions.
42582 * sysdeps/i386/fpu/libm-test-ulps: Update.
42583 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42587 * math/e_exp10.c: Include <float.h>.
42588 (__ieee754_exp10): Handle underflow here rather than multiplying
42589 large negative argument by M_LN10.
42590 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42592 * math/e_exp10l.c: Include <float.h>.
42593 (__ieee754_exp10l): Handle underflow here rather than multiplying
42594 large negative argument by M_LN10l.
42595 * math/libm-test.inc (exp10_test): Add another test. Do not allow
42596 spurious overflow exception on underflow.
42598 2012-04-29 Marek Polacek <polacek@redhat.com>
42600 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42601 (__fortify_function): New macro.
42602 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42603 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42604 __extern_always_inline.
42605 * libio/bits/stdio2.h: Likewise.
42606 * libio/bits/stdio.h: Likewise.
42607 * string/string.h: Likewise.
42608 * string/bits/string3.h: Likewise.
42609 * include/stdio.h: Likewise.
42610 * stdlib/bits/stdlib.h: Likewise.
42611 * stdlib/stdlib.h: Likewise.
42612 * rt/bits/mqueue2.h: Likewise.
42613 * rt/mqueue.h: Likewise.
42614 * posix/bits/unistd.h: Likewise.
42615 * posix/unistd.h: Likewise.
42616 * io/bits/poll2.h: Likewise.
42617 * io/bits/fcntl2.h: Likewise.
42618 * io/fcntl.h: Likewise.
42619 * io/sys/poll.h: Likewise.
42620 * misc/bits/syslog.h: Likewise.
42621 * misc/bits/syslog-ldbl.h: Likewise.
42622 * misc/sys/syslog.h: Likewise.
42623 * socket/bits/socket2.h: Likewise.
42624 * socket/sys/socket.h: Likewise.
42625 * debug/tst-chk1.c: Likewise.
42626 * wcsmbs/bits/wchar2.h: Likewise.
42627 * wcsmbs/bits/wchar-ldbl.h: Likewise.
42628 * wcsmbs/wchar.h: Likewise.
42630 2012-04-29 Andreas Jaeger <aj@suse.de>
42632 * Makerules (tests): Remove enable-check-abi protection.
42633 (check-abi-warn): Remove.
42634 (check-abi-%): Remove check-abi-warn usage.
42636 * configure.in: Remove check-abi configure option.
42637 * configure: Regenerated.
42638 * config.make.in (enable-check-abi): Remove.
42640 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
42643 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42644 double functions to double *_finite functions.
42647 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42648 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42650 * stdio-common/Makefile (tests): Add tst-sprintf3.
42651 * stdio-common/tst-sprintf3.c: New file.
42653 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42654 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42656 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42658 * conform/conformtest.pl: Remove duplicate typed-constant
42661 2012-04-28 David S. Miller <davem@davemloft.net>
42663 * Makerules (%.abilist): Add vpath on sysdep_dirs.
42664 (check-abi-%): Remove AWK script prerequisite and explicit
42666 (check-abi): Rewrite to just diff the symlist with the abilist.
42667 (config-tls, config-abi-config): Delete, no longer used.
42668 (update-abi-%): Remove AWK script and explicit abilist directory.
42669 (update-abi): Rewrite to simply compare and conditionally copy the
42670 symlist and the sysdep abilist file. Remove update-abi-config
42672 * abilist/ld.abilist: Remove.
42673 * abilist/libBrokenLocale.abilist: Remove.
42674 * abilist/libanl.abilist: Remove.
42675 * abilist/libcrypt.abilist: Remove.
42676 * abilist/libdl.abilist: Remove.
42677 * abilist/librt.abilist: Remove.
42678 * abilist/libthread_db.abilist: Remove.
42679 * abilist/libutil.abilist: Remove.
42680 * scripts/extract-abilist.awk: Remove.
42681 * scripts/merge-abilist.awk: Remove.
42682 * sysdeps/generic/libcidn.abilist: New file.
42683 * sysdeps/generic/libnss_compat.abilist: New file.
42684 * sysdeps/generic/libnss_db.abilist: New file.
42685 * sysdeps/generic/libnss_dns.abilist: New file.
42686 * sysdeps/generic/libnss_files.abilist: New file.
42687 * sysdeps/generic/libnss_hesiod.abilist: New file.
42688 * sysdeps/generic/libnss_nis.abilist: New file.
42689 * sysdeps/generic/libnss_nisplus.abilist: New file.
42690 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42691 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42692 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42694 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42695 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42696 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42697 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42698 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42699 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42700 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42701 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42702 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42704 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42705 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42706 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42707 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42709 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42710 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42711 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42712 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42713 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42714 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42716 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42717 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42718 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42720 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42721 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42723 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42725 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42727 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42729 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42731 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42733 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42735 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42737 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42739 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42741 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42743 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42745 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42751 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42767 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42769 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42773 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42776 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42778 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42780 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42782 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42784 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42786 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42788 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42790 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42792 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42794 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42796 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42798 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42799 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42801 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42803 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42805 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42807 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42809 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42811 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42813 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42815 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42817 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42819 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42821 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42823 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42824 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42825 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42827 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42828 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42829 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42830 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42831 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42832 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42833 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42834 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42835 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42836 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42837 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42838 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42840 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42842 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42844 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42846 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42848 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42850 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42852 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42854 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42856 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42858 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42860 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42862 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42865 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42867 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42869 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42871 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42873 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42875 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42877 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42879 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42881 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42883 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42885 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42888 2012-04-28 Joseph Myers <joseph@codesourcery.com>
42890 * conform/conformtest.pl: Fix typo in handling typed-constant from
42893 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42895 * README: Cut down references to pre-2.6 Linux kernels and
42896 Linuxthreads. Update lists of configurations in libc and ports
42897 and sort alphabetically. Say "or newer" with Linux kernel version
42900 * config.h.in [IS_IN_build]: Allow compiling without optimization.
42902 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
42905 * math/libm-test.inc (logb_test_downward): New test to expose
42906 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42909 2012-04-27 Joseph Myers <joseph@codesourcery.com>
42912 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42914 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42915 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42917 2012-04-26 Joseph Myers <joseph@codesourcery.com>
42919 * sysdeps/unix/i386/brk.S: Remove file.
42920 * sysdeps/unix/i386/dl-brk.S: Likewise.
42921 * sysdeps/unix/i386/pipe.S: Likewise.
42922 * sysdeps/unix/i386/sigreturn.S: Likewise.
42923 * sysdeps/unix/i386/syscall.S: Likewise.
42924 * sysdeps/unix/i386/vfork.S: Likewise.
42925 * sysdeps/unix/i386/wait.S: Likewise.
42927 * sysdeps/unix/common/tcsendbrk.c: Move to ...
42928 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42930 * configure.in (arm*-none*): Do not allow without
42931 --enable-hacker-mode.
42932 (netbsd*): Remove case setting base_os.
42933 (386bsd*): Likewise.
42934 (freebsd*): Likewise.
42937 (sunos*): Likewise.
42938 (ultrix*): Likewise.
42939 (newsos*): Likewise.
42940 (dynix*): Likewise.
42946 (minix*): Likewise.
42947 (irix4*): Likewise.
42948 (irix6*): Likewise.
42949 (solaris[2-9]*): Likewise.
42951 * configure: Regenerated.
42953 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42956 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42957 overflow or cancellation in calculating denominator.
42958 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42959 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42960 down expression to avoid unexpected rounding in newer GCCs.
42961 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42963 2012-04-26 David S. Miller <davem@davemloft.net>
42965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42966 long-double compat symbols.
42967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42972 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42973 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42974 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42979 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42981 2012-04-25 David S. Miller <davem@davemloft.net>
42983 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42984 HWCAP_* values only after the memory barriers have been defined.
42985 (atomic_full_barrier): Define.
42986 (atomic_read_barrier): Define.
42987 (atomic_write_barrier): Define.
42989 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
42991 * shlib-versions: Add libgcc_s version information.
42992 * sysdeps/generic/libgcc_s.h: Remove.
42993 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42995 * sysdeps/gnu/unwind-resume.c: Likewise.
42996 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42998 2012-04-25 David S. Miller <davem@davemloft.net>
43000 * sysdeps/unix/sparc/brk.S: Delete.
43001 * sysdeps/unix/sparc/dl-brk.S: Delete.
43002 * sysdeps/unix/sparc/pipe.S: Delete.
43003 * sysdeps/unix/sparc/sysdep.S: Delete.
43004 * sysdeps/unix/sparc/sysdep.h: Delete.
43005 * sysdeps/unix/sparc/vfork.S: Delete.
43006 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
43007 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
43008 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
43009 (ret_ERRVAL, r0, r1, MOVE): Define.
43010 (JUMPTARGET): Remove.
43011 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
43012 sysdeps/unix/sparc/sysdep.h
43013 (ENTRY, END): Remove.
43014 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43016 2012-04-25 Joseph Myers <joseph@codesourcery.com>
43018 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
43019 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
43022 * timezone/README: Update upstream location and email address for
43024 * timezone/zdump.c: Update from tzcode 2012b.
43025 * timezone/zic.c: Likewise.
43027 * configure.in (libc_cv_as_needed): Remove test.
43028 * configure: Regenerated.
43029 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
43030 conditional definition.
43031 [$(have-as-needed) != yes] (no-as-needed): Likewise.
43032 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
43033 * config.make.in (have-as-needed): Remove variable.
43035 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
43036 Paul Pluzhnikov <ppluzhnikov@google.com>
43038 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
43041 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
43043 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
43044 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
43045 * sysdeps/sh/strlen.S: Likewise.
43047 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43049 * sysdeps/unix/fork.S: Remove file.
43050 * sysdeps/unix/i386/fork.S: Likewise.
43051 * sysdeps/unix/sparc/fork.S: Likewise.
43053 * sysdeps/unix/system.c: Remove file.
43054 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
43056 * sysdeps/unix/getegid.S: Remove file.
43057 * sysdeps/unix/geteuid.S: Likewise.
43059 2012-04-24 Roland McGrath <roland@hack.frob.com>
43061 * scripts/check-localplt.awk: New file.
43062 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
43064 * scripts/data/localplt-generic.data: Add a comment.
43066 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
43067 NODE when __dir_mkfile failed.
43068 * sysdeps/mach/hurd/symlinkat.c: Likewise.
43069 Reported by Ludovic Courtès <ludo@gnu.org>.
43071 2012-04-24 Andreas Jaeger <aj@suse.de>
43073 * Makerules (common-clean): Also remove gen-as-const-headers
43076 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43078 * Makerules (native-compile): Do not change working directory for
43079 build. Use $(OUTPUT_OPTION) in command.
43080 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
43082 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43085 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
43086 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
43087 * math/libm-test.inc (floor_test): Add more tests.
43088 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
43090 2012-04-24 Joseph Myers <joseph@codesourcery.com>
43092 * sysdeps/unix/getdents.c: Remove file.
43093 * sysdeps/unix/sysv/getdents.c: Likewise.
43094 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
43096 * sysdeps/unix/syscalls.list (madvise): Add syscall from
43097 sysdeps/unix/mman/syscalls.list.
43099 (mprotect): Likewise.
43101 (munmap): Likewise.
43102 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
43103 * sysdeps/unix/mman/syscalls.list: Remove.
43104 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
43106 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
43107 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
43108 * configure: Regenerated.
43109 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
43110 $(libgcc_s_suffix).
43111 * config.make.in (libgcc_s_suffix): Remove variable.
43113 2012-04-23 Joseph Myers <joseph@codesourcery.com>
43115 * sysdeps/unix/sysv/gethostname.c: Move to ...
43116 * sysdeps/posix/gethostname.c: ... here.
43118 * sysdeps/unix/execve.S: Remove file.
43120 * sysdeps/unix/_exit.S: Remove file.
43122 2012-04-23 Andreas Jaeger <aj@suse.de>
43125 * manual/Makefile: Remove make dist support, there's no
43126 need for a stand-alone documentation tar ball.
43127 (TEXI2DVI): Define always, it's not in Makeconfig.
43130 (edition): Removed.
43131 (glibc-doc-$(edition).tar): Removed
43135 (ETAGS): Remove, it's in Makeconfig.
43136 (move-if-change): Remove, it's in Makeconfig.
43138 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
43141 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
43142 (strtod, strtof, strtold, strtol, strtoul, strtoq)
43143 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
43144 (strtod_l, strtof_l, strtold_l): Remove __wur.
43145 It is not necessarily an error to ignore strtol's return value.
43146 One can reliably look at the stored endptr to decide whether
43147 the number had valid syntax.
43149 2012-04-21 Andreas Jaeger <aj@suse.de>
43152 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
43154 2012-04-21 Joseph Myers <joseph@codesourcery.com>
43156 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
43157 * sysdeps/unix/sysv/Versions: Remove file.
43159 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
43162 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43164 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
43167 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43168 version from __vm86.
43170 2012-04-20 Joseph Myers <joseph@codesourcery.com>
43172 * sysdeps/unix/common/lxstat.c: Remove file.
43173 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43175 * sysdeps/unix/sysv/Makefile: Remove file.
43177 * sysdeps/unix/sysv/direct.h: Remove file.
43179 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43180 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43181 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43182 * sysdeps/unix/sysv/bits/signum.h: Likewise.
43183 * sysdeps/unix/sysv/bits/stat.h: Likewise.
43184 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43185 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43187 * sysdeps/unix/sysv/setrlimit.c: Remove file.
43189 * sysdeps/unix/xmknod.c: Remove file.
43190 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43192 * sysdeps/unix/sysv/settimeofday.c: Remove file.
43194 * sysdeps/unix/sysv/i386/time.S: Remove file.
43196 * sysdeps/unix/fxstat.c: Remove file.
43197 * sysdeps/unix/xstat.c: Likewise.
43198 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43200 * sysdeps/unix/sysv/sigaction.c: Remove file.
43202 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43203 (sysdep_headers): Remove variable.
43204 [termio.h not in sysdep_headers] (generated): Likewise.
43205 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43206 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43207 * sysdeps/unix/sysv/tcdrain.c: Likewise.
43208 * sysdeps/unix/sysv/tcflow.c: Likewise.
43209 * sysdeps/unix/sysv/tcflush.c: Likewise.
43210 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43211 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43212 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43213 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43214 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43216 * sysdeps/unix/siglist.c: Remove file.
43218 * sysdeps/unix/getppid.S: Remove file.
43220 * sysdeps/unix/mkdir.c: Remove file.
43221 * sysdeps/unix/rmdir.c: Likewise.
43223 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
43225 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43227 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43228 errlist-compat value.
43230 2012-04-18 David S. Miller <davem@davemloft.net>
43232 * sysdeps/generic/memcopy.h (reg_char): Delete.
43233 * debug/strcat_chk.c: Use char, not reg_char.
43234 * debug/strcpy_chk.c: Likewise.
43235 * debug/strncat_chk.c: Likewise.
43236 * debug/strncpy_chk.c: Likewise.
43237 * string/memchr.c: Likewise.
43238 * string/memrchr.c: Likewise.
43239 * string/rawmemchr.c: Likewise.
43240 * string/strcat.c: Likewise.
43241 * string/strchr.c: Likewise.
43242 * string/strchrnul.c: Likewise.
43243 * string/strcmp.c: Likewise.
43244 * string/strcpy.c: Likewise.
43245 * string/strncat.c: Likewise.
43246 * string/strncmp.c: Likewise.
43247 * string/strncpy.c: Likewise.
43249 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43251 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43252 __builtin_memcopy is called when src and dest ranges are known to not
43255 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43257 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43258 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43259 fwd_align_merge macro call.
43260 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43261 bwd_align_merge macro call.
43262 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43264 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
43266 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43267 bwd_align_merge macros.
43268 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43269 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43270 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43272 2012-04-18 David S. Miller <davem@davemloft.net>
43274 * sysdeps/sparc/sparc64/memcopy.h: Delete.
43276 2012-04-18 Andreas Jaeger <aj@suse.de>
43279 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43280 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43281 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43283 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43284 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43285 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43287 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43288 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43289 Adjust for changed ldbl-128 files.
43291 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43292 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43293 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43295 2012-04-17 David S. Miller <davem@davemloft.net>
43297 * sysdeps/sparc/sparc32/memcopy.h: Delete.
43299 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
43301 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43302 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43303 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43304 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43305 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43306 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43308 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43311 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43312 * math/libm-test.inc: Add ilogb errno and exception tests.
43313 * math/w_ilogb.c: New file: ilogb wrapper.
43314 * math/w_ilogbf.c: New file: ilogbf wrapper.
43315 * math/w_ilogbl.c: New file: ilogbl wrapper.
43316 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43317 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43318 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43319 exception being thrown with 0.0 as argument.
43320 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43321 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43322 exception being thrown with 0.0 as argument.
43323 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43324 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43325 exception being thrown with 0.0 as argument.
43326 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43327 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43328 exception being thrown with 0.0 as argument.
43329 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43330 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43331 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43332 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43333 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43334 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43335 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43336 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43337 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43339 2012-04-17 Petr Baudis <pasky@ucw.cz>
43341 * include/sys/uio.h: Change __vector to __iovec to avoid clash
43344 2012-04-16 Marek Polacek <polacek@redhat.com>
43346 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43348 2012-04-16 Marek Polacek <polacek@redhat.com>
43350 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43351 operands of fdivp instruction.
43353 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43355 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43356 * elf/tst-auditmod3b.c: Likewise.
43357 * elf/tst-auditmod4b.c: Likewise.
43358 * elf/tst-auditmod5b.c: Likewise.
43359 * elf/tst-auditmod6b.c: Likewise.
43360 * elf/tst-auditmod6c.c: Likewise.
43361 * elf/tst-auditmod7b.c: Likewise.
43362 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43363 * sysdeps/x86_64/preconfigure.in: Likewise.
43364 * sysdeps/x86_64/preconfigure: Regenerated.
43366 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
43368 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43371 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
43373 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43374 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43376 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
43379 * locale/iso-639.def: Fix gl language name. Spotted by
43382 2012-04-12 Roland McGrath <roland@hack.frob.com>
43385 * libio/libio.h (__io_write_fn): Update comment.
43387 2012-04-12 Petr Baudis <pasky@ucw.cz>
43390 * stdio.texi (Hook Functions): The user provided writer function
43391 is not allowed to return -1.
43393 2012-04-11 David S. Miller <davem@davemloft.net>
43395 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43397 2012-04-11 Mike Frysinger <vapier@gentoo.org>
43399 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43400 Add a leading slash to rtkaio.
43402 2012-04-11 Jim Meyering <meyering@redhat.com>
43405 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43406 It is not necessarily an error to ignore fwrite's return
43407 value. One can reliably use ferror to test for errors after
43410 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43412 * bits/types.h (__snseconds_t): New type.
43413 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43415 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43416 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43417 (__SNSECONDS_T_TYPE): Likewise.
43418 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43419 (__SNSECONDS_T_TYPE): Likewise.
43420 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43421 (__SNSECONDS_T_TYPE): Likewise.
43423 2012-04-10 Andreas Jaeger <aj@suse.de>
43426 * manual/time.texi (Processor Time): Return type of times is
43427 elapsed real time since an arbitrary point in the past.
43428 (CPU Time): Move CLK_TCK from here...
43429 (Processor Time): ...to here. Correct description.
43430 * manual/conf.texi (Constants for Sysconf): Correct description of
43433 2012-04-10 David S. Miller <davem@davemloft.net>
43436 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43437 where the is a gap between DT_REL(A) and DT_JMPREL.
43439 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
43441 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43442 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43443 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43445 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
43447 * elf/dl-support.c (_dl_inhibit_cache): New variable.
43448 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43449 (dl_main): Handle --inhibit-cache.
43450 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43452 * elf/dl-load.c (_dl_map_object): Use it.
43453 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43455 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43458 * sysdeps/i386/fpu/e_powl.S (p78): New object.
43459 (__ieee754_powl): Saturate large exponents rather than testing for
43460 overflow of y*log2(x).
43461 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43462 * math/libm-test.inc (pow_test): Do not permit spurious overflow
43466 * math/s_ctan.c: Include <float.h>.
43467 (__ctan): Avoid internal overflow or cancellation in calculating
43469 * math/s_ctanf.c: Likewise.
43470 * math/s_ctanl.c: Likewise.
43471 * math/s_ctanh.c: Likewise.
43472 * math/s_ctanhf.c: Likewise.
43473 * math/s_ctanhl.c: Likewise.
43474 * math/libm-test.inc (ctan_test): Add more tests.
43475 (ctanh_test): Likewise.
43476 * sysdeps/i386/fpu/libm-test-ulps: Update.
43477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43479 2012-04-09 Andreas Jaeger <aj@suse.de>
43482 * manual/filesys.texi (Directory Entries): Mention that d_namlen
43483 is an optional BSD extension.
43486 * manual/stdio.texi (Opening Streams): Document additional fopen
43489 2012-04-09 Roland McGrath <roland@hack.frob.com>
43491 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43492 %eax without telling the compiler.
43494 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
43497 * manual/install.texi: Use sourceware.org.
43499 2012-04-09 Joseph Myers <joseph@codesourcery.com>
43502 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43503 (__ieee754_pow): Generate overflow and underflow using huge*huge
43504 and tiny*tiny rather than just returning constant infinity or zero
43505 for large exponents.
43506 * math/libm-test.inc (pow_test): Require overflow exceptions for
43507 applicable cases of large exponents.
43510 * sysdeps/i386/fpu/e_pow.S (p10): New object.
43511 (__ieee754_pow): Use iterative multiplication algorithm only for
43512 integer exponents with absolute value below 1024. Check for odd
43513 integer exponents when using algorithm for real exponents.
43514 * math/libm-test.inc (pow_test): Add more tests.
43515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43517 2012-04-08 Joseph Myers <joseph@codesourcery.com>
43520 * math/libm-test.inc (exp_test): Do not allow overflow exception
43523 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
43526 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43527 instead of __kernel_standard_f.
43529 2012-04-08 Mike Frysinger <vapier@gentoo.org>
43531 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43532 * sysdeps/x86_64/memset_chk.S: Likewise.
43534 2012-04-08 Andreas Jaeger <aj@suse.de>
43537 * manual/startup.texi (Environment Access): Describe return value
43538 for putenv and setenv.
43541 * manual/filesys.texi (Directory Entries): Add description for
43545 * manual/filesys.texi (Directory Entries): Clarify that it's file
43546 system not operating system in the description of DT_UNKNOWN.
43549 * manual/syslog.texi (closelog): Fix reference, it's openlog.
43551 2012-04-08 Stephen Compall <s11@member.fsf.org>
43554 * manual/llio.texi (Opening and Closing Files): Add cross
43555 reference to explain mode argument.
43557 2012-04-07 Mike Frysinger <vapier@gentoo.org>
43559 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43560 * sysdeps/x86_64/memset_chk.S: Likewise.
43562 2012-04-07 David S. Miller <davem@davemloft.net>
43564 * elf/elf.h (R_SPARC_WDISP10): Define.
43565 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43567 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43568 R_SPARC_SIZE64 and R_SPARC_H34.
43570 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
43572 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43573 conditions and remove no longer applicable assertion.
43575 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43577 * bits/byteswap.h: Include <features.h>.
43578 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43579 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43581 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
43583 * bits/byteswap.h (__bswap_16): Removed.
43584 Include <bits/byteswap-16.h> to get __bswap_16.
43585 * sysdeps/i386/bits/byteswap.h: Likewise.
43586 * sysdeps/s390/bits/byteswap.h: Likewise.
43587 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43588 * bits/byteswap-16.h: New file.
43589 * sysdeps/i386/bits/byteswap-16.h: Likewise.
43590 * sysdeps/s390/bits/byteswap-16.h: Likewise.
43591 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43592 * string/Makefile (headers): Add bits/byteswap-16.h.
43594 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
43597 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43599 * nss/Makefile (tests-static, tests): Add tst-nss-static.
43600 * nss/tst-nss-static.c: New.
43602 2012-04-06 Robert Millan <rmh@gnu.org>
43605 * manual/llio.texi (File Position Primitive): lseek
43606 refers to WHENCE when it really means OFFSET.
43608 2012-04-06 Andreas Jaeger <aj@suse.de>
43610 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43611 strncmp declarations.
43613 * abilist/libc.abilist: Add __poll and __ppoll.
43615 2012-04-05 David S. Miller <davem@davemloft.net>
43617 * scripts/check-local-headers.sh: Accept a host triplet in the
43618 path matched by the exclude regexp.
43620 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43622 * sysdeps/powerpc/powerpc32/dl-machine.h
43623 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43624 * sysdeps/s390/s390-32/dl-machine.h
43625 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43626 * sysdeps/sparc/sparc32/dl-machine.h
43627 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43628 * sysdeps/sparc/sparc64/dl-machine.h
43629 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43631 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43633 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43634 undefined symbol errors.
43636 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43639 2012-04-05 Michael Matz <matz@suse.de>
43642 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43644 2012-04-05 Andreas Jaeger <aj@suse.de>
43647 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43650 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43652 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43653 which ROUND is no valid rounding mode.
43655 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43657 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43659 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43661 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43663 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43664 an exception using FPU order intentionally.
43666 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
43668 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43669 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43670 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43671 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43673 2012-04-05 Simon Josefsson <simon@josefsson.org>
43676 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43677 EINVAL when BUFLEN is too smal.
43679 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
43682 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43683 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43685 2012-04-03 Andreas Jaeger <aj@suse.de>
43688 * manual/setjmp.texi (System V contexts): Fix sentence.
43691 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43692 New macro for this case.
43693 [!__GNUC__] (__bswap_64): New inline function for this case.
43694 * sysdeps/x86_64/bits/byteswap.h: Likewise.
43695 * bits/byteswap.h: Likewise.
43696 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43697 ull, guard with __GLIBC_HAVE_LONG_LONG.
43699 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43700 __GLIBC_HAVE_LONG_LONG.
43702 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43703 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43705 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43708 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43709 inptr and inend, rather than using last_ch.
43711 2012-04-02 David S. Miller <davem@davemloft.net>
43713 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43714 * stdio-common/printf-parse.h (read_int): Change return type to
43715 'int', return -1 on INT_MAX overflow.
43716 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43717 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
43718 overflows INT_MAX. Check for overflow of in-format-string precision
43719 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
43720 SIZE_MAX not INT_MAX for integer overflow test.
43721 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43722 skip the construct in the format string but do not record anything.
43723 * stdio-common/bug22.c: Adjust to test both width/prevision
43724 INT_MAX overflow as well as total length INT_MAX overflow. Check
43725 explicitly for proper errno values.
43727 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
43729 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43731 * string/test-strcmp.c [! WIDE]: Likewise.
43732 * time/tst-mktime2.c: Likewise for INT_MAX.
43733 * string/test-string.h: #include <sys/param.h> for MIN.
43735 * csu/init-first.c (__libc_init_first): Call __ctype_init.
43736 * sysdeps/i386/init-first.c (init): Likewise.
43737 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43738 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43739 * sysdeps/sh/init-first.c (init): Likewise.
43741 2012-04-01 Ulrich Drepper <drepper@gmail.com>
43743 * po/ru.po: Update from translation team.
43744 * po/vi.po: Likewise.
43746 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
43748 * resolv/nss_dns/dns-host.c: Merge copyright years.
43750 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
43752 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43753 Optimize memcpy with prefetch if
43754 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
43755 src, dst pointers have unequal 16 byte alignments.
43757 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43760 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43761 from a CNAME entry and return the minimum ttl for the query.
43762 (gaih_getanswer_slice): Likewise.
43764 2012-03-30 Jeff Law <law@redhat.com>
43766 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43768 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43769 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43771 * resolv/nss_dns/dns-host.c: Update copyright year.
43773 2012-03-30 Ulrich Drepper <drepper@gmail.com>
43775 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43776 requests to save a system call. Fix check that all bytes are sent.
43778 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43779 comments for sendmmsg.
43781 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43784 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43785 with only 1 character between 0x0041 and 0x01b0.
43786 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43787 * wcsmbs/tst-mbsnrtowcs.c: New file.
43789 2012-03-29 David S. Miller <davem@davemloft.net>
43791 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43792 small copies by hand.
43794 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
43797 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43798 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43801 2012-03-28 David S. Miller <davem@davemloft.net>
43803 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43804 that branches into memcpy.
43805 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43806 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43807 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43808 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43809 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43811 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43812 implementation too.
43813 * sysdeps/sparc/mempcpy.S: New file.
43815 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43816 the IFUNC routine in the libc case.
43817 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43819 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43820 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43821 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43822 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43823 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43824 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43825 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43826 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43828 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43829 loop to 256 bytes instead of 64 bytes and fix test signedness.
43831 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43832 * sysdeps/sparc/sparc32/Makefile: rather than here...
43833 * sysdeps/sparc/sparc64/Makefile: and here.
43835 2012-03-28 Ulrich Drepper <drepper@gmail.com>
43837 * malloc/mallocbug.c: Avoid warnings about unused variables.
43839 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43842 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43843 in the right place. Discard and retry query if response is
43844 larger than input buffer size.
43846 2012-03-28 Joseph Myers <joseph@codesourcery.com>
43851 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43852 x for large integer exponent.
43853 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43854 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
43855 sign of result as needed afterwards.
43856 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43857 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43858 result for underflowing pow the same as for overflow.
43859 (__kernel_standard_l): Handle powl overflow and underflow here
43860 rather than calling __kernel_standard.
43861 * math/libm-test.inc (pow_test): Add more tests.
43876 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43877 * sysdeps/ieee754/k_standard.c: Include <float.h>.
43878 (__kernel_standard_l): New function.
43879 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43881 * math/w_acosl.c (__acosl): Likewise.
43882 * math/w_asinl.c (__asinl): Likewise.
43883 * math/w_atan2l.c (__atan2l): Likewise.
43884 * math/w_atanhl.c (__atanhl): Likewise.
43885 * math/w_coshl.c (__coshl): Likewise.
43886 * math/w_exp10l.c (__exp10l): Likewise.
43887 * math/w_exp2l.c (__exp2l): Likewise.
43888 * math/w_fmodl.c (__fmodl): Likewise.
43889 * math/w_hypotl.c (__hypotl): Likewise.
43890 * math/w_j0l.c (__j0l, __y0l): Likewise.
43891 * math/w_j1l.c (__j1l, __y1l): Likewise.
43892 * math/w_jnl.c (__jnl, __ynl): Likewise.
43893 * math/w_lgammal.c (__lgammal): Likewise.
43894 * math/w_log10l.c (__log10l): Likewise.
43895 * math/w_log2l.c (__log2l): Likewise.
43896 * math/w_logl.c (__logl): Likewise.
43897 * math/w_powl.c (__powl): Likewise.
43898 * math/w_remainderl.c (__remainderl): Likewise.
43899 * math/w_scalbl.c (sysv_scalbl): Likewise.
43900 * math/w_sinhl.c (__sinhl): Likewise.
43901 * math/w_sqrtl.c (__sqrtl): Likewise.
43902 * math/w_tgammal.c (__tgammal): Likewise.
43903 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43904 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43905 * math/libm-test.inc (acos_test): Add more tests.
43906 (acosh_test): Likewise.
43907 (asin_test): Likewise.
43908 (atanh_test): Likewise.
43909 (exp_test): Likewise.
43910 (exp10_test): Likewise.
43911 (exp2_test): Likewise.
43912 (expm1_test): Likewise.
43913 (lgamma_test): Likewise.
43914 (log_test): Likewise.
43915 (log10_test): Likewise.
43916 (log1p_test): Likewise.
43917 (log2_test): Likewise.
43918 (pow_test): Do not allow some spurious overflow exceptions.
43919 (sqrt_test): Add more tests.
43920 (tgamma_test): Likewise.
43921 (y0_test): Likewise.
43922 (y1_test): Likewise.
43923 (yn_test): Likewise.
43925 2012-03-27 Anton Blanchard <anton@samba.org>
43927 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43929 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43930 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43931 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43933 2012-03-27 David S. Miller <davem@davemloft.net>
43935 * conform/Makefile: Run run-conformtest.sh using $(BASH).
43937 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43938 have-as-vis3 check.
43940 2012-03-27 Andreas Jaeger <aj@suse.de>
43942 * sysdeps/x86_64/elf/configure.in: Moved to ...
43943 * sysdeps/x86_64/configure.in: ... here.
43944 * sysdeps/x86_64/elf/start.S: Moved to ...
43945 * sysdeps/x86_64/start.S: ... here.
43946 * sysdeps/x86_64/elf/configure: Delete.
43948 * sysdeps/x86_64/configure.in: Merge contents from
43949 sysdeps/i386/configure.in (without i686 check).
43951 * sysdeps/i386/elf/Versions: Merge into ...
43952 * sysdeps/i386/Versions: ... this.
43953 * sysdeps/i386/elf/Versions: Delete file.
43954 * sysdeps/i386/elf/start.S: Moved to ...
43955 * sysdeps/i386/start.S: ...here.
43956 * sysdeps/i386/elf/configure.in: Merge into...
43957 * sysdeps/i386/configure.in: ...here.
43958 * sysdeps/i386/elf/configure.in: Delete file.
43959 * sysdeps/i386/elf/configure: Delete file.
43961 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43962 * debug/backtracesyms.c: ... here.
43963 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43964 * debug/backtracesymsfd.c: ... here.
43965 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43966 * sysdeps/generic/ifunc-sel.h: ... here.
43968 * sysdeps/unix/i386/start.c: Delete file.
43969 * sysdeps/unix/sparc/start.c: Delete file.
43970 * sysdeps/unix/start.c: Delete file.
43972 * sysdeps/sh/elf/configure.in: Moved to ...
43973 * sysdeps/sh/configure.in: ... here.
43974 * sysdeps/sh/elf/start.S: Moved to ...
43975 * sysdeps/sh/start.S: ... here.
43976 * sysdeps/sh/elf/configure: Delete file.
43978 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43979 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43980 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43981 * sysdeps/powerpc/powerpc64/entry.h: ... here.
43982 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43983 * sysdeps/powerpc/powerpc64/start.S: here.
43984 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43985 * sysdeps/powerpc/powerpc64/Makefile: ... this.
43986 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43987 * sysdeps/powerpc/powerpc64/configure.in: ... this.
43988 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43990 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43991 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43992 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43993 * sysdeps/powerpc/powerpc32/start.S: ... here.
43994 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43995 * sysdeps/powerpc/powerpc32/configure.in: ... this.
43996 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43998 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43999 * sysdeps/powerpc/ifunc-sel.h: ... here.
44000 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
44001 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
44003 * sysdeps/sparc/elf/configure.in: Moved to ...
44004 * sysdeps/sparc/configure.in: ... here.
44005 * sysdeps/sparc/elf/configure: Delete file.
44006 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
44007 * sysdeps/sparc/sparc32/start.S: ... here.
44008 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
44009 * sysdeps/sparc/sparc64/start.S: ... here.
44010 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
44011 * sysdeps/sparc/sparc32/Makefile: ... this.
44012 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
44013 * sysdeps/sparc/sparc64/Makefile: ... this.
44015 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
44016 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
44017 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
44018 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
44019 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
44020 * sysdeps/s390/s390-32/setjmp.S: ... here.
44021 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
44022 * sysdeps/s390/s390-32/configure.in: ... here.
44023 * sysdeps/s390/s390-32/elf/configure: Delete file.
44024 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
44025 * sysdeps/s390/s390-32/start.S: ... here.
44027 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
44028 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
44029 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
44030 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
44031 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
44032 * sysdeps/s390/s390-64/setjmp.S: ... here.
44033 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
44034 * sysdeps/s390/s390-64/configure.in: ... here
44035 * sysdeps/s390/s390-64/elf/configure: Delete file.
44036 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
44037 * sysdeps/s390/s390-64/start.S: ... here.
44038 * sysdeps/s390/s390-64/elf/configure: Delete.
44040 * configure.in: Remove support for elf directories in sysdeps.
44042 * configure: Regenerated.
44043 * sysdeps/i386/configure: Regenerated.
44044 * sysdeps/powerpc/powerpc32/configure: Regenerated.
44045 * sysdeps/powerpc/powerpc64/configure: Regenerated.
44046 * sysdeps/s390/s390-32/configure: Regenerated.
44047 * sysdeps/s390/s390-64/configure: Regenerated.
44048 * sysdeps/sh/configure: Regenerated.
44049 * sysdeps/sparc/configure: Regenerated.
44050 * sysdeps/x86_64/configure: Regenerated.
44052 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
44054 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44056 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
44057 denormal result into account.
44059 2012-03-25 Roland McGrath <roland@hack.frob.com>
44061 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
44062 Reported by Allan McRae <allan@archlinux.org>.
44064 2012-03-23 Jeff Law <law@redhat.com>
44066 * nss/getnssent.c (__nss_getent): Fix typo.
44068 2012-03-23 David S. Miller <davem@davemloft.net>
44070 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44072 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
44074 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
44075 to pad to uint64_t for each field.
44076 (dl_tls_index): Replace unsigned long with uint64_t.
44078 2012-03-23 Daniel Jacobowitz <dmj@google.com>
44079 Paul Pluzhnikov <ppluzhnikov@google.com>
44082 * grp/Makefile (otherlibs): Don't set it.
44083 * inet/Makefile (otherlibs): Likewise.
44084 * login/Makefile (otherlibs): Likewise.
44085 * nscd/Makefile (otherlibs): Likewise.
44086 * posix/Makefile (otherlibs): Likewise.
44087 * pwd/Makefile (otherlibs): Likewise.
44088 * rt/Makefile (otherlibs): Likewise.
44089 * sunrpc/Makefile (otherlibs): Likewise.
44090 * nss/Makefile (otherlibs): Likewise.
44091 Add libnss_files to routines and static-only-routines.
44092 ($(objpfx)getent): Remove rule.
44093 * resolv/Makefile: Add libnss_dns and libresolv to routines and
44094 static-only-routines.
44096 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44099 * math/s_cexp.c: Include <float.h>.
44100 (__cexp): Handle exp result overflowing not necessarily
44101 overflowing both real and imaginary parts of result.
44102 * math/s_cexpf.c: Likewise.
44103 * math/s_cexpl.c: Likewise.
44104 * math/libm-test.inc (cexp_test): Add more tests.
44105 * sysdeps/i386/fpu/libm-test-ulps: Update.
44106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44108 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44110 * include/link.h (ELFW): New macro.
44111 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
44112 Replace ELF64_R_TYPE with ELFW(R_TYPE).
44114 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44116 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
44119 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44121 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
44123 (struct La_x32_retval): Likewise.
44125 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
44127 * sysdeps/x86_64/preconfigure.in: New file.
44128 * sysdeps/x86_64/preconfigure: New generated file.
44130 2012-03-22 Joseph Myers <joseph@codesourcery.com>
44133 * math/e_exp2l.c: Include <float.h>.
44134 (__ieee754_exp2l): Handle overflow and underflow cases
44135 separately. Only pass fractional part of argument to
44137 * math/libm-test.inc (exp2_test): Add more tests.
44139 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
44140 negating x to take absolute value.
44141 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
44143 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
44144 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
44146 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
44147 computing low part if x was negated.
44148 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
44150 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44152 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
44153 la_x32_gnu_pltexit.
44154 (pltexit): Cast int_retval to ptrdiff_t.
44155 * elf/tst-auditmod3b.c: Likewise.
44156 * elf/tst-auditmod4b.c: Likewise.
44157 * elf/tst-auditmod5b.c: Likewise.
44158 * elf/tst-auditmod6b.c: Likewise.
44159 * elf/tst-auditmod6c.c: Likewise.
44160 * elf/tst-auditmod7b.c: Likewise.
44162 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44163 and x32_gnu_pltexit.
44165 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44166 __ELF_NATIVE_CLASS.
44167 (La_x32_regs): New macro.
44168 (La_x32_retval): Likewise.
44169 (la_x32_gnu_pltenter): New function prototype.
44170 (la_x32_gnu_pltexit): Likewise.
44172 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
44174 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44177 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44179 * configure.in (libc_cv_cc_nofma): Check for option to disable
44180 generation of FMA instructions.
44181 * configure: Regenerate.
44182 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44183 * sysdeps/ieee754/dbl-64/Makefile: New file.
44184 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44185 Remove brandred-fma4.
44186 (CFLAGS-brandred-fma4.c): Remove.
44187 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44188 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44190 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44193 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44195 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44196 LLONG_MAX != LONG_MAX.
44197 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44198 (_fitoa_word): Likewise.
44199 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44200 LLONG_MAX != LONG_MAX.
44201 * stdio-common/_itowa.h: Include <_itoa.h>.
44202 (_itowa_word): Use _ITOA_WORD_TYPE on value.
44203 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
44204 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
44205 only if not defined.
44206 (_ITOA_WORD_TYPE): Likewise.
44207 (_itoa_word): Use _ITOA_WORD_TYPE on value.
44208 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44210 2012-03-21 David S. Miller <davem@davemloft.net>
44212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44214 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
44216 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44217 of x86_64 when setting libc_cv_slibdir, libdir and
44219 * sysdeps/unix/sysv/linux/configure: Regenerated.
44221 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44223 * manual/lang.texi (Old Varargs): Remove section.
44224 (How Variadic): Update menu.
44225 (va_start): Do not mention varargs.h.
44227 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44228 Joseph Myers <joseph@codesourcery.com>
44230 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44232 * configure: Regenerated.
44234 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
44236 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44237 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44240 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44243 * Makefile (files-for-dist): Remove NOTES.
44244 (NOTES): Remove rule.
44245 * README: Don't refer to NOTES.
44246 * manual/creature.texi: Don't include macros.texi.
44247 * manual/intro.texi (creature.texi): Remove comment referring to
44250 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44251 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44252 * configure: Regenerated.
44253 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44254 LIBC_TRY_CC_OPTION.
44255 (libc_cv_as_i686): Likewise.
44256 (libc_cv_cc_avx): Likewise.
44257 (libc_cv_cc_sse2avx): Likewise.
44258 (libc_cv_cc_fma4): Likewise.
44259 (libc_cv_cc_novzeroupper): Likewise.
44260 * sysdeps/i386/configure: Regenerated.
44263 * sysdeps/i386/fpu/s_cexp.S: Remove.
44264 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44265 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44266 * math/libm-test.inc (cexp_test): Add more tests.
44267 * sysdeps/i386/fpu/libm-test-ulps: Update.
44268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44270 2012-03-21 Allan McRae <allan@archlinux.org>
44272 * timezone/Makefile: Do not install iso3166.tab and zone.tab
44274 2012-03-21 Joseph Myers <joseph@codesourcery.com>
44277 * math/w_exp2.c: Do not include <float.h>.
44278 (o_threshold, u_threshold): Remove.
44279 (__exp2): Calculate result before checking finiteness and calling
44281 * math/w_exp2f.c: Likewise.
44282 * math/w_exp2l.c: Likewise.
44283 * math/libm-test.inc (exp2_test): Require overflow exception for
44287 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44288 range of signed 64-bit integers before using fistpll. Remove
44289 checks for whether integers fit in mantissa bits.
44290 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44291 the range of signed 32-bit integers before using fistpl. Remove
44292 checks for whether integers fit in mantissa bits.
44293 * sysdeps/i386/fpu/e_powl.S (p64): New object.
44294 (__ieee754_powl): Test for y outside the range of signed 64-bit
44295 integers before using fistpll. Reduce 64-bit values to 63-bit
44297 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44298 divide-by-zero is raised for zero to large negative powers.
44299 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44300 (__ieee754_powl): Test for y outside the range of signed 64-bit
44301 integers before using fistpll. Reduce 64-bit values to 63-bit
44303 * math/libm-test.inc (pow_test): Add more tests.
44305 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44307 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44308 <stdio-common/_itoa.h>.
44309 * debug/segfault.c: Likewise.
44310 * elf/dl-cache.c: Likewise.
44311 * elf/dl-minimal.c: Likewise.
44312 * elf/dl-misc.c: Likewise.
44313 * elf/dl-sysdep.c: Likewise.
44314 * elf/dl-version.c: Likewise.
44315 * elf/rtld.c: Likewise.
44316 * hurd/hurdsock.c: Likewise.
44317 * hurd/lookup-retry.c: Likewise.
44318 * malloc/malloc.c: Likewise.
44319 * malloc/mtrace.c: Likewise.
44320 * nscd/nscd_getgr_r.c: Likewise.
44321 * nscd/nscd_getpw_r.c: Likewise.
44322 * nscd/nscd_getserv_r.c: Likewise.
44323 * posix/getopt_init.c: Likewise.
44324 * posix/wordexp.c: Likewise.
44325 * stdio-common/_itoa.c: Likewise.
44326 * stdio-common/printf_fphex.c: Likewise.
44327 * stdio-common/vfprintf.c: Likewise.
44328 * string/_strerror.c: Likewise.
44329 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44330 * sysdeps/i386/i686/hp-timing.h: Likewise.
44331 * sysdeps/mach/_strerror.c: Likewise.
44332 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44333 * sysdeps/mach/hurd/sethostid.c: Likewise.
44334 * sysdeps/mach/hurd/xmknodat.c: Likewise.
44335 * sysdeps/mach/xpg-strerror.c: Likewise.
44336 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44337 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44338 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44339 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44340 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44341 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44342 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44343 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44344 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44345 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44346 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44347 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44348 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44349 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44350 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44351 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44352 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44353 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44354 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44355 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44356 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44358 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44360 * stdio-common/_itoa.h: Moved to ...
44361 * sysdeps/generic/_itoa.h: Here.
44363 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44365 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44366 instead of "_itoa.h" and "_itowa.h".
44367 * stdio-common/vfprintf.: Likewise.
44369 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44371 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44373 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44374 (__signbit): Likwise.
44375 (llrintf): Likwise.
44378 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
44380 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44383 2012-03-20 Joseph Myers <joseph@codesourcery.com>
44385 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44386 OVERFLOW_EXCEPTION_OK.
44387 * math/libm-test.inc ("Philosophy"): Update comment about
44389 (OVERFLOW_EXCEPTION): Define.
44390 (OVERFLOW_EXCEPTION_OK): Likewise.
44391 (INVALID_EXCEPTION_OK): Renumber.
44392 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44393 (IGNORE_ZERO_INF_SIGN): Likewise.
44394 (test_exceptions): Handle FE_OVERFLOW.
44395 (exp10_test): Expect overflow exceptions.
44396 (exp2_test): Likewise.
44397 (expm1_test): Likewise.
44398 (nextafter_test): Likewise.
44399 (pow_test): Likewise.
44400 (scalbn_test): Likewise.
44401 (scalbln_test): Likewise.
44403 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44405 * sysdeps/x86_64/bits/atomic.h
44406 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44408 (atomic_exchange_acq): Likewise.
44409 (__arch_exchange_and_add_body): Likewise.
44410 (__arch_add_body): Likewise.
44411 (atomic_add_negative): Likewise.
44412 (atomic_add_zero): Likewise.
44414 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44416 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44417 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44419 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44421 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44422 Check __x86_64__ instead of __WORDSIZE.
44424 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44426 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44428 2012-03-19 David S. Miller <davem@davemloft.net>
44430 * sysdeps/sparc/fpu/libm-test-ulps: Update.
44432 * sysdeps/sparc/fpu/fenv_private.h: New file.
44433 * sysdeps/sparc/fpu/math_private.h: Use it.
44434 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44436 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44437 (libc_feholdexcept_setroundl): Remove.
44438 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44440 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44441 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44443 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44445 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44446 int64_t instead of long int.
44447 (INSERT_WORDS64): Likwise.
44449 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
44451 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44452 _Unwind_GetCFA return to _Unwind_Ptr first.
44454 2012-03-19 Joseph Myers <joseph@codesourcery.com>
44457 * math/s_clog.c: Include <float.h>.
44458 (__clog): Scale large or subnormal inputs.
44459 * math/s_clogf.c: Likewise.
44460 * math/s_clogl.c: Likewise.
44461 * math/s_clog10.c: Include <float.h>.
44462 (M_LOG10_2): Define.
44463 (__clog10): Scale large or subnormal inputs.
44464 * math/s_clog10f.c: Likewise.
44465 * math/s_clog10l.c: Likewise.
44466 * math/libm-test.inc (clog_test): Add more tests.
44467 (clog10_test): Likewise.
44468 * sysdeps/i386/fpu/libm-test-ulps: Update.
44469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44472 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44474 * math/libm-test.inc (atan2_test): Add another test.
44476 * Makerules (common-objdir-compile): Remove.
44477 * sysdeps/unix/Makefile (config-generated): Do not add
44478 $(unix-generated) to variable.
44479 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44480 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44482 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44484 [generic bits/local_lim.h] (before-compile): Do not append to
44486 [generic bits/local_lim.h] (common-generated): Likewise.
44487 [generic sys/param.h] (before-compile): Do not append to variable.
44488 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44489 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44490 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44491 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44493 [generic sys/param.h] (sys/param.h-includes): Remove variable.
44494 [generic sys/param.h] (sys/param.h-includes): Remove rule.
44495 [generic sys/param.h] ($(addprefix
44496 $(common-objpfx),$(sys/param.h-includes))): Likewise.
44497 [generic sys/param.h] (common-generated): Do not append to
44499 [generic sys/param.h] (sysdep_headers): Likewise.
44500 [generic bits/errno.h] (before-compile): Do not append to
44502 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44504 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44505 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44506 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44507 [generic bits/errno.h] (common-generated): Do not append to
44509 [generic bits/ioctls.h] (before-compile): Do not append to
44511 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44513 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44514 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44515 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44517 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44518 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44519 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44520 [generic bits/ioctls.h] (common-generated): Do not append to
44522 [generic sys/syscall.h] (syscall.h): Remove variable.
44523 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44525 [generic sys/syscall.h] (before-compile): Do not append to
44527 [generic sys/syscall.h] (common-generated): Likewise.
44528 * sysdeps/unix/errnos-tmpl.c: Remove file.
44529 * sysdeps/unix/errnos.awk: Likewise.
44530 * sysdeps/unix/ioctls-tmpl.c: Likewise.
44531 * sysdeps/unix/ioctls.awk: Likewise.
44532 * sysdeps/unix/mk-local_lim.c: Likewise.
44533 * sysdeps/unix/snarf-ioctls: Likewise.
44535 2012-03-19 Richard Henderson <rth@twiddle.net>
44537 * sysdeps/i386/fpu/fenv_private.h: New file.
44538 * sysdeps/i386/fpu/math_private.h: Use it.
44539 (math_opt_barrier, math_force_eval): Remove.
44540 (libc_feholdexcept_setround_53bit): Remove.
44541 (libc_feupdateenv_53bit): Remove.
44542 * sysdeps/x86_64/fpu/math_private.h: Likewise.
44543 (math_opt_barrier, math_force_eval): Remove.
44544 (libc_feholdexcept): Remove.
44545 (libc_feholdexcept_setround): Remove.
44546 (libc_fetestexcept, libc_fesetenv): Remove.
44547 (libc_feupdateenv_test): Remove.
44548 (libc_feupdateenv, libc_feholdsetround): Remove.
44549 (libc_feresetround): Remove.
44551 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44552 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44554 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44555 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44556 (libc_feupdateenv_testl): New.
44557 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44558 (libc_feupdateenv_testf): New.
44559 (libc_feupdateenv): Use libc_feupdateenv_test.
44560 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44561 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44563 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44564 (libc_feholdsetroundf, libc_feholdsetroundl): New.
44565 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44566 (libc_feresetround_noex): New.
44567 (libc_feresetround_noexf): New.
44568 (libc_feresetround_noexl): New.
44569 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44570 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44571 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44572 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44575 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44577 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44578 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44579 SET_RESTORE_ROUND_NOEX.
44580 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44581 SET_RESTORE_ROUND_NOEXF.
44582 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44583 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44584 (libc_feholdsetroundf): New.
44585 (libc_feresetround, libc_feresetroundf): New.
44587 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44588 (libc_feholdexcept_setround_53bit): Convert from macro to function.
44589 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
44591 * sysdeps/generic/math_private.h: Include <fenv.h>.
44592 (default_libc_feholdexcept): New.
44593 (default_libc_feholdexcept_setround): New.
44594 (default_libc_fesetenv, default_libc_feupdateenv): New.
44595 (libc_feholdexcept): Only define if undefined.
44596 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44597 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44598 (libc_feholdexcept_setroundl): Likewise.
44599 (libc_feholdexcept_setround_53bit): Likewise.
44600 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44601 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44602 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44603 (libc_feupdateenv_53bit): Likewise.
44604 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44605 (libc_feholdexcept): Convert from macro to inline function.
44606 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44607 (libc_fesetenv, libc_feupdateenv): Likewise.
44609 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44610 not previously defined.
44611 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44612 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44613 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44614 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44615 * sysdeps/ieee754/flt-32/math_private.h: New file.
44616 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44617 math_private.h below SET_FLOAT_WORD.
44618 (__isnan, __isinf_ns, __finite): Remove.
44619 (__isnanf, __isinf_nsf, __finitef): Remove.
44621 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
44623 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44625 2012-03-17 David S. Miller <davem@davemloft.net>
44628 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44631 2012-03-16 David S. Miller <davem@davemloft.net>
44633 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44637 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44639 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44640 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44641 sysdep_routines when subdir is sysvipc.
44642 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44643 __getshmlba helper.
44645 * sysdeps/sparc/fpu/libm-test/ulps: Update.
44647 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44649 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44652 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44654 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44655 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44656 (__lround): Renamed to ...
44657 (__llround): This. Replace long int with long long int.
44658 Define lround functions as aliases of llround functions.
44659 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44661 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44663 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44664 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
44665 adresses to uintptr_t. Replace "long int" and "unsigned long
44666 int" with "greg_t" on va_arg.
44668 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44670 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44671 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44673 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44674 Move e_machine check before EI_CLASS check. Handle x32
44675 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44676 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44677 SKIP_EM_IA_64 and include
44678 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44680 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44681 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44682 (add_system_dir): New macro.
44684 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44685 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44687 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44698 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44700 * math/w_j0f.c (j0f): Likewise.
44702 * math/w_j0l.c (__j0l): Likewise.
44704 * math/w_j1.c (j1): Likewise.
44706 * math/w_j1f.c (j1f): Likewise.
44708 * math/w_j1l.c (__j1l): Likewise.
44710 * math/w_jn.c (jn): Likewise.
44712 * math/w_jnf.c (jnf): Likewise.
44714 * math/w_jnl.c (__jnl): Likewise.
44716 * math/libm-test.inc (j0_test): Add more tests.
44717 (j1_test): Likewise.
44718 (jn_test): Likewise. Add trailing semicolon to existing test.
44719 (y0_test): Likewise.
44720 (y1_test): Likewise.
44721 * sysdeps/i386/fpu/libm-test-ulps: Update.
44722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44726 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44727 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44728 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44729 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44730 (__tanl): Set errno for infinite argument.
44731 * sysdeps/i386/fpu/mptan.c: Remove.
44732 * sysdeps/i386/fpu/s_tan.S: Likewise.
44733 * sysdeps/i386/fpu/s_tanl.S: Likewise.
44734 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44735 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44736 * math/libm-test.inc (tan_test): Add more tests and enable more
44737 tests for double and long double.
44738 * sysdeps/i386/fpu/libm-test-ulps: Update.
44739 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44741 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
44743 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44744 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44746 2012-03-16 Roland McGrath <roland@hack.frob.com>
44748 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44749 * configure.in: Use it for both main tree and add-ons.
44750 * configure: Regenerated.
44752 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
44754 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44756 2012-03-16 Joseph Myers <joseph@codesourcery.com>
44758 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44762 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44763 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44764 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44765 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44766 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44768 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44769 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44770 != 0 for prec == 2.
44771 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44772 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44773 * sysdeps/i386/fpu/s_cosl.S: Likewise.
44774 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44775 * sysdeps/i386/fpu/s_sinl.S: Likewise.
44776 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44777 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44778 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44779 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44780 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44781 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44782 * math/libm-test.inc (cos_test): Add more tests and enable more
44783 tests for long double.
44784 (sin_test): Likewise.
44785 (sincos_test): Likewise.
44786 * sysdeps/i386/fpu/libm-test-ulps: Update.
44787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44789 2012-03-16 David S. Miller <davem@davemloft.net>
44791 * sysdeps/sparc/fpu/math_private.h: New file.
44793 2012-03-15 David S. Miller <davem@davemloft.net>
44795 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44797 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44798 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44800 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44801 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44802 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44803 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44804 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44805 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44807 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44809 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44810 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44812 * sysdeps/sparc/sparc-ifunc.h: New file.
44813 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44815 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44816 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44818 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44820 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44821 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44822 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44823 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44825 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44826 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44828 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44829 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44831 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44834 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44836 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44837 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44838 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44839 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44840 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44841 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44842 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44843 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44844 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44845 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44846 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44847 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44848 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44849 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44850 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44851 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44852 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44853 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44854 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44855 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44856 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44858 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44860 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44864 2012-03-15 Andreas Jaeger <aj@suse.de>
44867 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44868 ieee754/flt-32 implementation for sin, cos and sincos.
44869 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44870 * sysdeps/i386/fpu/s_cosf.S: Likewise.
44871 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44872 * sysdeps/i386/fpu/s_sinf.S: Likewise.
44873 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44874 ieee754/flt-32 implementation for tan.
44876 * math/libm-test.inc (cos_test): Enable some large input tests for
44878 (sin_test): Likewise.
44879 (sincos_test): Likewise.
44880 (tan_test): Add tests for large input.
44882 * sysdeps/i386/fpu/libm-test-ulps: Update.
44884 2012-03-15 Andreas Jaeger <aj@suse.de>
44887 * math/libm-test.inc (cos_test): Add more test cases.
44888 (sin_test): Likewise.
44889 (sincos_test): Likewise.
44891 2012-03-15 Andreas Jaeger <aj@suse.de>
44894 * math/libm-test.inc (cos_test): Add a test case for large input
44896 (sin_test): Likewise.
44897 (sincos_test): Likewise.
44899 2012-03-15 Andreas Jaeger <aj@suse.de>
44900 Joseph Myers <joseph@codesourcery.com>
44903 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44904 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44905 * sysdeps/i386/fpu/branred.c: Likewise.
44906 * sysdeps/i386/fpu/dosincos.c: Likewise.
44907 * sysdeps/i386/fpu/mpa.c: Likewise.
44908 * sysdeps/i386/fpu/s_cos.S: Likewise.
44909 * sysdeps/i386/fpu/s_sin.S: Likewise.
44910 * sysdeps/i386/fpu/s_sincos.S: Likewise.
44911 * sysdeps/i386/fpu/sincos32.c: Likewise.
44913 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44915 (libc_feupdateenv_53bit): Define.
44916 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44918 (libc_feupdateenv_53bit): Define.
44920 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44921 53 bit (without extend i386 double precision).
44923 * math/libm-test.inc (sincos_test): Add tests for large input.
44927 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44929 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
44931 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44933 2012-03-15 David S. Miller <davem@davemloft.net>
44935 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44936 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44937 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44938 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44941 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44942 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44943 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44944 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44945 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44946 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44947 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44948 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44949 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44962 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44963 fmin/fmax sysdep routines.
44964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44966 2012-03-14 David S. Miller <davem@davemloft.net>
44968 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44969 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44972 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44973 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44974 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44975 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44976 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44977 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44978 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44979 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44980 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44981 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44982 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44983 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44984 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44985 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44986 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44987 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44988 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44989 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44990 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44991 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44992 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44993 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44994 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44995 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44996 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
45000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
45001 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
45003 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
45004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
45006 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
45007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
45009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
45010 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
45012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
45013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
45015 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
45017 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
45019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
45021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
45023 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
45025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
45027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
45028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
45030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
45031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
45033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
45034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
45036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
45037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
45040 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
45043 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45045 * sysdeps/sparc/configure.in: New file.
45046 * sysdeps/sparc/configure: Generate.
45047 * configure.in (libc_cv_sparc_as_vis3): Substitute.
45048 * configure: Regenerate.
45049 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
45050 * config.make.in (have-as-vis3): New.
45051 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
45052 available use -Av9d instead of -Av9a.
45053 * sysdeps/sparc/sparc64/Makefile: Likewise.
45054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
45055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
45057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
45059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
45061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
45063 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
45064 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
45065 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
45066 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
45067 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
45069 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
45070 fzeros/fnegs to load 0x80000000 into a float register instead of
45072 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
45074 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45076 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45078 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
45079 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
45080 ($(inst_includedir)/bits/syscall.h): Remove rule.
45081 ($(objpfx)bits/syscall.d): Include instead of
45082 $(objpfx)syscall-list.d.
45083 (generated): Change syscall-list.h and syscall-list.d to
45084 bits/syscall.h and bits/syscall.d.
45086 2012-03-14 Roland McGrath <roland@hack.frob.com>
45089 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
45091 2012-03-14 Joseph Myers <joseph@codesourcery.com>
45094 * math/s_csqrt.c: Include <float.h>.
45095 (__csqrt): Scale large or subnormal inputs.
45096 * math/s_csqrtf.c: Likewise.
45097 * math/s_csqrtl.c: Likewise.
45098 * math/libm-test.inc (csqrt_test): Add more tests.
45099 * sysdeps/i386/fpu/libm-test-ulps: Update.
45100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45103 * math/libm-test.inc (hypot_test): Add more tests.
45105 2012-03-13 David S. Miller <davem@davemloft.net>
45108 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
45109 double-precision for the calculation instead of scaling.
45111 2012-03-13 Joseph Myers <joseph@codesourcery.com>
45113 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
45114 manipulate bits before adding and subtracting TWO52[sx].
45115 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
45116 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
45118 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
45120 2012-03-13 David S. Miller <davem@davemloft.net>
45122 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
45123 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
45124 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
45125 rtld-global-offsets.h
45126 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
45128 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
45131 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
45133 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
45134 'err' in the ifdef scope in which it is actually used.
45136 * nss/nss_db/db-init.c: Include string.h
45138 2012-03-12 David S. Miller <davem@davemloft.net>
45140 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
45141 masking out of the most significant byte of random value used.
45142 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45143 Fix coding style in previous change.
45145 * sysdeps/unix/sysv/linux/kernel-features.h
45146 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
45147 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
45149 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
45152 2012-03-11 David S. Miller <davem@davemloft.net>
45154 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
45155 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
45156 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
45157 for 'resultvar' otherwise things get truncated on 64-bit.
45159 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45160 Fix masking out of the most significant byte of random value used.
45162 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45164 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
45166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45168 2012-03-09 David S. Miller <davem@davemloft.net>
45170 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45171 variables with appropriate CPP guards.
45172 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45173 from the frame pointer, not the stack pointer. Correct layout
45174 comments. Fix test on resulting framesize and the management of
45175 the outregs buffer for pltexit. Preserve floating point return
45176 values across _dl_call_pltexit call.
45177 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45178 framesize and the management of the outregs buffer for pltexit.
45179 Preserve floating point return values across _dl_call_pltexit
45181 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45182 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45183 (la_sparc64_gnu_pltexit): New functions.
45184 (print_exit): Fix format string for return register value.
45186 2012-03-10 Joseph Myers <joseph@codesourcery.com>
45188 * sunrpc/Makefile (others): Add rpcgen.
45189 ($(objpfx)rpcgen): Remove special build rule and dependency on
45191 * sunrpc/rpcgen.c: New file.
45193 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
45196 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45197 * stdio-common/bug-vfprintf-nargs.c: Likewise.
45198 * sysdeps/i386/crti.S: Likewise.
45199 * sysdeps/i386/crtn.S: Likewise.
45200 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45201 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45202 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45203 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45204 * sysdeps/sh/crti.S: Likewise.
45205 * sysdeps/sh/crtn.S: Likewise.
45206 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45209 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45211 * locale/programs/locfile-kw.gperf: Likewise.
45212 * locale/programs/charmap-kw.h: Regenerated.
45213 * locale/programs/locfile-kw.h: Likewise.
45216 * intl/plural.y: Replace FSF snail mail address with URL.
45217 * intl/plural.c: Regenerated.
45219 2012-03-09 Richard Henderson <rth@twiddle.net>
45221 * include/math_private.h: Remove file.
45222 * math/math_private.h: Move file ...
45223 * sysdeps/generic/math_private.h: ... here.
45225 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45226 * sysdeps/powerpc/fpu/math_private.h: Likewise.
45227 * sysdeps/x86_64/fpu/math_private.h: Likewise.
45229 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45230 and <math_private.h>.
45231 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45232 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45233 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45234 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45235 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45236 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45237 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45238 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45239 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45240 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45241 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45242 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45243 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45244 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45245 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45246 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45247 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45248 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45249 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45250 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45251 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45252 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45253 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45254 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45255 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45256 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45257 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45258 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45259 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45260 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45261 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45262 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45263 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45264 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45265 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45266 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45267 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45268 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45269 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45270 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45271 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45272 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45273 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45274 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45275 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45276 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45277 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45278 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45279 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45280 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45281 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45282 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45283 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45284 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45285 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45286 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45287 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45288 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45289 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45290 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45291 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45292 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45293 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45294 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45295 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45296 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45297 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45298 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45299 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45300 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45301 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45302 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45303 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45304 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45305 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45306 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45307 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45308 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45309 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45310 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45311 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45312 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45313 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45314 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45315 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45316 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45317 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45318 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45319 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45320 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45321 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45322 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45323 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45324 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45325 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45326 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45327 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45328 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45329 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45330 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45331 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45332 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45333 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45334 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45335 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45336 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45337 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45338 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45339 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45340 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45341 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45342 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45343 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45344 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45345 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45346 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45347 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45348 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45349 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45350 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45351 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45352 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45353 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45354 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45355 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45356 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45357 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45358 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45359 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45360 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45361 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45362 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45363 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45364 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45365 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45366 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45367 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45368 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45369 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45370 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45371 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45372 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45373 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45374 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45375 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45376 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45377 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45378 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45379 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45380 * sysdeps/ieee754/k_standard.c: Likewise.
45381 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45382 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45383 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45384 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45385 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45386 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45387 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45388 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45389 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45390 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45391 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45392 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45393 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45394 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45395 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45396 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45397 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45398 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45399 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45400 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45401 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45402 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45403 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45404 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45405 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45406 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45407 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45408 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45409 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45410 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45411 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45412 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45413 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45414 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45415 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45416 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45417 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45418 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45419 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45420 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45421 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45422 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45423 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45424 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45425 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45426 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45427 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45428 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45429 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45430 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45431 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45432 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45433 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45434 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45435 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45436 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45437 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45438 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45439 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45440 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45441 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45442 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45443 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45444 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45445 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45446 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45447 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45448 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45449 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45450 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45451 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45452 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45453 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45454 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45455 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45456 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45457 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45458 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45459 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45460 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45461 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45462 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45463 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45464 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45465 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45466 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45467 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45468 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45469 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45470 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45471 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45472 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45473 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45474 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45475 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45476 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45477 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45478 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45479 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45480 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45482 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45483 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45484 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45485 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45486 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45487 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45488 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45489 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45490 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45491 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45492 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45493 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45494 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45495 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45496 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45497 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45498 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45499 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45500 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45501 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45502 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45503 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45504 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45505 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45506 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45507 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45508 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45509 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45510 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45511 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45512 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45513 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45514 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45515 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45516 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45517 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45518 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45519 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45520 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45521 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45522 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45523 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45524 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45525 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45526 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45527 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45528 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45529 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45530 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45531 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45532 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45533 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45534 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45535 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45536 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45537 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45538 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45539 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45540 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45541 * sysdeps/ieee754/s_lib_version.c: Likewise.
45542 * sysdeps/ieee754/s_matherr.c: Likewise.
45543 * sysdeps/ieee754/s_signgam.c: Likewise.
45544 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45545 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45546 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45547 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45548 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45549 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45550 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45551 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45552 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45553 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45554 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45555 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45556 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45557 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45558 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45559 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45560 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45561 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45562 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45563 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45564 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45566 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45568 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45569 * sunrpc/rpc_main.c: Likewise.
45570 * sunrpc/rpc_svcout.c: Likewise.
45572 2012-03-09 David S. Miller <davem@davemloft.net>
45574 * include/math_private.h: New file.
45576 2012-03-09 Joseph Myers <joseph@codesourcery.com>
45578 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45579 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45580 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45581 from <bits/socket_type.h>.
45582 (enum __socket_type): Don't define here.
45583 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45584 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45585 bits/socket_type.h.
45588 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45589 checking __USE_GNU.
45591 * Makerules ($(inst_includedir)/%.h): New rule.
45592 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45593 (install-others): Remove variable setting.
45594 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45596 2012-03-08 Richard Henderson <rth@twiddle.net>
45598 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45599 from macro to inline function; merge with the
45600 !__LIBC_INTERNAL_MATH_INLINES version.
45601 (__ieee754_sqrtf): Likewise.
45603 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45604 to inline function.
45605 (__rintf, __floor, __floorf): Likewise.
45607 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45608 macro to inline function.
45609 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45611 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45612 not <math/math_private.h>.
45614 2012-03-08 David S. Miller <davem@davemloft.net>
45616 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45618 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45620 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
45622 * resolv/gai_misc.c (handle_requests): Fix struct timespec
45624 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45625 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45627 2012-03-08 Ulrich Drepper <drepper@gmail.com>
45629 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
45630 be defined individually, they must be defined as a block. Define
45631 S for printing a string instead of hidint the different by using a
45632 macro for adding the 'l'.
45633 * stdio-common/tst-fphex-wide.c: Adjust.
45635 2012-03-07 Marek Polacek <polacek@redhat.com>
45637 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45639 2012-03-08 Marek Polacek <polacek@redhat.com>
45642 * stdio-common/Makefile (tests): Add tst-fphex-wide.
45643 * stdio-common/tst-fphex.c: Define a few macros to make the
45644 test reusable. Use them.
45645 * stdio-common/tst-fphex-wide.c: New file.
45647 2012-03-08 Joseph Myers <joseph@codesourcery.com>
45650 * manual/macros.texi (gnusystems): New macro.
45651 (nongnusystems): Likewise.
45652 (gnulinuxhurdsystems): Likewise.
45653 (gnuhurdsystems): Likewise..
45654 (gnulinuxsystems): Likewise.
45655 * manual/charset.texi: Use new macros or @theglibc{} to refer to
45656 variants of the GNU system, not "GNU system".
45657 * manual/conf.texi: Likewise.
45658 * manual/errno.texi: Likewise. Update example of errno macro
45660 * manual/filesys.texi: Likewise.
45661 (getumask): Document as specific to GNU/Hurd.
45662 * manual/install.texi: Likewise. Reword some references to
45664 * manual/intro.texi: Likewise.
45665 * manual/io.texi: Likewise.
45666 (File Name Portability): Detail which constraints are inapplicable
45667 to all GNU systems and which are only inapplicable to GNU/Hurd.
45668 * manual/job.texi: Likewise.
45669 * manual/llio.texi: Likewise.
45670 (O_NOCTTY): Document as present on GNU/Linux.
45671 * manual/maint.texi: Likewise.
45672 * manual/memory.texi: Likewise.
45673 * manual/pattern.texi: Likewise.
45674 * manual/pipe.texi: Likewise.
45675 * manual/process.texi: Likewise.
45676 * manual/resource.texi: Likewise.
45677 (RUSAGE_CHILDREN): Remove statement about specifying a particular
45679 * manual/setjmp.texi: Likewise.
45680 * manual/signal.texi: Likewise.
45681 * manual/startup.texi: Likewise.
45682 * manual/stdio.texi: Likewise.
45683 * manual/terminal.texi: Likewise.
45684 (ONLCR): Document as POSIX.
45685 (OXTABS): Document availability on GNU/Linux as XTABS.
45686 (ONOEOT): Document availability separately from other bits.
45687 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45688 * manual/time.texi: Likewise.
45689 * manual/users.texi: Likewise.
45690 * INSTALL: Regenerated.
45691 * sysdeps/gnu/errlist.c: Regenerated.
45693 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45694 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45695 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
45697 * configure: Regenerated.
45699 2012-03-07 Joseph Myers <joseph@codesourcery.com>
45701 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45702 default includes instead of AC_HEADER_CHECK.
45703 * sysdeps/i386/configure: Regenerated.
45706 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45707 * math/s_cacoshf.c (__cacoshf): Likewise.
45708 * math/s_cacoshl.c (__cacoshl): Likewise.
45709 * math/s_casinh.c (__casinh): Set signs of result from argument.
45710 * math/s_casinhf.c (__casinhf): Likewise.
45711 * math/s_casinhl.c (__casinhl): Likewise.
45712 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45713 (casinh_test): Add more tests.
45714 * sysdeps/i386/fpu/libm-test-ulps: Update.
45715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45717 2012-03-07 Ulrich Drepper <drepper@gmail.com>
45719 * po/zh_TW.po: Update from translation team.
45721 * login/Makefile (distribute): Remove variable.
45722 * catgets/Makefile: Likewise.
45723 * mach/Makefile: Likewise.
45724 * malloc/Makefile: Likewise.
45725 * misc/Makefile: Likewise.
45726 * iconv/Makefile: Likewise.
45727 * nscd/Makefile: Likewise.
45728 * hurd/Makefile: Likewise.
45729 * manual/Makefile: Likewise.
45730 * locale/Makefile: Likewise.
45731 * intl/Makefile: Likewise.
45732 * conform/Makefile: Likewise.
45733 * nss/Makefile: Likewise.
45734 * time/Makefile: Likewise.
45735 * soft-fp/Makefile: Likewise.
45736 * dirent/Makefile: Likewise.
45737 * gmon/Makefile: Likewise.
45738 * po/Makefile: Likewise.
45739 * rt/Makefile: Likewise.
45740 * socket/Makefile: Likewise.
45741 * math/Makefile: Likewise.
45742 * signal/Makefile: Likewise.
45743 * debug/Makefile: Likewise.
45744 * elf/Makefile: Likewise.
45745 * timezone/Makefile: Likewise.
45746 * stdlib/Makefile: Likewise.
45747 * iconvdata/Makefile: Likewise.
45748 * sunrpc/Makefile: Likewise.
45749 * io/Makefile: Likewise.
45750 * argp/Makefile: Likewise.
45751 * inet/Makefile: Likewise.
45752 * hesiod/Makefile: Likewise.
45753 * grp/Makefile: Likewise.
45754 * csu/Makefile: Likewise.
45755 * wctype/Makefile: Likewise.
45756 * crypt/Makefile: Likewise.
45757 * libio/Makefile: Likewise.
45758 * string/Makefile: Likewise.
45759 * nis/Makefile: Likewise.
45760 * resolv/Makefile: Likewise.
45761 * stdio-common/Makefile: Likewise.
45762 * wcsmbs/Makefile: Likewise.
45763 * dlfcn/Makefile: Likewise.
45764 * posix/Makefile: Likewise.
45767 * timezone/Makefile: Don't install timezone files, just the programs
45770 2012-03-06 Ulrich Drepper <drepper@gmail.com>
45772 * nss/databases.def: Add missing gshadow entry.
45774 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
45776 2012-03-06 Marek Polacek <polacek@redhat.com>
45779 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45780 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45781 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45782 * stdio-common/tst-long-dbl-fphex.c: New file.
45784 2012-03-06 David S. Miller <davem@davemloft.net>
45786 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45787 (set_obp_int): New function.
45788 (get_obp_int): New function.
45789 (__get_clockfreq_via_dev_openprom): Likewise.
45790 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45791 Avoid unused variable warnings on 'val' and use builtin_expect.
45792 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45794 (INLINE_CLONE_SYSCALL): Likewise.
45796 2012-03-05 David S. Miller <davem@davemloft.net>
45798 * sysdeps/sparc/fpu/libm-test-ulps: Update.
45800 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
45802 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45804 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45805 only for |x| >= 40.
45806 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45808 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
45810 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45811 Replace gettimeofday with __vdso_gettimeofday.
45813 * sysdeps/unix/sysv/linux/x86_64/init-first.c
45814 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45815 __vdso_clock_gettime and __vdso_getcpu.
45817 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45818 time with __vdso_time.
45820 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45822 * manual/lang.texi (size_t): Note types to which size_t may be
45823 equivalent with the GNU C Library, but do not describe when
45824 differences between them are significant.
45826 2012-03-05 Andreas Jaeger <aj@suse.de>
45828 * sysdeps/i386/fpu/libm-test-ulps: Update.
45830 2012-03-05 Joseph Myers <joseph@codesourcery.com>
45833 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45834 (__ieee754_pow): Save and restore rounding mode and use
45835 round-to-nearest for main computations.
45836 * math/libm-test.inc (pow_test_tonearest): New function.
45837 (pow_test_towardzero): Likewise.
45838 (pow_test_downward): Likewise.
45839 (pow_test_upward): Likewise.
45840 (main): Call the new functions.
45841 * sysdeps/i386/fpu/libm-test-ulps: Update.
45842 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45845 * math/libm-test.inc (cosh_test_tonearest): New function.
45846 (cosh_test_towardzero): Likewise.
45847 (cosh_test_downward): Likewise.
45848 (cosh_test_upward): Likewise.
45849 (sinh_test_tonearest): Likewise.
45850 (sinh_test_towardzero): Likewise.
45851 (sinh_test_downward): Likewise.
45852 (sinh_test_upward): Likewise.
45853 (main): Call the new functions.
45854 * sysdeps/i386/fpu/libm-test-ulps: Update.
45855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45857 2012-03-05 Tom de Vries <tom@codesourcery.com>
45859 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45860 default stack guard is set in last bytes.
45861 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45863 2012-03-05 Kees Cook <keescook@chromium.org>
45865 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45868 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45869 possibly allocate from heap instead of stack.
45870 * stdio-common/bug-vfprintf-nargs.c: New file.
45871 * stdio-common/Makefile (tests): Add nargs overflow test.
45873 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
45875 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45877 2012-03-03 Marek Polacek <polacek@redhat.com>
45879 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45880 * math/math_private.h: Likewise.
45881 * stdlib/tst-strtod.c: Likewise.
45882 * sysdeps/i386/i486/bits/atomic.h: Likewise.
45883 * sysdeps/x86_64/bits/atomic.h: Likewise.
45885 2012-03-02 David S. Miller <davem@davemloft.net>
45887 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45890 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45891 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45892 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45893 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45894 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45896 2012-03-02 Roland McGrath <roland@hack.frob.com>
45899 * manual/examples/README: New file, says the example source files
45900 can be used under GPL>=2.
45901 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45902 line containing just "*/".
45903 * manual/examples/add.c: Add copyright header (GPL>=2).
45904 * manual/examples/argp-ex1.c: Likewise.
45905 * manual/examples/argp-ex2.c: Likewise.
45906 * manual/examples/argp-ex3.c: Likewise.
45907 * manual/examples/argp-ex4.c: Likewise.
45908 * manual/examples/atexit.c: Likewise.
45909 * manual/examples/db.c: Likewise.
45910 * manual/examples/dir.c: Likewise.
45911 * manual/examples/dir2.c: Likewise.
45912 * manual/examples/execinfo.c: Likewise.
45913 * manual/examples/filecli.c: Likewise.
45914 * manual/examples/filesrv.c: Likewise.
45915 * manual/examples/fmtmsgexpl.c: Likewise.
45916 * manual/examples/genpass.c: Likewise.
45917 * manual/examples/inetcli.c: Likewise.
45918 * manual/examples/inetsrv.c: Likewise.
45919 * manual/examples/isockad.c: Likewise.
45920 * manual/examples/longopt.c: Likewise.
45921 * manual/examples/memopen.c: Likewise.
45922 * manual/examples/memstrm.c: Likewise.
45923 * manual/examples/mkfsock.c: Likewise.
45924 * manual/examples/mkisock.c: Likewise.
45925 * manual/examples/mygetpass.c: Likewise.
45926 * manual/examples/pipe.c: Likewise.
45927 * manual/examples/popen.c: Likewise.
45928 * manual/examples/rprintf.c: Likewise.
45929 * manual/examples/search.c: Likewise.
45930 * manual/examples/select.c: Likewise.
45931 * manual/examples/setjmp.c: Likewise.
45932 * manual/examples/sigh1.c: Likewise.
45933 * manual/examples/sigusr.c: Likewise.
45934 * manual/examples/stpcpy.c: Likewise.
45935 * manual/examples/strdupa.c: Likewise.
45936 * manual/examples/strftim.c: Likewise.
45937 * manual/examples/strncat.c: Likewise.
45938 * manual/examples/subopt.c: Likewise.
45939 * manual/examples/swapcontext.c: Likewise.
45940 * manual/examples/termios.c: Likewise.
45941 * manual/examples/testopt.c: Likewise.
45942 * manual/examples/testpass.c: Likewise.
45943 * manual/examples/timeval_subtract.c: Likewise.
45946 * manual/time.texi (Elapsed Time): Move timeval_subtract example
45948 * manual/timeval_subtract.c.texi: ... here, new file.
45950 2012-03-02 David S. Miller <davem@davemloft.net>
45952 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45954 2012-03-02 Joseph Myers <joseph@codesourcery.com>
45957 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45958 (__sin): Save and restore rounding mode and use round-to-nearest
45959 for all computations.
45960 (__cos): Save and restore rounding mode and use round-to-nearest
45961 for all computations.
45962 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45964 (tan): Save and restore rounding mode and use round-to-nearest for
45966 * math/libm-test.inc (cos_test_tonearest): New function.
45967 (cos_test_towardzero): Likewise.
45968 (cos_test_downward): Likewise.
45969 (cos_test_upward): Likewise.
45970 (sin_test_tonearest): Likewise.
45971 (sin_test_towardzero): Likewise.
45972 (sin_test_downward): Likewise.
45973 (sin_test_upward): Likewise.
45974 (tan_test_tonearest): Likewise.
45975 (tan_test_towardzero): Likewise.
45976 (tan_test_downward): Likewise.
45977 (tan_test_upward): Likewise.
45978 (main): Call the new functions.
45979 * sysdeps/i386/fpu/libm-test-ulps: Update.
45980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45983 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45984 small n, then large n, before computing and testing k+n.
45985 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45986 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45988 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45990 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45991 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45992 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45993 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45994 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45995 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45996 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45997 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45998 * math/libm-test.inc (scalbn_test): Add more tests.
45999 (scalbln_test): Likewise.
46001 * manual/filesys.texi (mode_t): Describe constraints on size and
46002 signedness, not exact equivalence to a particular type.
46004 (ino64_t): Likewise.
46006 (nlink_t): Likewise.
46007 (blkcnt_t): Likewise.
46008 (blkcnt64_t): Likewise.
46009 * manual/llio.texi (off_t): Likewise.
46012 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
46013 (__ieee754_exp): Save and restore rounding mode and use
46014 round-to-nearest for all computations.
46015 * math/libm-test.inc (exp_test_tonearest): New function.
46016 (exp_test_towardzero): Likewise.
46017 (exp_test_downward): Likewise.
46018 (exp_test_upward): Likewise.
46019 (main): Call the new functions.
46020 * sysdeps/i386/fpu/libm-test-ulps: Update.
46021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46023 2012-03-01 Chris Demetriou <cgd@google.com>
46025 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
46026 have predictable order.
46028 2012-03-01 David S. Miller <davem@davemloft.net>
46030 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
46032 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
46033 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
46034 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
46035 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
46037 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
46038 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
46039 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
46040 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
46041 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
46042 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
46043 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
46044 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
46045 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
46047 * sysdeps/sparc/fpu/libm-test-ulps: Update.
46049 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
46050 * sysdeps/sparc/fpu/libm-test-ulps: to here.
46051 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
46053 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
46054 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
46055 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46056 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
46057 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
46058 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
46059 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
46060 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
46061 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46062 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
46063 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
46064 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46065 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46066 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46067 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46068 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46069 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
46070 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
46071 * sysdeps/sparc/elf/configure: Regenerated.
46073 2012-03-01 Joseph Myers <joseph@codesourcery.com>
46075 * configure.in (AS, LD): Require binutils 2.20 or later.
46076 * configure: Regenerated.
46077 * manual/install.texi (Tools for Compilation): Give binutils 2.20
46078 as required minimum version.
46079 * INSTALL: Regenerated.
46083 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
46084 before squaring exponent.
46085 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
46086 bottom long double and 27 bits of top long double before squaring
46088 * math/libm-test.inc (erfc_test): Add more tests.
46089 * sysdeps/i386/fpu/libm-test-ulps: Update.
46090 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46091 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46093 2012-03-01 Kai Tietz <ktietz@redhat.com>
46095 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
46096 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
46097 containing bit-fields.
46098 * soft-fp/extended.h (_FP_UNION_E): Likewise.
46099 * soft-fp/single.h (_FP_UNION_S): Likewise.
46100 * soft-fp/double.h (_FP_UNION_D): Likewise.
46102 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46105 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
46106 not include ../strcmp.S.
46107 [USE_AS_STRNCASECMP_L]: Likewise.
46108 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
46109 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
46110 * sysdeps/i386/i686/multiarch/strncase_l-c.c
46111 (__strncasecmp_l_ia32): Define as alias to
46112 __strncasecmp_l_nonascii.
46115 * math/libm-test.inc (expm1_test): Add test for bug 5794.
46116 * sysdeps/i386/fpu/libm-test-ulps: Update.
46117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46119 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
46120 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46122 2012-02-29 Jeff Law <law@redhat.com>
46124 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
46125 out of bounds read.
46127 2012-02-29 Marek Polacek <polacek@redhat.com>
46130 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
46131 * elf/Makefile: Add rules to run tst-unused-dep.out.
46133 2012-02-28 David S. Miller <davem@davemloft.net>
46135 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
46136 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
46137 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
46138 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
46139 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
46140 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
46142 2012-02-29 Joseph Myers <joseph@codesourcery.com>
46144 * math/libm-test.inc (llround_test): Move one test from
46145 lround_test. Use TEST_f_L in moved test.
46146 (lround_test): Move misplaced test to llround_test. Add testcase
46149 2012-02-28 Ulrich Drepper <drepper@gmail.com>
46151 * sysdeps/x86_64/fpu/e_expf.S: New file.
46152 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
46154 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
46157 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
46158 of remain_len that may cause incomplete multi-byte character and
46160 * posix/bug-regex33.c: New file.
46161 * posix/Makefile (tests): Add bug-regex33.
46163 2012-02-28 Joseph Myers <joseph@codesourcery.com>
46165 * manual/macros.texi: New file.
46166 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46167 * manual/libc.texinfo: Include macros.texi.
46168 * manual/creatute.texi: Likewise.
46169 * manual/install.texi: Likewise.
46170 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46171 @glibcadj{} in references to the GNU C Library.
46172 * manual/charset.texi: Likewise.
46173 * manual/conf.texi: Likewise.
46174 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
46175 when not using those macros.
46176 * manual/creature.texi: Likewise.
46177 * manual/crypt.texi: Likewise.
46178 * manual/errno.texi: Likewise.
46179 * manual/filesys.texi: Likewise.
46180 * manual/header.texi: Likewise.
46181 * manual/install.texi: Likewise.
46182 * manual/intro.texi: Likewise.
46183 * manual/io.texi: Likewise.
46184 * manual/job.texi: Likewise.
46185 * manual/lang.texi: Likewise.
46186 * manual/libc.texiinfo: Likewise.
46187 * manual/llio.texi: Likewise.
46188 * manual/locale.texi: Likewise.
46189 * manual/maint.texi: Likewise.
46190 * manual/math.texi: Likewise.
46191 * manual/memory.texi: Likewise.
46192 * manual/message.texi: Likewise.
46193 * manual/nss.texi: Likewise.
46194 * manual/pattern.texi: Likewise.
46195 * manual/process.texi: Likewise.
46196 * manual/resource.texi: Likewise.
46197 * manual/search.texi: Likewise.
46198 * manual/setjmp.texi: Likewise.
46199 * manual/signal.texi: Likewise.
46200 * manual/socket.texi: Likewise.
46201 * manual/startup.texi: Likewise.
46202 * manual/stdio.texi: Likewise.
46203 * manual/string.texi: Likewise.
46204 * manual/sysinfo.texi: Likewise.
46205 * manual/syslog.texi: Likewise.
46206 * manual/terminal.texi: Likewise.
46207 * manual/time.texi: Likewise.
46208 * manual/users.texi: Likewise.
46209 * INSTALL: Regenerated.
46210 * NOTES: Regenerated.
46211 * sysdeps/gnu/errlist.c: Regenerated.
46213 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
46215 * include/dirent.h: Include <dirstream.h> before
46218 2012-02-28 David S. Miller <davem@davemloft.net>
46220 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46221 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46222 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46223 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46225 2012-02-27 David S. Miller <davem@davemloft.net>
46227 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46228 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46229 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46230 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46233 frame pointer instead of stack pointer relative arg slot.
46234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46235 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46236 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46238 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
46241 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46243 2012-02-27 David S. Miller <davem@davemloft.net>
46245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46249 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46250 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46251 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46252 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46254 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46256 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46257 later. Allow versions 5-9.
46258 * configure: Regenerated.
46259 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46260 required minimum version and 4.6 as recommended version. Do not
46261 mention bugs in GCC 2.7 and 2.8.
46262 * INSTALL: Regenerated.
46264 2012-02-27 David S. Miller <davem@davemloft.net>
46266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46270 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46271 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46272 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46273 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46275 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46276 manipulate bits before adding and subtracting TWO112[sx].
46277 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46279 2012-02-27 Roland McGrath <roland@hack.frob.com>
46282 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46283 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46284 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46285 being in POSIX, because they are in 1003.1-2008.
46287 * rt/tst-aio.c: Include <fcntl.h>.
46288 * rt/tst-aio7.c: Likewise.
46289 * rt/tst-aio64.c: Likewise.
46291 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46293 2012-02-27 Joseph Myers <joseph@codesourcery.com>
46295 * manual/install.texi (--with-headers): Describe headers as
46296 interface headers, not private headers.
46297 (Specific advice for GNU/Linux systems): Describe use of headers
46298 from "make headers_install", not private headers from older
46300 * INSTALL: Regenerated.
46301 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46303 * sysdeps/unix/sysv/linux/configure: Regenerated.
46305 * manual/llio.texi (fclean): Remove documentation.
46307 * manual/Makefile (libc-texi-generated): New variable. Include
46309 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46310 $(libc-texi-generated), not duplicated list of files.
46311 (version.texi, stamp-version): New rules.
46312 (realclean): Remove $(libc-texi-generated), not individual files
46313 from that list. Do not remove dir-add.texinfo.
46314 * manual/libc.texinfo: Comment out uses of edition numbers and
46315 references to printed manual. Remove last-updated dates.
46316 (EDITION): Comment out.
46318 (VERSION, UPDATED): Remove.
46319 (version.texi): Include.
46321 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
46323 * sysdeps/posix/spawni.c: Include <signal.h>.
46324 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46325 * sysdeps/pthread/aio_fsync.c: Likewise.
46327 2012-02-26 Ulrich Drepper <drepper@gmail.com>
46329 * conform/Makefile (tests): Run only when not cross-compiling and
46330 when fast-check is not defined.
46332 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46333 * conform/data/limits.h-data: Fixes for POSIX2008.
46334 * conform/run-conformtest.sh: Run all tests.
46335 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46337 * include/bits/dlfcn.h: Likewise.
46338 * include/langinfo.h: Likewise.
46339 * include/monetary.h: Likewise.
46340 * include/sys/poll.h: Likewise.
46342 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46344 * posix/spawn.h: Define __need_sigset_t.
46345 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46346 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46347 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
46348 to get sigevent_t only.
46349 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46350 only for __USE_GNU.
46351 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46352 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46353 process_vm_writev only for __USE_GNU.
46354 * termios/termios.h: Declare tcgetsid also for POSIX2008.
46356 * conform/Makefile: For now ignore errors from run-conformtest.
46357 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
46358 POSIX to avoid namespace pollution. Don't prepend headers.
46359 * conform/data/aio.h-data: Fixes for POSIX testing.
46360 * conform/data/fcntl.h-data: Likewise.
46361 * conform/data/glob.h-data: Likewise.
46362 * conform/data/grp.h-data: Likewise.
46363 * conform/data/pthread.h-data: Likewise.
46364 * conform/data/pwd.h-data: Likewise.
46365 * conform/data/signal.h-data: Likewise.
46366 * conform/data/spawn.h-data: Likewise.
46367 * conform/data/stdio.h-data: Likewise.
46368 * conform/data/stdlib.h-data: Likewise.
46369 * conform/data/stropts.h-data: Likewise.
46370 * conform/data/sys/mman.h-data: Likewise.
46371 * conform/data/sys/stat.h-data: Likewise.
46372 * conform/data/sys/types.h-data: Likewise.
46373 * conform/data/sys/wait.h-data: Likewise.
46374 * conform/data/time.h-data: Likewise.
46375 * conform/data/unistd.h-data: Likewise.
46376 * conform/data/utime.h-data: Likewise.
46378 * io/sys/stat.h: fchmod was always in POSIX.
46379 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46380 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46381 * rt/aio.h: Define __need_timespec before including <time.h>.
46382 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46383 struct. Add forward declaration of pthread_attr_t and use it in
46385 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46386 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46387 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46388 always remove CLK_TCK definition.
46390 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
46392 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46394 2012-02-25 Ulrich Drepper <drepper@gmail.com>
46396 * conform/run-conformtest.sh: New file.
46397 * conform/Makefile: Run run-conformtest for tests.
46398 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
46401 * conform/data/uchar.h-data: New file.
46402 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46403 * conform/data/arpa/inet.h-data: Likewise.
46404 * conform/data/assert.h-data: Likewise.
46405 * conform/data/complex.h-data: Likewise.
46406 * conform/data/cpio.h-data: Likewise.
46407 * conform/data/ctype.h-data: Likewise.
46408 * conform/data/dirent.h-data: Likewise.
46409 * conform/data/dlfcn.h-data: Likewise.
46410 * conform/data/errno.h-data: Likewise.
46411 * conform/data/fcntl.h-data: Likewise.
46412 * conform/data/float.h-data: Likewise.
46413 * conform/data/fmtmsg.h-data: Likewise.
46414 * conform/data/fnmatch.h-data: Likewise.
46415 * conform/data/ftw.h-data: Likewise.
46416 * conform/data/glob.h-data: Likewise.
46417 * conform/data/grp.h-data: Likewise.
46418 * conform/data/iconv.h-data: Likewise.
46419 * conform/data/inttypes.h-data: Likewise.
46420 * conform/data/langinfo.h-data: Likewise.
46421 * conform/data/libgen.h-data: Likewise.
46422 * conform/data/limits.h-data: Likewise.
46423 * conform/data/locale.h-data: Likewise.
46424 * conform/data/math.h-data: Likewise.
46425 * conform/data/monetary.h-data: Likewise.
46426 * conform/data/mqueue.h-data: Likewise.
46427 * conform/data/ndbm.h-data: Likewise.
46428 * conform/data/net/if.h-data: Likewise.
46429 * conform/data/netdb.h-data: Likewise.
46430 * conform/data/netinet/in.h-data: Likewise.
46431 * conform/data/nl_types.h-data: Likewise.
46432 * conform/data/poll.h-data: Likewise.
46433 * conform/data/pthread.h-data: Likewise.
46434 * conform/data/pwd.h-data: Likewise.
46435 * conform/data/regex.h-data: Likewise.
46436 * conform/data/sched.h-data: Likewise.
46437 * conform/data/search.h-data: Likewise.
46438 * conform/data/semaphore.h-data: Likewise.
46439 * conform/data/setjmp.h-data: Likewise.
46440 * conform/data/signal.h-data: Likewise.
46441 * conform/data/spawn.h-data: Likewise.
46442 * conform/data/stdarg.h-data: Likewise.
46443 * conform/data/stdio.h-data: Likewise.
46444 * conform/data/stdlib.h-data: Likewise.
46445 * conform/data/string.h-data: Likewise.
46446 * conform/data/strings.h-data: Likewise.
46447 * conform/data/stropts.h-data: Likewise.
46448 * conform/data/sys/ipc.h-data: Likewise.
46449 * conform/data/sys/mman.h-data: Likewise.
46450 * conform/data/sys/msg.h-data: Likewise.
46451 * conform/data/sys/resource.h-data: Likewise.
46452 * conform/data/sys/select.h-data: Likewise.
46453 * conform/data/sys/sem.h-data: Likewise.
46454 * conform/data/sys/shm.h-data: Likewise.
46455 * conform/data/sys/socket.h-data: Likewise.
46456 * conform/data/sys/stat.h-data: Likewise.
46457 * conform/data/sys/statvfs.h-data: Likewise.
46458 * conform/data/sys/time.h-data: Likewise.
46459 * conform/data/sys/timeb.h-data: Likewise.
46460 * conform/data/sys/times.h-data: Likewise.
46461 * conform/data/sys/types.h-data: Likewise.
46462 * conform/data/sys/uio.h-data: Likewise.
46463 * conform/data/sys/un.h-data: Likewise.
46464 * conform/data/sys/utsname.h-data: Likewise.
46465 * conform/data/sys/wait.h-data: Likewise.
46466 * conform/data/syslog.h-data: Likewise.
46467 * conform/data/tar.h-data: Likewise.
46468 * conform/data/termios.h-data: Likewise.
46469 * conform/data/utime.h-data: Likewise.
46470 * conform/data/utmpx.h-data: Likewise.
46471 * conform/data/varargs.h-data: Likewise.
46472 * conform/data/wchar.h-data: Likewise.
46473 * conform/data/wctype.h-data: Likewise.
46474 * conform/data/wordexp.h-data: Likewise.
46476 * include/stropts.h: New file.
46477 * include/uchar.h: New file.
46478 * include/aio.h: Changes to allow conformtest.pl to use the headers.
46479 * include/assert.h: Likewise.
46480 * include/ctype.h: Likewise.
46481 * include/dirent.h: Likewise.
46482 * include/dlfcn.h: Likewise.
46483 * include/fcntl.h: Likewise.
46484 * include/fnmatch.h: Likewise.
46485 * include/glob.h: Likewise.
46486 * include/grp.h: Likewise.
46487 * include/libio.h: Likewise.
46488 * include/locale.h: Likewise.
46489 * include/math.h: Likewise.
46490 * include/net/if.h: Likewise.
46491 * include/netdb.h: Likewise.
46492 * include/netinet/in.h: Likewise.
46493 * include/pthread.h: Likewise.
46494 * include/pwd.h: Likewise.
46495 * include/regex.h: Likewise.
46496 * include/sched.h: Likewise.
46497 * include/search.h: Likewise.
46498 * include/setjmp.h: Likewise.
46499 * include/signal.h: Likewise.
46500 * include/stdio.h: Likewise.
46501 * include/stdlib.h: Likewise.
46502 * include/string.h: Likewise.
46503 * include/sys/cdefs.h: Likewise.
46504 * include/sys/mman.h: Likewise.
46505 * include/sys/msg.h: Likewise.
46506 * include/sys/resource.h: Likewise.
46507 * include/sys/select.h: Likewise.
46508 * include/sys/socket.h: Likewise.
46509 * include/sys/stat.h: Likewise.
46510 * include/sys/statvfs.h: Likewise.
46511 * include/sys/time.h: Likewise.
46512 * include/sys/times.h: Likewise.
46513 * include/sys/uio.h: Likewise.
46514 * include/sys/utsname.h: Likewise.
46515 * include/sys/wait.h: Likewise.
46516 * include/termios.h: Likewise.
46517 * include/time.h: Likewise.
46518 * include/ulimit.h: Likewise.
46519 * include/unistd.h: Likewise.
46520 * include/utime.h: Likewise.
46521 * include/wchar.h: Likewise.
46522 * include/wctype.h: Likewise.
46523 * include/wordexp.h: Likewise.
46525 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46527 * time/time.h: TIME_UTC must be a macro.
46528 Make timespec_get available for ISO C11 only as well.
46530 2012-02-24 Ulrich Drepper <drepper@gmail.com>
46532 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46533 Reported by Peng Haitao <penght@cn.fujitsu.com>.
46535 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46537 * configure.in: Use -o not -a in test for unsupported multi-arch.
46539 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46541 * manual/texinfo.tex: Update to version 2012-01-19.16.
46543 2012-02-24 Joseph Myers <joseph@codesourcery.com>
46545 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46547 2012-02-24 Roland McGrath <roland@hack.frob.com>
46550 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46551 * manual/fdl-1.3.texi: New file.
46552 * manual/fdl-1.1.texi: File removed.
46555 * manual/libc.texinfo (FDL_VERSION): New @set.
46556 Use it for mention of FDL in cover text.
46557 (Documentation License): Use it in @include file name.
46559 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46560 Roland McGrath <roland@hack.frob.com>
46563 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46564 (not LONG_LONG_MAX and LONG_LONG_MIN.
46565 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46566 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
46568 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46570 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46574 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46575 manipulate bits before adding and subtracting TWO23[sx].
46576 * math/libm-test.inc (nearbyint_test): Add more tests.
46578 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46581 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46582 bits before adding and subtracting TWO23[sx].
46583 * math/libm-test.inc (rint_test): Add more tests.
46584 (rint_test_tonearest): Likewise.
46585 (rint_test_towardzero): Likewise.
46586 (rint_test_downward): Likewise.
46587 (rint_test_upward: Likewise.
46589 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46592 * include/stdc-predef.h: New file. Extracted from features.h.
46593 * include/features.h: Include stdc-predef.h.
46594 * Makefile (headers): Add stdc-predef.h.
46595 * CONFORMANCE (Compiler limitations): Update.
46597 2012-02-22 Joseph Myers <joseph@codesourcery.com>
46599 * manual/libc.texinfo (VERSION, UPDATED): Revert.
46601 2012-02-21 David S. Miller <davem@davemloft.net>
46603 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46604 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46606 2012-02-20 David S. Miller <davem@davemloft.net>
46608 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46609 using a normal save/restore sequence, rather than allocating a
46610 dummy stack frame just to store a frame pointer and restore.
46611 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46613 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46615 * manual/install.texi: Fix stray word in line-wrapped comment.
46617 2012-02-20 David S. Miller <davem@davemloft.net>
46619 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46620 both binutils and gcc support GOTDATA.
46622 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46623 "rd %pc" in the PIC register setup sequences.
46625 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46626 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46627 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46628 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46629 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46630 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46631 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46632 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46633 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46634 (SYSCALL_ERROR_HANDLER): Likewise.
46635 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46636 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46637 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46638 (SYSCALL_ERROR_HANDLER): Likewise.
46640 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46641 (HAVE_GCC_GOTDATA): New.
46642 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46643 relocation support in both binutils and gcc.
46644 * sysdeps/sparc/elf/configure: Regenerate.
46646 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46647 * sysdeps/sparc/sparc32/elf/configure: Delete.
46648 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46649 * sysdeps/sparc/sparc64/elf/configure: Delete.
46650 * sysdeps/sparc/elf/configure.in: New file.
46651 * sysdeps/sparc/elf/configure: Generate.
46653 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46654 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46655 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46656 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46657 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46659 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46661 * manual/install.texi: Do not mention specific glibc version
46663 * manual/libc.texinfo (VERSION, UPDATED): Update.
46664 (@copying): Use @copyright{} and range of years.
46666 2012-02-21 Joseph Myers <joseph@codesourcery.com>
46669 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46670 [crti.S not in sysdirs] (generated): Do not append.
46671 [crti.S not in sysdirs] (omit-deps): Likewise.
46672 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46673 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46674 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46675 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46676 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46678 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46679 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46680 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46681 * csu/defs.awk: Remove file.
46682 * sysdeps/generic/initfini.c: Likewise.
46683 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46685 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46688 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46690 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46691 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46692 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46693 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46694 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46695 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46697 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46698 (__EPOLL_PACKED): Define to empty if not defined by
46700 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46701 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46704 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46706 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46707 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46708 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46709 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46711 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46712 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46715 2012-02-20 Joseph Myers <joseph@codesourcery.com>
46717 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46719 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46720 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46721 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46724 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
46726 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46727 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46729 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
46731 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46732 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46734 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46736 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46739 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
46741 * math/w_acos.c: Use non-signaling floating-point comparisons.
46742 * math/w_acosf.c: Likewise.
46743 * math/w_acosh.c: Likewise.
46744 * math/w_acoshf.c: Likewise.
46745 * math/w_acoshl.c: Likewise.
46746 * math/w_acosl.c: Likewise.
46747 * math/w_asin.c: Likewise.
46748 * math/w_asinf.c: Likewise.
46749 * math/w_asinl.c: Likewise.
46750 * math/w_atanh.c: Likewise.
46751 * math/w_atanhf.c: Likewise.
46752 * math/w_atanhl.c: Likewise.
46753 * math/w_exp2.c: Likewise.
46754 * math/w_exp2f.c: Likewise.
46755 * math/w_exp2l.c: Likewise.
46756 * math/w_j0.c: Likewise.
46757 * math/w_j0f.c: Likewise.
46758 * math/w_j0l.c: Likewise.
46759 * math/w_j1.c: Likewise.
46760 * math/w_j1f.c: Likewise.
46761 * math/w_j1l.c: Likewise.
46762 * math/w_jn.c: Likewise.
46763 * math/w_jnf.c: Likewise.
46764 * math/w_log.c: Likewise.
46765 * math/w_log10.c: Likewise.
46766 * math/w_log10f.c: Likewise.
46767 * math/w_log10l.c: Likewise.
46768 * math/w_log2.c: Likewise.
46769 * math/w_log2f.c: Likewise.
46770 * math/w_log2l.c: Likewise.
46771 * math/w_logf.c: Likewise.
46772 * math/w_logl.c: Likewise.
46773 * math/w_sqrt.c: Likewise.
46774 * math/w_sqrtf.c: Likewise.
46775 * math/w_sqrtl.c: Likewise.
46776 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46777 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46778 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46779 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46780 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46782 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46785 * manual/string.texi (strnlen): Use correct parameter name in
46786 equivalent expression.
46788 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46791 * manual/users.texi (seteuid): Consistently use neweuid for
46794 2012-02-19 Joseph Myers <joseph@codesourcery.com>
46797 * manual/nss.texi (Services in the NSS configuration): Correct
46798 list of services in example configuration file.
46800 2012-02-19 Nick Bowler <nbowler@draconx.ca>
46803 * manual/arith.texi: Remove statements about negative zero
46804 behaving identically to zero.
46806 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46809 * manual/install.texi: Do not document upgrading from libc5.
46811 2012-02-18 Joseph Myers <joseph@codesourcery.com>
46814 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46816 2012-02-18 David S. Miller <davem@davemloft.net>
46818 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46819 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46820 %o7 across the call.
46821 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46823 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46824 SETUP_PIC_REG_LEAF.
46825 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46826 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46827 * sysdeps/sparc/crtn.S: Likewise.
46829 2012-02-17 Ulrich Drepper <drepper@gmail.com>
46831 * aout/Makefile: Remove.
46833 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
46836 * manual/examples/argp-ex1.c (main): Format definition in GNU
46838 * manual/examples/argp-ex2.c (main): Likewise.
46839 * manual/examples/argp-ex3.c (main): Likewise.
46840 * manual/examples/argp-ex4.c (main): Likewise.
46841 * manual/examples/longopt.c (main): Use new-style prototype
46843 * manual/examples/strncat.c (main): Specify return type and use
46844 (void) for arguments.
46845 * manual/examples/subopt.c (main): Use char **argv argument.
46847 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46850 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46853 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
46856 * manual/string.texi (strchr): Change when strchrnul is
46859 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
46862 * manual/locale.texi (setlocale): Document LOCPATH.
46864 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46867 * manual/process.texi (execle): Move @dots{} before last argument.
46869 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
46872 * manual/charset.texi (Generic Charset Conversion): Fix typo
46873 (LC_TYPE -> LC_CTYPE).
46875 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
46878 * manual/arith.texi (scalbn): Use @var{} on parameter names.
46879 (scalbnf): Likewise.
46880 (scalbnl): Likewise.
46881 (scalbln): Likewise.
46882 (scalblnf): Likewise.
46883 (scalblnl): Likewise.
46884 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46885 (vwarnx): Likewise.
46888 * manual/filesys.texi (telldir): Use braces around return type.
46889 * manual/llio.texi (mmap): Add space after comma.
46890 (mmap64): Likewise.
46891 * manual/math.texi (jn): Use @var{} on parameter names.
46897 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46899 * manual/resource.texi (ulimit): Use @dots{} instead of literal
46901 (sched_get_priority_min): Remove semicolon on @deftypefun line.
46902 (sched_get_priority_max): Likewise.
46903 * manual/signal.texi (sigvec): Add space after comma.
46904 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46906 (if_indextoname): Likewise.
46907 (if_freenameindex): Likewise.
46908 (sendto): Use ',' instead of '.' in prototype.
46909 * manual/startup.texi (syscall): Use @dots{} instead of literal
46911 * manual/stdio.texi (__fpending): Separate initial words of
46912 paragraph from @deftypefun line.
46913 * manual/syslog.texi (syslog): Use @dots{} instead of literal
46915 (vsyslog): Use @var{} on parameter names.
46916 * manual/terminal.texi (stty): Use @var{} on parameter names.
46917 * manual/users.texi (getutmp): Use @var{} on parameter names.
46918 (getutmpx): Likewise.
46920 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46923 * manual/stdio.texi (fopen): Fix typos in description of
46926 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
46929 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46930 get clock_id definition.
46932 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
46935 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46936 (madvise): Cast every argument to void on its own.
46938 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46941 * manual/startup.texi (Exit Status): Fix typo.
46943 2012-02-17 Joseph Myers <joseph@codesourcery.com>
46946 * manual/examples/argp-ex1.c: Include <stdlib.h>.
46947 * manual/examples/argp-ex2.c: Likewise.
46948 * manual/examples/argp-ex3.c: Likewise.
46950 2012-02-16 Richard Henderson <rth@redhat.com>
46952 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46953 * sysdeps/s390/s390-32/initfini.c: Remove.
46954 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46955 * sysdeps/s390/s390-64/initfini.c: Remove.
46957 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
46959 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46960 compiler output for sysdeps/generic/initfini.c.
46961 * sysdeps/sh/elf/initfini.c: Remove file.
46963 2012-02-16 David S. Miller <davem@davemloft.net>
46966 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46968 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46969 * sysdeps/sparc/crti.S: New file.
46970 * sysdeps/sparc/crtn.S: New file.
46971 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46972 * sysdeps/sparc/sparc64/Makefile: Likewise.
46974 2012-02-15 Mike Frysinger <vapier@gentoo.org>
46977 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46979 2012-02-15 Roland McGrath <roland@hack.frob.com>
46982 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46984 * mach/devstream.c (cookie_io_functions_t): Macro removed.
46985 (write, read, close): Likewise.
46986 Patch by Aurelien Jarno <aurelien@aurel32.net>.
46988 2012-02-15 Joseph Myers <joseph@codesourcery.com>
46990 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46991 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46992 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46993 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46995 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46999 2012-02-14 Marek Polacek <polacek@redhat.com>
47001 * sysdeps/x86_64/crti.S: New file.
47002 * sysdeps/x86_64/crtn.S: New file.
47003 * sysdeps/x86_64/elf/initfini.c: Remove file.
47005 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47007 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
47008 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
47009 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
47010 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
47012 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
47013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47016 2012-02-13 Joseph Myers <joseph@codesourcery.com>
47018 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
47019 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
47020 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
47021 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
47023 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
47024 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47027 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
47029 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
47030 __feraiseexcept instead of feraiseexcept.
47032 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
47033 nanosleep invocations.
47034 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
47035 strings, and add error checking for a nanosleep invocations.
47037 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
47039 Replace FSF snail mail address with URLs, as per GNU coding standards.
47040 Most of the snail mail addresses were wrong anyway, and omitting
47041 them makes the source code easier to maintain. Almost all of the
47042 changes are to license notices and to locale LC_IDENTIFICATION
47043 addresses, except for this one:
47044 * manual/libc.texinfo: In "Published by", give the FSF's URL,
47045 not its snail mail address.
47047 2012-02-09 Richard Henderson <rth@twiddle.net>
47049 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
47050 of kernel-features.h.
47052 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
47054 2012-02-08 Marek Polacek <polacek@redhat.com>
47056 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
47057 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
47058 * sysdeps/gnu/_G_config.h: Likewise.
47059 * sysdeps/generic/_G_config.h: Likewise.
47061 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
47063 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
47065 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47067 * sysdeps/powerpc/powerpc32/crti.S: New file.
47068 * sysdeps/powerpc/powerpc32/crtn.S: New file.
47069 * sysdeps/powerpc/powerpc64/crti.S: New file.
47070 * sysdeps/powerpc/powerpc64/crtn.S: New file.
47072 * Makeconfig (have-initfini): Don't set.
47073 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
47074 * configure.in (nopic_initfini): Don't substitute.
47075 * config.h.in (HAVE_INITFINI): Don't #undef.
47076 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
47077 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
47079 2012-02-08 Joseph Myers <joseph@codesourcery.com>
47081 Support crti.S and crtn.S provided directly by architectures.
47082 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
47083 [crti.S in sysdirs] (omit-deps): Likewise.
47084 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
47085 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
47086 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
47087 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
47088 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
47089 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
47090 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
47091 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
47092 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
47093 compiler output for sysdeps/generic/initfini.c.
47094 * sysdeps/i386/elf/Makefile: Remove file.
47095 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
47097 2012-02-07 Marek Polacek <polacek@redhat.com>
47099 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
47100 * sysdeps/gnu/_G_config.h: Likewise.
47101 * sysdeps/mach/hurd/_G_config.h: Likewise.
47103 2012-02-07 Marek Polacek <polacek@redhat.com>
47105 * math/Makefile (tests): Add tst-CMPLX2.
47106 * math/tst-CMPLX2.c: New file.
47108 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
47110 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
47112 * math/libm-test.inc (jn_test): Add missing L suffix.
47114 2012-02-06 Marek Polacek <polacek@redhat.com>
47116 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
47117 * sysdeps/i386/fpu/e_powf.S: Likewise.
47118 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
47119 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
47120 * sysdeps/i386/fpu/e_acosh.S: Likewise.
47121 * sysdeps/i386/fpu/e_pow.S: Likewise.
47122 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
47123 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
47124 * sysdeps/i386/fpu/s_expm1.S: Likewise.
47125 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
47126 * sysdeps/i386/fpu/e_log2.S: Likewise.
47127 * sysdeps/i386/fpu/e_log2l.S: Likewise.
47128 * sysdeps/i386/fpu/e_scalb.S: Likewise.
47129 * sysdeps/i386/fpu/e_powl.S: Likewise.
47130 * sysdeps/i386/fpu/s_log1p.S: Likewise.
47131 * sysdeps/i386/fpu/e_log10f.S: Likewise.
47132 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
47133 * sysdeps/i386/fpu/e_logl.S: Likewise.
47134 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
47135 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
47136 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
47137 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
47138 * sysdeps/i386/fpu/e_log2f.S: Likewise.
47139 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
47140 * sysdeps/i386/fpu/e_log.S: Likewise.
47141 * sysdeps/i386/fpu/s_cexp.S: Likewise.
47142 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
47143 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
47144 * sysdeps/i386/fpu/e_logf.S: Likewise.
47145 * sysdeps/i386/fpu/e_log10l.S: Likewise.
47146 * sysdeps/i386/fpu/e_atanh.S: Likewise.
47147 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
47148 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
47149 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
47150 * sysdeps/i386/fpu/e_log10.S: Likewise.
47151 * sysdeps/i386/fpu/s_frexp.S: Likewise.
47152 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
47153 * sysdeps/i386/fpu/s_asinh.S: Likewise.
47154 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
47155 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
47156 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
47157 * sysdeps/i386/asm-syntax.h: Likewise.
47158 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
47159 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47160 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47161 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47162 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47163 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47164 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47165 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47166 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47167 * sysdeps/powerpc/sysdep.h: Likewise.
47168 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47169 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47171 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47174 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47176 2012-02-06 Joseph Myers <joseph@codesourcery.com>
47178 * sysdeps/i386/sysdep.h: Include <features.h>.
47179 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47182 2012-02-05 Joseph Myers <joseph@codesourcery.com>
47184 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47186 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47189 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47191 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47192 (SETUP_PIC_REG): Use GET_PC_THUNK.
47193 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47196 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47198 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47199 for non-PIC compilation.
47200 (SETUP_PIC_REG): Add .p2align directive.
47201 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47202 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47203 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47204 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47205 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47206 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47207 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47208 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47209 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47210 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47211 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47212 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47213 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47214 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47215 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47216 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47217 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47218 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47219 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47220 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47221 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47222 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47223 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47224 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47225 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47226 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47227 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47228 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47229 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47230 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47231 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47232 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47233 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47234 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47235 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47236 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47237 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47238 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47239 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47240 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47241 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47243 2012-02-03 Joseph Myers <joseph@codesourcery.com>
47245 * math/tst-CMPLX.c: Include <stdio.h>.
47247 2012-01-31 Joseph Myers <joseph@codesourcery.com>
47249 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47251 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47252 * sysdeps/sparc/bits/mathdef.h: Likewise.
47254 2012-01-31 Marek Polacek <polacek@redhat.com>
47256 * libio/libio.h: Don't define _PARAMS.
47257 * locale/programs/config.h: Don't define PARAMS.
47258 * stdlib/strtol_l.c: Likewise.
47259 (__strtol_l): Remove PARAMS from the prototype.
47261 2012-01-31 Ulrich Drepper <drepper@gmail.com>
47263 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
47264 names. Just use the correct names. Remove unnecessary wrapper
47266 * malloc/arena.c: Likewise.
47267 * malloc/hooks.c: Likewise.
47269 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47270 ARENA_TEST says not to. Simplify test for creation of a new arena.
47271 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47273 2012-01-30 Ulrich Drepper <drepper@gmail.com>
47275 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47277 (update_get_addr): New function.
47278 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47279 GET_ADDR_MODULE parameter.
47281 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47283 * crypt/cert.c: Remove __STDC__ conditionals.
47284 * crypt/crypt-entry.c: Likewise.
47285 * crypt/crypt_util.c: Likewise.
47286 * libio/filedoalloc.c: Likewise.
47287 * libio/fileops.c: Likewise.
47288 * libio/genops.c: Likewise.
47289 * libio/iofclose.c: Likewise.
47290 * libio/iofdopen.c: Likewise.
47291 * libio/iofopen.c: Likewise.
47292 * libio/iofopen64.c: Likewise.
47293 * libio/iogetdelim.c: Likewise.
47294 * libio/iopopen.c: Likewise.
47295 * libio/obprintf.c: Likewise.
47296 * libio/oldfileops.c: Likewise.
47297 * libio/oldiofclose.c: Likewise.
47298 * libio/oldiofdopen.c: Likewise.
47299 * libio/oldiofopen.c: Likewise.
47300 * libio/oldiopopen.c: Likewise.
47301 * libio/wfiledoalloc.c: Likewise.
47302 * libio/wgenops.c: Likewise.
47303 * locale/programs/xmalloc.c: Likewise.
47304 * misc/syslog.c: Likewise.
47305 * stdio-common/xbug.c: Likewise.
47306 * string/memchr.c: Likewise.
47307 * string/memcmp.c: Likewise.
47308 * string/memrchr.c: Likewise.
47309 * string/rawmemchr.c: Likewise.
47310 * sysdeps/posix/getcwd.c: Likewise.
47311 * time/strftime_l.c: Likewise.
47313 2012-01-30 Joseph Myers <joseph@codesourcery.com>
47315 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47316 * config.make.in (config-cflags-sse2avx): Define.
47317 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47320 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
47322 * scripts/config.guess: Update from upstream config git repository.
47323 * scripts/config.sub: Likewise.
47325 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
47327 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47329 (R_TILEPRO_*, R_TILEGX_*): New macros.
47331 * scripts/firstversions.awk: Fix bug in version range handling.
47333 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47335 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47337 * include/sys/epoll.h: New file.
47338 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47341 2012-01-28 Ulrich Drepper <drepper@gmail.com>
47343 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47344 Avoid unnecessary __WORDSIZE == 64 test.
47345 (fmaxf): Use VEX format if possible.
47350 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47351 * math/math_private.h: Remove libc_fegetround* and
47353 * sysdeps/i386/configure.in: Check for -msse2avx.
47354 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47355 also if SSE2AVX is defined.
47356 Remove libc_fegetround* and libc_fesetround*.
47357 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47358 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
47359 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47361 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47362 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47363 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47364 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47365 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47367 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47369 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47371 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47373 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47375 2012-01-27 Ulrich Drepper <drepper@gmail.com>
47378 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47380 * Makeconfig (libm): Define.
47381 * elf/Makefile: Add rules to build and run tst-relsort1.
47382 * elf/tst-relsort1.c: New file.
47383 * elf/tst-relsort1mod1.c: New file.
47384 * elf/tst-relsort1mod2.c: New file.
47386 2012-01-27 Joseph Myers <joseph@codesourcery.com>
47388 * math/s_ldexp.c: Remove __STDC__ conditionals.
47389 * math/s_ldexpf.c: Likewise.
47390 * math/s_ldexpl.c: Likewise.
47391 * math/s_nextafter.c: Likewise.
47392 * math/s_nexttowardf.c: Likewise.
47393 * math/s_significand.c: Likewise.
47394 * math/s_significandf.c: Likewise.
47395 * math/s_significandl.c: Likewise.
47396 * math/w_jnl.c: Likewise.
47397 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47398 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47399 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47400 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47401 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47402 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47403 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47404 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47405 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47406 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47407 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47408 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47409 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47410 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47411 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47412 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47413 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47414 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47415 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47416 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47417 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47418 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47419 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47420 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47421 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47422 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47423 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47424 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47425 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47426 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47427 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47428 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47429 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47430 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47431 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47432 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47433 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47434 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47435 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47436 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47437 * sysdeps/ieee754/k_standard.c: Likewise.
47438 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47439 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47440 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47441 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47442 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47443 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47444 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47445 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47446 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47447 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47448 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47449 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47450 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47451 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47452 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47453 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47454 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47455 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47456 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47457 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47458 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47459 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47460 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47461 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47462 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47463 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47464 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47465 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47466 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47467 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47468 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47469 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47470 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47471 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47472 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47473 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47474 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47475 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47476 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47477 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47478 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47479 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47480 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47481 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47482 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47483 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47484 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47485 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47486 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47487 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47488 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47489 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47490 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47491 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47492 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47493 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47494 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47495 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47496 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47497 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47498 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47499 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47500 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47501 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47502 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47503 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47504 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47505 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47506 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47507 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47508 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47509 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47510 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47511 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47512 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47513 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47514 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47515 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47516 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47517 * sysdeps/ieee754/s_matherr.c: Likewise.
47518 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47519 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47520 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47521 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47523 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47525 * crypt/md5.h: Remove __STDC__ conditionals.
47526 * libio/libioP.h: Likewise.
47527 * locale/programs/config.h: Likewise.
47528 * sysdeps/generic/sysdep.h: Likewise.
47529 * sysdeps/i386/asm-syntax.h: Likewise.
47530 * sysdeps/s390/asm-syntax.h: Likewise.
47531 * sysdeps/unix/sysdep.h: Likewise.
47532 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47533 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47535 2012-01-26 Joseph Myers <joseph@codesourcery.com>
47537 * libio/libio.h: Remove __STDC__ conditionals.
47538 * malloc/obstack.h: Likewise.
47539 * math/complex.h: Likewise.
47540 * math/math.h: Likewise.
47541 * sysdeps/generic/_G_config.h: Likewise.
47542 * sysdeps/gnu/_G_config.h: Likewise.
47543 * sysdeps/mach/hurd/_G_config.h: Likewise.
47544 * sysdeps/powerpc/bits/mathdef.h: Likewise.
47545 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47546 * sysdeps/sparc/bits/mathdef.h: Likewise.
47548 2012-01-26 Ulrich Drepper <drepper@gmail.com>
47551 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47552 Clean up HAS_* macros.
47553 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47554 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47556 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47558 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47559 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47560 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47561 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47562 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47564 2012-01-25 Joseph Myers <joseph@codesourcery.com>
47566 * elf/tst-unique3.cc (gets): Remove declaration.
47567 * elf/tst-unique3lib.cc (gets): Likewise.
47568 * elf/tst-unique3lib2.cc (gets): Likewise.
47569 * elf/tst-unique4.cc (gets): Likewise.
47571 2012-01-24 Ulrich Drepper <drepper@gmail.com>
47573 * include/stdio.h: Add C++ protection. Add gets declarations and
47575 * debug/tst-chk1.c: Don't declare gets here.
47576 * stdio-common/tst-gets.c: Likewise.
47578 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47580 * posix/glob: Remove directory.
47582 2012-01-24 Joseph Myers <joseph@codesourcery.com>
47584 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47586 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
47588 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47589 of the non-standard EPFNOSUPPORT.
47591 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
47593 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47594 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47595 ANYWHERE set to 1 only on KERN_NO_SPACE error.
47597 2012-01-21 Ulrich Drepper <drepper@gmail.com>
47599 * wcsmbs/uchar.h: Test __STDC_VERSION__.
47601 2012-01-20 Ulrich Drepper <drepper@gmail.com>
47603 * nscd/aicache.c (addhstaiX): Do not cache negative results of
47605 * nscd/grpcache.c (cache_addgr): Likewise.
47606 * nscd/hstcache.c (cache_addhst): Likewise.
47607 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47608 * nscd/pwdcache.c (cache_addpw): Likewise.
47609 * nscd/servicescache.c (cache_addserv): Likewise.
47611 2012-01-16 Ulrich Drepper <drepper@gmail.com>
47613 * malloc/malloc.c: Various cleanups.
47614 * malloc/hooks.c: Likewise.
47616 * stdlib/Makefile (tests): Add bug-fmtmsg1.
47617 * stdlib/bug-fmtmsg1.c: New file.
47619 * stdlib/fmtmsg.c (init): Add missing unlock.
47620 Patch by Peng Haitao <penght@cn.fujitsu.com>.
47622 2012-01-12 Marek Polacek <polacek@redhat.com>
47624 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47627 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
47629 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47630 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47631 macro to ensure uniqueness of label name.
47632 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47633 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47635 2012-01-11 Ulrich Drepper <drepper@gmail.com>
47637 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47639 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47640 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47641 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47642 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47644 2012-01-10 Ulrich Drepper <drepper@gmail.com>
47646 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47648 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47649 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47650 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47652 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47654 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47655 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47656 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47657 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47659 * math/bits/math-finite.h: Add ldexp support.
47661 2012-01-10 Marek Polacek <polacek@redhat.com>
47663 * locale/programs/localedef.h (show_archive_content): Add noreturn
47666 2012-01-09 Ulrich Drepper <drepper@gmail.com>
47668 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47670 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47672 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47674 * io/Makefile (headers): Add bits/poll2.h.
47676 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
47678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47679 typo #include statement.
47681 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47683 * include/sys/cdefs.h: Define __attribute_alloc_size.
47684 * catgets/gencat.c: Add alloc_size attribute and apply consistently
47685 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47686 * elf/pldd.c: Likewise.
47687 * iconv/iconv_charmap.c: Likewise.
47688 * iconv/iconvconfig.c: Likewise.
47689 * iconv/strtab.c: Likewise.
47690 * locale/programs/locale.c: Likewise.
47691 * locale/programs/localedef.h: Likewise.
47692 * locale/programs/simple-hash.c: Likewise.
47693 * nscd/nscd.h: Likewise.
47694 * nss/makedb.c: Likewise.
47695 * sysdeps/generic/ldconfig.h: Likewise.
47696 * locale/programs/localedef.c: Remove xmalloc prototype.
47697 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47699 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
47701 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47704 2012-01-08 Ulrich Drepper <drepper@gmail.com>
47706 * math/Makefile (tests): Add tst-CMPLX.
47707 * math/tst-CMPLX.c: New file.
47709 * math/complex.h (CMPLXL): Fix typo.
47711 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47712 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47714 * debug/tst-chk1.c: Add poll and ppoll tests.
47715 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47716 * include/sys/poll.h: Add hidden proto for ppoll.
47717 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47718 * sysdeps/mach/hurd/ppoll.c: Likewise.
47719 * io/ppoll.c: Likewise.
47720 * debug/poll_chk.c: New file.
47721 * debug/ppoll_chk.c: New file.
47722 * include/bits/poll2.h: New file.
47723 * io/bits/poll2.h: New file.
47726 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47728 * configure.in: static is always set to yes. Remove.
47729 * config.make.in: Don't set build-static.
47730 * Makeconfig: Remove use of build-static.
47731 * dlfcn/Makefile: Likewise.
47732 * elf/Makefile: Likewise.
47733 * math/Makefile: Likewise.
47734 * misc/Makefile: Likewise.
47735 * nptl/Makefile: Likewise.
47736 * sysdeps/mach/hurd/Makefile: Likewise.
47738 * configure.in: PWD_P is not used anymore.
47739 * config.make.in: Remove PWD_P entry.
47741 * configure.in: Remove last remnants of RANLIB.
47742 No need to check for signed size_t anymore.
47743 Don't set libc_commonpagesize and libc_relro_required here for Alpha
47745 Remove __builtin_expect test because we require at least gcc 3.4.
47746 * aclocal.m4: Likewise.
47748 * wcsmbs/mbrtoc16.c: Implement using towc function.
47749 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47750 * wcsmbs/wcsmbsload.c: Likewise.
47751 * iconv/gconv_simple.c: Likewise.
47752 * iconv/gconv_int.h: Likewise.
47753 * iconv/gconv_builtin.h: Likewise.
47754 * iconv/iconv_prog.c: Remove CHAR16 handling.
47756 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47758 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47760 * configure.in: Remove --with-elf and --enable-bounded options.
47761 Dont set base_machine for ia64. More non-ELF conditions removed.
47762 Remove testing and setting of leading underscore information.
47763 * config.make.in (build-bounded): Set to no.
47764 * config.h.in: Remove NO_UNDERSCORES entry.
47765 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
47767 * csu/start.c: Remove !NO_UNDERSCORE code.
47768 * locale/localeinfo.h: Likewise.
47769 * sysdeps/generic/machine-gmon.h: Likewise.
47770 * sysdeps/generic/sysdep.h: Likewise.
47771 * sysdeps/i386/sysdep.h: Likewise.
47772 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47773 * sysdeps/mach/sysdep.h: Likewise.
47774 * sysdeps/s390/s390-32/sysdep.h: Likewise.
47775 * sysdeps/s390/s390-64/sysdep.h: Likewise.
47776 * sysdeps/sh/sysdep.h: Likewise.
47777 * sysdeps/sparc/sparc32/alloca.S: Likewise.
47778 * sysdeps/unix/i386/sysdep.S: Likewise.
47779 * sysdeps/unix/sparc/start.c: Likewise.
47780 * sysdeps/unix/sparc/sysdep.S: Likewise.
47781 * sysdeps/unix/sparc/sysdep.h: Likewise.
47782 * sysdeps/unix/start.c: Likewise.
47783 * sysdeps/unix/x86_64/sysdep.S: Likewise.
47784 * sysdeps/x86_64/sysdep.h: Likewise.
47786 2012-01-07 Ulrich Drepper <drepper@gmail.com>
47789 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47791 * argp/argp-fmtstream.h: Use const instead __const.
47792 * argp/argp.h: Likewise.
47793 * assert/assert.h: Likewise.
47794 * bits/fenv.h: Likewise.
47795 * bits/sched.h: Likewise.
47796 * bits/sigset.h: Likewise.
47797 * bits/sigthread.h: Likewise.
47798 * catgets/nl_types.h: Likewise.
47799 * conform/data/pthread.h-data: Likewise.
47800 * crypt/crypt-private.h: Likewise.
47801 * crypt/crypt.h: Likewise.
47802 * crypt/crypt_util.c: Likewise.
47803 * ctype/ctype.h: Likewise.
47804 * debug/execinfo.h: Likewise.
47805 * debug/mbsnrtowcs_chk.c: Likewise.
47806 * debug/mbsrtowcs_chk.c: Likewise.
47807 * debug/wcsnrtombs_chk.c: Likewise.
47808 * debug/wcsrtombs_chk.c: Likewise.
47809 * debug/wcstombs_chk.c: Likewise.
47810 * dirent/dirent.h: Likewise.
47811 * dlfcn/dlfcn.h: Likewise.
47812 * elf/neededtest4.c: Likewise.
47813 * grp/grp.h: Likewise.
47814 * gshadow/gshadow.h: Likewise.
47815 * iconv/gconv.h: Likewise.
47816 * iconv/gconv_int.h: Likewise.
47817 * iconv/gconv_simple.c: Likewise.
47818 * iconv/iconv.h: Likewise.
47819 * iconv/loop.c: Likewise.
47820 * iconv/skeleton.c: Likewise.
47821 * include/aio.h: Likewise.
47822 * include/aliases.h: Likewise.
47823 * include/argz.h: Likewise.
47824 * include/arpa/inet.h: Likewise.
47825 * include/assert.h: Likewise.
47826 * include/dirent.h: Likewise.
47827 * include/dlfcn.h: Likewise.
47828 * include/execinfo.h: Likewise.
47829 * include/fcntl.h: Likewise.
47830 * include/fenv.h: Likewise.
47831 * include/glob.h: Likewise.
47832 * include/grp.h: Likewise.
47833 * include/libintl.h: Likewise.
47834 * include/mntent.h: Likewise.
47835 * include/netdb.h: Likewise.
47836 * include/pwd.h: Likewise.
47837 * include/rpc/netdb.h: Likewise.
47838 * include/sched.h: Likewise.
47839 * include/search.h: Likewise.
47840 * include/shadow.h: Likewise.
47841 * include/signal.h: Likewise.
47842 * include/stdio.h: Likewise.
47843 * include/stdlib.h: Likewise.
47844 * include/string.h: Likewise.
47845 * include/sys/socket.h: Likewise.
47846 * include/sys/stat.h: Likewise.
47847 * include/sys/statfs.h: Likewise.
47848 * include/sys/statvfs.h: Likewise.
47849 * include/sys/syslog.h: Likewise.
47850 * include/sys/time.h: Likewise.
47851 * include/sys/uio.h: Likewise.
47852 * include/time.h: Likewise.
47853 * include/unistd.h: Likewise.
47854 * include/utmp.h: Likewise.
47855 * include/wchar.h: Likewise.
47856 * include/wctype.h: Likewise.
47857 * inet/aliases.h: Likewise.
47858 * inet/arpa/inet.h: Likewise.
47859 * inet/netinet/ether.h: Likewise.
47860 * inet/netinet/in.h: Likewise.
47861 * intl/libintl.h: Likewise.
47862 * io/bits/fcntl2.h: Likewise.
47863 * io/fcntl.h: Likewise.
47864 * io/ftw.h: Likewise.
47865 * io/sys/poll.h: Likewise.
47866 * io/sys/stat.h: Likewise.
47867 * io/sys/statfs.h: Likewise.
47868 * io/sys/statvfs.h: Likewise.
47869 * io/utime.h: Likewise.
47870 * libio/bits/stdio.h: Likewise.
47871 * libio/bits/stdio2.h: Likewise.
47872 * libio/libio.h: Likewise.
47873 * libio/libioP.h: Likewise.
47874 * libio/stdio.h: Likewise.
47875 * locale/lc-ctype.c: Likewise.
47876 * locale/locale.h: Likewise.
47877 * login/utmp.h: Likewise.
47878 * malloc/arena.c: Likewise.
47879 * malloc/malloc.c: Likewise.
47880 * malloc/malloc.h: Likewise.
47881 * malloc/mcheck.c: Likewise.
47882 * malloc/mtrace.c: Likewise.
47883 * math/bits/mathcalls.h: Likewise.
47884 * math/fenv.h: Likewise.
47885 * math/math_private.h: Likewise.
47886 * misc/bits/error.h: Likewise.
47887 * misc/bits/syslog.h: Likewise.
47888 * misc/err.h: Likewise.
47889 * misc/error.h: Likewise.
47890 * misc/fstab.h: Likewise.
47891 * misc/mntent.h: Likewise.
47892 * misc/regexp.h: Likewise.
47893 * misc/search.h: Likewise.
47894 * misc/sgtty.h: Likewise.
47895 * misc/sys/mman.h: Likewise.
47896 * misc/sys/syslog.h: Likewise.
47897 * misc/sys/uio.h: Likewise.
47898 * misc/sys/xattr.h: Likewise.
47899 * misc/ttyent.h: Likewise.
47900 * nis/rpcsvc/ypclnt.h: Likewise.
47901 * nss/nss.h: Likewise.
47902 * posix/bits/unistd.h: Likewise.
47903 * posix/fnmatch.h: Likewise.
47904 * posix/glob.h: Likewise.
47905 * posix/sched.h: Likewise.
47906 * posix/spawn.h: Likewise.
47907 * posix/sys/wait.h: Likewise.
47908 * posix/unistd.h: Likewise.
47909 * posix/wordexp.h: Likewise.
47910 * pwd/pwd.h: Likewise.
47911 * resolv/netdb.h: Likewise.
47912 * resource/sys/resource.h: Likewise.
47913 * rt/aio.h: Likewise.
47914 * rt/bits/mqueue2.h: Likewise.
47915 * rt/mqueue.h: Likewise.
47916 * shadow/shadow.h: Likewise.
47917 * signal/signal.h: Likewise.
47918 * socket/send.c: Likewise.
47919 * socket/sendto.c: Likewise.
47920 * socket/sys/socket.h: Likewise.
47921 * stdio-common/printf.h: Likewise.
47922 * stdlib/bits/stdlib.h: Likewise.
47923 * stdlib/fmtmsg.h: Likewise.
47924 * stdlib/monetary.h: Likewise.
47925 * stdlib/stdlib.h: Likewise.
47926 * stdlib/ucontext.h: Likewise.
47927 * streams/stropts.h: Likewise.
47928 * string/argz.h: Likewise.
47929 * string/bits/string2.h: Likewise.
47930 * string/string.h: Likewise.
47931 * string/strings.h: Likewise.
47932 * sunrpc/rpc/auth.h: Likewise.
47933 * sunrpc/rpc/auth_des.h: Likewise.
47934 * sunrpc/rpc/clnt.h: Likewise.
47935 * sunrpc/rpc/netdb.h: Likewise.
47936 * sunrpc/rpc/pmap_clnt.h: Likewise.
47937 * sunrpc/rpc/xdr.h: Likewise.
47938 * sysdeps/generic/inttypes.h: Likewise.
47939 * sysdeps/generic/net/if.h: Likewise.
47940 * sysdeps/generic/sys/swap.h: Likewise.
47941 * sysdeps/gnu/net/if.h: Likewise.
47942 * sysdeps/gnu/utmpx.h: Likewise.
47943 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47944 * sysdeps/i386/i486/bits/string.h: Likewise.
47945 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47946 * sysdeps/s390/bits/string.h: Likewise.
47947 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47948 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47949 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47950 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47951 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47952 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47953 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47954 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47955 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47956 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47957 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47958 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47959 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47960 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47961 * sysdeps/unix/sysv/linux/readv.c: Likewise.
47962 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47963 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47964 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47965 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47966 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47967 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47968 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47969 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47970 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47971 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47972 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47973 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47974 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47975 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47976 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47977 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47978 * sysvipc/sys/ipc.h: Likewise.
47979 * sysvipc/sys/msg.h: Likewise.
47980 * sysvipc/sys/sem.h: Likewise.
47981 * sysvipc/sys/shm.h: Likewise.
47982 * termios/termios.h: Likewise.
47983 * time/sys/time.h: Likewise.
47984 * time/time.h: Likewise.
47985 * wcsmbs/bits/wchar2.h: Likewise.
47986 * wcsmbs/uchar.h: Likewise.
47987 * wcsmbs/wchar.h: Likewise.
47988 * wctype/wctype.h: Likewise.
47991 * Makeconfig: Remove all but ELF support including AIX support.
47992 * Makerules: Likewise.
47993 * config.h.in: Likewise.
47994 * config.make.in: Likewise.
47995 * configure: Likewise.
47996 * configure.in: Likewise.
47997 * csu/Makefile: Likewise.
47998 * csu/version.c: Likewise.
47999 * debug/Makefile: Likewise.
48000 * dlfcn/Makefile: Likewise.
48001 * elf/Makefile: Likewise.
48002 * extra-lib.mk: Likewise.
48003 * iconv/Makefile: Likewise.
48004 * include/libc-symbols.h: Likewise.
48005 * include/shlib-compat.h: Likewise.
48006 * resolv/Makefile: Likewise.
48007 * resolv/res_libc.c: Likewise.
48008 * rt/Makefile: Likewise.
48009 * sysdeps/i386/asm-syntax.h: Likewise.
48010 * sysdeps/i386/sysdep.h: Likewise.
48011 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
48012 * sysdeps/mach/sysdep.h: Likewise.
48013 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
48014 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
48015 * sysdeps/s390/asm-syntax.h: Likewise.
48016 * sysdeps/s390/s390-32/sysdep.h: Likewise.
48017 * sysdeps/s390/s390-64/sysdep.h: Likewise.
48018 * sysdeps/sh/sysdep.h: Likewise.
48019 * sysdeps/unix/sparc/sysdep.h: Likewise.
48020 * sysdeps/wordsize-32/divdi3.c: Likewise.
48021 * sysdeps/x86_64/sysdep.h: Likewise.
48023 * argp/Versions: Remove _argp_unlock_xxx.
48026 * abilist/ld.abilist: Update. Adjust for removal of tls option.
48027 * abilist/libBrokenLocale.abilist: Likewise.
48028 * abilist/libanl.abilist: Likewise.
48029 * abilist/libc.abilist: Likewise.
48030 * abilist/libcrypt.abilist: Likewise.
48031 * abilist/libdl.abilist: Likewise.
48032 * abilist/libm.abilist: Likewise.
48033 * abilist/libnsl.abilist: Likewise.
48034 * abilist/libpthread.abilist: Likewise.
48035 * abilist/libresolv.abilist: Likewise.
48036 * abilist/librt.abilist: Likewise.
48037 * abilist/libthread_db.abilist: Likewise.
48038 * abilist/libutil.abilist: Likewise.
48039 * abilist/libnss_db.abilist: New file.
48041 * scripts/abilist.awk: Add support for indirect functions.
48043 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
48045 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
48047 * shlib-versions: Remove entries for ports architectures.
48049 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
48051 * elf/stackguard-macros.h: Remove support for IA-64.
48052 * elf/tst-auditmod1.c: Likewise.
48053 * sysdeps/generic/ldsodefs.h: Likewise.
48055 * sysdeps/unix/sysv/linux/configure.in: Ports should define
48056 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
48060 * configure.in: Remove --enable-omitfp support.
48062 * config.make.in: Likewise.
48063 * Makeconfig: Likewise.
48064 * manual/install.texi: Likewise.
48066 In case anyone cares, the IA-64 architecture could move to ports.
48067 * sysdeps/ia64/*: Removed.
48068 * sysdeps/unix/sysv/linux/ia64/*: Removed.
48069 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
48072 * configure.in: Remove entries for unsupported architectures.
48075 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
48076 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
48078 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
48079 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
48080 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
48081 fall back to using wcrtomb.
48082 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
48083 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
48085 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
48086 * wcsmbs/tst-c16c32-1.c: New file.
48088 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
48091 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
48093 * elf/tst-unique3.cc: Add explicit declaration of gets.
48094 * elf/tst-unique3lib.cc: Likewise.
48095 * elf/tst-unique3lib2.cc: Likewise.
48096 * elf/tst-unique4.cc: Likewise.
48098 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
48100 2012-01-06 Joseph Myers <joseph@codesourcery.com>
48103 * assert/assert.h (static_assert): Don't define for C++.
48104 * libio/stdio.h (gets): Do declare for C++ <= C++11.
48105 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
48107 2012-01-03 Ulrich Drepper <drepper@gmail.com>
48109 * iconv/loop.c (single loop): Fix assertion in storing of
48112 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
48114 2012-01-01 Ulrich Drepper <drepper@gmail.com>
48116 * posix/getconf.c: Update copyright year.
48117 * nss/getent.c: Likewise.
48118 * nss/makedb.c: Likewise.
48119 * iconv/iconvconfig.c: Likewise.
48120 * iconv/iconv_prog.c: Likewise.
48121 * elf/ldconfig.c: Likewise.
48122 * elf/pldd.c: Likewise.
48123 * elf/sotruss.ksh: Likewise.
48124 * catgets/gencat.c: Likewise.
48125 * csu/version.c: Likewise.
48126 * elf/ldd.bash.in: Likewise.
48127 * elf/sprof.c (print_version): Likewise.
48128 * locale/programs/locale.c: Likewise.
48129 * locale/programs/localedef.c: Likewise.
48130 * login/programs/pt_chown.c: Likewise.
48131 * nscd/nscd.c (print_version): Likewise.
48132 * debug/xtrace.sh: Likewise.
48133 * malloc/memusage.sh: Likewise.
48134 * malloc/mtrace.pl: Likewise.
48135 * debug/catchsegv.sh: Likewise.
48137 2011-12-30 Jakub Jelinek <jakub@redhat.com>
48139 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
48142 2011-12-24 Ulrich Drepper <drepper@gmail.com>
48145 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
48146 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
48148 * iconv/gconv_int.h: Likewise.
48149 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
48150 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
48151 from libc for GLIBC_2.16.
48152 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
48153 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
48154 * wcsmbs/uchar.h: Really define mbstate_t.
48155 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
48156 * wcsmbs/c16rtomb.c: New file.
48157 * wcsmbs/mbrtoc16.c: New file.
48158 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
48159 for C/POSIX locale.
48160 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48161 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48163 * wcsmbs/wchar.h: Add missing __restrict.
48165 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48168 * time/Makefile (routines): Add timespec_get.
48169 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48170 * time/time.h: Define TIME_UTC and declare timespec_get. Define
48171 timespec for ISO C11.
48172 * time/timespec_get.c: New file.
48173 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48174 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48177 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48178 * stdlib/stdlib.h: Declare aligned_alloc.
48179 * Versions.def: Add GLIBC_2.16 for libc.
48180 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48183 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48186 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48190 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48193 * assert/assert.h (static_assert): Define.
48195 * version.h: Update for 2.16 development version.
48198 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48201 * version.h (RELEASE): Bump for 2.15 release.
48202 * include/features.h (__GLIBC_MINOR__): Bump to 15.
48204 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48205 Patch by Marek Polacek <mpolacek@redhat.com>.
48207 * bits/byteswap.h: Protect long long constants with __extension__.
48208 * sysdeps/i386/bits/byteswap.h: Likewise.
48209 * sysdeps/ia64/bits/byteswap.h: Likewise.
48210 * sysdeps/s390/bits/byteswap.h: Likewise.
48211 * sysdeps/x86_64/bits/byteswap.h: Likewise.
48213 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48216 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48217 destination buffer.
48218 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48220 2011-12-23 Marek Polacek <polacek@redhat.com>
48222 * elf/dl-addr.c (determine_info): Add inline keyword.
48223 * elf/tst-auditmod4b.c (check_avx): Likewise.
48224 * elf/tst-auditmod6b.c (check_avx): Likewise.
48225 * elf/tst-auditmod6c.c (check_avx): Likewise.
48226 * elf/tst-auditmod7b.c (check_avx): Likewise.
48228 2011-12-23 Ulrich Drepper <drepper@gmail.com>
48230 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48233 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48236 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48237 processing for last bytes.
48239 2011-08-06 Bruno Haible <bruno@clisp.org>
48242 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48243 U+0385, not to U+1FEE.
48246 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48247 entry for U+00A5 U+0301.
48249 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48252 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48253 buffer for the output is too small.
48255 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48259 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48260 SSE flags if possible.
48262 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48265 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48266 processing for last bytes.
48268 2011-12-22 Joseph Myers <joseph@codesourcery.com>
48270 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48271 (syscall-list-default-options, syscall-list-default-condition)
48272 (syscall-list-includes): Define.
48273 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48274 list of ABIs and options and #if conditions for each ABI. Do not
48275 handle common syscalls between ABIs specially.
48276 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48278 (syscall-list-variants, syscall-list-32bit-options)
48279 (syscall-list-32bit-condition, syscall-list-64bit-options)
48280 (syscall-list-64bit-condition): Define.
48281 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48282 (syscall-list-variants, syscall-list-32bit-options)
48283 (syscall-list-32bit-condition, syscall-list-64bit-options)
48284 (syscall-list-64bit-condition): Define.
48285 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48287 (syscall-list-variants, syscall-list-32bit-options)
48288 (syscall-list-32bit-condition, syscall-list-64bit-options)
48289 (syscall-list-64bit-condition): Define.
48290 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48292 (syscall-list-variants, syscall-list-32bit-options)
48293 (syscall-list-32bit-condition, syscall-list-64bit-options)
48294 (syscall-list-64bit-condition): Define.
48296 2011-12-22 Ulrich Drepper <drepper@gmail.com>
48298 * locale/iso-639.def: Add brx entry.
48301 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48302 Proposed by Mariusz_Cukr <marcukr@op.pl>.
48304 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48305 __feraiseexcept_renamed.
48307 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48310 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48311 EPOLLET with unsigned values.
48312 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48313 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48315 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48316 to large cancellation.
48317 * math/s_cacoshf.c: Likewise.
48318 * math/s_cacoshl.c: Likewise.
48320 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
48324 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48325 * math/s_cacoshf.c: Likewise.
48326 * math/s_cacoshl.c: Likewise.
48328 2011-12-21 Ulrich Drepper <drepper@gmail.com>
48331 * iconv/gconv.h: Define __GCONV_SWAP.
48332 * iconvdata/unicode.c: The swap bit must be stored in __flags.
48333 * iconvdata/utf-16.c: Likewise.
48334 * iconvdata/utf-32.c: Likewise.
48336 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
48339 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48340 numerator after shifting it by one limb.
48342 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
48344 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48345 under [__USE_EXTERN_INLINES].
48347 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48350 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48352 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48354 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48355 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48357 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48358 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48359 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48360 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48361 for strncasecmp/strncasecmp_l compilation.
48362 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48363 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48365 2011-12-08 Marek Polacek <mpolacek@redhat.com>
48368 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48371 2011-12-17 Ulrich Drepper <drepper@gmail.com>
48374 * time/tzfile.c (__tzfile_read): Check values from file header.
48376 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
48378 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48379 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48380 * powerpc/powerpc32/dl-start.S: Likewise.
48381 * powerpc/powerpc32/elf/start.S: Likewise.
48382 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48383 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48384 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48385 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48386 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48387 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48388 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48389 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48390 * powerpc/powerpc32/fpu/s_round.S: Likewise.
48391 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48392 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48393 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48394 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48395 * powerpc/powerpc32/memset.S: Likewise.
48396 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48397 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48398 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48399 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48400 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48401 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48402 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48403 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48404 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48405 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48406 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48407 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48408 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48410 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48412 * math/libm-test.inc: Added more nearbyint tests.
48413 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48414 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48415 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48416 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48418 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
48420 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48423 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48425 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48426 Add wcscpy-ssse3 wcscpy-c.
48427 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48428 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48429 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48430 * sysdeps/x86_64/wcschr.S: New file.
48431 * sysdeps/x86_64/wcsrchr.S: New file.
48432 * string/test-strcmp.c: Remove checking of wcscmp function for
48434 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48435 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48436 wcsrchr-sse2 wcsrchr-c.
48437 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48438 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48439 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48440 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48441 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48442 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48443 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48444 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48445 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48446 * wcsmbc/wcschr.c (WCSCHR): New macro.
48448 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
48450 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48451 * wcsmbs/test-wcsrchr.c: New file.
48452 * string/test-strrchr.c: Add wcsrchr support.
48454 * wcsmbs/test-wcscpy.c: New file.
48455 * string/test-strcpy.c: Add wcscpy support.
48458 2011-12-10 Ulrich Drepper <drepper@gmail.com>
48460 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48463 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
48466 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48468 2011-12-04 Ulrich Drepper <drepper@gmail.com>
48470 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48471 Minor optimizations.
48473 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48474 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48475 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48477 2011-12-03 Ulrich Drepper <drepper@gmail.com>
48479 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48480 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48481 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48482 for gcc to avoid warnings.
48483 * inet/Makefile (tests): Add tst-checks.
48484 * inet/tst-checks.c: New file.
48486 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48489 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48492 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48493 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48495 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48497 2011-12-02 Ulrich Drepper <drepper@gmail.com>
48499 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48502 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48504 2011-11-29 Joseph Myers <joseph@codesourcery.com>
48506 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48507 conditional on GCC version.
48508 (__arch_compare_and_exchange_val_8_acq)
48509 (__arch_compare_and_exchange_val_16_acq)
48510 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48511 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48512 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48514 2011-12-02 Joseph Myers <joseph@codesourcery.com>
48516 * sysdeps/sh/backtrace.c: New file.
48518 2011-12-02 Andreas Schwab <schwab@redhat.com>
48520 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
48523 2011-12-01 Andreas Schwab <schwab@redhat.com>
48525 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48526 falling back to utime.
48528 2011-11-30 Andreas Schwab <schwab@redhat.com>
48530 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48531 expectations for float.
48533 2011-11-29 Andreas Schwab <schwab@redhat.com>
48535 * locale/weight.h (findidx): Add parameter len.
48536 * locale/weightwc.h (findidx): Likewise.
48537 * posix/fnmatch_loop.c (FCT): Adjust caller.
48538 * posix/regcomp.c (build_equiv_class): Likewise.
48539 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48540 * posix/regexec.c (check_node_accept_bytes): Likewise.
48541 * string/strcoll_l.c (STRCOLL): Likewise.
48542 * string/strxfrm_l.c (STRXFRM): Likewise.
48544 2011-11-17 Ulrich Drepper <drepper@gmail.com>
48546 * Makefile.in: Remove CVSOPT handling.
48547 * configure.in: Remove use of AC_REVISION.
48548 * iconvdata/Makefile (distribute): No need to filter out CVS.
48549 * scripts/list-sources.sh: Remove CVS, subversion and monotone
48552 2011-11-16 Andreas Schwab <schwab@redhat.com>
48554 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48555 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48556 [USE_AS_STRNCASECMP_L]: Likewise.
48557 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48558 NO_TLS_DIRECT_SEG_REFS.
48559 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48560 Fix argument offsets for non-PIC.
48561 [USE_AS_STRNCASECMP_L]: Likewise.
48562 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48563 NO_TLS_DIRECT_SEG_REFS.
48565 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48567 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48569 * locale/loadlocale.c (_nl_load_locale): Likewise.
48571 2011-11-15 Andreas Schwab <schwab@redhat.com>
48573 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48574 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48575 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48576 (SYSCALL_GETTIME): Set errno on error.
48578 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48579 count references to noai6ai_cached.
48581 2011-11-15 Ulrich Drepper <drepper@gmail.com>
48583 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48585 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48586 FD_CLOEXEC for /proc/self/maps.
48588 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48589 FD_CLOEXEC for /proc/meminfo.
48591 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48594 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
48595 FD_CLOEXEC for given file.
48597 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48599 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48600 FD_CLOEXEC for /etc/hosts.
48601 (_gethtent): Likewise.
48603 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48605 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48606 cancellation and set FD_CLOEXEC for /etc/netgroup.
48608 * nss/nss_files/files-key.c (search): Don't allow cancellation when
48609 reading /etc/publickey.
48611 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48612 allow cancellation when reading /etc/group.
48614 * nss/nss_files/files-alias.c (internal_setent): Don't allow
48616 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
48618 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48619 when using data file.
48621 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48623 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48624 (write_nis_obj): Use "c" and "e" in fopen.
48626 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48628 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48630 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48632 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48634 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48637 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48639 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48641 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48643 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48644 file parsing and set FD_CLOEXEC.
48646 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48648 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48650 2011-11-14 Andreas Schwab <schwab@redhat.com>
48652 * malloc/arena.c (arena_get2): Don't call reused_arena when
48653 _int_new_arena failed.
48655 2011-11-14 Ulrich Drepper <drepper@gmail.com>
48657 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48658 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48659 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48660 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48661 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48662 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48663 to compile strcasecmp and strncasecmp.
48664 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48665 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48667 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48669 2011-11-13 Ulrich Drepper <drepper@gmail.com>
48671 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48672 locale-defines.sym to gen-as-const-headers.
48673 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48674 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48675 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48676 to compile strcasecmp and strncasecmp.
48677 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48678 strcasecmp_l and strncasecmp_l.
48679 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48680 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48681 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48682 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48683 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48684 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48685 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48686 * sysdeps/i386/i686/multiarch/strncase.S: New file.
48687 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48688 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48689 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48691 2011-11-12 Ulrich Drepper <drepper@gmail.com>
48693 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48694 result of SYSDEP_GETTIME_CPU to retval.
48695 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48696 parameter list to macro. Remove trailing semicolon. Adjust users.
48698 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48701 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48703 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48705 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48706 from unused variable.
48708 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48710 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48713 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48716 * sunrpc/rpc_prot.c (rejected): Fix case value.
48718 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48719 unsigned long long int to avoid warnings in shift.
48721 * posix/regex_internal.c (re_string_reconstruct): Actually use result
48723 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48726 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48727 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48728 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48730 * nis/nis_table.c (nis_list): Use variable of correct type for
48731 result of __follow_path call.
48733 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48735 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48736 of math functions ceil, trunc, floor, round, and sqrt, when
48737 avaliable on the platform.
48738 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48740 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48741 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48742 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48744 2011-10-30 Marek Polacek <mpolacek@redhat.com>
48746 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48747 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48749 2011-11-11 Roland McGrath <roland@hack.frob.com>
48751 * include/unistd.h: Fix __readlink return type.
48752 Reported by Chris Metcalf <cmetcalf@tilera.com>.
48754 2011-11-11 Ulrich Drepper <drepper@gmail.com>
48756 * stdlib/ucontext.h: Undo last change for makecontext.
48758 2011-11-11 Andreas Schwab <schwab@redhat.com>
48760 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48762 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48763 * setjmp/setjmp.h: Mark functions as non-leaf.
48764 * setjmp/bits/setjmp2.h: Likewise.
48765 * stdlib/ucontext.h: Likewise.
48767 2011-11-10 Andreas Schwab <schwab@redhat.com>
48769 * malloc/arena.c (_int_new_arena): Don't increment narenas.
48770 (reused_arena): Don't check arena limit.
48771 (arena_get2): Atomically check arena limit.
48773 2011-11-08 Ulrich Drepper <drepper@gmail.com>
48775 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48776 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48778 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48781 2011-11-07 Andreas Schwab <schwab@redhat.com>
48783 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48784 handler when locking.
48786 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48787 Fix size of allocated buffer.
48789 2011-11-04 Andreas Schwab <schwab@redhat.com>
48792 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48793 declarations for long double functions.
48794 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48796 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48798 2011-11-03 Andreas Schwab <schwab@redhat.com>
48800 * nscd/nscd.c (main): Don't start AVC thread until credentials are
48803 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48806 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
48808 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48810 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
48812 * include/alloca.h (stackinfo_alloca_round): Define.
48813 (extend_alloca): Use it.
48814 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48815 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48818 * scripts/check-local-headers.sh: Ignore libaudit.h.
48820 * nscd/Makefile (extra-objs): Make recursively expanded.
48822 2011-11-01 Ulrich Drepper <drepper@gmail.com>
48824 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48825 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48827 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48828 * posix/tst-rfc3484-2.c: Likewise.
48829 * posix/tst-rfc3484-3.c: Likewise.
48831 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48833 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48835 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48836 process_vm_writev from libc using GLIBC_2.15 version.
48838 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48840 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
48842 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48845 2011-10-31 Ulrich Drepper <drepper@gmail.com>
48848 * nss/getent.c (initgroups_keys): Show error message in case no group
48851 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48852 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48853 __bump_nl_timestamp.
48854 * nscd/connections (nscd_init): When host database is served open
48855 netlink socket and request notification about configuration changes.
48856 (main_loop_poll): Track netlink file descriptor and bump timestamp
48857 in case data becomes available.
48858 (main_loop_epoll): Likewise.
48859 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48860 (database_pers_head): Add extra_data fileds.
48861 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48862 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48863 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48865 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48866 in6ai data, call __free_in6ai.
48867 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48868 Add -DHAVE_NETLINK.
48869 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
48870 interface information. Reuse previous data if netlink timestamp
48872 (__bump_nl_timestamp): New function.
48873 (__free_in6ai): New function.
48875 2011-10-30 Ulrich Drepper <drepper@gmail.com>
48877 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48878 close_not_cancel_no_status here.
48879 (__check_pf): Reorganize code a bit to not call close twice if OOM.
48881 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48884 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48887 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48888 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48889 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48891 2011-07-03 Andreas Jaeger <aj@suse.de>
48894 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48895 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48896 * math/libm-test.inc (sin_test): Add test case.
48898 2011-10-29 Ulrich Drepper <drepper@gmail.com>
48901 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48902 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48904 * elf/chroot_canon.c (chroot_canon): Cleanups.
48906 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48909 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48910 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48912 * string/test-strchr.c: Make usable for strchrnul testing.
48913 * string/test-strchrnul.c: New file.
48914 * string/Makefile (strop-tests): Add strchrnul.
48916 * po/it.po: Update from translation team.
48917 * po/es.po: Likewise.
48919 2011-10-28 Ulrich Drepper <drepper@gmail.com>
48921 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48922 the three constants needed as parameters. Drop the others.
48923 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48924 __m128i_strloadu_tolower.
48925 Create and initialize variable zero and use it in all the places
48926 where _mm_setzero_si128 was used.
48928 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48929 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48930 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48931 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48933 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48934 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48935 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48936 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48937 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48938 __mpranred, __mptan.
48939 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48940 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48941 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48942 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48943 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48944 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48945 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48946 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48947 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48949 2011-10-28 Andreas Schwab <schwab@redhat.com>
48951 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48952 redefine if SHARED.
48953 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48956 wide char related routines to wcsmbs subdir.
48958 2011-10-27 Andreas Schwab <schwab@redhat.com>
48961 * misc/sys/cdefs.h (__THROWNL): Define.
48962 * posix/unistd.h: Use __THREADNL instead of __THREAD
48963 for memory synchronization functions.
48965 2011-10-26 Roland McGrath <roland@hack.frob.com>
48968 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48970 * manual/stdio.texi (Obstack Streams): Node removed.
48972 2011-10-26 Andreas Schwab <schwab@redhat.com>
48974 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48975 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48976 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48978 * math/math_private.h (math_force_eval): Allow non-addressable
48980 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48982 2011-10-25 Ulrich Drepper <drepper@gmail.com>
48984 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48985 file is not needed.
48987 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48988 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48989 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48990 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48991 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48992 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48993 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48994 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48996 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48997 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48998 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48999 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
49000 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
49001 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
49002 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
49003 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
49004 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
49005 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
49006 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
49007 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
49008 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
49009 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
49010 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
49011 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
49012 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
49013 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
49014 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
49016 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
49017 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
49019 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
49020 place. Use VEX encoding when compiling for AVX.
49022 2011-10-25 Andreas Schwab <schwab@redhat.com>
49024 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
49025 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
49027 * string/test-strchr.c (do_test): Don't generate NUL bytes.
49029 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49031 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
49032 useless if() expression.
49033 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49034 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
49035 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
49036 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49037 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
49038 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
49039 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49040 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49041 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
49042 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49043 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49044 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49045 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
49046 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49047 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
49048 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
49049 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49050 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49051 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
49053 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
49055 2011-10-25 Andreas Schwab <schwab@redhat.com>
49057 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
49059 * elf/dl-fini.c (_dl_sort_fini): Likewise.
49061 2011-10-25 Ulrich Drepper <drepper@gmail.com>
49063 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
49064 .text section. Avoid duplicate constants.
49065 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
49066 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49067 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49068 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49069 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49070 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49071 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49072 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49073 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
49074 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
49075 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
49076 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
49077 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
49078 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
49079 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
49080 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
49081 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
49082 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
49083 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
49084 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49085 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
49086 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
49087 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
49088 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
49089 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
49090 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
49091 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
49092 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
49093 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
49094 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
49095 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
49096 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
49097 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
49098 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
49099 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
49100 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
49101 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
49102 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
49103 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
49104 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
49105 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
49106 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
49107 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
49108 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
49109 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
49111 2011-10-24 Ulrich Drepper <drepper@gmail.com>
49113 * sysdeps/x86_64/dla.h: Move to ...
49114 * sysdeps/x86_64/fpu/dla.h: ...here.
49115 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
49116 situations. Use __builtin_fma only for gcc 4.6 and up.
49118 * config.make.in: Add have-mfma4 entry.
49119 * configure.in: Substitute libc_cv_cc_fma4.
49120 * math/Makefile (dbl-only-routines): Add sincostab.
49121 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
49122 Use __sincostab not sincos.
49123 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
49125 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49127 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49128 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
49130 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
49131 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
49132 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
49133 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
49135 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
49136 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
49138 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
49139 define aliases when function name is a macro.
49140 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
49141 sysdeps/ieee754/dbl-64/sincos.tbl.
49142 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
49143 fma4-enabled routines.
49144 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
49145 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
49146 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
49147 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
49148 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
49149 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
49150 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
49151 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
49152 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
49153 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
49154 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
49155 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
49156 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
49157 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
49158 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
49159 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49160 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49161 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49162 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49163 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49164 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49165 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49166 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49167 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49168 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49169 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49170 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49171 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49172 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49173 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49175 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49177 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49178 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49179 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49180 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49181 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49182 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49183 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49184 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49186 2011-10-24 Andreas Schwab <schwab@redhat.com>
49188 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49190 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49192 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49194 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49196 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49198 * string/strnlen.c: Don't define STRNLEN, reverse logic.
49199 Remove unused variable magic_bits.
49200 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49202 * string/strnlen.c: Define and use STRNLEN macro.
49203 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49204 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49205 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49206 * wcsmbs/wcslen.c: Define and use WCSLEN.
49207 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49208 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49209 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49210 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49211 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49212 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49213 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49215 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49217 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49218 strnlen-sse2-no-bsf.
49219 Rename strlen-no-bsf to strlen-sse2-no-bsf.
49220 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49221 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49222 Add strnlen support.
49223 (USE_AS_STRNLEN): New macro.
49224 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49225 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49226 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49227 * sysdeps/x86_64/wcslen.S: New file.
49229 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
49231 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49232 XMM-moves are used for copying on small sizes.
49234 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49236 * wcsmbs/Makefile (strop-tests): Add wcschr.
49237 * wcsmbs/test-wcschr.c: New file.
49238 * string/test-strchr.c: Update.
49239 Add wcschr support.
49242 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49244 * wcsmbs/Makefile (strop-tests): Add wcslen.
49245 * wcsmbs/test-wcslen.c: New file.
49246 * string/test-strlen.c: Update.
49247 Add wcslen support.
49250 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49252 * po/it.po: Update from translation team.
49254 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49256 * sysdeps/x86_64/wcscmp.S: Update.
49257 Fix wrong comparison semantics.
49258 wcscmp shall use signed comparison not unsigned.
49259 Don't use substraction to avoid overflow bug.
49260 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49261 * wcsmbc/wcscmp.c: Likewise.
49262 * string/test-strcmp.c: Likewise.
49263 Add new tests to check cases with negative values.
49265 2011-10-23 Ulrich Drepper <drepper@gmail.com>
49267 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49268 * sysdeps/x86_64/dla.h: ...here. New file.
49269 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49270 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49271 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49272 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49273 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49274 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49275 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49276 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49277 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49279 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
49281 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49282 __ynl_finite aliases.
49284 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49286 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49288 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49290 [DLA_FMA] (EMULV): Use DLA_FMA.
49291 [DLA_FMA] (MUL12): Use EMULV.
49292 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49293 that are not needed.
49294 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49295 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49296 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49297 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49298 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49299 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49300 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49302 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
49304 * math/s_nan.c: Undef __nan.
49305 * math/s_nanf.c: Undef __nanf.
49306 * math/s_nanl.c: Undef __nanl.
49307 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49310 2011-10-22 Ulrich Drepper <drepper@gmail.com>
49312 * math/s_catan.c: Add branch predictions.
49313 * math/s_catanf.c: Likewise.
49314 * math/s_catanh.c: Likewise.
49315 * math/s_catanhf.c: Likewise.
49316 * math/s_catanhl.c: Likewise.
49317 * math/s_catanl.c: Likewise.
49318 * math/s_cexp.c: Likewise.
49319 * math/s_cexpf.c: Likewise.
49320 * math/s_cexpl.c: Likewise.
49321 * math/s_clog.c: Likewise.
49322 * math/s_clog10.c: Likewise.
49323 * math/s_clog10f.c: Likewise.
49324 * math/s_clog10l.c: Likewise.
49325 * math/s_clogf.c: Likewise.
49326 * math/s_clogl.c: Likewise.
49327 * math/s_csqrt.c: Likewise.
49328 * math/s_csqrtf.c: Likewise.
49329 * math/s_csqrtl.c: Likewise.
49330 * math/s_ctanf.c: Likewise.
49331 * math/s_ctanh.c: Likewise.
49332 * math/s_ctanhf.c: Likewise.
49333 * math/s_ctanhl.c: Likewise.
49334 * math/s_ctanl.c: Likewise.
49336 * math/math_private.h: Define __nan, __nanf, __nanl.
49337 * math/s_cacosh.c: Include <math_private.h>.
49338 * math/s_cacoshl.c: Likewise.
49339 * math/s_casinh.c: Likewise.
49340 * math/s_casinhf.c: Likewise.
49341 * math/s_casinhl.c: Likewise.
49342 * math/s_ccos.c: Rely entire on ccosh.
49343 * math/s_ccosf.c: Rely entire on ccoshf.
49344 * math/s_ccosl.c: Rely entirely on ccoshl.
49345 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
49346 Remove tests for FE_INVALID.
49347 * math/s_ccoshf.c: Likewise.
49348 * math/s_ccoshl.c: Likewise.
49349 * math/s_csin.c: Likewise.
49350 * math/s_csinf.c: Likewise.
49351 * math/s_csinh.c Likewise.
49352 * math/s_csinhf.c: Likewise.
49353 * math/s_csinhl.c: Likewise.
49354 * math/s_csinl.c: Likewise.
49355 * math/s_ctan.c: Likewise.
49356 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49357 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49358 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49360 2011-10-21 Ulrich Drepper <drepper@gmail.com>
49362 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49363 compilation problems.
49365 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49368 2011-10-20 Ulrich Drepper <drepper@gmail.com>
49370 * sysdeps/i386/configure.in: Test for -mfma4 option.
49371 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49372 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49373 COMMON_CPUID_INDEX_80000001.
49374 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49375 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49376 use it if FMA3 is not supported.
49377 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49379 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49380 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49382 2011-10-20 Andreas Schwab <schwab@redhat.com>
49385 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49386 it would create a cycle with a link time dependency.
49388 2011-10-19 Ulrich Drepper <drepper@gmail.com>
49390 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49392 * string/Makefile (strop-tests): Add rawmemchr.
49393 * string/test-rawmemchr.c: New file.
49395 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49396 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
49397 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
49398 when compiling str{,n}casecmp and when AVX is available. Hook up
49399 new optimized code in initializers.
49401 2011-10-19 Andreas Schwab <schwab@redhat.com>
49403 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49404 __feraiseexcept instead of feraiseexcept.
49406 2011-10-18 Ulrich Drepper <drepper@gmail.com>
49408 * math/math_private.h: Define defaults for libc_fetestexcept and
49410 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49411 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49412 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49413 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49414 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49415 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49416 libc_fetestexcept and libc_feupdateenv.
49418 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49419 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49420 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49421 * sysdeps/x86_64/fpu/math_private.h: Define special version of
49422 libc_feholdexcept_setround.
49424 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49425 Add s_nearbyint-c and s_nearbyintf-c.
49426 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49427 nearbyintf inlines.
49428 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49429 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49430 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49431 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49433 * math/math_private.h: Define defaults for libc_fegetround,
49434 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49435 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49436 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49437 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49438 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49439 standard functions.
49440 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49441 Remove comments and hacks for old compiler versions.
49442 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49443 libc_fegetround, libc_fesetround, libc_feholdexcept, and
49444 libc_feholdexceptl.
49446 2011-10-18 Andreas Schwab <schwab@redhat.com>
49448 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49449 (__feraiseexcept_renamed): Add __NTH.
49450 (feraiseexcept): Add __NTH. Rename local variables to fix
49451 namespace violations.
49453 2011-10-17 Ulrich Drepper <drepper@gmail.com>
49455 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49457 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49459 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49460 recently added interfaces.
49461 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49463 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49464 about macro parameter expansion.
49466 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49467 __NO_MATH_INLINES is defined. Cleanups.
49469 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49470 and __floorf is target has SSE4.1.
49471 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49472 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49473 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49474 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49476 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49478 (floorf): Likewise.
49480 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49482 2011-10-17 Andreas Schwab <schwab@redhat.com>
49484 * misc/sys/cdefs.h: Fix last change.
49486 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49489 2011-10-16 Ulrich Drepper <drepper@gmail.com>
49491 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49493 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49494 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49495 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49496 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49497 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49498 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49499 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49500 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49501 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49502 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49503 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49504 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49505 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49506 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49507 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49508 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49509 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49510 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49511 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49512 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49513 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49514 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49516 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49517 ceil, ceilf, floor, floorf.
49519 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49520 Perform IRELATIVE relocations last.
49522 * elf/do-rel.h: Add another parameter nrelative, replacing the
49523 local variable with the same name. Change name of the function
49524 to end in Rel or Rela (uppercase).
49525 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49526 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
49527 elf_dynamic_do_##reloc function.
49529 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49531 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49532 is sufficient, at least on modern CPUs.
49534 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49536 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49537 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49539 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49541 * math/bits/math-finite.h: Add entries for exp.
49542 * math/e_expl.c: Add __*_finite alias.
49543 * sysdeps/i386/fpu/e_exp.S: Likewise.
49544 * sysdeps/i386/fpu/e_expf.S: Likewise.
49545 * sysdeps/i386/fpu/e_expl.c: Likewise.
49546 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49547 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49548 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49549 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49550 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49551 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49552 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49554 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49555 is sufficient, at least on modern CPUs.
49557 * ctype/ctype-info.c (__ctype_init): Define.
49558 * include/ctype.h (__ctype_init): Declare.
49559 (__ctype_b_loc): The variable is always initialized.
49560 (__ctype_toupper_loc): Likewise.
49561 (__ctype_tolower_loc): Likewise.
49562 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49563 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49565 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
49567 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49569 * configure.in: Also look in $cxxmachine/include for C++ system
49572 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49574 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49575 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49576 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49577 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
49578 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49579 (USE_AS_WMEMCMP): New macro.
49581 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49582 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49583 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49584 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49586 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49587 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49588 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49589 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49590 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49591 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49592 (USE_AS_WMEMCMP): New macro.
49593 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49594 * sysdeps/string/test-memcmp.c: Update.
49595 Fix simple_wmemcmp.
49597 * wcsmbs/wmemcmp.c: Update.
49598 (WMEMCMP): New macro.
49601 2011-10-12 Andreas Jaeger <aj@suse.de>
49604 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49606 2011-10-15 Ulrich Drepper <drepper@gmail.com>
49608 * libio/iofwide.c (do_length): Avoid warning.
49610 * ctype/ctype.h (__isctype_f): Add missing __THROW.
49612 2011-10-14 Ulrich Drepper <drepper@gmail.com>
49614 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49616 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49617 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49618 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49619 * sysdeps/i386/i686/fpu/e_log.S: New file.
49620 * sysdeps/i386/i686/fpu/e_logf.S: New file.
49621 * sysdeps/i386/i686/fpu/e_logl.S: New file.
49623 * ctype/ctype.h: Add support for inlined isXXX functions when
49624 compiling C++ code.
49626 2011-10-14 Andreas Schwab <schwab@redhat.com>
49628 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49630 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49632 2011-10-13 Roland McGrath <roland@hack.frob.com>
49635 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49637 2011-10-13 Andreas Schwab <schwab@redhat.com>
49639 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49640 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49643 * sysdeps/x86_64/memrchr.S: Check for zero size.
49645 * string/stratcliff.c: Add memrchr tests.
49647 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
49649 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49650 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49651 rawmemchr-sse2 rawmemchr-sse2-bsf.
49652 * sysdeps/i386/i686/multiarch/memchr.S: New file.
49653 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49654 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49655 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49656 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49657 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49658 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49659 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49660 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49661 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49662 * string/memrchr.c (MEMRCHR): New macro.
49664 2011-10-12 Ulrich Drepper <drepper@gmail.com>
49666 Add integration with gcc's -ffinite-math-only and optimize wrapper
49668 * Versions.def: Define GLIBC_2.15 version for libm.
49669 * math/Makefile (headers): Add bits/math-finite.h.
49670 * math/bits/math-finite.h: New file.
49671 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49672 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49673 * math/e_acoshl.c: Add __*_finite alias.
49674 * math/e_acosl.c: Likewise.
49675 * math/e_asinl.c: Likewise.
49676 * math/e_atan2l.c: Likewise.
49677 * math/e_atanhl.c: Likewise.
49678 * math/e_coshl.c: Likewise.
49679 * math/e_exp10.c: Likewise.
49680 * math/e_exp10f.c: Likewise.
49681 * math/e_exp10l.c: Likewise.
49682 * math/e_exp2l.c: Likewise.
49683 * math/e_fmodl.c: Likewise.
49684 * math/e_gammal_r.c: Likewise.
49685 * math/e_hypotl.c: Likewise.
49686 * math/e_j0l.c: Likewise.
49687 * math/e_j1l.c: Likewise.
49688 * math/e_jnl.c: Likewise.
49689 * math/e_lgammal_r.c: Likewise.
49690 * math/e_log10l.c: Likewise.
49691 * math/e_log2l.c: Likewise.
49692 * math/e_logl.c: Likewise.
49693 * math/e_powl.c: Likewise.
49694 * math/e_sinhl.c: Likewise.
49695 * math/e_sqrtl.c: Likewise.
49696 * math/e_scalb.c: Completely rewritten and optimized.
49697 * math/e_scalbf.c: Likewise.
49698 * math/e_scalbl.c: Likewise.
49699 * math/w_acos.c: Likewise.
49700 * math/w_acosf.c: Likewise.
49701 * math/w_acosl.c: Likewise.
49702 * math/w_acosh.c: Likewise.
49703 * math/w_acoshf.c: Likewise.
49704 * math/w_acoshl.c: Likewise.
49705 * math/w_asin.c: Likewise.
49706 * math/w_asinf.c: Likewise.
49707 * math/w_asinl.c: Likewise.
49708 * math/w_atan2.c: Likewise.
49709 * math/w_atan2f.c: Likewise.
49710 * math/w_atan2l.c: Likewise.
49711 * math/w_atanh.c: Likewise.
49712 * math/w_atanhf.c: Likewise.
49713 * math/w_atanhl.c: Likewise.
49714 * math/w_exp10.c: Likewise.
49715 * math/w_exp10f.c: Likewise.
49716 * math/w_exp10l.c: Likewise.
49717 * math/w_fmod.c: Likewise.
49718 * math/w_fmodf.c: Likewise.
49719 * math/w_fmodl.c: Likewise.
49720 * math/w_j0.c: Likewise.
49721 * math/w_j0f.c: Likewise.
49722 * math/w_j0l.c: Likewise.
49723 * math/w_j1.c: Likewise.
49724 * math/w_j1f.c: Likewise.
49725 * math/w_j1l.c: Likewise.
49726 * math/w_jn.c: Likewise.
49727 * math/w_jnf.c: Likewise.
49728 * math/w_log.c: Likewise.
49729 * math/w_logf.c: Likewise.
49730 * math/w_logl.c: Likewise.
49731 * math/w_log10.c: Likewise.
49732 * math/w_log10f.c: Likewise.
49733 * math/w_log10l.c: Likewise.
49734 * math/w_log2.c: Likewise.
49735 * math/w_log2f.c: Likewise.
49736 * math/w_log2l.c: Likewise.
49737 * math/w_pow.c: Likewise.
49738 * math/w_powf.c: Likewise.
49739 * math/w_powl.c: Likewise.
49740 * math/w_remainder.c: Likewise.
49741 * math/w_remainderf.c: Likewise.
49742 * math/w_remainderl.c: Likewise.
49743 * math/w_scalb.c: Likewise.
49744 * math/w_scalbf.c: Likewise.
49745 * math/w_scalbl.c: Likewise.
49746 * math/w_sqrt.c: Likewise.
49747 * math/w_sqrtf.c: Likewise.
49748 * math/w_sqrtl.c: Likewise.
49749 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49750 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
49752 * math/math_private.h: Declare __kernel_standard_f.
49753 * math/w_cosh.c: Remove cruft and optimize a bit.
49754 * math/w_coshf.c: Likewise.
49755 * math/w_coshl.c: Likewise.
49756 * math/w_exp2.c: Likewise.
49757 * math/w_exp2f.c: Likewise.
49758 * math/w_exp2l.c: Likewise.
49759 * math/w_hypot.c: Likewise.
49760 * math/w_hypotf.c: Likewise.
49761 * math/w_hypotl.c: Likewise.
49762 * math/w_lgamma.c: Likewise.
49763 * math/w_lgamma_r.c: Likewise.
49764 * math/w_lgammaf.c: Likewise.
49765 * math/w_lgammaf_r.c: Likewise.
49766 * math/w_lgammal.c: Likewise.
49767 * math/w_lgammal_r.c: Likewise.
49768 * math/w_sinh.c: Likewise.
49769 * math/w_sinhf.c: Likewise.
49770 * math/w_sinhl.c: Likewise.
49771 * math/w_tgamma.c: Likewise.
49772 * math/w_tgammaf.c: Likewise.
49773 * math/w_tgammal.c: Likewise.
49774 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49775 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49776 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49777 Minor optimizations. Pretty printing. Remove cruft.
49778 * sysdeps/i386/fpu/e_acosf.S: Likewise.
49779 * sysdeps/i386/fpu/e_acosh.S: Likewise.
49780 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49781 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49782 * sysdeps/i386/fpu/e_acosl.c: Likewise.
49783 * sysdeps/i386/fpu/e_asin.S: Likewise.
49784 * sysdeps/i386/fpu/e_asinf.S: Likewise.
49785 * sysdeps/i386/fpu/e_atan2.S: Likewise.
49786 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49787 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49788 * sysdeps/i386/fpu/e_atanh.S: Likewise.
49789 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49790 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49791 * sysdeps/i386/fpu/e_exp10.S: Likewise.
49792 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49793 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49794 * sysdeps/i386/fpu/e_exp2.S: Likewise.
49795 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49796 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49797 * sysdeps/i386/fpu/e_fmod.S: Likewise.
49798 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49799 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49800 * sysdeps/i386/fpu/e_hypot.S: Likewise.
49801 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49802 * sysdeps/i386/fpu/e_log.S: Likewise.
49803 * sysdeps/i386/fpu/e_log10.S: Likewise.
49804 * sysdeps/i386/fpu/e_log10f.S: Likewise.
49805 * sysdeps/i386/fpu/e_log10l.S: Likewise.
49806 * sysdeps/i386/fpu/e_log2.S: Likewise.
49807 * sysdeps/i386/fpu/e_log2f.S: Likewise.
49808 * sysdeps/i386/fpu/e_log2l.S: Likewise.
49809 * sysdeps/i386/fpu/e_logf.S: Likewise.
49810 * sysdeps/i386/fpu/e_logl.S: Likewise.
49811 * sysdeps/i386/fpu/e_pow.S: Likewise.
49812 * sysdeps/i386/fpu/e_powf.S: Likewise.
49813 * sysdeps/i386/fpu/e_powl.S: Likewise.
49814 * sysdeps/i386/fpu/e_remainder.S: Likewise.
49815 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49816 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49817 * sysdeps/i386/fpu/e_scalb.S: Likewise.
49818 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49819 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49820 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49821 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49822 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49823 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49824 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49825 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49826 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49827 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49828 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49829 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49830 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49831 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49832 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49833 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49834 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49835 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49836 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49837 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49838 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49839 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49840 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49841 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49842 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49843 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49844 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49845 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49846 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49847 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49848 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49849 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49850 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49851 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49852 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49853 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49854 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49855 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49856 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49857 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49858 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49859 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49860 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49861 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49862 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49863 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49864 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49865 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49866 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49867 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49868 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49869 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49870 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49871 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49872 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49873 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49874 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49875 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49876 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49877 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49878 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49879 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49880 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49881 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49882 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49883 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49884 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49885 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49886 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49887 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49888 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49889 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49890 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49891 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49892 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49893 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49894 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49895 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49896 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49897 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49898 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49899 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49900 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49901 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49902 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49903 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49904 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49905 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49906 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49907 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49908 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49909 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49910 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49911 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49912 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49913 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49914 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49915 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49916 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49917 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49918 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49919 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49920 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49921 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49922 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49923 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49924 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49925 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49926 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49927 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49928 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49929 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49930 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49931 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49932 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49933 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
49934 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49935 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49936 (__isnanf): Likewise.
49937 (__isinf_ns): Likewise.
49938 (__isinf_nsf): Likewise.
49939 (__finite): Likewise.
49940 (__finitef): Likewise.
49941 (__ieee754_sqrt): Define as macro.
49942 (__ieee754_sqrtf): Define as macro.
49943 (__ieee754_sqrtl): Define as macro.
49944 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49946 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49947 __FINITE_MATH_ONLY__ consistent.
49948 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49950 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
49952 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49955 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49957 2011-10-09 Ulrich Drepper <drepper@gmail.com>
49959 * po/ja.po: Update from translation team.
49961 2011-10-08 Roland McGrath <roland@hack.frob.com>
49963 * locale/programs/locarchive.c (prepare_address_space): New function.
49964 (create_archive, enlarge_archive, open_archive): Use it.
49966 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49967 inside [SHARED], where it is used.
49969 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49971 * nss/getent.c (netgroup_keys): Remove unused variable.
49972 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49974 2011-10-08 Ulrich Drepper <drepper@gmail.com>
49976 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49977 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49978 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49979 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49980 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49981 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49982 * math/Makefile (libm-calls): Add s_isinf_ns.
49983 * math/divtc3.c: Use __isinf_nsl instead of isinf.
49984 * math/multc3.c: Likewise.
49985 * math/s_casin.c: Likewise.
49986 * math/s_casinf.c: Likewise.
49987 * math/s_casinl.c: Likewise.
49988 * math/s_ccos.c: Likewise.
49989 * math/s_ccosf.c: Likewise.
49990 * math/s_ccosl.c: Likewise.
49991 * math/s_ctan.c: Likewise.
49992 * math/s_ctanf.c: Likewise.
49993 * math/s_ctanh.c: Likewise.
49994 * math/s_ctanhf.c: Likewise.
49995 * math/s_ctanhl.c: Likewise.
49996 * math/s_ctanl.c: Likewise.
49997 * math/w_fmod.c: Likewise.
49998 * math/w_fmodf.c: Likewise.
49999 * math/w_fmodl.c: Likewise.
50000 * math/w_remainder.c: Likewise.
50001 * math/w_remainderf.c: Likewise.
50002 * math/w_remainderl.c: Likewise.
50003 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
50004 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
50005 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
50006 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
50007 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
50008 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
50009 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
50010 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
50012 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
50014 * stdio-common/printf_fphex.c: Likewise.
50015 * stdio-common/printf_size.c: Likewise.
50017 * math/e_exp10.c: Include math_private.h using <...> not "...".
50018 * math/e_exp10f.c: Likewise.
50019 * math/e_exp10l.c: Likewise.
50020 * math/e_exp2l.c: Likewise.
50021 * math/e_j0l.c: Likewise.
50022 * math/e_j1l.c: Likewise.
50023 * math/e_jnl.c: Likewise.
50024 * math/e_lgammal_r.c: Likewise.
50025 * math/e_rem_pio2l.c: Likewise.
50026 * math/e_scalb.c: Likewise.
50027 * math/e_scalbf.c: Likewise.
50028 * math/e_scalbl.c: Likewise.
50029 * math/k_cosl.c: Likewise.
50030 * math/k_sinl.c: Likewise.
50031 * math/k_tanl.c: Likewise.
50032 * math/s_cacoshf.c: Likewise.
50033 * math/s_catan.c: Likewise.
50034 * math/s_catanf.c: Likewise.
50035 * math/s_catanh.c: Likewise.
50036 * math/s_catanhf.c: Likewise.
50037 * math/s_catanhl.c: Likewise.
50038 * math/s_catanl.c: Likewise.
50039 * math/s_ccosh.c: Likewise.
50040 * math/s_ccoshf.c: Likewise.
50041 * math/s_ccoshl.c: Likewise.
50042 * math/s_cexp.c: Likewise.
50043 * math/s_cexpf.c: Likewise.
50044 * math/s_cexpl.c: Likewise.
50045 * math/s_clog.c: Likewise.
50046 * math/s_clog10.c: Likewise.
50047 * math/s_clog10f.c: Likewise.
50048 * math/s_clog10l.c: Likewise.
50049 * math/s_clogf.c: Likewise.
50050 * math/s_clogl.c: Likewise.
50051 * math/s_csin.c: Likewise.
50052 * math/s_csinf.c: Likewise.
50053 * math/s_csinh.c: Likewise.
50054 * math/s_csinhf.c: Likewise.
50055 * math/s_csinhl.c: Likewise.
50056 * math/s_csinl.c: Likewise.
50057 * math/s_csqrt.c: Likewise.
50058 * math/s_csqrtf.c: Likewise.
50059 * math/s_csqrtl.c: Likewise.
50060 * math/s_ctan.c: Likewise.
50061 * math/s_ctanf.c: Likewise.
50062 * math/s_ctanh.c: Likewise.
50063 * math/s_ctanhf.c: Likewise.
50064 * math/s_ctanhl.c: Likewise.
50065 * math/s_ctanl.c: Likewise.
50066 * math/s_ldexp.c: Likewise.
50067 * math/s_ldexpf.c: Likewise.
50068 * math/s_ldexpl.c: Likewise.
50069 * math/s_significand.c: Likewise.
50070 * math/s_significandf.c: Likewise.
50071 * math/s_significandl.c: Likewise.
50072 * math/w_acos.c: Likewise.
50073 * math/w_acosf.c: Likewise.
50074 * math/w_acosh.c: Likewise.
50075 * math/w_acoshf.c: Likewise.
50076 * math/w_acoshl.c: Likewise.
50077 * math/w_acosl.c: Likewise.
50078 * math/w_asin.c: Likewise.
50079 * math/w_asinf.c: Likewise.
50080 * math/w_asinl.c: Likewise.
50081 * math/w_atan2.c: Likewise.
50082 * math/w_atan2f.c: Likewise.
50083 * math/w_atan2l.c: Likewise.
50084 * math/w_atanh.c: Likewise.
50085 * math/w_atanhf.c: Likewise.
50086 * math/w_atanhl.c: Likewise.
50087 * math/w_cosh.c: Likewise.
50088 * math/w_coshf.c: Likewise.
50089 * math/w_coshl.c: Likewise.
50090 * math/w_dremf.c: Likewise.
50091 * math/w_exp10.c: Likewise.
50092 * math/w_exp10f.c: Likewise.
50093 * math/w_exp10l.c: Likewise.
50094 * math/w_exp2.c: Likewise.
50095 * math/w_exp2f.c: Likewise.
50096 * math/w_fmod.c: Likewise.
50097 * math/w_fmodf.c: Likewise.
50098 * math/w_fmodl.c: Likewise.
50099 * math/w_hypot.c: Likewise.
50100 * math/w_hypotf.c: Likewise.
50101 * math/w_hypotl.c: Likewise.
50102 * math/w_j0.c: Likewise.
50103 * math/w_j0f.c: Likewise.
50104 * math/w_j0l.c: Likewise.
50105 * math/w_j1.c: Likewise.
50106 * math/w_j1f.c: Likewise.
50107 * math/w_j1l.c: Likewise.
50108 * math/w_jn.c: Likewise.
50109 * math/w_jnf.c: Likewise.
50110 * math/w_jnl.c: Likewise.
50111 * math/w_lgamma.c: Likewise.
50112 * math/w_lgamma_r.c: Likewise.
50113 * math/w_lgammaf.c: Likewise.
50114 * math/w_lgammaf_r.c: Likewise.
50115 * math/w_lgammal.c: Likewise.
50116 * math/w_lgammal_r.c: Likewise.
50117 * math/w_log.c: Likewise.
50118 * math/w_log10.c: Likewise.
50119 * math/w_log10f.c: Likewise.
50120 * math/w_log10l.c: Likewise.
50121 * math/w_log2.c: Likewise.
50122 * math/w_log2f.c: Likewise.
50123 * math/w_log2l.c: Likewise.
50124 * math/w_logf.c: Likewise.
50125 * math/w_logl.c: Likewise.
50126 * math/w_pow.c: Likewise.
50127 * math/w_powf.c: Likewise.
50128 * math/w_powl.c: Likewise.
50129 * math/w_remainder.c: Likewise.
50130 * math/w_remainderf.c: Likewise.
50131 * math/w_remainderl.c: Likewise.
50132 * math/w_scalb.c: Likewise.
50133 * math/w_scalbf.c: Likewise.
50134 * math/w_scalbl.c: Likewise.
50135 * math/w_sinh.c: Likewise.
50136 * math/w_sinhf.c: Likewise.
50137 * math/w_sinhl.c: Likewise.
50138 * math/w_sqrt.c: Likewise.
50139 * math/w_sqrtf.c: Likewise.
50140 * math/w_sqrtl.c: Likewise.
50141 * math/w_tgamma.c: Likewise.
50142 * math/w_tgammaf.c: Likewise.
50143 * math/w_tgammal.c: Likewise.
50145 * po/ja.po: Update from translation team.
50147 2011-09-29 Andreas Jaeger <aj@suse.de>
50150 * sunrpc/netname.c (netname2host): Fix logic.
50154 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
50156 * math/w_remainder.c (__remainder): Likewise.
50157 * math/w_remainderf.c (__remainderf): Likewise.
50158 * math/libm-test.inc (remainder_test): Add test cases.
50160 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50162 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
50165 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50167 * string/test-memcmp.c: Avoid unncessary #defines.
50168 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50170 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50172 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50173 Use new sse2 version for core i3 - i7 as it's faster
50174 than sse42 version.
50175 (bit_Prefer_PMINUB_for_stringop): New.
50176 * sysdeps/x86_64/rawmemchr.S: Update.
50177 Replace with faster SSE2 version.
50178 * sysdeps/x86_64/memrchr.S: New file.
50179 * sysdeps/x86_64/memchr.S: Update.
50180 Replace with faster SSE2 version.
50182 2011-09-12 Marek Polacek <mpolacek@redhat.com>
50184 * elf/dl-load.c (lose): Add cast to avoid warning.
50186 2011-10-07 Ulrich Drepper <drepper@gmail.com>
50188 * po/ca.po: Update from translation team.
50190 * inet/getnetgrent_r.c: Hook up nscd.
50191 * nscd/Makefile (routines): Add nscd_netgroup.
50192 (nscd-modules): Add netgroupcache.
50193 (CFLAGS-netgroupcache.c): Define.
50194 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50195 (cache_search): Add const to second parameter.
50196 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50198 (dbs): Add netgrdb entry.
50199 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50200 (verify_persistent_db): Handle netgrdb.
50201 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50202 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50204 (netgroup_response_header): Define.
50205 (innetgroup_response_header): Define.
50206 (datahead): Add netgroup_response_header and innetgroup_response_header
50208 * nscd/nscd.conf: Add entries for netgroup cache.
50209 * nscd/nscd.h (dbtype): Add netgrdb.
50210 (_PATH_NSCD_NETGROUP_DB): Define.
50211 (netgroup_iov_disabled): Declare.
50212 (xmalloc, xcalloc, xrealloc): Move declarations here.
50213 (cache_search): Adjust prototype.
50214 Add netgroup-related prototypes.
50215 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50216 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50217 (__nscd_innetgr): Declare.
50218 * nscd/selinux.c (perms): Use access_vector_t as element type and
50219 add netgroup-related initializers.
50220 * nscd/netgroupcache.c: New file.
50221 * nscd/nscd_netgroup.c: New file.
50222 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50223 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50224 For four parameters use innetgr.
50225 * nss/nss_files/files-init.c: Add definition and callback for netgr.
50226 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50227 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50228 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50230 * nscd/connections.c (register_traced_file): Don't register file
50231 for disabled databases.
50233 2011-10-06 Ulrich Drepper <drepper@gmail.com>
50235 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50237 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50238 from tree and freeing node.
50240 2011-09-25 Jiri Olsa <jolsa@redhat.com>
50242 * nss/nsswitch.c (__nss_database_lookup): Handle
50243 nss_parse_service_list out of memory case.
50245 2011-09-15 Jiri Olsa <jolsa@redhat.com>
50247 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50248 out of memory case.
50250 2011-10-04 Andreas Schwab <schwab@redhat.com>
50252 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50253 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50255 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50256 elf_machine_rela, elf_machine_lazy_rel.
50257 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50258 (ELF_DYNAMIC_DO_REL): Likewise.
50259 (ELF_DYNAMIC_DO_RELA): Likewise.
50260 (ELF_DYNAMIC_RELOCATE): Likewise.
50261 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50262 to ELF_DYNAMIC_DO_REL.
50263 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50264 (dl_main): In trace mode always set __RTLD_NOIFUNC.
50265 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50267 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50268 skip_ifunc, don't call ifunc function if non-zero.
50269 (elf_machine_rela): Likewise.
50270 (elf_machine_lazy_rel): Likewise.
50271 (elf_machine_lazy_rela): Likewise.
50272 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50273 (elf_machine_lazy_rel): Likewise.
50274 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50276 (elf_machine_lazy_rel): Likewise.
50277 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50279 (elf_machine_lazy_rel): Likewise.
50280 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50281 (elf_machine_lazy_rel): Likewise.
50282 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50283 (elf_machine_lazy_rel): Likewise.
50284 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50285 (elf_machine_lazy_rel): Likewise.
50286 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50287 (elf_machine_lazy_rel): Likewise.
50288 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50289 (elf_machine_lazy_rel): Likewise.
50290 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50291 (elf_machine_lazy_rel): Likewise.
50293 2011-09-28 Ulrich Drepper <drepper@gmail.com>
50295 * nss/nss_files/files-init.c (_nss_files_init): Use static
50296 initialization for all the *_traced_file variables.
50298 2011-09-28 Andreas Schwab <schwab@redhat.com>
50300 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50302 2011-09-27 Roland McGrath <roland@hack.frob.com>
50305 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50307 2011-09-27 Andreas Schwab <schwab@redhat.com>
50309 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50310 Reread the line before reparsing it.
50312 2011-09-26 Andreas Schwab <schwab@redhat.com>
50314 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50316 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
50317 Maxim Kuvyrkov <maxim@codesourcery.com>
50318 Joseph Myers <joseph@codesourcery.com>
50320 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50321 if needed for __stack_chk_guard.
50323 2011-09-19 Roland McGrath <roland@hack.frob.com>
50325 * sysdeps/posix/spawni.c (script_execute): Always define it.
50326 It will be optimized away if unused.
50327 (maybe_script_execute): New function.
50328 (__spawni): Call it.
50330 * Makerules: Don't include tls.make.
50331 (config-tls): Always set to thread.
50332 * tls.make.c: File removed.
50334 2011-09-19 Mike Frysinger <vapier@gentoo.org>
50336 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50337 * config.make.in (CPPFLAGS-config): New substituted variable.
50339 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50341 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50344 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50345 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50347 2011-09-15 Roland McGrath <roland@hack.frob.com>
50349 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50350 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50351 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50352 (CALL_FAIL): Likewise.
50353 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50354 (CALL_FAIL): Macro removed.
50355 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50357 2011-09-15 Ulrich Drepper <drepper@gmail.com>
50359 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50360 for __FINITE_MATH_ONLY__ == 1.
50362 2011-09-15 Andreas Schwab <schwab@redhat.com>
50364 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50365 __ieee754_sqrt instead of sqrt.
50366 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50367 __ieee754_sqrtf instead of sqrtf.
50368 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50369 __floorf instead of floorf.
50370 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50371 __floorf, __truncf instead of floorf, truncf.
50373 2011-09-14 Ulrich Drepper <drepper@gmail.com>
50375 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50377 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50378 __extern_always_inline.
50379 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50382 2011-09-14 Andreas Schwab <schwab@redhat.com>
50384 * elf/rtld.c (dl_main): Also relocate in dependency order when
50385 doing symbol dependency testing.
50387 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
50389 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50390 Always define `refsym'.
50392 2011-09-13 Andreas Schwab <schwab@redhat.com>
50394 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50395 (__FD_ELT): Renamed from __FDELT.
50396 * misc/bits/select2.h (__FD_ELT): Likewise.
50397 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50398 __FD_MASK instead of __FDELT, __FDMASK.
50399 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50401 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50404 * elf/Makefile (gen-ldd): Fix pattern.
50406 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50407 (init_tls): Likewise.
50409 2011-09-12 Ulrich Drepper <drepper@gmail.com>
50411 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50413 2011-09-12 Andreas Schwab <schwab@redhat.com>
50415 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50416 `struct cmsghdr *' instead of `void *'.
50417 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50420 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
50422 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50424 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50425 ldd_rewrite_script.
50427 2011-09-11 Ulrich Drepper <drepper@gmail.com>
50429 * configure.in: Remove --with-tls option.
50430 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50431 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50432 out in case it is missing.
50433 * sysdeps/ia64/elf/configure.in: Likewise.
50434 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50435 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50436 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50437 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50438 * sysdeps/sh/elf/configure.in: Likewise.
50439 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50440 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50441 * sysdeps/x86_64/elf/configure.in: Likewise.
50442 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50443 * sysdeps/mach/hurd/tls.h: Likewise.
50446 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50449 * configure.in: Fix use of AC_INIT.
50451 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50453 2011-09-10 Ulrich Drepper <drepper@gmail.com>
50455 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50457 * malloc/hooks.c: Likewise.
50460 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
50461 variables statically.
50462 (narenas): Initialize.
50463 (list_lock): Initialize.
50464 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
50465 initializtion of main_arena and list_lock. Small cleanups.
50466 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50467 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
50468 Add initializers to main_arena and mp_.
50469 (malloc_state): Remove pagesize member. Change all users to use
50472 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50473 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
50474 is always initialized.
50476 * malloc/malloc.c: Removed unused configurations and dead code.
50477 * malloc/arena.c: Likewise.
50478 * malloc/hooks.c: Likewise.
50479 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50481 * include/tls.h: Removed. USE___THREAD must always be defined.
50482 * bits/libc-tsd.h: Don't handle !USE___THREAD.
50483 * elf/dl-libc.c: Likewise.
50484 * elf/dl-tsd.c: Likewise.
50485 * include/errno.h: Likewise.
50486 * include/netdb.h: Likewise.
50487 * include/resolv.h: Likewise.
50488 * inet/herrno-loc.c: Likewise.
50489 * inet/herrno.c: Likewise.
50490 * malloc/arena.c: Likewise.
50491 * malloc/hooks.c: Likewise.
50492 * malloc/malloc.c: Likewise.
50493 * resolv/res-state.c: Likewise.
50494 * resolv/res_libc.c: Likewise.
50495 * sysdeps/i386/dl-machine.h: Likewise.
50496 * sysdeps/ia64/dl-machine.h: Likewise.
50497 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50498 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50499 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50500 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50501 * sysdeps/sh/dl-machine.h: Likewise.
50502 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50503 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50504 * sysdeps/unix/i386/sysdep.S: Likewise.
50505 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50506 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50507 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50508 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50509 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50510 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50511 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50513 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50514 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50515 * sysdeps/unix/x86_64/sysdep.S: Likewise.
50516 * sysdeps/x86_64/dl-machine.h: Likewise.
50517 * tls.make.c: Likewise.
50519 * configure.in: Remove --with-__thread option. Make tests for
50520 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50521 tls_model attribute fail if no support is available. Remove
50523 * Makeconfig: Adjust for dropped configure option. All features are
50525 * Makerules: Likewise.
50526 * Versions.def: Likewise.
50527 * argp/argp-fmtstream.c: Likewise.
50528 * argp/argp-fmtstream.h: Likewise.
50529 * argp/argp-help.c: Likewise.
50530 * assert/assert.c: Likewise.
50531 * config.h.in: Likewise.
50532 * config.make.in: Likewise.
50533 * configure: Likewise.
50534 * configure.in: Likewise.
50535 * csu/Versions: Likewise.
50536 * csu/init.c: Likewise.
50537 * elf/tst-audit2.c: Likewise.
50538 * elf/tst-tls10.c: Likewise.
50539 * elf/tst-tls10.h: Likewise.
50540 * elf/tst-tls11.c: Likewise.
50541 * elf/tst-tls12.c: Likewise.
50542 * elf/tst-tls14.c: Likewise.
50543 * elf/tst-tlsmod11.c: Likewise.
50544 * elf/tst-tlsmod12.c: Likewise.
50545 * elf/tst-tlsmod13.c: Likewise.
50546 * elf/tst-tlsmod13a.c: Likewise.
50547 * elf/tst-tlsmod14a.c: Likewise.
50548 * elf/tst-tlsmod15b.c: Likewise.
50549 * elf/tst-tlsmod16a.c: Likewise.
50550 * elf/tst-tlsmod16b.c: Likewise.
50551 * elf/tst-tlsmod7.c: Likewise.
50552 * elf/tst-tlsmod8.c: Likewise.
50553 * elf/tst-tlsmod9.c: Likewise.
50554 * gmon/gmon.c: Likewise.
50555 * grp/fgetgrent_r.c: Likewise.
50556 * grp/putgrent.c: Likewise.
50557 * hurd/fopenport.c: Likewise.
50558 * include/libc-symbols.h: Likewise.
50559 * include/tls.h: Likewise.
50560 * intl/gettextP.h: Likewise.
50561 * intl/loadinfo.h: Likewise.
50562 * locale/global-locale.c: Likewise.
50563 * locale/localeinfo.h: Likewise.
50564 * mach/devstream.c: Likewise.
50565 * malloc/arena.c: Likewise.
50566 * malloc/set-freeres.c: Likewise.
50567 * misc/err.c: Likewise.
50568 * misc/getttyent.c: Likewise.
50569 * misc/mntent_r.c: Likewise.
50570 * posix/getopt.c: Likewise.
50571 * posix/wordexp.c: Likewise.
50572 * pwd/fgetpwent_r.c: Likewise.
50573 * resolv/Versions: Likewise.
50574 * resolv/res_hconf.c: Likewise.
50575 * shadow/fgetspent_r.c: Likewise.
50576 * shadow/putspent.c: Likewise.
50577 * stdio-common/printf_fphex.c: Likewise.
50578 * stdio-common/tmpfile.c: Likewise.
50579 * stdlib/abort.c: Likewise.
50580 * stdlib/fmtmsg.c: Likewise.
50581 * sunrpc/auth_unix.c: Likewise.
50582 * sunrpc/clnt_perr.c: Likewise.
50583 * sunrpc/clnt_tcp.c: Likewise.
50584 * sunrpc/clnt_udp.c: Likewise.
50585 * sunrpc/clnt_unix.c: Likewise.
50586 * sunrpc/openchild.c: Likewise.
50587 * sunrpc/svc_simple.c: Likewise.
50588 * sunrpc/svc_tcp.c: Likewise.
50589 * sunrpc/svc_udp.c: Likewise.
50590 * sunrpc/svc_unix.c: Likewise.
50591 * sunrpc/xdr.c: Likewise.
50592 * sunrpc/xdr_array.c: Likewise.
50593 * sunrpc/xdr_rec.c: Likewise.
50594 * sunrpc/xdr_ref.c: Likewise.
50595 * sunrpc/xdr_stdio.c: Likewise.
50597 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50599 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50601 2011-07-03 Andreas Jaeger <aj@suse.de>
50603 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50604 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50605 regenerate with gen-libm-tests.pl.
50607 2010-05-12 Petr Baudis <pasky@suse.cz>
50610 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50611 around j0() zero points by switching to j1().
50612 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50613 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50614 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50615 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50617 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50619 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50621 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50624 Patch in part by Pavel Roskin <proski@gnu.org>.
50627 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50629 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
50630 Free memory block if necessary.
50633 * libio/genops.c (INTDEF): For string streams the _lock pointer can
50634 be NULL. Don't lock in this case.
50636 2011-09-09 Roland McGrath <roland@hack.frob.com>
50638 * elf/elf.h (ELFOSABI_GNU): New macro.
50639 (ELFOSABI_LINUX): Define to that.
50641 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
50643 * string/strncat.c (strncat): Undef the symbol in case it has been
50644 defined in bits/string.h.
50646 2011-09-09 Ulrich Drepper <drepper@gmail.com>
50648 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50650 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50653 2011-08-17 Andreas Jaeger <aj@suse.de>
50655 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50657 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
50658 Ian Lance Taylor <iant@google.com>
50660 * math/libm-test.inc (lround_test): New testcase.
50661 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50663 2011-09-08 Ulrich Drepper <drepper@gmail.com>
50665 * Makefile: Remove support for automatic cvs check-ins.
50666 * Makerules: Likewise.
50667 * config.make.in: Likewise.
50668 * configure.in: Likewise.
50669 * intl/Makefile: Likewise.
50670 * locale/Makefile: Likewise.
50671 * po/Makefile: Likewise.
50672 * posix/Makefile: Likewise.
50673 * sysdeps/gnu/Makefile: Likewise.
50674 * sysdeps/mach/hurd/Makefile: Likewise.
50675 * sysdeps/sparc/sparc32/Makefile: Likewise.
50678 * posix/Makefile (bug-regex32-ENV): Define.
50679 Patch by John Stanley <jpsinthemix@verizon.net>.
50681 * misc/Makefile (headers): Add bits/select2.h.
50682 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50683 * misc/bits/select2.h: New file.
50684 * include/bits/select2.h: New file.
50685 * debug/Makefile (routines): Add fdelt_chk.
50686 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50687 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50689 * debug/fdelt_chk.c: New file.
50691 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
50692 * wcsmbs/test-wmemcmp.c: Likewise.
50693 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50694 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50696 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50698 * string/Makefile (strop-tests): Add memcmp.
50699 * string/test-wmemcmp.c: New file.
50700 * string/test-memcmp.c: Add wmemcmp support.
50702 2011-09-08 Roland McGrath <roland@hack.frob.com>
50705 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50708 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50709 garbage value in a __mach_port_mod_refs call in the cases of the
50710 task-self and thread-self ports.
50712 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
50714 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50716 2011-09-08 Andreas Schwab <schwab@redhat.com>
50718 * elf/dl-load.c (lose): Check for non-null L.
50720 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50722 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50724 * elf/dl-libc.c (dlerror_run): Pass back error code from
50728 * elf/dl-load.c (lose): Free l_origin if it is valid.
50730 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50732 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50733 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50734 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50735 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50736 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50737 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50739 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50741 * sysdeps/powerpc/fpu/e_hypot.c: New file.
50742 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50743 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50744 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50745 * sysdeps/powerpc/fpu/k_cosf.c: New file.
50746 * sysdeps/powerpc/fpu/k_sinf.c: New file.
50747 * sysdeps/powerpc/fpu/s_cosf.c: New file.
50748 * sysdeps/powerpc/fpu/s_sinf.c: New file.
50749 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50750 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50752 2011-08-15 Alan Modra <amodra@gmail.com>
50755 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50756 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50757 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
50758 ppc_mcount to static-only-routines.
50759 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50761 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50762 __mcount_internal with usual JUMPTARGET. Remove useless nop.
50764 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
50766 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50767 for finite and infinity parameters.
50769 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
50771 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50772 and add nop instructions for throughput optimization.
50773 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50775 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
50777 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50778 aligned copy for power7 with vector-scalar instructions.
50779 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50781 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
50783 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50786 2011-09-07 Andreas Schwab <schwab@redhat.com>
50789 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50792 2011-09-07 Ulrich Drepper <drepper@gmail.com>
50794 * sysdeps/unix/sysv/linux/x86_64/init-first.c
50795 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50796 syscall wrapper around clock_gettime in __vdso_clock_gettime.
50797 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50800 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50802 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50803 Forgot to demangle the pointer.
50805 * sysdeps/i386/sysdep.h: Define atom_text_section.
50806 * sysdeps/x86_64/sysdep.h: Likewise.
50807 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50808 section with atom_text_section.
50809 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50810 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50811 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50812 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50813 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50815 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50816 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50817 already be defined. Change to take two parameters and don't assign
50818 result to variable. Adjust all users.
50819 Define INTERNAL_GETTIME if not already defined.
50820 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50822 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50823 HAVE_CLOCK_GETTIME_VSYSCALL.
50824 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50826 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50827 gettimeofday vsyscall, just use time.
50829 2011-09-06 Andreas Schwab <schwab@redhat.com>
50831 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50834 2011-09-06 Ulrich Drepper <drepper@gmail.com>
50836 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50838 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50840 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50841 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50842 syscall if possible.
50844 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50846 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50847 e_ident. Don't pass to find_mapsXX.
50848 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50850 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50852 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50853 strchr-sse2-no-bsf strrchr-sse2-no-bsf
50854 * sysdeps/x86_64/multiarch/strchr.S: Update.
50855 Check bit_slow_BSF bit.
50856 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50857 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50858 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50860 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50863 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50865 (tryshell): Define.
50866 (__spawni): Change last parameter to be flag. Test
50867 SPAWN_XFLAGS_USE_PATH flag to use path or not.
50868 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50869 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50870 * posix/spawni.c: Likewise.
50871 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50872 * posix/spawnp.c: Likewise. Change normal version to use
50873 SPAWN_XFLAGS_USE_PATH.
50874 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50875 SPAWN_XFLAGS_TRY_SHELL.
50878 * posix/glob.h: Remove gcc 1.x support.
50881 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50883 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
50885 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50886 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50888 * sysdeps/i386/i686/multiarch/strchr.S: New file.
50889 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50890 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50891 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50892 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50893 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50895 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
50897 * sysdeps/x86_64/wcscmp.S: New file.
50899 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50900 wcscmp-c wcscmp-sse2
50901 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50902 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50903 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50904 * wcsmbs/wcscmp.c: Allow renaming.
50906 2011-09-05 David S. Miller <davem@davemloft.net>
50908 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50909 stack slot, rather than the struct return pointer slot.
50910 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50911 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50912 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50913 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50915 2011-09-05 Ulrich Drepper <drepper@gmail.com>
50917 * po/ja.po: Update from translation team.
50920 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50921 kernel in 64-bit binaries.
50923 2011-09-01 David S. Miller <davem@davemloft.net>
50925 * elf/elf.h (HWCAP_SPARC_*): Move to..
50926 * sysdeps/sparc/sysdep.h: this new file and add new values.
50927 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50928 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50929 _DL_HWCAP_COUNT to 24.
50930 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50932 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50933 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50934 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50935 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50936 instead of magic constants.
50937 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50939 2011-08-31 David S. Miller <davem@davemloft.net>
50941 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50942 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50943 Reimplement to do errno handling inline.
50944 (SYSCALL_ERROR_HANDLER): New macro.
50945 (__SYSCALL_STRING): Do not do errno handling in asm.
50946 (__CLONE_SYSCALL_STRING): Delete.
50947 (__INTERNAL_SYSCALL_STRING): Delete.
50948 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50949 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50950 (PSEUDO): Reimplement to do errno handling inline.
50951 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50952 (SYSCALL_ERROR_HANDLER): New macro.
50953 (__SYSCALL_STRING): Do not do errno handling in asm.
50954 (__CLONE_SYSCALL_STRING): Delete.
50955 (__INTERNAL_SYSCALL_STRING): Delete.
50956 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50957 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50959 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50960 (inline_syscall*): Add 'err' argument.
50961 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50962 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50963 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50964 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50966 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50967 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50969 2011-08-30 Andreas Schwab <schwab@redhat.com>
50971 * elf/rtld.c (dl_main): Relocate objects in dependency order.
50973 2011-08-29 Jiri Olsa <jolsa@redhat.com>
50975 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50978 2011-08-24 David S. Miller <davem@davemloft.net>
50980 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50982 2011-08-24 Andreas Schwab <schwab@redhat.com>
50984 * elf/Makefile: Add rules to build and run unload8 test.
50985 * elf/unload8.c: New file.
50986 * elf/unload8mod1.c: New file.
50987 * elf/unload8mod1x.c: New file.
50988 * elf/unload8mod2.c: New file.
50989 * elf/unload8mod3.c: New file.
50991 * elf/dl-close.c (_dl_close_worker): Reset private search list if
50994 2011-08-23 David S. Miller <davem@davemloft.net>
50996 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50997 subtract stack bias.
50998 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50999 %sp not %fp in calculations.
51000 (_JMPBUF_UNWINDS_ADJ): Likewise.
51002 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
51003 (aio_suspend): Call it to force an exception region around the
51004 AIO_MISC_WAIT() invocation.
51006 2011-08-23 Andreas Schwab <schwab@redhat.com>
51008 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
51011 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
51013 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
51015 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
51016 and <dl-machine.h>.
51017 (Elf64_FuncDesc): Remove.
51019 2011-08-22 David S. Miller <davem@davemloft.net>
51021 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
51022 sigaltstack check, add missing cfi directives.
51023 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
51024 missing cfi directives, and sigaltstack handling.
51026 2011-08-16 Andreas Schwab <schwab@redhat.com>
51029 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
51030 object is seen twice.
51031 * elf/dl-fini.c (_dl_sort_fini): Likewise.
51033 * elf/Makefile (distribute): Add tst-initorder2.c.
51034 (tests): Add tst-initorder2.
51035 (modules-names): Add tst-initorder2a tst-initorder2b
51036 tst-initorder2c tst-initorder2d. Add rules to build them.
51037 ($(objpfx)tst-initorder2.out): New rule.
51038 * elf/tst-initorder2.c: New file.
51039 * elf/tst-initorder2.exp: New file.
51041 2011-08-22 Andreas Schwab <schwab@redhat.com>
51043 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
51045 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
51046 dependencies back to end of function.
51048 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
51049 $(elfobjdir)/ld.so.
51051 2011-08-21 Ulrich Drepper <drepper@gmail.com>
51053 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
51054 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
51055 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
51056 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
51057 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
51058 of __vdso_gettimeofday.
51059 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
51060 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
51062 (_libc_vdso_platform_setup): Remove initialization of
51063 __vdso_gettimeofday and __vdso_time.
51065 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51067 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
51068 and fgetc_unlocked.
51069 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
51072 * elf/dl-open.c (add_to_global): Report additions to the global scope
51073 for LD_DEBUG=scopes.
51074 (dl_open_worker): Also print scope of newly loaded dependencies.
51075 (_dl_show_scope): Indicate if there is no scope.
51078 * stdio-common/Makefile (tests): Add bug24.
51079 * stdio-common/bug24.c: New file.
51081 2011-08-19 Andreas Jaeger <aj@suse.de>
51084 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
51085 non-existant file when using close-on-exec mode.
51087 2011-08-20 Ulrich Drepper <drepper@gmail.com>
51089 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
51090 the very first instruction.
51092 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
51093 the CFI state in the end.
51094 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
51095 inclusion of dl-trampoline.h.
51096 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
51098 2011-08-19 Andreas Schwab <schwab@redhat.com>
51100 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
51101 expectations for long double.
51103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
51104 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
51106 2011-08-14 David S. Miller <davem@davemloft.net>
51108 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
51109 artificual limit depends upon the system page size.
51111 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51113 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
51114 * resolv/Makefile: Define CFLAGS-libresolv.
51116 2011-08-17 Andreas Schwab <schwab@redhat.com>
51118 * nss/makedb.c (compute_tables): Make variables used in nested
51121 2011-08-17 Ulrich Drepper <drepper@gmail.com>
51123 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
51124 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
51125 if buffer was too small.
51127 * elf/pldd.c (main): Attach to all threads in the process.
51128 Rewrite /proc handling to use *at functions.
51130 2011-08-16 Ulrich Drepper <drepper@gmail.com>
51132 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
51133 specifies first scope to show.
51134 (dl_open_worker): Update callers. Move printing scope of new
51135 object to before the relocation.
51136 * elf/rtld.c (dl_main): Update _dl_show_scope call.
51137 * sysdeps/generic/ldsodefs.h: Update declaration.
51139 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
51140 string for the scope number.
51142 2011-08-14 Ulrich Drepper <drepper@gmail.com>
51144 * nscd/servicescache.c (cache_addserv): Make sure written is always
51147 2011-08-14 Roland McGrath <roland@hack.frob.com>
51149 * sysdeps/i386/i486/bits/atomic.h
51150 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
51151 statement expression, so as to suppress "set but not used" warning.
51152 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
51154 * string/strncat.c (STRNCAT): Use prototype definition.
51156 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
51157 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
51159 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51160 (localedef-modules): Add localedef.
51161 (locale-modules): Add locale.
51163 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51164 * elf/rtld.c (dl_main): Invert order of assignment in last change,
51165 to avoid a warning.
51167 2011-08-14 David S. Miller <davem@davemloft.net>
51169 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51170 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51172 2011-08-13 Ulrich Drepper <drepper@gmail.com>
51174 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51175 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51176 * elf/rtld.c (dl_main): Set l_name of vDSO.
51177 Call _dl_show_scope when DL_DEBUG_SCOPES.
51178 (process_dl_debug): Recognize scopes flag and also set it for all.
51179 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51180 Declare _dl_show_scope.
51182 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51183 (do_dlopen): Pass caller_dlopen to dl_open.
51184 (__libc_dlopen_mode): Initialize caller_dlopen.
51186 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51187 of libc. Make tolower call locale-independent. Optimize a bit by
51188 using isdigit instead of isalnum.
51189 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51191 2011-08-12 Ulrich Drepper <drepper@gmail.com>
51193 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51194 was a dependency or dynamically loaded.
51196 2011-08-11 Ulrich Drepper <drepper@gmail.com>
51198 * intl/l10nflist.c: Allow architecture-specific pop function.
51199 * sysdeps/x86_64/l10nflist.c: New file.
51201 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51204 2011-08-10 Andreas Schwab <schwab@redhat.com>
51206 * include/dirent.h: Add libc_hidden_proto for scandirat and
51207 scandirat64. Don't declare __scandirat64.
51208 * dirent/scandirat.c: Add libc_hidden_def.
51209 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51210 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51212 2011-08-10 David S. Miller <davem@davemloft.net>
51214 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51216 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51217 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51218 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51220 2011-08-09 Ulrich Drepper <drepper@gmail.com>
51222 * Versions.def [libc]: Add GLIBC_2.15.
51223 * dirent/Makefile (routines): Add scandirat and scandirat64.
51224 * dirent/Versions [libc]: Export scandirat and scandirat64 for
51226 * dirent/dirent.h: Declare scandirat and scandirat64.
51227 * dirent/scandirat.c: New file.
51228 * dirent/scandirat64.c: New file.
51229 * sysdeps/wordsize-64/scandirat.c: New file.
51230 * sysdeps/wordsize-64/scandirat64.c: New file.
51231 * dirent/opendir.c: Define opendirat.
51232 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
51234 * dirent/scandir64.c: Adjust for scandir.c change.
51235 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
51236 __scandirat64, and __scandir_cancel_handler.
51237 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
51238 additional parameter and use openat instead of open (outside of ld.so).
51239 Add new __opendir as wrapper around __opendirat.
51240 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51241 here without requiring old scandirat implementation.
51243 2011-08-08 Ulrich Drepper <drepper@gmail.com>
51245 * dirent/scandir.c (cancel_handler): Renamed to
51246 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
51247 defined. Adjust users.
51248 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51249 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51251 2011-08-04 Ulrich Drepper <drepper@gmail.com>
51253 * string/test-string.h (IMPL): Use __STRING to expand name and then
51256 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
51259 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51261 * string/Makefile: Update.
51262 (strop-tests): Append strncat.
51263 * string/test-wcscmp.c: New file.
51264 New comprehensive test for wcscmp.
51265 * string/test-strcmp.c: Update.
51266 (WIDE): New define.
51268 2011-07-22 Andreas Schwab <schwab@redhat.com>
51270 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51273 2011-07-26 Andreas Schwab <schwab@redhat.com>
51275 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51276 encoding to ACE if AI_IDN.
51278 2011-08-01 Jakub Jelinek <jakub@redhat.com>
51280 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51281 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51283 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51285 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51286 Fix overflow bug in strncat.
51287 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51289 * string/test-strncat.c: Update.
51290 Add new tests for checking overflow bugs.
51292 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51294 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51295 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51296 * sysdeps/i386/i686/multiarch/strcat.S: New file.
51297 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51298 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51299 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51300 * sysdeps/i386/i686/multiarch/strncat.S: New file.
51301 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51302 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51304 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51305 (USE_AS_STRCAT): Define.
51306 Add strcat and strncat support.
51307 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51309 2011-07-25 Andreas Schwab <schwab@redhat.com>
51311 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51312 __n bigger than INT_MAX+1.
51313 (__strncmp_g): Likewise.
51315 2011-07-23 Ulrich Drepper <drepper@gmail.com>
51317 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51318 * libio/stido.h: Likewise.
51320 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51322 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51325 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51326 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51327 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51328 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51329 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51332 * scripts/test-installation.pl: Don't expect libnss_test1 to be
51335 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51337 (_dl_x86_64_save_sse): Likewise.
51339 2011-07-22 Ulrich Drepper <drepper@gmail.com>
51341 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51343 (_dl_x86_64_save_sse): Likewise.
51345 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51347 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51349 2011-07-21 Andreas Schwab <schwab@redhat.com>
51351 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51353 (_dl_x86_64_save_sse): Use correct AVX check.
51355 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
51357 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51358 bug in strncpy/strncat.
51359 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51361 2011-07-21 Ulrich Drepper <drepper@gmail.com>
51363 * string/tester.c (test_strcat): Add tests for different alignments
51364 of source and destination.
51365 (test_strncat): Likewise.
51367 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51370 * posix/glob.c (glob): Check passed in values before using them in
51371 expressions to avoid some overflows.
51372 (glob_in_dir): Likewise.
51375 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51376 check for AVX enablement so that we don't crash with old kernels and
51378 * elf/tst-audit4.c: Add same checks here.
51379 * elf/tst-audit6.c: Likewise.
51381 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51383 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
51385 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51387 2011-07-20 Ulrich Drepper <drepper@gmail.com>
51389 * po/cs.po: Update from translation team.
51390 * po/bg.po: Likewise.
51392 2011-07-12 Marek Polacek <mpolacek@redhat.com>
51394 * misc/sys/cdefs.h: Add support for const attribute.
51395 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51396 to gnu_dev_{major,minor,makedev} functions.
51398 2011-07-20 Marek Polacek <mpolacek@redhat.com>
51400 * intl/dcigettext.c (get_output_charset): Add missing bracket.
51402 2011-07-20 Andreas Schwab <schwab@redhat.com>
51404 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51407 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
51409 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51410 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51411 register in order to avoid conflicts with the soft frame pointer
51412 being held in r11 when necessary.
51413 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51414 (INTERNAL_VSYSCALL_NCS): Likewise.
51416 2011-07-14 Marek Polacek <mpolacek@redhat.com>
51418 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51419 * elf/dl-fini.c (_dl_fini): Adjust caller.
51420 * elf/dl-close.c (_dl_close_worker): Likewise.
51421 * sysdeps/generic/ldsodefs.h: Adjust declaration.
51423 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51425 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51426 "aux_cache->nlibs < 0".
51428 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51429 in the reload-count case.
51431 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
51433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51434 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51435 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51436 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51437 * sysdeps/x86_64/multiarch/strcat.S: New file.
51438 * sysdeps/x86_64/multiarch/strncat.S: New file.
51439 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51440 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51441 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51442 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51443 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51444 (USE_AS_STRCAT): Define.
51445 Add strcat and strncat support.
51446 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51447 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51448 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51449 * string/strncat.c: Update.
51450 (USE_AS_STRNCAT): Define.
51451 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51452 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51454 * sysdeps/x86_64/multiarch/init-arch.h
51455 (bit_Prefer_PMINUB_for_stringop): New.
51456 (index_Prefer_PMINUB_for_stringop): Likewise.
51457 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51458 bit_Prefer_PMINUB_for_stringop.
51460 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51462 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51464 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51465 of casting of buffer.
51466 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51467 buffer32 and buffer64.
51468 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51469 writes instead of casting of buffer.
51470 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51472 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51475 2011-07-19 Andreas Schwab <schwab@redhat.com>
51477 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51479 2011-07-19 Ulrich Drepper <drepper@gmail.com>
51481 * nscd/nscd.c (termination_handler): Don't do anything for a database
51482 if it has not yet been initialized.
51484 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51486 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51488 2011-07-15 Marek Polacek <mpolacek@redhat.com>
51490 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51492 2011-07-18 Ulrich Drepper <drepper@gmail.com>
51494 * po/nl.po: Update from translation team.
51495 * po/sv.po: Likewise.
51497 2011-07-16 Roland McGrath <roland@hack.frob.com>
51499 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51500 now disallowed by GCC.
51502 * configure.in (use-default-link): Default to yes if a test -shared
51503 link meets our qualifications.
51504 * configure: Regenerated.
51506 * config.make.in (output-format): New variable.
51507 * configure.in: Check for ld --print-output-format support.
51508 * configure: Regenerated.
51509 * Makerules ($(common-objpfx)format.lds)
51510 [$(output-format) != unknown]: Just use $(output-format),
51511 instead of the linker-script munging.
51513 2011-07-14 Roland McGrath <roland@hack.frob.com>
51515 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51516 of $(common-objpfx)shlib.lds.
51517 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51519 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51520 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51522 * configure.in (-z relro check): Adjust test code to add a large
51523 writable data section after it.
51524 * configure: Regenerated.
51526 2011-07-11 Roland McGrath <roland@hack.frob.com>
51528 * configure.in (-z relro check): Fix test code to make the variable
51530 * configure: Regenerated.
51532 2011-07-11 Ulrich Drepper <drepper@gmail.com>
51534 * nscd/nscd.h (struct traced_file): Define.
51535 (struct database_dyn): Remove inotify_descr, reset_res, and filename
51536 elements. Add traced_files.
51537 (inotify_fd): Declare.
51538 (register_traced_file): Declare.
51539 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51540 (inotify_fd): Export.
51541 (resolv_conf_descr): Remove.
51542 (nscd_init): Move inotify descriptor creation to main.
51543 Don't register files for notification here.
51544 (register_traced_file): New function.
51545 (invalidate_cache): Don't use reset_res to determine whether to call
51546 res_init, go through the list of registered files.
51547 (main_loop_poll): The inotify descriptors are now stored in the
51548 structures for the traced files.
51549 (main_loop_epoll): Likewise
51550 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
51551 to __nss_disable_nscd.
51552 * nscd/cache.c (prune_cache): There is no single inotify descriptor
51553 for a database anymore. Check the records for all the registered
51555 * nss/Makefile (libnss_files-routines): Add files-init.
51556 (libnss_db-routines): Add db-init.
51557 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51558 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51559 * nss/nss_db/db-init.c: New file.
51560 * nss/nss_files/files-init.c: New file.
51561 * nss/nsswitch.c (nss_load_library): New function. Broken out of
51562 __nss_lookup_function.
51563 (__nss_lookup_function): Call nss_load_library.
51564 (nss_load_all_libraries): New function.
51565 (__nss_disable_nscd): Take parameter with callback function for files
51566 to register. Set is_nscd. Load all the DSOs for the NSS modules
51567 used for the cached services.
51568 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51569 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51570 options for features to all the files in nscd.
51572 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51574 2011-07-10 Roland McGrath <roland@hack.frob.com>
51576 * csu/elf-init.c (__libc_csu_init): Comment typo.
51578 2011-07-09 Ulrich Drepper <drepper@gmail.com>
51580 * po/pl.po: Update from translation team.
51581 * po/ja.po: Likewise.
51582 * po/ru.po: Likewise.
51583 * po/ko.po: Likewise.
51584 * po/fr.po: Likewise.
51586 2011-07-09 Roland McGrath <roland@hack.frob.com>
51588 * configure.in (.ctors/.dtors header and trailer check):
51589 Use an empirical test on a built program.
51590 * configure: Regenerated.
51592 * configure.in (-z relro check): Use an empirical test on a built DSO.
51593 Detect, but do not require, on ia64.
51594 * configure: Regenerated.
51596 * configure.in (READELF): Find it with AC_CHECK_TOOL.
51597 Update tests that use readelf to use $READELF instead.
51598 * configure: Regenerated.
51600 2011-07-08 Ulrich Drepper <drepper@gmail.com>
51602 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51603 if the result is not used.
51605 2011-07-05 Andreas Jaeger <aj@suse.de>
51608 * stdlib/tst-strtod.c: Add testcase.
51610 2011-07-07 Ulrich Drepper <drepper@gmail.com>
51612 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51613 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51614 The latter has a higher limit. Take additional parameter to pass to
51616 (__pathconf): Pass file to __statfs_link_max.
51617 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51619 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51623 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51624 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51626 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51627 (__statfs_filesize_max): Likewise.
51628 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51630 2011-07-05 Andreas Jaeger <aj@suse.de>
51632 * resolv/res_comp.c (dn_skipname): Remove unused variable.
51634 2011-07-06 Marek Polacek <mpolacek@redhat.com>
51636 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51638 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51641 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
51643 * Makefile (strop-tests): Add strncat.
51644 * string/test-strncat.c: New file.
51646 2011-06-30 Marek Polacek <mpolacek@redhat.com>
51648 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51650 2011-06-21 Andreas Jaeger <aj@suse.de>
51652 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51653 Copy rule from iconvdata/Makefile.
51655 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51658 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51659 but no long options are defined, just return 'W'.
51661 2011-06-22 Marek Polacek <mpolacek@redhat.com>
51664 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51666 2011-07-06 Ulrich Drepper <drepper@gmail.com>
51668 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51670 (innetgr): Likewise.
51672 2011-07-05 Roland McGrath <roland@hack.frob.com>
51674 * config.make.in (install_root): Default to $(DESTDIR).
51676 2011-07-05 Ulrich Drepper <drepper@gmail.com>
51678 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51680 2011-07-02 Roland McGrath <roland@hack.frob.com>
51682 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51684 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51685 containing directory rather than embedding absolute directory names.
51687 * scripts/check-local-headers.sh: Rewritten using awk.
51688 Match by word, not by line. Print error messages for matches.
51689 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51691 * Makerules [shlib-lds-flags empty]:
51692 ($(common-objpfx)libc_pic.opts): New target.
51693 ($(common-objpfx)libc_pic.os.clean): New target.
51694 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51696 * config.make.in (OBJCOPY): New variable.
51697 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51698 * configure: Regenerated.
51700 * config.make.in (use-default-link): New variable.
51701 * configure.in (use_default_link): Grok --with-default-link to set it.
51702 * configure: Regenerated.
51703 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51704 (shlib-lds, shlib-lds-flags): Define to empty.
51706 * Makerules (shlib-lds): New variable.
51707 (shlib-lds-flags): New variable.
51708 (build-shlib, build-moduile, build-module-asneeded): Use it.
51709 ($(common-objpfx)libc.so): Use $(shlib-lds).
51710 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51711 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51713 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51714 DT_FLAGS/DT_FLAGS_1 with zero flags.
51716 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51717 linker script munging.
51719 2011-07-02 Ulrich Drepper <drepper@gmail.com>
51721 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51723 * crypt/sha512.c (sha512_process_block): Perform total addition using
51724 128-bit if possible.
51725 (__sha512_finish_ctx): Likewise.
51726 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51728 * crypt/sha256.c (SWAP64): Define.
51729 (sha256_process_block): Perform total addition using 64-bit if
51731 (__sha256_finish_ctx): Likewise.
51733 2011-07-01 Ulrich Drepper <drepper@gmail.com>
51735 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
51736 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51737 * nscd/hstcache.c (cache_addhst): Likewise.
51738 * nscd/grpcache.c (cache_addgr): Likewise.
51739 * nscd/aicache.c (addhstaiX): Likewise
51740 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51742 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
51744 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51745 * nscd/initgrcache.c (addinitgroupsX): Likewise.
51746 * nscd/hstcache.c (cache_addhst): Likewise.
51747 * nscd/grpcache.c (cache_addgr): Likewise.
51748 * nscd/aicache.c (addhstaiX): Likewise
51750 2011-07-01 Andreas Schwab <schwab@redhat.com>
51752 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51753 domain only when needed.
51755 2011-06-30 Andreas Schwab <schwab@redhat.com>
51757 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51758 is always restored.
51760 2011-06-29 Ulrich Drepper <drepper@gmail.com>
51762 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51763 are re-adding the entry.
51764 * nscd/servicescache.c (cache_addserv): Likewise.
51766 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
51768 * sysdeps/generic/dl-irel.h: fix protection against multiple
51770 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51772 2011-06-28 Ulrich Drepper <drepper@gmail.com>
51775 * malloc/memusage.sh: Fix quoting in message.
51776 * debug/xtrace.sh: Likewise.
51778 * configure.in: Remove support for --experimental-malloc option, make
51780 * config.make.in: Likewise.
51781 * malloc/Makefile: Likewise.
51783 2011-06-27 Andreas Schwab <schwab@redhat.com>
51785 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51786 two-byte characters.
51788 2011-06-27 Roland McGrath <roland@hack.frob.com>
51790 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51791 AC_CACHE_CHECK invocation.
51792 * configure: Regenerated.
51794 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51796 2011-06-27 Ulrich Drepper <drepper@gmail.com>
51799 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
51800 bit from old_res_options.
51802 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51804 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51805 value type for setfct.
51807 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
51809 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51810 __gettimeofday instead of gettimeofday.
51812 2011-06-26 Ulrich Drepper <drepper@gmail.com>
51814 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51816 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
51818 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51820 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51823 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51825 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51826 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51827 strcpy-sse2-unaligned strncpy-sse2-unaligned
51828 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51829 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51830 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51831 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51832 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51833 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51834 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51835 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51836 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51837 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51838 (STRCPY): Support SSE2 and SSSE3 versions.
51840 2011-06-24 Ulrich Drepper <drepper@gmail.com>
51843 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51844 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51845 kernels which artificially limit size of requests.
51847 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
51849 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51850 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51851 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51852 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51853 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51854 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51855 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51856 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51857 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51858 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51859 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51860 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51861 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51862 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51863 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51864 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51865 Enable unaligned load optimization for Intel Core i3, i5 and i7
51867 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51869 (index_Fast_Unaligned_Load): Define.
51870 (HAS_FAST_UNALIGNED_LOAD): Define.
51872 2011-06-23 Marek Polacek <mpolacek@redhat.com>
51874 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51876 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51879 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51880 until it is clear that the information is realy needed.
51881 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51883 2011-06-22 Andreas Schwab <schwab@redhat.com>
51885 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51887 2011-06-22 Ulrich Drepper <drepper@gmail.com>
51889 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51890 /sys/devices/system/cpu/online if it is usable.
51892 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51893 reading the information from the /proc filesystem to once a second.
51895 2011-06-21 Andreas Jaeger <aj@suse.de>
51897 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51898 NULL after inclusion of kernel headers.
51900 2011-06-21 Ulrich Drepper <drepper@gmail.com>
51902 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51903 calls to internal_setent.
51906 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51907 addresses using gethostbyname4_r ignore IPv4 addresses.
51909 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51910 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
51912 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51914 2011-06-20 David S. Miller <davem@davemloft.net>
51916 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51918 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51920 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51921 (elf_irel): Use it.
51922 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51923 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51924 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51925 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51926 * sysdeps/x86_64/dl-irel.h: Likewise.
51928 * elf/dl-runtime.c: Use elf_ifunc_invoke.
51929 * elf/dl-sym.c: Likewise.
51931 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51933 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
51934 need to dereference resplen2.
51936 2011-06-14 Andreas Schwab <schwab@redhat.com>
51938 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51940 2011-06-15 Ulrich Drepper <drepper@gmail.com>
51942 * Makeconfig: Define vardbdir and inst_vardbdir.
51943 * nss/Makefile: Add rules to install db-Makefile.
51945 * nss/nss_db/db-XXX.c: Cleanup.
51947 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51948 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51950 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51951 * nss/makedb.c: Implement -g option to specify that value strings
51952 are generated and should not be added to table iterated over for
51954 * nss/nss_db/db-initgroups.c: New file.
51956 * nss/getent.c: Add support for initgroups lookups through getgrouplist
51959 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51960 (internal_getgrouplist): Adjust to name change.
51961 Update use_initgroups_entry if this is not the first call.
51962 * nss/databases.def: Add initgroups entry.
51964 * nss/makedb.c (compute_tables): Check result of multiple hash table
51965 sizes to minimize maximum chain length.
51967 2011-06-14 Ulrich Drepper <drepper@gmail.com>
51969 * Versions.def: Add entry for libnss_db.
51970 * shlib-versions: Likewise.
51971 * nss/Makefile: Add rules to build libnss_db.
51972 * nss/Versions: Add libnss_db information. Organize libnss_files
51974 * nss/db-Makefile: Add gshadow support. Change rules for the new
51975 makedb progra. Some minor improvements to generate smaller files.
51976 * nss/nss_db/nss_db.h: Move NSS database header data structures to
51978 * nss/makedb.c: ...here.
51979 Improve database format to be smaller and require less memory at
51981 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
51983 * nss/nss_db/db-netgrp.c: Likewise.
51984 * nss/nss_db/db-open.c: Likewise.
51985 * nss/nss_files/flies-XXX.x: Adjust comments.
51986 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51987 * nss/nss_files/files-grp.c: Likewise.
51988 * nss/nss_files/files-hosts.c: Likewise.
51989 * nss/nss_files/files-network.c: Likewise.
51990 * nss/nss_files/files-proto.c: Likewise.
51991 * nss/nss_files/files-pwd.c: Likewise.
51992 * nss/nss_files/files-rpc.c: Likewise.
51993 * nss/nss_files/files-service.c: Likewise.
51994 * nss/nss_files/files-sgrp.c: Likewise.
51995 * nss/nss_files/files-spwd.c: Likewise.
51996 * nss/nss_db/db-alias.c: Removed.
51997 * nss/nss_db/dummy-db.h: Removed.
51999 2011-06-02 Ulrich Drepper <drepper@gmail.com>
52001 * nss/makedb.c: Rewritten to not use database library.
52002 * nss/Makefile: Update to build new makedb program.
52004 2011-06-14 Andreas Jaeger <aj@suse.de>
52006 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
52007 memset declaration.
52009 2011-06-10 Andreas Schwab <schwab@redhat.com>
52011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
52014 2011-06-10 Roland McGrath <roland@hack.frob.com>
52016 * Makerules (shlib.lds): Fail if the linker script comes out empty.
52017 * elf/Makefile ($(objpfx)ld.so): Likewise.
52019 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
52020 Don't list ld.so twice in dependencies.
52022 * posix/bug-regex31.c: Include <stdlib.h>.
52024 * nscd/hstcache.c (cache_addhst): Remove unused variable.
52026 * nis/nss_compat/compat-spwd.c
52027 (getspent_next_nss_netgr): Remove unused variable.
52028 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
52030 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
52031 nonmembers" output to use the right array.
52033 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
52035 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
52037 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
52038 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
52039 * catgets/gencat.c (read_input_file): Likewise.
52040 * locale/programs/locarchive.c (enlarge_archive): Likewise.
52042 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
52043 variable definition inside #if's controlling its use.
52045 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
52047 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
52049 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
52051 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
52054 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
52056 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
52057 * configure: Regenerated.
52059 * Makerules: Revert last change.
52060 * elf/Makefile: Likewise.
52062 2011-06-09 Roland McGrath <roland@hack.frob.com>
52064 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
52065 * elf/Makefile ($(objpfx)librtld.os): Likewise.
52066 (reloc-link): Likewise.
52068 2011-06-09 Ulrich Drepper <drepper@gmail.com>
52070 * elf/Makefile: Add rules to build pldd.
52071 * elf/pldd.c: New file.
52072 * elf/pldd-xx.c: New file.
52074 2011-06-07 Ulrich Drepper <drepper@gmail.com>
52076 * version.h: Update for 2.15 development version.
52078 2011-06-07 David S. Miller <davem@davemloft.net>
52080 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
52082 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
52083 elf_machine_lazy_rel): Likewise.
52084 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
52085 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
52086 elf_machine_lazy_rel): Likewise.
52087 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
52088 dl_hwcap via passed in argument.
52089 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
52092 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52094 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
52096 2011-06-06 Roland McGrath <roland@hack.frob.com>
52099 * manual/fdl-1.1.texi: New file, verbatim from:
52100 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
52101 * manual/lgpl-2.1.texi: New file, verbatim from:
52102 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
52103 * manual/Makefile (licenses): New variable, list those new file names.
52105 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
52107 * manual/fdl.texi: File removed.
52108 * manual/lesser.texi: File removed.
52109 * manual/libc.texinfo (Copying, Documentation License):
52110 Use new @include file names, put @appendix directive before @include.
52112 2011-06-04 Jakub Jelinek <jakub@redhat.com>
52115 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
52116 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
52117 (mq_open): Add __NTH.
52119 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
52121 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52122 Assume Intel Core i3/i5/i7 processor if AVX is available.
52124 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52126 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
52129 2011-05-31 Andreas Schwab <schwab@redhat.com>
52131 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
52132 memory. Use alloca_account. Fix memory leak when retrying.
52134 2011-05-31 Ulrich Drepper <drepper@gmail.com>
52136 * version.h (RELEASE): Bump for 2.14 release.
52137 * include/features.h (__GLIBC_MINOR__): Bump to 14.
52139 * config.make.in (RANLIB): Remove entry.
52141 2011-05-30 Ulrich Drepper <drepper@gmail.com>
52143 * po/Makefile (po-sed-cmd): Add ksh to extensions.
52144 (libc.pot): Work around missing support for .ksh extension in xgettext.
52147 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
52148 if both request failed.
52149 (send_dg): In case of server errors clear resplen or *resplen2.
52152 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
52153 when there are multiple maps.
52154 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
52155 (_dl_fini): Remove test here.
52157 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
52159 2011-05-29 Ulrich Drepper <drepper@gmail.com>
52162 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52163 bit from old_res_options.
52164 (gaih_inet): Likewise.
52167 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52170 * resolv/res_init.c (res_setoptions): Make the code more compact.
52173 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52177 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52179 * malloc/malloc.h: Mark malloc hook variables as deprecated.
52182 * malloc/malloc.h: Declare malloc hook variables as volatile.
52184 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52188 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52189 raise in the comment.
52190 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52191 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52192 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52194 2011-05-28 Ulrich Drepper <drepper@gmail.com>
52197 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52198 grow the buffers more if it already has to be sufficient.
52199 (build_wcs_upper_buffer): Likewise.
52200 * posix/regexec.c (check_matching): Likewise.
52201 (clean_state_log_if_needed): Likewise.
52202 (extend_buffers): Don't enlarge buffers beyond size of the input
52204 Patches mostly by Emil Wojak <emil@wojak.eu>.
52205 * posix/bug-regex32.c: New file.
52206 * posix/Makefile (tests): Add bug-regex32.
52208 * locale/findlocale.c (_nl_find_locale): Return right away if
52209 _nl_explode_name failed.
52210 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52212 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52214 * debug/xtrace.sh: Unify messages.
52215 * malloc/memusage.sh: Likewise.
52218 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52219 time symbol from vDSO. Substitute with vsyscall if not available.
52220 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52223 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52224 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52225 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52226 Add sendmmsg and internal_sendmmsg.
52227 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52228 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52229 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52231 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52232 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52233 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52235 2011-05-27 Ulrich Drepper <drepper@gmail.com>
52238 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52239 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
52241 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52245 * iconvdata/Makefile (tests): Add bug-iconv9.
52246 * iconvdata/bug-iconv9.c: New file.
52248 2011-05-27 Andreas Schwab <schwab@redhat.com>
52251 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52253 2011-05-25 Jakub Jelinek <jakub@redhat.com>
52255 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52256 (struct user_regs_struct): Change intcs field back to cs.
52258 2011-05-25 Ulrich Drepper <drepper@gmail.com>
52260 * po/ja.po: Update from translation team.
52262 2011-05-23 Ulrich Drepper <drepper@gmail.com>
52265 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52266 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52268 2011-05-20 Andreas Schwab <schwab@redhat.com>
52270 * stdlib/longlong.h: Update from GCC.
52272 2011-05-23 Andreas Schwab <schwab@redhat.com>
52274 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52276 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52277 Add parameter name.
52278 (__sysconf): Pass it down.
52280 2011-05-22 Ulrich Drepper <drepper@gmail.com>
52283 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52285 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52286 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52287 add in in __libc_use_alloca calls. Adjust callers.
52288 (glob): Use malloc in some situations.
52290 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52291 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52294 2011-05-21 Ulrich Drepper <drepper@gmail.com>
52296 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52297 and CLOCK_BOOTTIME_ALARM.
52300 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52303 * string/_strerror.c (__strerror_r): Print negative errors as signed
52307 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52308 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52309 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52311 * configure.in: Fix typo in redirection and correct removal of test
52312 files in two cases.
52315 * locale/setlocale.c (new_composite_name): Fix test to check for
52316 identical name of all categories.
52319 * libio/filedoalloc.c (local_isatty): New function.
52320 (_IO_file_doallocate): Use local_isatty.
52321 * stdio-common/perror.c (perror): In case a new stream is used
52322 forward the stream error.
52323 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52326 2011-05-20 Ulrich Drepper <drepper@gmail.com>
52329 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52331 * include/alloca.h (extend_alloca_account): Define.
52334 * posix/regex.h: Fix comments with documentation of user-accessible
52335 fields after compilation and describe correct free'ing of pattern
52336 after re_compile_pattern.
52337 Patch by Reuben Thomas <rrt@sc3d.org>.
52339 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
52341 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52342 and -mno-altivec to prevent the compiler from using Altivec and/or
52343 VSX instructions when the corresponding registers are not available.
52345 2011-05-19 Andreas Schwab <schwab@redhat.com>
52347 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52349 2011-05-19 Ulrich Drepper <drepper@gmail.com>
52351 * libio/freopen.c (freopen): Use __dup2, not dup2.
52352 * libio/freopen64.c (freopen64): Likewise.
52354 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
52357 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52358 * math/Makefile (tests): Add test-powl.
52359 (CFLAGS-test-powl.c): Define.
52360 * math/test-powl.c: New file.
52362 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
52364 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52366 2011-05-17 Ulrich Drepper <drepper@gmail.com>
52369 * iconvdata/gb18030.c: Update to GB18020-2005.
52371 2011-05-16 Ulrich Drepper <drepper@gmail.com>
52373 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52374 RE_SYNTAX_POSIX_AWK): Update to match recent development.
52375 Patch by Aharon Robbins <arnold@skeeve.com>.
52378 * stdlib/putenv.c (putenv): Don't always create copy of the variable
52382 * misc/pselect.c (__pselect): Handle timeout value errors hidden
52383 through underflows.
52386 * misc/error.c (error_at_line): Ensure file_name and old_file_name
52387 point to strings before performing equality test for error_one_per_line
52391 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52394 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52395 (struct user_fpregs_struct): Avoid __uint*_t types.
52398 * malloc/mtrace.c (tr_where): Add additional parameter to point to
52399 symbol info. Use it instead of calling _dl_addr locally.
52400 (lock_and_info): New function.
52401 (tr_freehook): Call lock_and_info and pass symbol info as additional
52402 parameter to tr_where.
52403 (tr_mallochook): Likewise.
52404 (tr_reallochook): Likewise.
52405 (tr_memalignhook): Likewise.
52407 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
52408 used and couldn't be at all thread-safe.
52410 2011-05-15 Ulrich Drepper <drepper@gmail.com>
52412 * libio/freopen.c (freopen): Don't close old file descriptor
52413 before the new one is opened. Instead dup the new file descriptor
52414 to the old one after the new stream is created.
52415 * libio/freopen64.c (freopen64): Likewise.
52416 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52417 * libio/fileops.c (_IO_new_file_close_it): Handle new
52418 _IO_FLAGS2_NOCLOSE flag.
52419 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52420 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52421 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52422 _IO_FLAGS2_NOCLOSE flag.
52423 * include/unistd.h: Add hidden_proto for dup3.
52424 Define __have_dup3.
52425 * io/dup3.c: Define hidden symbol.
52426 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52429 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52430 when an incomplete long option is used.
52431 * posix/tst-getopt_long1.c: New file.
52432 * posix/Makefile (tests): Add tst-getopt_long1.
52435 * scripts/config.guess: Update from autoconf-2.68.
52436 * scripts/config.sub: Likewise.
52439 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52441 (has_cpuclock): ...this. New function.
52442 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52443 macro here based on has_cpuclock code.
52446 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52447 First byte (not low byte) is now always NUL.
52448 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52450 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52451 Use non-cancelable interfaces.
52454 * locale/iso-639.def: Add entry for Sorani.
52457 * include/stdlib.h: Move include protection to the right place.
52458 Define abort_msg_s. Declare __abort_msg with it.
52459 * stdlib/abort.c (__abort_msg): Adjust type.
52460 * assert/assert.c (__assert_fail_base): New function. Majority
52461 of code from __assert_fail. Allocate memory for __abort_msg with
52463 (__assert_fail): Now call __assert_fail_base.
52464 * assert/assert-perr.c: Remove bulk of implementation. Use
52465 __assert_fail_base.
52466 * include/assert.hL Declare __assert_fail_base.
52467 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52469 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52471 2011-05-14 Ulrich Drepper <drepper@gmail.com>
52475 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52476 until all modules are registered in the DTV.
52477 * elf/Makefile: Add rules to build and run tst-tls19.
52478 * elf/tst-tls19.c: New file.
52479 * elf/tst-tls19mod1.c: New file.
52480 * elf/tst-tls19mod2.c: New file.
52481 * elf/tst-tls19mod3.c: New file.
52482 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52485 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52489 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52490 two-byte sequence errors.
52491 * iconvdata/Makefile (tests): Add bug-iconv8.
52492 * iconvdata/bug-iconv8.c: New file.
52495 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52498 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52501 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52502 (dummy_getcfa): New function.
52503 (init): Get _Unwind_GetCFA address, use dummy if not found.
52504 (backtrace_helper): In recursion check, also check whether CFA changes.
52505 (__backtrace): Completely initialize arg.
52507 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52508 storing incomplete byte sequence in state object. Avoid testing for
52509 guaranteed too small input if we know there is enough data available.
52511 2011-05-11 Andreas Schwab <schwab@redhat.com>
52513 * Makeconfig (+link-pie): Indent.
52514 * Rules (binaries-pie): Define if $(have-fpie) and
52516 (binaries-shared): Also filter out $(binaries-pie).
52517 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52518 * nscd/Makefile (others-pie): Add nscd.
52519 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52520 ($(objpfx)nscd): Remove command override.
52521 * login/Makefile (others-pie): Add pt_chown.
52522 ($(objpfx)pt_chown): Remove command override.
52523 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52524 remove command overrides.
52526 2011-05-13 Ulrich Drepper <drepper@gmail.com>
52528 * libio/tst_putwc.c: Fix error messages.
52531 * libio/fileops.c (_IO_new_file_close_it): Always flush when
52532 currently writing and seek to current position when not.
52533 * libio/Makefile (tests): Add bug-fclose1.
52534 * libio/bug-fclose1.c: New file.
52536 2011-05-12 Ulrich Drepper <drepper@gmail.com>
52539 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52540 don't set DF_1_NODELETE here.
52541 (do_lookup_x): When entering new entry test for copy relocation
52542 and if necessary set DF_1_NODELETE flag.
52543 * elf/tst-unique4.cc: New file.
52544 * elf/tst-unique4.h: New file.
52545 * elf/tst-unique4lib.cc: New file.
52546 * elf/Makefile: Add rules to build and run tst-unique4.
52547 Patch by Piotr Bury <pbury@goahead.com>.
52549 2011-05-11 Ulrich Drepper <drepper@gmail.com>
52552 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52555 * misc/mntent_r.c (addmntent): Flush the stream after the output
52558 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52559 (is_trusted_path_normalize): Skip initial colon. Append slash
52560 to empty buffer. Duplicate is_trusted_path code but allow
52561 constructed patch to be prefix.
52562 (is_dst): Allow $ORIGIN followed by /.
52563 (_dl_dst_substitute): Correct clearing of check_for_trusted.
52564 Correct testing of result of is_trusted_path_normalize
52565 (decompose_rpath): Fix warning.
52567 2011-05-10 Ulrich Drepper <drepper@gmail.com>
52570 * grp/initgroups.c (internal_getgrouplist): When we found the service
52571 list through the initgroups entry in nsswitch.conf do not always
52572 continue on a successful lookup. Don't always use the
52573 __nss_group_database value if it is set.
52574 * nss/nsswitch.conf (initgroups): Change action for successful db
52575 lookup to continue for compatibility.
52577 2011-05-09 Ulrich Drepper <drepper@gmail.com>
52580 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52582 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52584 * iconvdata/tst-tables.sh: Likewise.
52585 * iconvdata/cp770.c: New file.
52586 * iconvdata/cp771.c: New file.
52587 * iconvdata/cp772.c: New file.
52588 * iconvdata/cp773.c: New file.
52589 * iconvdata/cp774.c: New file.
52590 * iconvdata/testdata/CP770: New file.
52591 * iconvdata/testdata/CP770..UTF8: New file.
52592 * iconvdata/testdata/CP771: New file.
52593 * iconvdata/testdata/CP771..UTF8: New file.
52594 * iconvdata/testdata/CP772: New file.
52595 * iconvdata/testdata/CP772..UTF8: New file.
52596 * iconvdata/testdata/CP773: New file.
52597 * iconvdata/testdata/CP773..UTF8: New file.
52598 * iconvdata/testdata/CP774: New file.
52599 * iconvdata/testdata/CP774..UTF8: New file.
52601 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52603 * iconvdata/gen-8bit-gap.sh: Likewise.
52604 * iconvdata/gen-8bit.sh: Likewise.
52606 * locale/iso-639.def: Add ary entry.
52609 * locale/C-translit.h.in: Add U20A1 transliteration.
52612 * locale/iso-639.def: Add wae entry.
52613 Patch by Kevin Bortis <bortis@translate-wae.ch>.
52616 * locale/programs/localedef.c (construct_output_path): Use ssize_t
52620 * locale/C-translit.h.in: Add entry for U20B9.
52621 Patch by pravin.d.s@gmail.com.
52623 2011-05-08 Ulrich Drepper <drepper@gmail.com>
52626 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52627 ENAMETOOLONG use generic getcwd.
52628 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
52629 in rtld. Use *stat64.
52630 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52631 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52632 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52633 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52634 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52635 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52636 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52637 __fstatat64 macros.
52638 * include/dirent.h: Add libc_hidden_proto for rewinddir.
52639 * dirent/rewinddir.c: Add libc_hidden_def.
52640 * sysdeps/mach/hurd/rewinddir.c: Likewise.
52641 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
52643 * include/dirent.h (__alloc_dir): Add flags parameter.
52644 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52645 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52647 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
52648 from fdopendir if O_CLOEXEC is already set.
52650 2011-03-15 Alan Modra <amodra@gmail.com>
52652 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52653 l_tls_firstbyte_offset non-zero. Save padding offset in
52654 l_tls_firstbyte_offset for later use.
52655 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52656 freeing static tls block.
52658 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
52660 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52661 where #ifdef was intended. The intent is to prevent ARG_MAX from
52662 being defined by the kernel headers.
52664 2011-05-07 Ulrich Drepper <drepper@gmail.com>
52667 * resolv/resolv.h: Define RES_NOTLDQUERY.
52668 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52669 no-tld-query and set RES_NOTLDQUERY.
52670 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52671 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52672 modern BIND to search name as TLD unless forbidden.
52674 2011-05-07 Petr Baudis <pasky@suse.cz>
52675 Ulrich Drepper <drepper@gmail.com>
52678 * elf/dl-load.c (fillin_rpath): Move trusted path check...
52679 (is_trusted_path): ...to here.
52680 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52681 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52682 using is_trusted_path_normalize() in setuid scripts.
52684 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
52686 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52687 __BEGIN/__END_DECLS.
52689 2011-05-06 Ulrich Drepper <drepper@gmail.com>
52691 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52692 NSS_STATUS_NOTFOUND if no record was found.
52694 2011-05-05 Andreas Schwab <schwab@redhat.com>
52696 * sunrpc/Makefile (headers): Add rpc/netdb.h.
52697 (headers-not-in-tirpc): Remove rpc/netdb.h
52698 * resolv/netdb.h: Revert last change.
52700 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
52702 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52703 circular dependency between libgcc.a and libc.a.
52705 2011-05-05 Andreas Schwab <schwab@redhat.com>
52707 * resolv/netdb.h: Don't include <rpc/netdb.h>.
52708 * nis/Makefile: Don't install rpcsvc/*.
52709 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52710 instead of <rpc/types.h>.
52711 (MAXHOSTNAMELEN): Define.
52713 2011-05-03 Andreas Schwab <schwab@redhat.com>
52715 * elf/ldconfig.c (add_dir): Don't crash on empty path.
52717 2011-04-28 Maciej Babinski <mbabinski@google.com>
52720 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52721 gethostbyname4_r when IPv6 results are possible.
52723 2011-05-02 Ulrich Drepper <drepper@gmail.com>
52726 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52727 _PC_PIPE_BUF handling.
52729 2011-04-30 Bruno Haible <bruno@clisp.org>
52732 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52733 * resolv/netdb.h (getnameinfo): Change type of flags parameter
52735 * inet/getnameinfo.c (getnameinfo): Likewise.
52737 2011-04-29 Ulrich Drepper <drepper@gmail.com>
52739 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52740 to groups setting in database lookup.
52741 * nss/nsswitch.conf: Add initgroups entry.
52743 2011-04-22 Ulrich Drepper <drepper@gmail.com>
52746 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52748 Patch by Eric Blake <eblake@redhat.com>.
52750 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
52752 * sunrpc/Makefile (need-export-routines): Add svc_run.
52753 (routines): Remove svc_run.
52754 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52755 * sunrpc/clnt_perr.c (clnt_perrno): Export.
52756 * sunrpc/svc_run.c (svc_run): Likewise.
52757 * sunrpc/svc_udp.c (svcudp_create): Likewise.
52759 2011-04-21 Ulrich Drepper <drepper@gmail.com>
52761 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52762 problem in reallocation in last patch.
52764 2011-04-20 Ulrich Drepper <drepper@gmail.com>
52766 * sunrpc/Makefile: Move inclusion of Rules.
52768 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52770 * nss/nss_files/files-initgroups.c: New file.
52771 * nss/Makefile (libnss_files-routines): Add files-initgroups.
52772 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52773 _nss_files_initgroups_dyn.
52775 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
52777 * elf/elf.h (R_ARM_IRELATIVE): Define.
52779 2011-04-19 Ulrich Drepper <drepper@gmail.com>
52781 * po/ru.po: Update from translation team.
52783 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52785 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52788 2011-02-06 Mike Frysinger <vapier@gentoo.org>
52791 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52792 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52793 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52794 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52795 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52797 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
52799 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52801 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52802 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52803 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52805 2011-04-17 Ulrich Drepper <drepper@gmail.com>
52808 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52810 * stdlib/bug-getcontext.c: New file.
52811 * stdlib/Makefile: Add rules to build and run bug-getcontext.
52813 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52815 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52816 instructions into .machine "z9-109".
52817 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52818 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52820 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
52822 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52823 between environment variables and auxiliary vector.
52825 2011-04-16 Ulrich Drepper <drepper@gmail.com>
52827 * Makefile: Add rules to build linkobj/libc.so.
52828 * include/libc-symbols.h: Define libc_hidden_nolink.
52829 * include/rpc/auth.h: Mark functions which are to be hidden.
52830 * include/rpc/auth_des.h: Likewise.
52831 * include/rpc/auth_unix.h: Likewise.
52832 * include/rpc/clnt.h: Likewise.
52833 * include/rpc/des_crypt.h: Likewise.
52834 * include/rpc/key_prot.h: Likewise.
52835 * include/rpc/pmap_clnt.h: Likewise.
52836 * include/rpc/pmap_prot.h: Likewise.
52837 * include/rpc/pmap_rmt.h: Likewise.
52838 * include/rpc/rpc_msg.h: Likewise.
52839 * include/rpc/svc.h: Likewise.
52840 * include/rpc/svc_auth.h: Likewise.
52841 * include/rpc/xdr.h: Likewise.
52842 * nis/Makefile: Link all DSOs against linkobj/libc.so.
52843 * nss/Makefile: Likewise.
52844 * sunrpc/Makefile: Don't install headers. Build library with normal
52845 entry points. Don't build rpcinfo. Link RPC tests appropriately.
52846 * sunrpc/auth_des.c: Hide exported symbols by default, export some
52847 for the compat linking library. Remove use of INTDEF/INTUSE.
52848 * sunrpc/auth_none.c: Likewise.
52849 * sunrpc/auth_unix.c: Likewise.
52850 * sunrpc/authdes_prot.c: Likewise.
52851 * sunrpc/authuxprot.c: Likewise.
52852 * sunrpc/clnt_gen.c: Likewise.
52853 * sunrpc/clnt_perr.c: Likewise.
52854 * sunrpc/clnt_raw.c: Likewise.
52855 * sunrpc/clnt_simp.c: Likewise.
52856 * sunrpc/clnt_tcp.c: Likewise.
52857 * sunrpc/clnt_udp.c: Likewise.
52858 * sunrpc/clnt_unix.c: Likewise.
52859 * sunrpc/des_crypt.c: Likewise.
52860 * sunrpc/des_soft.c: Likewise.
52861 * sunrpc/get_myaddr.c: Likewise.
52862 * sunrpc/key_call.c: Likewise.
52863 * sunrpc/key_prot.c: Likewise.
52864 * sunrpc/netname.c: Likewise.
52865 * sunrpc/pm_getmaps.c: Likewise.
52866 * sunrpc/pm_getport.c: Likewise.
52867 * sunrpc/pmap_clnt.c: Likewise.
52868 * sunrpc/pmap_prot.c: Likewise.
52869 * sunrpc/pmap_prot2.c: Likewise.
52870 * sunrpc/pmap_rmt.c: Likewise.
52871 * sunrpc/publickey.c: Likewise.
52872 * sunrpc/rpc_cmsg.c: Likewise.
52873 * sunrpc/rpc_common.c: Likewise.
52874 * sunrpc/rpc_dtable.c: Likewise.
52875 * sunrpc/rpc_prot.c: Likewise.
52876 * sunrpc/rpc_thread.c: Likewise.
52877 * sunrpc/rtime.c: Likewise.
52878 * sunrpc/svc.c: Likewise.
52879 * sunrpc/svc_auth.c: Likewise.
52880 * sunrpc/svc_authux.c: Likewise.
52881 * sunrpc/svc_raw.c: Likewise.
52882 * sunrpc/svc_run.c: Likewise.
52883 * sunrpc/svc_simple.c: Likewise.
52884 * sunrpc/svc_tcp.c: Likewise.
52885 * sunrpc/svc_udp.c: Likewise.
52886 * sunrpc/svc_unix.c: Likewise.
52887 * sunrpc/svcauth_des.c: Likewise.
52888 * sunrpc/xcrypt.c: Likewise.
52889 * sunrpc/xdr.c: Likewise.
52890 * sunrpc/xdr_array.c: Likewise.
52891 * sunrpc/xdr_float.c: Likewise.
52892 * sunrpc/xdr_intXX_t.c: Likewise.
52893 * sunrpc/xdr_mem.c: Likewise.
52894 * sunrpc/xdr_rec.c: Likewise.
52895 * sunrpc/xdr_ref.c: Likewise.
52896 * sunrpc/xdr_sizeof.c: Likewise.
52897 * sunrpc/xdr_stdio.c: Likewise.
52899 2011-04-10 Ulrich Drepper <drepper@gmail.com>
52902 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52903 * sysdeps/ia64/dl-tls.h: Likewise.
52904 * sysdeps/powerpc/dl-tls.h: Likewise.
52905 * sysdeps/s390/dl-tls.h: Likewise.
52906 * sysdeps/sh/dl-tls.h: Likewise.
52907 * sysdeps/sparc/dl-tls.h: Likewise.
52908 * sysdeps/x86_64/dl-tls.h: Likewise.
52909 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52911 2011-03-14 Andreas Schwab <schwab@redhat.com>
52913 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52914 rpath element also skip the following colon.
52915 (expand_dynamic_string_token): Add is_path parameter and pass
52916 down to DL_DST_REQUIRED and _dl_dst_substitute.
52917 (decompose_rpath): Call expand_dynamic_string_token with
52918 non-zero is_path. Ignore empty rpaths.
52919 (_dl_map_object_from_fd): Call expand_dynamic_string_token
52922 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
52924 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52927 2011-04-09 Ulrich Drepper <drepper@gmail.com>
52930 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52931 Patch by Filipe David Manana <fdmanana@apache.org>.
52933 2011-04-07 Andreas Schwab <schwab@redhat.com>
52935 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52936 Maintain aligned stack.
52937 (CHECK_RSP): Remove unused macro.
52939 2011-04-03 Ulrich Drepper <drepper@gmail.com>
52941 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52942 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52944 2011-04-02 Ulrich Drepper <drepper@gmail.com>
52946 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52948 * include/features.h: Mention __USE_XOPEN2K8 in comment.
52950 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
52953 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52954 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52955 * sysdeps/x86_64/memmove.c: New file.
52956 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52957 (memcpy): Renamed to ...
52958 (__new_memcpy): This.
52959 (memcpy): Provide GLIBC_2_14 memcpy.
52960 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52961 (memcpy): Provide GLIBC_2_2_5 memcpy.
52963 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52966 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52968 2011-03-30 Andreas Schwab <schwab@redhat.com>
52970 * misc/syncfs.c: New file.
52971 * misc/Makefile (routines): Add syncfs.
52972 * posix/unistd.h: Declare syncfs.
52973 * sysdeps/unix/syscalls.list: Add syncfs.
52975 2011-04-01 Andreas Schwab <schwab@redhat.com>
52977 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52979 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52980 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52981 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52982 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52983 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52984 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52985 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52987 2011-04-01 Ulrich Drepper <drepper@gmail.com>
52989 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52990 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52991 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52992 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52993 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52994 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52995 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52997 * io/Makefile: Compile fallocate.c, fallocate64.c, and
52998 sync_file_range.c with -fexceptions.
52999 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
53000 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
53001 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
53002 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
53003 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
53004 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
53005 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
53006 sync_file_range as cancellation point
53007 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
53008 now a wrapper around __call_sync_file_range with cancellation handling.
53009 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
53010 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
53011 function name to __call_sync_file_range.
53012 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
53013 Add call_sync_file_range.
53015 2011-04-01 Andreas Schwab <schwab@redhat.com>
53017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
53020 2011-04-01 Ulrich Drepper <drepper@gmail.com>
53022 * iconv/iconv.h: Fix typo in comment.
53023 * io/fcntl.h: Likewise.
53024 * libio/stdio.h: Likewise.
53025 * posix/spawn.h: Likewise.
53026 * posix/unistd.h: Likewise.
53027 * stdlib/stdlib.h: Likewise.
53028 * time/time.h: Likewise.
53029 * wcsmbs/wchar.h: Likewise.
53031 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
53032 open_by_handle): Add.
53033 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
53034 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
53035 Augment a few comments.
53036 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
53037 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
53038 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
53039 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
53040 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
53041 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
53044 * io/fcntl.h (AT_EMPTY_PATH): Define.
53046 2011-03-30 Ulrich Drepper <drepper@gmail.com>
53048 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
53049 * sysdeps/unix/sysv/linux/bits/time.h: New file.
53050 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
53052 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
53053 * Versions.def: Add GLIBC_2.14.
53054 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
53057 2011-03-22 Ulrich Drepper <drepper@gmail.com>
53059 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
53061 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53063 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
53066 * string/test-strncmp.c (do_page_test): New function.
53067 (check2): Likewise.
53068 (test_main): Call check2.
53069 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
53071 2011-03-20 Ulrich Drepper <drepper@gmail.com>
53074 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
53075 Handle cache information in CPU leaf 4.
53076 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
53078 2011-03-18 Ulrich Drepper <drepper@gmail.com>
53081 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
53082 character representation.
53083 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
53085 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
53087 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
53088 END(__isnan) to END(__isnanf) to match function entry point/label
53089 EALIGN(__isnanf,...).
53091 2011-03-10 Jakub Jelinek <jakub@redhat.com>
53093 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
53095 2011-03-10 Ulrich Drepper <drepper@gmail.com>
53098 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
53099 copy from the symbol referenced in the relocation to initialize the
53101 Patch by Piotr Bury <pbury@goahead.com>.
53102 * elf/Makefile: Add rules to build and tst-unique3.
53103 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
53104 * elf/tst-unique3.cc: New file.
53105 * elf/tst-unique3.h: New file.
53106 * elf/tst-unique3lib.cc: New file.
53107 * elf/tst-unique3lib2.cc: New file.
53109 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
53111 2011-03-10 Mike Frysinger <vapier@gentoo.org>
53113 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
53114 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
53117 2011-03-06 Ulrich Drepper <drepper@gmail.com>
53119 * elf/dl-load.c (_dl_map_object): If we are looking for the first
53120 to-be-loaded object along a path to loader is ld.so.
53122 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53123 Ulrich Drepper <drepper@gmail.com>
53125 * sysdeps/x86_64/memset.S: After aligning destination, code
53126 branches to different locations depending on the value of
53127 misalignment, when multiarch is enabled. Fix this.
53129 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
53131 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
53132 Set _x86_64_preferred_memory_instruction for AMD processsors.
53133 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53134 Set bit_Prefer_SSE_for_memop for AMD processors.
53136 2011-03-04 Ulrich Drepper <drepper@gmail.com>
53138 * libio/fmemopen.c (fmemopen): Optimize a bit.
53140 2011-03-03 Andreas Schwab <schwab@redhat.com>
53142 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
53144 2011-03-03 Roland McGrath <roland@redhat.com>
53146 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
53148 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
53150 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
53151 __bzero_ultra1 instead of __memset_ultra1.
53153 2011-02-23 Andreas Schwab <schwab@redhat.com>
53154 Ulrich Drepper <drepper@gmail.com>
53157 * include/link.h (struct link_map): Add l_orig_initfini.
53158 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
53159 returning unsuccessfully.
53160 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53161 close of a file loaded at startup, restore the original l_initfini
53163 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53164 list, store the pointer.
53165 * elf/Makefile ($(objpfx)noload-mem): New rule.
53166 (noload-ENV): Define.
53167 (tests): Add $(objpfx)noload-mem.
53168 * elf/noload.c: Include <memcheck.h>.
53169 (main): Call mtrace. Close all opened handles.
53171 2011-02-17 Andreas Schwab <schwab@redhat.com>
53174 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53175 dependencies are missing.
53177 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
53179 Fix __if_freereq crash: Unlike the generic version which uses free,
53181 * sysdeps/mach/hurd/ifreq.h: New file.
53183 2011-01-27 Petr Baudis <pasky@suse.cz>
53184 Ulrich Drepper <drepper@gmail.com>
53187 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53188 to extend_alloca().
53189 * stdio-common/bug23.c: New file.
53190 * stdio-common/Makefile (tests): Add bug23.
53192 2010-09-28 Andreas Schwab <schwab@redhat.com>
53193 Ulrich Drepper <drepper@gmail.com>
53196 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53197 before performing relro protection. At old place add assertion
53198 to make sure nothing changed.
53200 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
53201 Glauber de Oliveira Costa <glommer@gmail.com>
53203 * elf/elf.h: Add new ARM TLS relocs.
53205 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
53207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53208 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53210 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
53212 * sysdeps/wordsize-64/tst-writev.c: New file.
53214 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
53216 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53217 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53218 insns in _dl_start to prevent a TOC reference before relocs are
53221 2011-02-15 Ulrich Drepper <drepper@gmail.com>
53224 * Makeconfig: Remove RANLIB definition.
53225 * Makerules: Don't use RANLIB.
53226 * aclocal.m4: Remove ranlib test.
53227 * configure.in: No need to check for ranlib.
53228 * elf/rtld-Rules: Don't use RANLIB.
53230 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
53232 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53234 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53235 inclusion protection macro.
53237 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53238 SIGRTMIN and SIGRTMAX and print information in that case only when
53239 SIGRTMIN is defined.
53241 2011-02-11 Jakub Jelinek <jakub@redhat.com>
53243 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53244 arginfo fn returning -1.
53246 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53247 and thousands string is zero terminated.
53249 2011-02-03 Andreas Schwab <schwab@redhat.com>
53251 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53252 sysdeps/unix/sysv/linux/bits/socket.h.
53254 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
53256 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53257 (__CPU_COUNT): Remove old macros.
53258 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53259 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53260 (__CPU_ALLOC, __CPU_FREE): Add macros.
53261 (__sched_cpualloc, __sched_cpufree): Add declarations.
53263 2011-02-05 Ulrich Drepper <drepper@gmail.com>
53265 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53266 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53267 * nscd/aicache.c (addhstaiX): Return timeout of added value.
53268 (readdhstai): Return value of addhstaiX call.
53269 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53270 (addgrbyX): Return value returned by cache_addgr.
53271 (readdgrbyname): Return value returned by addgrbyX.
53272 (readdgrbygid): Likewise.
53273 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53274 (addpwbyX): Return value returned by cache_addpw.
53275 (readdpwbyname): Return value returned by addhstbyX.
53276 (readdpwbyuid): Likewise.
53277 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53278 (addservbyX): Return value returned by cache_addserv.
53279 (readdservbyname): Return value returned by addservbyX:
53280 (readdservbyport): Likewise.
53281 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53282 (addhstbyX): Return value returned by cache_addhst.
53283 (readdhstbyname): Return value returned by addhstbyX.
53284 (readdhstbyaddr): Likewise.
53285 (readdhstbynamev6): Likewise.
53286 (readdhstbyaddrv6): Likewise.
53287 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53288 (readdinitgroups): Return value returned by addinitgroupsX.
53289 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53290 (prune_cache): Keep track of timeout value of re-added entries.
53291 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53292 * nscd/nscd.h: Adjust prototypes of readd* functions.
53294 2011-02-04 Roland McGrath <roland@redhat.com>
53296 * nis/nis_server.c (nis_servstate): Use the right name for 0.
53297 (nis_stats): Likewise.
53298 * nis/nis_modify.c (nis_modify): Likewise.
53299 * nis/nis_remove.c (nis_remove): Likewise.
53300 * nis/nis_add.c (nis_add): Likewise.
53302 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53304 * posix/fnmatch_loop.c: Add some consts.
53306 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53308 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
53311 * config.make.in (config-cflags-novzeroupper): Define.
53312 * configure.in: Substitute libc_cv_cc_novzeroupper.
53313 * elf/Makefile (AVX-CFLAGS): Define.
53314 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53315 (CFLAGS-tst-auditmod4a.c): Likewise.
53316 (CFLAGS-tst-auditmod4b.c): Likewise.
53317 (CFLAGS-tst-auditmod6b.c): Likewise.
53318 (CFLAGS-tst-auditmod6c.c): Likewise.
53319 (CFLAGS-tst-auditmod7b.c): Likewise.
53320 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53322 2011-02-02 Ulrich Drepper <drepper@gmail.com>
53324 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53325 function to the callback.
53326 Patch partly by Jiri Olsa <jolsa@redhat.com>.
53328 2011-02-02 Andreas Schwab <schwab@redhat.com>
53330 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53333 2011-01-19 Ulrich Drepper <drepper@gmail.com>
53336 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53338 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53340 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53343 * elf/Makefile: Add rules to build and run new test.
53344 * elf/tst-initorder.c: New file.
53345 * elf/tst-initorder.exp: New file.
53346 * elf/tst-initordera1.c: New file.
53347 * elf/tst-initordera2.c: New file.
53348 * elf/tst-initordera3.c: New file.
53349 * elf/tst-initordera4.c: New file.
53350 * elf/tst-initorderb1.c: New file.
53351 * elf/tst-initorderb2.c: New file.
53352 * elf/tst-order-a1.c: New file.
53353 * elf/tst-order-a2.c: New file.
53354 * elf/tst-order-a3.c: New file.
53355 * elf/tst-order-a4.c: New file.
53356 * elf/tst-order-b1.c: New file.
53357 * elf/tst-order-b2.c: New file.
53358 * elf/tst-order-main.c: New file.
53359 New test case by George Gensure <werkt0@gmail.com>.
53361 2010-10-01 Andreas Schwab <schwab@redhat.com>
53363 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53364 decoding ACE if AI_CANONIDN.
53366 2011-01-18 Ulrich Drepper <drepper@gmail.com>
53368 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53370 2011-01-17 Ulrich Drepper <drepper@gmail.com>
53372 * version.h (RELEASE): Bump for 2.13 release.
53373 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53375 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53377 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53379 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53380 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53381 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53382 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53383 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53384 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53386 * posix/getconf.c: Update copyright year.
53387 * catgets/gencat.c: Likewise.
53388 * csu/version.c: Likewise.
53389 * debug/catchsegv.sh: Likewise.
53390 * debug/xtrace.sh: Likewise.
53391 * elf/ldconfig.c: Likewise.
53392 * elf/ldd.bash.in: Likewise.
53393 * elf/sprof.c (print_version): Likewise.
53394 * iconv/iconv_prog.c: Likewise.
53395 * iconv/iconvconfig.c: Likewise.
53396 * locale/programs/locale.c: Likewise.
53397 * locale/programs/localedef.c: Likewise.
53398 * malloc/memusage.sh: Likewise.
53399 * malloc/mtrace.pl: Likewise.
53400 * nscd/nscd.c (print_version): Likewise.
53401 * nss/getent.c: Likewise.
53403 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53404 PF_CAIF, and PF_ALG.
53405 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53407 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
53409 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53410 (modules-names): Use them.
53411 (ifunc-test-modules, ifunc-pie-tests): Define.
53412 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53413 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53414 (test-extras): Likewise.
53415 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53416 $(compile-command.c).
53417 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53418 (all-built-dso): Define.
53419 (check-textrel.out, check-execstack.out): Depend on it.
53421 * configure.in: Don't override --enable-multi-arch.
53423 2011-01-15 Ulrich Drepper <drepper@gmail.com>
53426 * nscd/hstcache.c (tryagain): Define.
53427 (cache_addhst): Return tryagain not notfound for temporary errors.
53428 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53431 2011-01-14 Ulrich Drepper <drepper@gmail.com>
53434 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53435 to make the syscall.
53436 * sysdeps/unix/sysv/linux/setgroups.c: New file.
53439 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53440 and fall back to matching as normal character if the string ends before
53441 the matching ']' is found. This is what POSIX requires.
53442 * posix/testfnm.c: Adjust test result.
53443 * posix/globtest.sh: Adjust test result. Add new test.
53444 * posix/tst-fnmatch.input: Likewise.
53445 * posix/tst-fnmatch2.c: Add new test.
53447 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
53449 * elf/Makefile (check-execstack): Revert last change. Depend on
53451 (check-execstack.h): New target.
53452 (generated): Add check-execstack.h.
53453 * elf/check-execstack.c: Include "check-execstack.h".
53454 (main): Revert last change.
53455 (handle_file): Return zero if GNU_STACK is absent and
53456 DEFAULT_STACK_PERMS doesn't include PF_X.
53458 2011-01-13 Ulrich Drepper <drepper@gmail.com>
53460 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53461 in child fails because the descriptor is already closed.
53462 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53463 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53464 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53467 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53471 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53472 temporary buffer used to handle multi lookups locally.
53473 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53475 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53477 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53480 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
53482 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53483 alignment for SSE2.
53485 2011-01-12 Ulrich Drepper <drepper@gmail.com>
53488 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53489 characters. When rounding increased number of integer digits recompute
53491 * stdio-common/tst-grouping.c: New file.
53492 * stdio-common/Makefile: Add rules to build and run tst-grouping.
53494 2011-01-09 Ulrich Drepper <drepper@gmail.com>
53496 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53497 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
53499 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53501 * bits/select.h: Likewise.
53503 2011-01-08 Ulrich Drepper <drepper@gmail.com>
53505 * po/ja.po: Update from translation team.
53507 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
53510 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53511 implementation just like for lxstat, fxstatat, et al.
53513 2010-12-27 Jim Meyering <meyering@redhat.com>
53516 * posix/regexec.c (build_trtable): Return failure indication upon
53517 calloc failure. Otherwise, re_search_internal could infloop on OOM.
53519 2010-12-25 Ulrich Drepper <drepper@gmail.com>
53522 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53523 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53524 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53525 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53528 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53531 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53532 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53534 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
53536 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53537 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53538 script has SORT_BY_INIT_PRIORITY.
53539 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53540 NO_CTORS_DTORS_SECTIONS is defined.
53541 * elf/soinit.c: Likewise.
53542 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53543 NO_CTORS_DTORS_SECTIONS is defined.
53544 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53545 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53546 * sysdeps/sh/init-first.c: Likewise.
53547 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53549 2010-12-24 Ulrich Drepper <drepper@gmail.com>
53551 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53552 always use the slow path.
53554 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
53556 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53557 similar rule which adds the sysdep directories to the header search in
53558 order to pick up the correct platform stackinfo.h.
53559 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53560 perform test if it is, otherwise return successfully without testing.
53561 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53562 DEFAULT_STACK_PERMS define in stackinfo.h.
53563 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53564 defined in stackinfo.h.
53565 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53566 DEFAULT_STACK_PERMS defined in stackinfo.h.
53567 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53568 * sysdeps/ia64/stackinfo.h: Likewise.
53569 * sysdeps/s390/stackinfo.h: Likewise.
53570 * sysdeps/sh/stackinfo.h: Likewise.
53571 * sysdeps/sparc/stackinfo.h: Likewise.
53572 * sysdeps/x86_64/stackinfo.h: Likewise.
53573 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53574 PF_X for powerpc64. Retain PF_X for powerpc32.
53576 2010-12-19 Ulrich Drepper <drepper@gmail.com>
53578 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53580 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53581 GETDENTS_64BIT_ALIGNED.
53583 2010-12-14 Ulrich Drepper <dreper@gmail.com>
53585 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53587 2010-12-10 Andreas Schwab <schwab@redhat.com>
53589 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53592 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53593 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53595 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53596 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53598 2010-12-09 Ulrich Drepper <drepper@gmail.com>
53601 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53604 2010-12-09 Jakub Jelinek <jakub@redhat.com>
53606 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53608 2010-12-03 Ulrich Drepper <drepper@gmail.com>
53610 * po/it.po: Update from translation team.
53612 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
53614 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53617 2010-11-30 Ulrich Drepper <drepper@gmail.com>
53619 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53621 2010-11-24 Andreas Schwab <schwab@redhat.com>
53623 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53625 (gaih_getanswer_slice): Likewise.
53627 2010-10-20 Jakub Jelinek <jakub@redhat.com>
53629 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53631 2010-05-31 Petr Baudis <pasky@suse.cz>
53634 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53635 silently even in the chroot mode.
53637 2010-11-22 Ulrich Drepper <drepper@gmail.com>
53639 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53640 last patch a bit. Pretty printing
53642 2010-05-31 Petr Baudis <pasky@suse.cz>
53645 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53646 initialization of skip_initgroups_dyn.
53648 2010-11-19 Ulrich Drepper <drepper@gmail.com>
53650 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53651 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53653 2010-11-16 Ulrich Drepper <drepper@gmail.com>
53655 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53657 2010-11-11 Andreas Schwab <schwab@redhat.com>
53659 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53660 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53661 (tst-fnmatch-ENV): Set MALLOC_TRACE.
53662 ($(objpfx)tst-fnmatch-mem): New rule.
53663 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53664 * posix/tst-fnmatch.c (main): Call mtrace.
53666 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
53668 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53669 Support Intel processor model 6 and model 0x2c.
53671 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
53673 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53676 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
53679 * string/test-strncasecmp.c (check_result): New function.
53680 (do_one_test): Use it.
53681 (check1): New function.
53682 (test_main): Use it.
53683 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53684 Support strcasecmp and strncasecmp.
53686 2010-11-08 Ulrich Drepper <drepper@gmail.com>
53689 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53690 * sysdeps/x86_64/bits/byteswap.h: Likewise.
53692 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
53694 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53698 * sysdeps/x86_64/multiarch/bzero.S: New file.
53699 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53700 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53701 * sysdeps/x86_64/multiarch/memset.S: New file.
53702 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53704 Set bit_Prefer_SSE_for_memop for Intel processors.
53705 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53707 (index_Prefer_SSE_for_memop): Define.
53708 (HAS_PREFER_SSE_FOR_MEMOP): Define.
53710 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
53712 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53713 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53715 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
53718 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53719 (__x86_64_raw_data_cache_size_half): Likewise.
53720 (__x86_64_raw_shared_cache_size): Likewise.
53721 (__x86_64_raw_shared_cache_size_half): Likewise.
53723 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53724 (__x86_64_raw_data_cache_size_half): Likewise.
53725 (__x86_64_raw_shared_cache_size): Likewise.
53726 (__x86_64_raw_shared_cache_size_half): Likewise.
53727 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53728 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53729 and __x86_64_raw_shared_cache_size_half. Round
53730 __x86_64_data_cache_size_half, __x86_64_data_cache_size
53731 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53732 to multiple of 256 bytes.
53734 2010-11-03 Ulrich Drepper <drepper@gmail.com>
53737 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53738 of inacessible symlinks. Verify result of symlink before returning it.
53739 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53740 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53742 2010-10-28 Erich Ritz <erichritz@gmail.com>
53744 * math/math.h (isinf): Fix typo in comment.
53746 2010-11-01 Ulrich Drepper <drepper@gmail.com>
53748 * po/da.po: Update from translation team.
53750 2010-10-26 Ulrich Drepper <drepper@gmail.com>
53752 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53753 is added to the list.
53755 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
53756 Ulrich Drepper <drepper@gmail.com>
53758 * elf/dl-object.c (_dl_new_object): Don't append the new object to
53759 the global list here. Move code to...
53760 (_dl_add_to_namespace_list): ...here. New function.
53761 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53762 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53763 * elf/dl-load.c (lose): Don't remove the element from the list.
53764 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53765 (_dl_map_object): Likewise.
53767 2010-10-25 Ulrich Drepper <drepper@gmail.com>
53770 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53771 into all bytes of SSE register.
53772 Patch by Richard Li <richardpku@gmail.com>.
53774 2010-10-24 Ulrich Drepper <drepper@gmail.com>
53777 * malloc/malloc.c (_int_free): Fill correct number of bytes when
53780 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
53782 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53783 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53784 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53785 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53790 2010-10-22 Andreas Schwab <schwab@redhat.com>
53792 * include/dlfcn.h (__RTLD_SECURE): Define.
53793 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
53794 mode & __RTLD_SECURE instead.
53795 (open_path): Rename preloaded parameter to secure.
53796 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53797 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53798 * elf/dl-deps.c (openaux): Likewise.
53799 * elf/rtld.c (struct map_args): Remove is_preloaded.
53800 (map_doit): Don't use it.
53801 (dl_main): Likewise.
53802 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53803 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53805 2010-09-09 Andreas Schwab <schwab@redhat.com>
53807 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53808 (sysd-rules-targets): Remove duplicates.
53809 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53810 rtld-%.$o dependency.
53812 2010-10-18 Andreas Schwab <schwab@redhat.com>
53814 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53815 _dl_map_object do it.
53817 2010-10-19 Ulrich Drepper <drepper@gmail.com>
53819 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53820 fast fma builtins, define the macros in the C99 standard.
53821 (FP_FAST_FMAF): Likewise.
53822 (FP_FAST_FMAL): Likewise.
53823 * sysdeps/x86_64/bits/mathdef.h: Likewise.
53825 * bits/mathdef.h: Update copyright year.
53826 * sysdeps/powerpc/bits/mathdef.h: Likewise.
53828 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
53830 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53831 builtins, define the macros in the C99 standard.
53832 (FP_FAST_FMAF): Likewise.
53833 (FP_FAST_FMAL): Likewise.
53834 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53836 (FP_FAST_FMAF): Likewise.
53838 2010-10-15 Jakub Jelinek <jakub@redhat.com>
53841 * math/libm-test.inc (fma_test): Some new testcases.
53842 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53843 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53844 y and infinite z. Do multiplication by C already in long double.
53845 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53846 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53847 y and infinite z. Do bitwise or of inexact bit into u.d.
53848 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53849 * sysdeps/i386/fpu/s_fmaf.S: Removed.
53850 * sysdeps/i386/fpu/s_fma.S: Removed.
53851 * sysdeps/i386/fpu/s_fmal.S: Removed.
53853 2010-10-16 Jakub Jelinek <jakub@redhat.com>
53856 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53857 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53858 computation is not scheduled after fetestexcept. Fix value
53859 of minimum denormal long double.
53861 2010-10-14 Jakub Jelinek <jakub@redhat.com>
53864 * math/libm-test.inc (fma_test): Add some more tests.
53865 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53868 2010-10-15 Andreas Schwab <schwab@redhat.com>
53870 * scripts/data/localplt-s390-linux-gnu.data: New file.
53871 * scripts/data/localplt-s390x-linux-gnu.data: New file.
53873 2010-10-13 Jakub Jelinek <jakub@redhat.com>
53876 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53877 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53879 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53881 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53882 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53883 if one of x and y is very large and the other is subnormal.
53884 * sysdeps/s390/fpu/s_fmaf.c: New file.
53885 * sysdeps/s390/fpu/s_fma.c: New file.
53886 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53887 * sysdeps/powerpc/fpu/s_fma.S: New file.
53888 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53889 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53890 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53892 2010-10-12 Jakub Jelinek <jakub@redhat.com>
53895 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53897 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53898 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53899 * sysdeps/i386/i686/multiarch/s_fma.c: Include
53900 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53901 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53902 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53903 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53905 2010-10-12 Ulrich Drepper <drepper@redhat.com>
53908 * posix/regcomp.c (parse_branch): One more memory leak plugged.
53909 * posix/bug-regex31.input: Add test case.
53911 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53913 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53914 * posix/bug-regex31.input: New file.
53917 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53918 (parse_sub_exp): Fix last change, use postorder.
53920 * posix/bug-regex31.c: New file.
53921 * posix/Makefile: Add rules to build and run bug-regex31.
53923 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53926 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53929 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53930 to have entries in sys_siglist.
53933 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53936 2010-10-07 Jakub Jelinek <jakub@redhat.com>
53939 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53940 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53941 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53942 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53943 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53944 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53945 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53946 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53947 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53948 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53949 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53950 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53951 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53952 * math/ftestexcept.c (fetestexcept): Likewise.
53953 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53954 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53955 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53956 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53957 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53958 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53959 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53961 2010-10-11 Ulrich Drepper <drepper@gmail.com>
53964 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53967 2010-10-06 Ulrich Drepper <drepper@gmail.com>
53969 * string/bug-strstr1.c: New file.
53970 * string/Makefile: Add rules to build and run bug-strstr1.
53972 2010-10-05 Eric Blake <eblake@redhat.com>
53975 * string/str-two-way.h (two_way_long_needle): Always clear memory
53976 when skipping input due to the shift table.
53978 2010-10-03 Ulrich Drepper <drepper@gmail.com>
53981 * malloc/mcheck.c: Handle large requests.
53984 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53985 for strncmp and strncasecmp.
53986 * string/stratcliff.c: Add tests for strcmp and strncmp.
53987 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53989 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
53991 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53994 2010-09-30 Andreas Jaeger <aj@suse.de>
53996 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53997 (CGROUP_SUPER_MAGIC): Define.
53998 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53999 Handle btrfs and cgroup file systems.
54000 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54003 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
54005 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
54006 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
54008 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54011 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
54012 trying to locate the ELF header.
54014 2010-09-27 Andreas Schwab <schwab@redhat.com>
54017 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
54018 Mask out sign-bit copies when constructing f_fsid.
54020 2010-09-24 Petr Baudis <pasky@suse.cz>
54022 * debug/stack_chk_fail_local.c: Add missing licence exception.
54023 * debug/warning-nop.c: Likewise.
54025 2010-09-15 Joseph Myers <joseph@codesourcery.com>
54027 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
54028 implementing getdents64 using getdents syscall, set d_type if
54029 __ASSUME_GETDENTS32_D_TYPE.
54031 2010-09-16 Andreas Schwab <schwab@redhat.com>
54033 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
54034 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
54036 2010-09-21 Ulrich Drepper <drepper@redhat.com>
54039 * posix/unistd.h: Undo change of feature selection for ftruncate from
54042 2010-09-20 Ulrich Drepper <drepper@redhat.com>
54044 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
54047 2010-09-20 Andreas Schwab <schwab@redhat.com>
54049 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
54051 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54053 2010-09-14 Andreas Schwab <schwab@redhat.com>
54055 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
54056 variables after CHECK_SP call.
54057 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
54059 2010-09-13 Andreas Schwab <schwab@redhat.com>
54060 Ulrich Drepper <drepper@redhat.com>
54062 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
54063 re-relocationg ld.so.
54064 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
54065 _dl_init_paths call.
54066 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
54069 2010-09-14 Ulrich Drepper <drepper@redhat.com>
54071 * resolv/res_init.c (__res_vinit): Count the default server we added.
54073 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
54074 Ulrich Drepper <drepper@redhat.com>
54077 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
54078 (____longjmp_chk): Use %ebx for saving value across system call.
54081 2010-09-06 Andreas Schwab <schwab@redhat.com>
54083 * manual/Makefile: Don't mix pattern rules with normal rules.
54085 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
54087 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
54089 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
54090 * libio/iofopncook.c (_IO_cookie_init): Likewise.
54091 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
54092 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
54093 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
54096 2010-09-04 Ulrich Drepper <drepper@redhat.com>
54099 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
54100 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
54102 2010-09-02 Ulrich Drepper <drepper@redhat.com>
54104 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
54105 * sysdeps/x86_64/addmul_1.S: Likewise.
54106 * sysdeps/x86_64/lshift.S: Likewise.
54107 * sysdeps/x86_64/mul_1.S: Likewise.
54108 * sysdeps/x86_64/rshift.S: Likewise.
54109 * sysdeps/x86_64/sub_n.S: Likewise.
54110 * sysdeps/x86_64/submul_1.S: Likewise.
54112 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
54114 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
54115 Define __sched_param instead of SCHED_* and sched_param when
54116 <bits/sched.h> is included with __need_schedparam defined.
54117 * bits/sched.h [__need_schedparam]
54118 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
54119 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
54120 (__defined_schedparam): Define to 1.
54121 (__sched_param): New structure, identical to sched_param.
54122 (__need_schedparam): Undefine.
54124 2010-08-31 Mike Frysinger <vapier@gentoo.org>
54126 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
54127 (epoll_create1): Declare.
54129 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
54131 2010-08-31 Andreas Schwab <schwab@redhat.com>
54134 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
54135 shifting retval into place.
54137 2010-09-01 Ulrich Drepper <drepper@redhat.com>
54139 * nis/rpcsvc/nis.h: Update copyright notice.
54140 * nis/rpcsvc/nis.x: Likewise.
54141 * nis/rpcsvc/nis_callback.h: Likewise.
54142 * nis/rpcsvc/nis_callback.x: Likewise.
54143 * nis/rpcsvc/nis_object.x: Likewise.
54144 * nis/rpcsvc/nis_tags.h: Likewise.
54145 * nis/rpcsvc/yp.h: Likewise.
54146 * nis/rpcsvc/yp.x: Likewise.
54147 * nis/rpcsvc/ypupd.h: Likewise.
54148 * nis/yp_xdr.c: Likewise.
54149 * nis/ypupdate_xdr.c: Likewise.
54151 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
54152 mainly the body of pmap_getport. Add parameters to specify timeouts.
54153 (pmap_getport): Use __libc_rpc_getport.
54154 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
54155 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
54156 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
54158 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
54160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54163 2010-08-27 Roland McGrath <roland@redhat.com>
54165 * sysdeps/i386/i686/multiarch/Makefile
54166 (CFLAGS-varshift.c): New variable.
54168 2010-08-27 Ulrich Drepper <drepper@redhat.com>
54170 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54171 * sysdeps/i386/i686/multiarch/varshift.c: New file.
54173 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54175 * sysdeps/x86_64/strlen.S: Minimal code improvement.
54177 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
54179 * sysdeps/x86_64/strlen.S: Unroll the loop.
54180 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54181 strlen-sse2 strlen-sse2-bsf.
54182 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54183 __strlen_no_bsf if bit_Slow_BSF is set.
54184 (__strlen_sse42): Removed.
54185 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54186 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54188 2010-08-25 Roland McGrath <roland@redhat.com>
54190 * sysdeps/x86_64/multiarch/varshift.S: File removed.
54191 * sysdeps/x86_64/multiarch/varshift.c: New file.
54192 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54193 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54194 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54195 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54197 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
54199 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54200 strlen-sse2 strlen-sse2-bsf.
54201 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54202 __strlen_sse2_bsf if bit_Slow_BSF is unset.
54203 (__strlen_sse2): Removed.
54204 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54205 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54206 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54207 bit_Slow_BSF for Atom.
54208 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54209 (index_Slow_BSF): Define.
54210 (HAS_SLOW_BSF): Define.
54212 2010-08-25 Ulrich Drepper <drepper@redhat.com>
54215 * resolv/res_init.c (__res_vinit): When no server address at all
54216 is given default to loopback.
54218 2010-08-24 Roland McGrath <roland@redhat.com>
54220 * configure.in: Remove config-name.h generation.
54221 * configure: Regenerated.
54222 * config-name.in: File removed.
54223 * scripts/config-uname.sh: New file.
54224 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54225 ($(objdir)config-name.h): New target.
54227 * sunrpc/rpc_parse.h: Avoid nested comment.
54229 2010-08-24 Richard Henderson <rth@redhat.com>
54230 Ulrich Drepper <drepper@redhat.com>
54231 H.J. Lu <hongjiu.lu@intel.com>
54233 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54234 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54235 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54236 Replace _mm_srli_si128 with __m128i_shift_right. Replace
54237 _mm_alignr_epi8 with _mm_loadu_si128.
54238 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54239 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54240 (__m128i_shift_right): Removed.
54241 * sysdeps/i386/i686/multiarch/varshift.h: New file.
54242 * sysdeps/i386/i686/multiarch/varshift.S: New file.
54243 * sysdeps/x86_64/multiarch/varshift.h: New file.
54244 * sysdeps/x86_64/multiarch/varshift.S: New file.
54246 2010-08-21 Mike Frysinger <vapier@gentoo.org>
54248 * configure.in: Move assembler checks to before sysdep dir checking.
54250 2010-08-20 Petr Baudis <pasky@suse.cz>
54252 * LICENSES: Sync the sunrpc license.
54254 2010-08-19 Ulrich Drepper <drepper@redhat.com>
54256 * sunrpc/auth_des.c: Update copyright notice once again.
54257 * sunrpc/auth_none.c: Likewise.
54258 * sunrpc/auth_unix.c: Likewise.
54259 * sunrpc/authdes_prot.c: Likewise.
54260 * sunrpc/authuxprot.c: Likewise.
54261 * sunrpc/bindrsvprt.c: Likewise.
54262 * sunrpc/clnt_gen.c: Likewise.
54263 * sunrpc/clnt_perr.c: Likewise.
54264 * sunrpc/clnt_raw.c: Likewise.
54265 * sunrpc/clnt_simp.c: Likewise.
54266 * sunrpc/clnt_tcp.c: Likewise.
54267 * sunrpc/clnt_udp.c: Likewise.
54268 * sunrpc/clnt_unix.c: Likewise.
54269 * sunrpc/des_crypt.c: Likewise.
54270 * sunrpc/des_soft.c: Likewise.
54271 * sunrpc/get_myaddr.c: Likewise.
54272 * sunrpc/getrpcport.c: Likewise.
54273 * sunrpc/key_call.c: Likewise.
54274 * sunrpc/key_prot.c: Likewise.
54275 * sunrpc/openchild.c: Likewise.
54276 * sunrpc/pm_getmaps.c: Likewise.
54277 * sunrpc/pm_getport.c: Likewise.
54278 * sunrpc/pmap_clnt.c: Likewise.
54279 * sunrpc/pmap_prot.c: Likewise.
54280 * sunrpc/pmap_prot2.c: Likewise.
54281 * sunrpc/pmap_rmt.c: Likewise.
54282 * sunrpc/rpc/auth.h: Likewise.
54283 * sunrpc/rpc/auth_unix.h: Likewise.
54284 * sunrpc/rpc/clnt.h: Likewise.
54285 * sunrpc/rpc/des_crypt.h: Likewise.
54286 * sunrpc/rpc/key_prot.h: Likewise.
54287 * sunrpc/rpc/netdb.h: Likewise.
54288 * sunrpc/rpc/pmap_clnt.h: Likewise.
54289 * sunrpc/rpc/pmap_prot.h: Likewise.
54290 * sunrpc/rpc/pmap_rmt.h: Likewise.
54291 * sunrpc/rpc/rpc.h: Likewise.
54292 * sunrpc/rpc/rpc_des.h: Likewise.
54293 * sunrpc/rpc/rpc_msg.h: Likewise.
54294 * sunrpc/rpc/svc.h: Likewise.
54295 * sunrpc/rpc/svc_auth.h: Likewise.
54296 * sunrpc/rpc/types.h: Likewise.
54297 * sunrpc/rpc/xdr.h: Likewise.
54298 * sunrpc/rpc_clntout.c: Likewise.
54299 * sunrpc/rpc_cmsg.c: Likewise.
54300 * sunrpc/rpc_common.c: Likewise.
54301 * sunrpc/rpc_cout.c: Likewise.
54302 * sunrpc/rpc_dtable.c: Likewise.
54303 * sunrpc/rpc_hout.c: Likewise.
54304 * sunrpc/rpc_main.c: Likewise.
54305 * sunrpc/rpc_parse.c: Likewise.
54306 * sunrpc/rpc_parse.h: Likewise.
54307 * sunrpc/rpc_prot.c: Likewise.
54308 * sunrpc/rpc_sample.c: Likewise.
54309 * sunrpc/rpc_scan.c: Likewise.
54310 * sunrpc/rpc_scan.h: Likewise.
54311 * sunrpc/rpc_svcout.c: Likewise.
54312 * sunrpc/rpc_tblout.c: Likewise.
54313 * sunrpc/rpc_util.c: Likewise.
54314 * sunrpc/rpc_util.h: Likewise.
54315 * sunrpc/rpcinfo.c: Likewise.
54316 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54317 * sunrpc/rpcsvc/key_prot.x: Likewise.
54318 * sunrpc/rpcsvc/klm_prot.x: Likewise.
54319 * sunrpc/rpcsvc/mount.x: Likewise.
54320 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54321 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54322 * sunrpc/rpcsvc/rex.x: Likewise.
54323 * sunrpc/rpcsvc/rstat.x: Likewise.
54324 * sunrpc/rpcsvc/rusers.x: Likewise.
54325 * sunrpc/rpcsvc/sm_inter.x: Likewise.
54326 * sunrpc/rpcsvc/spray.x: Likewise.
54327 * sunrpc/rpcsvc/yppasswd.x: Likewise.
54328 * sunrpc/rtime.c: Likewise.
54329 * sunrpc/svc.c: Likewise.
54330 * sunrpc/svc_auth.c: Likewise.
54331 * sunrpc/svc_authux.c: Likewise.
54332 * sunrpc/svc_raw.c: Likewise.
54333 * sunrpc/svc_run.c: Likewise.
54334 * sunrpc/svc_simple.c: Likewise.
54335 * sunrpc/svc_tcp.c: Likewise.
54336 * sunrpc/svc_udp.c: Likewise.
54337 * sunrpc/svc_unix.c: Likewise.
54338 * sunrpc/svcauth_des.c: Likewise.
54339 * sunrpc/xcrypt.c: Likewise.
54340 * sunrpc/xdr.c: Likewise.
54341 * sunrpc/xdr_array.c: Likewise.
54342 * sunrpc/xdr_float.c: Likewise.
54343 * sunrpc/xdr_mem.c: Likewise.
54344 * sunrpc/xdr_rec.c: Likewise.
54345 * sunrpc/xdr_ref.c: Likewise.
54346 * sunrpc/xdr_sizeof.c: Likewise.
54347 * sunrpc/xdr_stdio.c: Likewise.
54349 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54352 2010-08-19 Andreas Schwab <schwab@redhat.com>
54354 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54356 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
54358 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54359 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54360 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54361 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54362 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54363 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54364 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54365 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54366 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54367 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54368 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54369 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54370 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54371 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54373 2010-07-26 Anton Blanchard <anton@samba.org>
54375 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54376 * malloc/arena.c (heap_trim): Likewise.
54378 2010-08-16 Ulrich Drepper <drepper@redhat.com>
54380 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54382 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54383 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54385 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
54387 * sysdeps/i386/elf/Makefile: New file.
54389 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54391 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54392 from fanotify_init.
54393 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54394 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54396 2010-08-15 Ulrich Drepper <drepper@redhat.com>
54398 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54400 * sysdeps/multiarch/strcmp.S: Likewise.
54402 2010-08-14 Ulrich Drepper <drepper@redhat.com>
54404 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54405 strncase_l-nonascii.
54406 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54407 Add strncase_l-ssse3.
54408 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54409 * sysdeps/x86_64/strcmp.S: Likewise.
54410 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54411 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54412 * sysdeps/x86_64/strncase.S: New file.
54413 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54414 * sysdeps/x86_64/strncase_l.S: New file.
54415 * string/Makefile (strop-tests): Add strncasecmp.
54416 * string/test-strncasecmp.c: New file.
54418 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54421 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54422 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54424 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
54426 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54428 2010-08-12 Ulrich Drepper <drepper@redhat.com>
54430 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54431 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54432 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54434 2010-05-01 Alan Modra <amodra@gmail.com>
54436 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54437 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54438 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54439 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54440 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54441 tidying. Don't tail-call __sigjmp_save for static lib.
54442 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54444 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54445 (CALL_MCOUNT): Add eh info, and nop after bl.
54446 (TAIL_CALL_SYSCALL_ERROR): New macro.
54447 (PSEUDO_RET): Use it.
54448 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54449 Correct save location of integer regs and cr.
54450 (_dl_profile_resolve): Correct cr save location. Delete nops
54451 after bl when SHARED. Reduce cfi size a little by better
54452 placement of cfi directives.
54453 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54454 make a stack frame. Instead use parm save area as a temp.
54455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54456 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
54457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54458 Don't make a stack frame for parent, use parm save area.
54459 Increase child stack frame to 112 bytes. Don't save unused reg,
54460 and adjust reg usage. Set up cfi on error recovery and
54461 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54462 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54463 (__makecontext): Add dummy nop after jump to exit.
54464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54465 Use correct parm save area and cr save, reduce stack frame.
54466 Correct cfi for possible PSEUDO_RET frame setup.
54467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54468 Branch to local label emitted by PSEUDO_RET rather than
54471 2010-08-12 Andreas Schwab <schwab@redhat.com>
54474 * locale/programs/locale.c (print_assignment): New function.
54475 (show_locale_vars): Use it.
54477 2010-08-11 Ulrich Drepper <drepper@redhat.com>
54479 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54481 (struct statfs64): Likewise.
54482 (_STATFS_F_FLAGS): Define.
54483 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54484 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54485 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54486 (ST_VALID): Define locally.
54487 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54488 __statvfs_getflags, use the provided value.
54489 * sysdeps/unix/sysv/linux/kernel-features.h: Define
54490 __ASSUME_STATFS_F_FLAGS.
54492 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54494 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54495 Add sys/fanotify.h.
54496 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54497 fanotify_mask for GLIBC_2.13.
54498 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54499 fanotify_init and fanotify_mark.
54500 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54501 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54503 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54505 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54506 prlimit64 for GLIBC_2.13.
54507 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54509 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54512 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54513 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54514 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54515 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
54517 * sysdeps/unix/sysv/linux/prlimit.c: New file.
54520 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54521 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54523 * nss/Makefile: Add rules to build and run tst-nss-test1.
54524 * shlib-versions: Add entry for libnss_test1.
54525 * nss/nss_test1.c: New file.
54526 * nss/tst-nss-test1.c: New file.
54528 * nss/nsswitch.c (__nss_database_custom): Define new variable.
54529 (__nss_configure_lookup): Set appropriate entry in
54530 __nss_configure_lookup to true.
54531 * nss/nsswitch.h: Define enum with indeces of databases in
54532 databases and __nss_database_custom arrays. Declare
54533 __nss_database_custom.
54534 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54535 to avoid using nscd when custom rules are installed.
54536 * nss/getXXbyYY_r.c: Likewise.
54537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54539 * nss/nss_files/files-parse.c: Whitespace fixes.
54541 2010-08-09 Ulrich Drepper <drepper@redhat.com>
54544 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54545 * posix/fnmatch_loop.c: Likewise.
54547 2010-07-17 Andi Kleen <ak@linux.intel.com>
54549 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54550 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54551 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54552 * Versions.def [GLIBC_2.13]: Add.
54554 2010-08-06 Ulrich Drepper <drepper@redhat.com>
54556 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54557 Also fail if tpwd after pwuid call is NULL.
54559 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
54561 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54562 when converting to ms.
54564 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
54566 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54567 EOPNOTSUPP errors with ENOTTY.
54568 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54569 EOPNOTSUPP errors with ENOTTY.
54571 2010-07-31 Ulrich Drepper <drepper@redhat.com>
54573 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54574 Add strcasecmp_l-ssse3.
54575 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54577 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54578 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54579 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54581 2010-07-30 Ulrich Drepper <drepper@redhat.com>
54583 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54585 * string/Makefile (strop-tests): Add strcasecmp.
54586 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54587 strcasecmp_l-nonascii.
54588 (gen-as-const-headers): Add locale-defines.sym.
54589 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54590 * sysdeps/x86_64/strcasecmp.S: New file.
54591 * sysdeps/x86_64/strcasecmp_l.S: New file.
54592 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54593 * sysdeps/x86_64/locale-defines.sym: New file.
54594 * string/test-strcasecmp.c: New file.
54596 * string/test-strcasestr.c: Test both ends of the range of characters.
54597 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54599 2010-07-29 Roland McGrath <roland@redhat.com>
54602 * manual/locale.texi (Yes-or-No Questions): Fix example code.
54604 2010-07-27 Ulrich Drepper <drepper@redhat.com>
54606 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54609 2010-07-27 Andreas Schwab <schwab@redhat.com>
54611 * manual/memory.texi (Malloc Tunable Parameters): Document
54614 2010-07-26 Roland McGrath <roland@redhat.com>
54617 * configure.in (-fgnu89-inline check): Set and substitute
54618 gnu89_inline, not libc_cv_gnu89_inline.
54619 * configure: Regenerated.
54620 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54622 2010-07-26 Ulrich Drepper <drepper@redhat.com>
54624 * string/test-strnlen.c: New file.
54625 * string/Makefile (strop-tests): Add strnlen.
54626 * string/tester.c (test_strnlen): Add a few more test cases.
54627 * string/tst-strlen.c: Better error reporting.
54629 * sysdeps/x86_64/strnlen.S: New file.
54631 2010-07-24 Ulrich Drepper <drepper@redhat.com>
54633 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54634 lower-latency instructions.
54636 2010-07-23 Ulrich Drepper <drepper@redhat.com>
54638 * string/test-strcasestr.c: New file.
54639 * string/test-strstr.c: New file.
54640 * string/Makefile (strop-tests): Add strstr and strcasestr.
54641 * string/str-two-way.h: Don't undefine MAX.
54642 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54644 2010-07-21 Andreas Schwab <schwab@redhat.com>
54646 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54647 strcasestr-nonascii.
54648 (CFLAGS-strcasestr-nonascii.c): Define.
54649 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54650 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54651 Remove unused attribute.
54653 2010-07-20 Roland McGrath <roland@redhat.com>
54655 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54656 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
54657 ld.so.cache was broken. With it, there is no way to disable dsocaps
54658 like LD_HWCAP_MASK can disable hwcaps.
54660 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54662 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54664 2010-07-16 Ulrich Drepper <drepper@redhat.com>
54666 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54667 call in strcasestr.
54668 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54669 __strcasestr_sse42_nonascii.
54670 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54671 strcasestr-nonascii.c.
54672 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54674 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
54676 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54677 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54678 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54679 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54681 2010-07-09 Ulrich Drepper <drepper@redhat.com>
54683 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54686 2010-07-06 Andreas Schwab <schwab@redhat.com>
54689 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54692 2010-07-06 Ulrich Drepper <drepper@redhat.com>
54694 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54695 _PC_PIPE_BUF using F_GETPIPE_SZ.
54697 2010-07-05 Roland McGrath <roland@redhat.com>
54699 * manual/arith.texi (Rounding Functions): Fix rint description
54700 implicit in round description.
54702 2010-07-02 Ulrich Drepper <drepper@redhat.com>
54704 * elf/Makefile: Fix linking for a few tests to make recent linker
54707 2010-06-30 Andreas Schwab <schwab@redhat.com>
54709 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54710 $(common-objpfx)libc_nonshared.a.
54712 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
54714 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54715 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54716 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54717 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54718 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54719 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54720 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54721 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54723 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54725 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54728 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54733 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54736 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54737 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54738 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54739 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54740 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54741 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54742 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54743 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54744 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54745 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54746 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54747 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54752 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54760 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54763 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
54765 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54766 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
54767 * string/memmove.c (memmove): Renamed to ...
54768 (MEMMOVE): ...this. Default to memmove.
54769 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54770 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54772 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54773 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54774 mempcpy-ssse3-back memmove-ssse3-back.
54775 * sysdeps/x86_64/multiarch/bcopy.S: New file .
54776 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54777 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54778 * sysdeps/x86_64/multiarch/memcpy.S: New file.
54779 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54780 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54781 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54782 * sysdeps/x86_64/multiarch/memmove.c: New file.
54783 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54784 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54785 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54786 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54787 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54788 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54790 (index_Fast_Copy_Backward): Define.
54791 (HAS_ARCH_FEATURE): Define.
54792 (HAS_FAST_REP_STRING): Define.
54793 (HAS_FAST_COPY_BACKWARD): Define.
54795 2010-06-21 Andreas Schwab <schwab@redhat.com>
54797 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54798 Restore proper fallback handling.
54800 2010-06-19 Ulrich Drepper <drepper@redhat.com>
54803 * posix/group_member.c (__group_member): Correct checking loop.
54805 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54806 OOM in getpwuid_r correctly. Return error number when the caller
54807 should return, otherwise -1.
54808 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54809 call returning > 0 value.
54810 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54812 2010-06-07 Andreas Schwab <schwab@redhat.com>
54814 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54815 libc_nonshared.a from targets in modules-names.
54817 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
54819 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54822 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
54824 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54825 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54826 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54827 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54829 2010-06-02 Andreas Schwab <schwab@redhat.com>
54831 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54833 2010-06-14 Ulrich Drepper <drepper@redhat.com>
54835 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54837 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54838 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54839 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54840 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54841 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54842 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54844 2010-06-14 Roland McGrath <roland@redhat.com>
54846 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54848 2010-06-07 Jakub Jelinek <jakub@redhat.com>
54850 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54851 __REDIRECT followed by __THROW.
54852 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54853 * posix/getopt.h (getopt): Likewise.
54855 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
54857 * hurd/lookup-at.c (__file_name_lookup_at): Accept
54858 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
54859 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54861 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54862 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54864 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
54866 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54868 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
54871 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54872 Properly check family and model.
54874 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
54876 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54878 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
54880 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54882 2010-05-21 Ulrich Drepper <drepper@redhat.com>
54884 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54887 2010-05-19 Andreas Schwab <schwab@redhat.com>
54889 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54892 2010-05-21 Andreas Schwab <schwab@redhat.com>
54894 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54895 and internal_recvmmsg.
54896 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54897 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54898 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54899 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54901 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54902 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54903 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54905 2010-05-20 Andreas Schwab <schwab@redhat.com>
54907 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54909 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
54911 POWER7 optimizations.
54912 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54913 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54915 2010-05-19 Ulrich Drepper <drepper@redhat.com>
54917 * version.h: Update for 2.13 development version.
54919 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
54921 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54922 exceptions. Return 0.
54924 2010-05-07 Roland McGrath <roland@redhat.com>
54926 * elf/ldconfig.c (main): Add a const.
54928 2010-05-06 Ulrich Drepper <drepper@redhat.com>
54930 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54931 (args_options): Add no-idn option.
54932 (ahosts_keys_int): Add idn_flags to ai_flags.
54933 (parse_option): Handle 'i' option to clear idn_flags.
54935 * malloc/malloc.c (_int_free): Possible race in the most recently
54936 added check. Only act on the data if no current modification
54939 See ChangeLog.17 for earlier changes.